S390: Add hwcaps value for vector facility.
[glibc.git] / ChangeLog
blob08c2fa7c3ac1fccb201174c8f595e2e3afab0532
1 2015-08-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
3         * sysdeps/s390/dl-procinfo.c (_dl_s390_platforms): Add vector flag.
4         * sysdeps/s390/dl-procinfo.h: Add vector capability.
5         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h (HWCAP_S390_VX): Define.
7 2015-08-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
9         * sysdeps/s390/s390-32/multiarch/Makefile (sysdep_routines):
10         Remove ifunc-resolve, add memset-s390, memcpy-s390, memcmp-s390.
11         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Delete File.
12         * sysdeps/s390/s390-32/multiarch/memcmp.S: Move to ...
13         * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: ... here.
14         (memcmp, bcmp): Use __memcmp_default as alias source.
15         * sysdeps/s390/s390-32/multiarch/memcmp.c: New File.
16         * sysdeps/s390/s390-32/memcmp.S (__memcmp_g5):
17         Rename to __memcmp_default.
18         * sysdeps/s390/s390-32/multiarch/memcpy.S: Move to ...
19         * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: ... here.
20         (memcpy): Use __memcpy_default as alias source.
21         * sysdeps/s390/s390-32/multiarch/memcpy.c: New File.
22         * sysdeps/s390/s390-32/memcpy.S (__memcpy_g5):
23         Rename to __memcpy_default.
24         * sysdeps/s390/s390-32/multiarch/memset.S: Move to ...
25         * sysdeps/s390/s390-32/multiarch/memset-s390.S: ... here.
26         (memset): Use __memset_default as alias source.
27         * sysdeps/s390/s390-32/multiarch/memset.c: New File.
28         * sysdeps/s390/s390-32/memset.S (__memset_g5):
29         Rename to __memset_default.
30         * sysdeps/s390/s390-64/multiarch/Makefile (sysdep_routines):
31         Remove ifunc-resolve, add memset-s390x, memcpy-s390x, memcmp-s390x.
32         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Delete File.
33         * sysdeps/s390/s390-64/multiarch/memcmp.S: Move to ...
34         * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: ... here.
35         (memcmp, bcmp): Use __memcmp_default as alias source.
36         * sysdeps/s390/s390-64/multiarch/memcmp.c: New File.
37         * sysdeps/s390/s390-64/memcmp.S (__memcmp_z900):
38         Rename to __memcmp_default.
39         * sysdeps/s390/s390-64/multiarch/memcpy.S: Move to ...
40         * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: ... here.
41         (memcpy): Use __memcpy_default as alias source.
42         * sysdeps/s390/s390-64/multiarch/memcpy.c: New File.
43         * sysdeps/s390/s390-64/memcpy.S (__memcpy_z900):
44         Rename to __memcpy_default.
45         * sysdeps/s390/s390-64/multiarch/memset.S: Move to ...
46         * sysdeps/s390/s390-64/multiarch/memset-s390x.S: ... here.
47         (memset): Use __memset_default as alias source.
48         * sysdeps/s390/s390-64/multiarch/memset.c: New File.
49         * sysdeps/s390/s390-64/memset.S (__memset_z900):
50         Rename to __memset_default.
51         * sysdeps/s390/multiarch/ifunc-resolve.h: New File.
52         * sysdeps/s390/multiarch/ifunc-impl-list.c: New File.
54 2015-08-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
56         [BZ #18610]
57         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Rename
58         __ieee_instruction_pointer to __unused.
59         * sysdeps/s390/fpu/fesetenv.c (__fesetenv): Remove usage of
60         __ieee_instruction_pointer.
61         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Fix dxc-field handling.
62         * sysdeps/s390/fpu/fgetexcptflg.c (fegetexceptflag): Likewise.
63         * sysdeps/s390/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
64         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
65         * sysdeps/s390/fpu/fpu_control.h (_FPU_RESERVED):
66         Mark dxc-field as reserved.
68 2015-08-25  Roland McGrath  <roland@hack.frob.com>
70         * sysdeps/nacl/start.c (_start): Call __nacl_main instead of main
71         if the weak reference is not null.
73 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
75         * sysdeps/x86_64/strcmp.S: Remove "#if !IS_IN (libc)".
77 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
79         [BZ #11214]
80         * sysdeps/unix/sysv/linux/Makefile (tst-getpid2-ENV): Removed.
82 2015-08-25  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
84         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: Define new macros.
85         * sysdeps/unix/sysv/linux/accept.c: Call direct system call.
86         * sysdeps/unix/sysv/linux/bind.c: Call direct system call.
87         * sysdeps/unix/sysv/linux/connect.c: Call direct system call.
88         * sysdeps/unix/sysv/linux/getpeername.c: Call direct system call.
89         * sysdeps/unix/sysv/linux/getsockname.c: Call direct system call.
90         * sysdeps/unix/sysv/linux/getsockopt.c: Call direct system call.
91         * sysdeps/unix/sysv/linux/listen.c: Call direct system call.
92         * sysdeps/unix/sysv/linux/recv.c: Call direct system call.
93         * sysdeps/unix/sysv/linux/recvfrom.c: Call direct system call.
94         * sysdeps/unix/sysv/linux/recvmsg.c: Call direct system call.
95         * sysdeps/unix/sysv/linux/send.c: Call direct system call.
96         * sysdeps/unix/sysv/linux/sendmsg.c: Call direct system call.
97         * sysdeps/unix/sysv/linux/sendto.c: Call direct system call.
98         * sysdeps/unix/sysv/linux/setsockopt.c: Call direct system call.
99         * sysdeps/unix/sysv/linux/shutdown.c: Call direct system call.
100         * sysdeps/unix/sysv/linux/socket.c: Call direct system call.
101         * sysdeps/unix/sysv/linux/socketpair.c: Call direct system call.
103 2015-08-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
105         * sysdeps/powerpc/powerpc32/sysdep.h (ABORT_TRANSACTION): Use
106         register other than r0 for tabort, it has special meaning.
107         * sysdeps/powerpc/powerpc64/sysdep.h (ABORT_TRANSACTION): Likewise
108         * sysdeps/unix.sysv/linux/powerpc/syscall.S (syscall): Abort
109         transaction before starting syscall.
111 2015-08-25  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
113         * sysdeps/powerpc/powerpc64/power7/strstr.S: Handle worst case.
115 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
117         * sysdeps/x86_64/strlen.S: Replace %xmm[8-12] with %xmm[0-4].
119 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
121         * sysdeps/x86_64/rtld-memcmp.c: Removed.
122         * sysdeps/x86_64/rtld-memset.S: Likewise.
123         * sysdeps/x86_64/rtld-strchr.S: Likewise.
124         * sysdeps/x86_64/rtld-strlen.S: Likewise.
125         * sysdeps/x86_64/multiarch/rtld-memcmp.c: Likewise.
126         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
128 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
130         * sysdeps/x86_64/memset.S: Replace %xmm8 with %xmm0.
132 2015-08-25  Ondřej Bílka  <neleai@seznam.cz>
134         * debug/strcpy_chk.c: Improve performance.
135         * debug/stpcpy_chk.c: Likewise.
136         * sysdeps/x86_64/strcpy_chk.S: Remove.
137         * sysdeps/x86_64/stpcpy_chk.S: Remove.
139         [BZ #18240]
140         * misc/hsearch_r.c (__hcreate_r): Handle overflow.
142 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
144         [BZ #15128]
145         * sysdeps/x86_64/Makefile [$(subdir) == elf] (tests): Add
146         ifuncmain8.
147         (modules-names): Add ifuncmod8.
148         ($(objpfx)ifuncmain8): New rule.
149         * sysdeps/x86_64/dl-machine.h: Include <dl-procinfo.h> and
150         <cpuid.h>.
151         (elf_machine_runtime_setup): Use _dl_runtime_resolve_sse,
152         _dl_runtime_resolve_avx, or _dl_runtime_resolve_avx512,
153         _dl_runtime_profile_sse, _dl_runtime_profile_avx, or
154         _dl_runtime_profile_avx512, based on HAS_ARCH_FEATURE.
155         * sysdeps/x86_64/dl-trampoline.S: Rewrite.
156         * sysdeps/x86_64/dl-trampoline.h: Likewise.
157         * sysdeps/x86_64/ifuncmain8.c: New file.
158         * sysdeps/x86_64/ifuncmod8.c: Likewise.
159         * sysdeps/x86_64/nptl/tcb-offsets.sym (RTLD_SAVESPACE_SSE):
160         Removed.
161         * sysdeps/x86_64/nptl/tls.h (__128bits): Removed.
162         (tcbhead_t): Change rtld_must_xmm_save to __glibc_unused1.
163         Change rtld_savespace_sse to __glibc_unused2.
164         (RTLD_CHECK_FOREIGN_CALL): Removed.
165         (RTLD_ENABLE_FOREIGN_CALL): Likewise.
166         (RTLD_PREPARE_FOREIGN_CALL): Likewise.
167         (RTLD_FINALIZE_FOREIGN_CALL): Likewise.
169 2015-08-24  Wilco Dijkstra  <wdijkstr@arm.com>
171         * sysdeps/aarch64/bzero.S (__bzero): Remove.
173 2015-08-24  Wilco Dijkstra  <wdijkstr@arm.com>
175         * sysdeps/aarch64/fpu/math_private.h (libc_feholdsetround_aarch64_ctx):
176         Unconditionally set __fpcr to avoid uninialized warning.
177         (libc_feholdsetround_noex_aarch64_ctx): Likewise.
179 2015-08-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
181         * malloc/arena.c (arena_get_retry): Don't use main_arena if it
182         is corrupt.
184         * malloc/arena.c (arena_get2): Drop unused argument.
185         (arena_lock): Adjust.
186         (arena_get_retry): Likewise.
188 2015-08-24  Andreas Schwab  <schwab@suse.de>
190         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_IPC64):
191         Don't define.
192         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
193         (__ASSUME_IPC64): Don't undef.
194         * sysdeps/unix/sysv/linux/msgctl.c: Don't check for __ASSUME_IPC64.
195         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
196         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
197         * sysdeps/unix/sysv/linux/i386/msgctl.c: Remove.
198         * sysdeps/unix/sysv/linux/i386/semctl.c: Remove.
199         * sysdeps/unix/sysv/linux/i386/shmctl.c: Remove.
200         * sysdeps/unix/sysv/linux/m68k/msgctl.c: Remove.
201         * sysdeps/unix/sysv/linux/m68k/semctl.c: Remove.
202         * sysdeps/unix/sysv/linux/m68k/shmctl.c: Remove.
203         * sysdeps/unix/sysv/linux/s390/s390-32/msgctl.c: Remove.
204         * sysdeps/unix/sysv/linux/s390/s390-32/semctl.c: Remove.
205         * sysdeps/unix/sysv/linux/s390/s390-32/shmctl.c: Remove.
206         * sysdeps/unix/sysv/linux/sh/msgctl.c: Remove.
207         * sysdeps/unix/sysv/linux/sh/semctl.c: Remove.
208         * sysdeps/unix/sysv/linux/sh/shmctl.c: Remove.
209         * sysdeps/unix/sysv/linux/sparc/sparc32/msgctl.c: Remove.
210         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Remove.
211         * sysdeps/unix/sysv/linux/sparc/sparc32/shmctl.c: Remove.
212         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Remove.
213         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Remove.
214         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Remove.
216 2015-08-21  Mike Frysinger  <vapier@gentoo.org>
218         * manual/Makefile (install): Only build manual when perl is available.
220 2015-08-21  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
222         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Replace
223         '#undef memcpy' by '#undef memchr'.
225 2015-08-21  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
227         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: Make
228         memchr not point to the internal __GI_memchr implementation.
230 2015-08-20  Joseph Myers  <joseph@codesourcery.com>
232         * timezone/Makefile (CFLAGS-zdump.c): Remove
233         -Wno-strict-prototypes.
234         (CFLAGS-zic.c): Likewise.
235         (CFLAGS-ialloc.c): Likewise.
236         (CFLAGS-scheck.c): Likewise.
238         * Makeconfig [$(enable-werror) = yes] (+gccwarn): Do not add
239         -Wno-error=undef.
241 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
243         * i386/i686/multiarch/strcasestr-c.c: Removed.
244         * x86_64/multiarch/strcasestr.c: Likewise.
245         * x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
246         Remove strcasestr.
248 2015-08-20  Joseph Myers  <joseph@codesourcery.com>
250         * math/Makefile (CFLAGS): Don't add -Wno-uninitialized.
252         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Always initialize
253         variables for high and low parts before possibly modifying them.
255 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
257         * sysdeps/i386/i686/multiarch/init-arch.h: Removed.
258         * sysdeps/unix/sysv/linux/x86/init-arch.h: Likewise.
259         * sysdeps/x86_64/cacheinfo.c: Include <init-arch.h> instead
260         of "multiarch/init-arch.h".
261         * sysdeps/x86_64/multiarch/init-arch.h: Renamed to ...
262         * sysdeps/x86/init-arch.h: This.
264 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
266         * sysdeps/i386/i686/multiarch/init-arch.c: Removed.
267         * sysdeps/unix/sysv/linux/x86/init-arch.c: Likewise.
269 2015-08-20  Ondřej Bílka  <neleai@seznam.cz>
271         [BZ #17787]
272         * manual/macros.texi: Add twoexp macro.
273         * manual/filesys.texi: Fix exponents.
274         * manual/llio.texi: Likewise.
275         * manual/stdio.texi: Likewise.
277 2015-08-20  Florian Weimer  <fweimer@redhat.com>
279         * sysdeps/x86/elide.h (ELIDE_UNLOCK): Document crash due to
280         incorrect use.
282 2015-08-19  Joseph Myers  <joseph@codesourcery.com>
284         [BZ #18370]
285         * math/s_csqrt.c (__csqrt): Force underflow exception for results
286         whose real or imaginary part has small absolute value.
287         * math/s_csqrtf.c (__csqrtf): Likewise.
288         * math/s_csqrtl.c (__csqrtl): Likewise.
289         * math/auto-libm-test-in: Add more tests of csqrt.
290         * math/auto-libm-test-out: Regenerated.
291         * sysdeps/i386/fpu/libm-test-ulps: Update.
293 2015-08-19  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
295         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_set_ppr_med_high,
296         __ppc_set_ppr_very_low): New functions.
297         * manual/platform.texi: Add documentation about
298         __ppc_set_ppr_med_high and __ppc_set_ppr_very_low.
300 2015-08-19  Wilco Dijkstra  <wdijkstr@arm.com>
302         * string/stpncpy.c (stpncpy): Improve performance using
303         __strnlen/memcpy/memset.
305 2015-08-19  Andrew Senkevich  <andrew.senkevich@intel.com>
307         [BZ #18796]
308         * scripts/test-installation.pl: Don't add -lmvec to build options if
309         libmvec wasn't built.
311 2015-08-19   Petar Jovanovic  <petar.jovanovic@rt-rk.com>
313         [BZ #14341]
314         * elf/dynamic-link.h (elf_machine_lazy_rel): Properly handle the
315         case when there is a gap between DT_REL and DT_JMPREL sections.
316         * sysdeps/x86_64/Makefile (tests): Add tst-split-dynreloc.
317         (LDFLAGS-tst-split-dynreloc): New.
318         (tst-split-dynreloc-ENV): Likewise.
319         * sysdeps/x86_64/tst-split-dynreloc.c: New file.
320         * sysdeps/x86_64/tst-split-dynreloc.lds: Likewise.
322 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
324         [BZ #18822]
325         * sysdeps/unix/sysv/linux/xstatconv.h (__xstat_conv): Add
326         attribute_hidden.
327         (__xstat64_conv): Likewise.
328         (__xstat32_conv): Likewise.
330 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
332         [BZ #18822]
333         * sysdeps/unix/sysv/linux/i386/makecontext.S (__makecontext):
334         Don't load %ebx when calling __setcontext.  Call __setcontext
335         with HIDDEN_JUMPTARGET.
336         * sysdeps/unix/sysv/linux/i386/setcontext.S (__setcontext): Add
337         libc_hidden_def.
339 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
341         * sysdeps/i386/i686/Makefile
342         [$(subdir) == string] (sysdep_routines): Moved to ...
343         * sysdeps/i386/Makefile: Here.
344         * sysdeps/i386/i686/cacheinfo.c: Moved to ...
345         * sysdeps/i386/cacheinfo.c: Here.
346         * sysdeps/unix/sysv/linux/i386/sysconf.c: Removed.
347         * sysdeps/unix/sysv/linux/i386/i686/sysconf.c: Likewise.
348         * sysdeps/unix/sysv/linux/x86_64/sysconf.c: Moved to ...
349         * sysdeps/unix/sysv/linux/x86/sysconf.c: Here.
351 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
353         * sysdeps/x86/cpu-features.h (HAS_I586): Defined to 1 if
354         __i586__ is defined.
355         (HAS_I686): Defined to 1 if __i686__ is defined.
357 2015-08-19  Joseph Myers  <joseph@codesourcery.com>
359         * elf/Makefile [$(have-z-execstack) = yes]
360         (CPPFLAGS-tst-execstack.c): New variable.
362         * login/tst-utmp.c [_HAVE_UT_TYPE || defined UTMPX]: Change
363         conditional to [defined UTMPX || _HAVE_UT_TYPE].
364         [_HAVE_UT_TV || defined UTMPX]: Change conditional to [defined
365         UTMPX || _HAVE_UT_TV].
366         [_HAVE_UT_TV - 0 || defined UTMPX]: Change conditional to [defined
367         UTMPX || _HAVE_UT_TV - 0].
369 2015-08-18  Joseph Myers  <joseph@codesourcery.com>
371         * sysdeps/mips/dl-machine.h [__mips_isa_rev < 6]: Change
372         conditionals to [!defined __mips_isa_rev || __mips_isa_rev < 6].
373         * sysdeps/mips/machine-gmon.h [__mips_isa_rev < 6]: Likewise.
375 2015-08-18  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
377         * sysdeps/powerpc/dl-procinfo.c:
378         (_dl_powerpc_cap_flags): Added missing strings for some
379         hwcap features.
380         * sysdeps/powerpc/dl-procinfo.h: Updated hwcap bit count.
382 2015-08-18  Paul Eggert  <eggert@cs.ucla.edu>
384         Port the 0x7efe...feff pattern to GCC 6.
385         See Steve Ellcey's bug report in:
386         https://sourceware.org/ml/libc-alpha/2015-07/msg00673.html
387         * string/memrchr.c (MEMRCHR):
388         * string/rawmemchr.c (RAWMEMCHR):
389         * string/strchr.c (strchr):
390         * string/strchrnul.c (STRCHRNUL):
391         Rewrite code to avoid issues with signed shift overflow.
393 2015-08-18  H.J. Lu  <hongjiu.lu@intel.com>
395         * sysdeps/x86/cpu-features.c (init_cpu_features): Check
396         whether cpuid is available only if HAS_CPUID is 0.
397         * sysdeps/x86/cpu-features.h (HAS_CPUID): New.
398         (HAS_I586): Likewise.
399         (HAS_I686): Likewise.
401 2015-08-18  Zack Weinberg  <zackw@panix.com>
403         * misc/Versions (libc): Add GLIBC_2.23.
405 2015-08-18  Alan Modra  <amodra@gmail.com>
407         [BZ #18421]
408         * sysdeps/hppa/start.S [SHARED]: Use .section .data.rel.ro and define
409         .Lp__global.
410         (_start): Load %dp via .Lp__global.
411         [!SHARED]: Use .section .rodata.
413 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
415         * sysdeps/unix/sysv/linux/hppa/bits/timerfd.h: New file.
416         * sysdeps/unix/sysv/linux/hppa/sys/timerfd.h: Delete.
418 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
420         * sysdeps/unix/sysv/linux/hppa/bits/signalfd.h: New file.
421         * sysdeps/unix/sysv/linux/hppa/sys/signalfd.h: Delete.
423 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
425         * sysdeps/unix/sysv/linux/hppa/bits/inotify.h: New file.
426         * sysdeps/unix/sysv/linux/hppa/sys/inotify.h: Delete.
428 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
430         * sysdeps/unix/sysv/linux/hppa/bits/eventfd.h: New file.
431         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Delete.
433 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
435         * sysdeps/unix/sysv/linux/hppa/bits/epoll.h: New file.
436         * sysdeps/unix/sysv/linux/hppa/sys/epoll.h: Delete.
438 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
440         * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h (SA_RESETHAND,
441         SA_NODEFER, SA_RESTART): Define when __USE_XOPEN2K8 is defined.
443 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
445         * sysdeps/unix/sysv/linux/hppa/bits/shm.h (SHM_EXEC): Define.
447 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
449         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Delete
450         kernel-features.h include.  Delete __ASSUME_LWS_CAS checks.
451         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
452         (__ASSUME_LWS_CAS): Delete.
454 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
456         * sysdeps/hppa/configure.ac: Delete binutils tls checks.
457         * sysdeps/hppa/configure: Regenerated.
458         * sysdeps/hppa/dl-machine.h: Delete USE_TLS and USE___THREAD checks.
459         * sysdeps/hppa/libc-tls.c: Delete USE_TLS checks.
460         * sysdeps/hppa/nptl/tls.h: Likewise.
462 2015-08-17  Joseph Myers  <joseph@codesourcery.com>
464         [BZ #18823]
465         * math/s_csqrt.c (__csqrt): Increase threshold and scale factor
466         for scaling up small arguments.
467         * math/s_csqrtf.c (__csqrtf): Likewise.
468         * math/s_csqrtl.c (__csqrtl): Likewise.
469         * math/auto-libm-test-in: Add more tests of csqrt.
470         * math/auto-libm-test-out: Regenerated.
472 2015-08-17  Andreas Schwab  <schwab@suse.de>
474         * sysdeps/unix/sysv/linux/powerpc/Versions (libm): Add empty
475         version set GLIBC_2.19.
477 2015-08-16  Zack Weinberg  <zackw@panix.com>
479         [BZ #18681]
480         * misc/regexp.h: This interface is no longer supported.
481         Remove all contents, leaving only an #error directive.
482         * misc/regexp.c (loc1, loc2, locs, step, advance):
483         Demote to compatibility symbols.
485 2015-08-15  Paul Pluzhnikov  <ppluzhnikov@google.com>
487         [BZ #18084]
488         * debug/tst-backtrace2.c (do_test): Add test for BZ #18084.
489         * sysdeps/arm/backtrace.c (__backtrace): Handle size <= 0.
490         * sysdeps/i386/backtrace.c (__backtrace): Likewise.
491         * sysdeps/m68k/backtrace.c (__backtrace): Likewise.
492         * sysdeps/microblaze/backtrace.c (__backtrace): Likewise.
493         * sysdeps/s390/s390-32/backtrace.c (__backtrace): Likewise.
494         * sysdeps/s390/s390-64/backtrace.c (__backtrace): Likewise.
495         * sysdeps/sparc/backtrace.c (__backtrace): Likewise.
496         * sysdeps/x86_64/backtrace.c (__backtrace): Likewise.
498 2015-08-15  Zack Weinberg  <zackw@panix.com>
500         [BZ #18795]
501         * string/bits/string3.h (stpncpy): Call __stpncpy_chk if the
502         buffer length is known to be too large, not if it's known to be
503         small enough.
504         * debug/tst-chk1.c (do_test): Do all tests for catching a buffer
505         overflow at runtime, involving a length parameter, twice: once
506         with a compile-time constant length parameter, once without.
508 2015-08-14  Joseph Myers  <joseph@codesourcery.com>
510         [BZ #18824]
511         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Increase threshold for
512         scaling x * y up instead of down.
513         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
514         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
515         * math/auto-libm-test-in: Add more tests of fma.
516         * math/auto-libm-test-out: Regenerated.
518 2015-08-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
520         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
522 2015-08-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
524         * sysdeps/x86_64/fpu/multiarch/s_floorf.S (__floorf): Remove
525         unnecessary movq.
526         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S (__nearbyint):
527         Likewise.
529 2015-08-13  Joseph Myers  <joseph@codesourcery.com>
531         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
532         asinh, atan, atan2, atanh, cabs, cbrt, cosh, csqrt, erf, erfc,
533         exp, exp2, lgamma, log, log1p, log2, pow, sin, sincos, tan, tanh
534         and tgamma.
535         * math/auto-libm-test-out: Regenerated.
536         * sysdeps/i386/fpu/libm-test-ulps: Update.
537         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
539         [BZ #16520]
540         * sysdeps/ieee754/dbl-64/s_tanh.c: Include <float.h>.
541         (__tanh): Force underflow exception for arguments with small
542         absolute value.
543         * sysdeps/ieee754/flt-32/s_tanhf.c: Include <float.h>.
544         (__tanhf): Force underflow exception for arguments with small
545         absolute value.
546         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Include <float.h>.
547         (__tanhl): Force underflow exception for arguments with small
548         absolute value.
549         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Include <float.h>.
550         (__tanhl): Force underflow exception for arguments with small
551         absolute value.
552         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Include <float.h>.
553         (__tanhl): Force underflow exception for arguments with small
554         absolute value.
555         * math/auto-libm-test-in: Add more tests of tanh.
556         * math/auto-libm-test-out: Regenerated.
557         * sysdeps/i386/fpu/libm-test-ulps: Update.
559 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
561         * sysdeps/x86/cpu-features.c (init_cpu_features): Call
562         __get_cpuid_max if not compiling for i586, i686 nor x86-64.
564 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
566         * sysdeps/unix/sysv/linux/x86/elision-conf.h: Don't include
567         <cpuid.h>.
569 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
571         * sysdeps/unix/sysv/linux/x86/elision-conf.c (elision_init):
572         Replace HAS_RTM with HAS_CPU_FEATURE (RTM).
574 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
576         * math/Makefile ($(addprefix $(objpfx), $(libm-vec-tests))):
577         Remove $(objpfx)init-arch.o.
578         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Remove
579         init-arch.
580         * sysdeps/x86_64/fpu/math-tests-arch.h (avx_usable): Removed.
581         (INIT_ARCH_EXT): Defined as empty.
582         (CHECK_ARCH_EXT): Replace HAS_XXX with HAS_ARCH_FEATURE (XXX).
583         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: Remove
584         __init_cpu_features call.  Replace HAS_XXX with
585         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
586         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: Likewise.
587         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Likewise.
588         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: Likewise.
589         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: Likewise.
590         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
591         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: Likewise.
592         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: Likewise.
593         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
594         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: Likewise.
595         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: Likewise.
596         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
597         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: Likewise.
598         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: Likewise.
599         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
600         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: Likewise.
601         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: Likewise.
602         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
603         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
604         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: Likewise.
605         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: Likewise.
606         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
607         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: Likewise.
608         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: Likewise.
609         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
610         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: Likewise.
611         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: Likewise.
612         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
613         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: Likewise.
614         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: Likewise.
615         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
616         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S: Likewise.
617         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S: Likewise.
618         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
619         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: Likewise.
620         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: Likewise.
622 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
624         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Replace HAS_XXX
625         with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
626         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
627         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
628         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: Likewise.
629         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: Likewise.
630         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Likewise.
631         * sysdeps/i386/i686/multiarch/s_fma.c: Likewise.
632         * sysdeps/i386/i686/multiarch/s_fmaf.c: Likewise.
633         * sysdeps/i386/i686/multiarch/bcopy.S: Remove __init_cpu_features
634         call.  Merge SHARED and !SHARED.  Add LOAD_GOT_AND_RTLD_GLOBAL_RO.
635         Use LOAD_FUNC_GOT_EAX to load function address.  Replace HAS_XXX
636         with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
637         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
638         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
639         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
640         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
641         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
642         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
643         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
644         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
645         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
646         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
647         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
648         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
649         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
650         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
651         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
652         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
653         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
654         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
655         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
656         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
657         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
658         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
659         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
660         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
661         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
662         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
663         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
664         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
665         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
666         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
668 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
670         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Replace HAS_XXX with
671         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
672         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
673         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
674         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
675         * sysdeps/x86_64/fpu/multiarch/e_pow.c: Likewise.
676         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
677         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Likewise.
678         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
679         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
680         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
681         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: Use
682         LOAD_RTLD_GLOBAL_RO_RDX and HAS_CPU_FEATURE (SSE4_1).
683         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: Likewise.
684         * sysdeps/x86_64/fpu/multiarch/s_floor.S: Likewise.
685         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: Likewise.
686         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S : Likewise.
687         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: Likewise.
688         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: Likewise.
689         * sysdeps/x86_64/fpu/multiarch/s_rintf.S : Likewise.
690         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Likewise.
691         * sysdeps/x86_64/multiarch/sched_cpucount.c: Likewise.
692         * sysdeps/x86_64/multiarch/strstr.c: Likewise.
693         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
694         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
695         * sysdeps/x86_64/multiarch/test-multiarch.c: Likewise.
696         * sysdeps/x86_64/multiarch/memcmp.S: Remove __init_cpu_features
697         call.  Add LOAD_RTLD_GLOBAL_RO_RDX.  Replace HAS_XXX with
698         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
699         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
700         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
701         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
702         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
703         * sysdeps/x86_64/multiarch/memset.S: Likewise.
704         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
705         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
706         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
707         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
708         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
709         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
710         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
711         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
712         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
714 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
716         * sysdeps/i386/dl-machine.h: Include <cpu-features.c>.
717         (dl_platform_init): Call init_cpu_features.
718         * sysdeps/i386/dl-procinfo.c (_dl_x86_cpu_features): New.
719         * sysdeps/i386/i686/cacheinfo.c
720         (DISABLE_PREFERRED_MEMORY_INSTRUCTION): Removed.
721         * sysdeps/i386/i686/multiarch/Makefile (aux): Remove init-arch.
722         * sysdeps/i386/i686/multiarch/Versions: Removed.
723         * sysdeps/i386/i686/multiarch/ifunc-defines.sym (KIND_OFFSET):
724         Removed.
725         * sysdeps/i386/ldsodefs.h: Include <cpu-features.h>.
726         * sysdeps/unix/sysv/linux/x86/Makefile
727         (libpthread-sysdep_routines): Remove init-arch.
728         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Include
729         <sysdeps/x86_64/dl-procinfo.c> instead of
730         sysdeps/generic/dl-procinfo.c>.
731         * sysdeps/x86/Makefile [$(subdir) == csu] (gen-as-const-headers):
732         Add cpu-features-offsets.sym and rtld-global-offsets.sym.
733         [$(subdir) == elf] (sysdep-dl-routines): Add dl-get-cpu-features.
734         [$(subdir) == elf] (tests): Add tst-get-cpu-features.
735         [$(subdir) == elf] (tests-static): Add
736         tst-get-cpu-features-static.
737         * sysdeps/x86/Versions: New file.
738         * sysdeps/x86/cpu-features-offsets.sym: Likewise.
739         * sysdeps/x86/cpu-features.c: Likewise.
740         * sysdeps/x86/cpu-features.h: Likewise.
741         * sysdeps/x86/dl-get-cpu-features.c: Likewise.
742         * sysdeps/x86/libc-start.c: Likewise.
743         * sysdeps/x86/rtld-global-offsets.sym: Likewise.
744         * sysdeps/x86/tst-get-cpu-features-static.c: Likewise.
745         * sysdeps/x86/tst-get-cpu-features.c: Likewise.
746         * sysdeps/x86_64/dl-procinfo.c: Likewise.
747         * sysdeps/x86_64/cacheinfo.c (__cpuid_count): Removed.
748         Assume USE_MULTIARCH is defined and don't check it.
749         (is_intel): Replace __cpu_features with GLRO(dl_x86_cpu_features).
750         (is_amd): Likewise.
751         (max_cpuid): Likewise.
752         (intel_check_word): Likewise.
753         (__cache_sysconf): Don't call __init_cpu_features.
754         (__x86_preferred_memory_instruction): Removed.
755         (init_cacheinfo): Don't call __init_cpu_features. Replace
756         __cpu_features with GLRO(dl_x86_cpu_features).
757         * sysdeps/x86_64/dl-machine.h: <cpu-features.c>.
758         (dl_platform_init): Call init_cpu_features.
759         * sysdeps/x86_64/ldsodefs.h: Include <cpu-features.h>.
760         * sysdeps/x86_64/multiarch/Makefile (aux): Remove init-arch.
761         * sysdeps/x86_64/multiarch/Versions: Removed.
762         * sysdeps/x86_64/multiarch/cacheinfo.c: Likewise.
763         * sysdeps/x86_64/multiarch/init-arch.c: Likewise.
764         * sysdeps/x86_64/multiarch/ifunc-defines.sym (KIND_OFFSET):
765         Removed.
766         * sysdeps/x86_64/multiarch/init-arch.h: Rewrite.
768 2015-08-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
770         [BZ #18820]
771         * libio/Makefile (test-fmemopen-mem): New test.
772         * libio/test-fmemopen.c (do_bz18820): New test.
773         * libio/fmemopen.c (__fmemopen): Fix memory leak.
774         * libio/oldfmemopen.c (__old_fmemopen): Likewise.
776 2015-08-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
778         [BZ #16734]
779         * libio/libioP.h (ROUND_TO_PAGE, ALLOC_BUF, ALLOC_WBUF): Delete.
780         (FREE_BUF): Delete.
781         * libio/libio.h (_IO_FILE_complete): Delete unused _freeres_size.
782         * libio/genops.c (_IO_setb): Use malloc and free directly.
783         (_IO_default_doallocate, _IO_default_finish): Likewise.
784         ( _IO_unbuffer_all): Likewise.
785         ( libc_freeres_fn): Likewise.
786         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
787         * libio/wfiledoalloc.c (_IO_wfile_doallocate): Likewise.
788         * libio/wgenops.c (_IO_wsetb, _IO_wdefault_finish): Likewise.
789         (_IO_wdefault_doallocate): Likewise.
791 2015-08-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
793         [BZ #18086]
794         * sysdeps/posix/nice.c (nice): Restore old errno.
795         * posix/tst-nice.c (do_test): Add test for BZ #18086.
797 2015-08-10  Ondrej Bilka  <neleai@seznam.cz>
799         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Fix ifunc.
801 2015-08-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
803         * sysdeps/powerpc/powerpc64/power7/memmove.S (bcopy): Changing to
804         __bcopy and add a weak_alias to bcopy.
805         * sysdeps/powerpc/powerpc64/power7/strstr.S (strstr): Use __strnlen
806         for static build.
808         * string/stpcpy.c (__stpcpy): Use STPCPY to redefine symbol name and
809         cleanup macro usage.
810         * string/strcpy.c (strcpt): Use STRCPY to redefine symbol name.
811         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.S: Remove file.
812         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
813         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.S: Likewise.
814         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
815         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: Likewise.
816         * sysdeps/powerpc/powerpc64/power7/strcpy.S: Likewise.
817         * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
818         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
819         * sysdeps/powerpc/powerpc64/strcpy.S: Likewise.
820         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
821         [SHARED && IS_IN (libc)]: Include <string/strcpy.c>.
822         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
823         [SHARED && IS_IN (libc)]: Include <string/stpcpy.c>.
824         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
825         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: Likewise.
826         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: Likewise.
827         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: Likewise.
828         * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
830         * sysdeps/powerpc/powerpc64/power7/strnlen.S (__strnlen): Add
831         libc_hidden_def.
832         (strnlen): Remove libc_hidden_builtin_def and add libc_hidden_def.
834         * sysdeps/powerpc/powerpc64/power7/Makefile [$(subdir) = string]
835         (sysdep_routines): Add strstr-ppc64.
836         * sysdeps/powerpc/powerpc64/power7/strstr-ppc64.c: New file.
838 2015-08-10  Maxim Ostapenko  <m.ostapenko@partner.samsung.com>
840         [BZ #18778]
841         * elf/Makefile (tests): Add Add tst-nodelete2.
842         (modules-names): Add tst-nodelete2mod.
843         (tst-nodelete2mod.so-no-z-defs): New.
844         ($(objpfx)tst-nodelete2): Likewise.
845         ($(objpfx)tst-nodelete2.out): Likewise.
846         (LDFLAGS-tst-nodelete2): Likewise.
847         * elf/dl-close.c (_dl_close_worker): Move DF_1_NODELETE clearing
848         out of loop through all loaded libraries.
849         * elf/tst-nodelete2.c: New file.
850         * elf/tst-nodelete2mod.c: Likewise.
852 2015-08-11  Andreas Schwab  <schwab@suse.de>
854         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Don't define.
855         * sysdeps/unix/sysv/linux/wordsize-64/openat.c
856         (__openat64_nocancel): Likewise.
858 2015-08-11  Joseph Myers  <joseph@codesourcery.com>
860         * math/auto-libm-test-in: Add more tests of acosh, asin, asinh,
861         atanh, cabs, carg, cbrt, cosh, csqrt, erf, erfc, exp, exp10,
862         expm1, hypot, log, log10, log1p, log2, pow, sinh, tan and tgamma.
863         * math/auto-libm-test-out: Regenerated.
864         * sysdeps/i386/fpu/libm-test-ulps: Update.
865         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
867 2015-08-10  Joseph Myers  <joseph@codesourcery.com>
869         [BZ #18790]
870         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Increase
871         threshold for returning +/- 1.
872         * math/auto-libm-test-in: Add more tests of tanh.
873         * math/auto-libm-test-out: Regenerated.
874         * sysdeps/i386/fpu/libm-test-ulps: Update.
876 2015-08-10  Andreas Schwab  <schwab@suse.de>
878         [BZ #18781]
879         * sysdeps/unix/sysv/linux/openat.c (__OPENAT) [MORE_OFLAGS]: Add
880         MORE_OFLAGS to oflag.
881         * io/test-lfs.c (do_test): Test openat64.
883 2015-08-10  Joseph Myers  <joseph@codesourcery.com>
885         [BZ #18789]
886         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Use
887         smaller threshold for returning the argument.
888         * math/auto-libm-test-in: Add more tests of sinh.
889         * math/auto-libm-test-out: Regenerated.
890         * sysdeps/i386/fpu/libm-test-ulps: Update.
892 2015-08-09  H.J. Lu  <hongjiu.lu@intel.com>
894         [BZ #18674]
895         * sysdeps/i386/tst-auditmod3b.c (la_objsearch): Add a missing
896         break.
898 2015-08-09  Andreas Schwab  <schwab@linux-m68k.org>
900         * timezone/Makefile (tzbases, tzlinks, tzfiles): Don't define.
901         (generated): Don't add $(addprefix z.,$(tzfiles)).
903 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
905         * nptl/tst-cancel-wrappers.sh: Change 3rd arg to gensub to 1.
906         * scripts/sysd-rules.awk: Likewise.
908 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
910         * iconvdata/tst-tables.sh: Change echo -n to printf.
911         * nss/db-Makefile: Likewise.
912         * posix/tst-getconf.sh: Likewise.
913         * stdio-common/tst-unbputc.sh: Likewise.
915 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
917         * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]: Move all
918         MADV_*_PAGES defines behind this feature check.
920 2015-08-09  John David Anglin  <danglin@gcc.gnu.org>
922         [BZ #18480]
923         * sysdeps/unix/sysv/linux/hppa/sysdep.h (LOAD_ARGS_0, LOAD_ARGS_1,
924         LOAD_ARGS_2, LOAD_ARGS_3, LOAD_ARGS_4, LOAD_ARGS_5, LOAD_ARGS_6):
925         Define.
926         (LOAD_REGS_0, LOAD_REGS_1, LOAD_REGS_2, LOAD_REGS_3, LOAD_REGS_4,
927         LOAD_REGS_5, LOAD_REGS_6): Update.
928         (INTERNAL_SYSCALL): Update using new LOAD defines.
929         (INTERNAL_SYSCALL_NCS): Likewise.
930         * sysdeps/unix/sysv/linux/hppa/syscall.c (syscall): Likewise.
932 2015-08-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
934         [BZ #16734]
935         * libio/genops.c (_IO_unbuffer_all): Free wide buffer as well.
937 2015-08-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
939         [BZ #17905]
940         * catgets/Makefile (tst-catgets-mem): New test.
941         * catgets/catgets.c (catopen): Don't use unbounded alloca.
942         * catgets/open_catalog.c (__open_catalog): Likewise.
943         * catgets/tst-catgets.c (do_bz17905): Test unbounded alloca.
945 2015-08-08  John David Anglin  <danglin@gcc.gnu.org>
947         [BZ #18787]
948         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (_LWS_CLOBBER): Revise
949         clobber registers.
950         (atomic_compare_and_exchange_val_acq): Use register asms to assign
951         operand registers.  Use register %r20 for EAGAIN and EDEADLOCK checks.
952         Cast return to __typeof (oldval).
954 2015-08-08  Mike Frysinger  <vapier@gentoo.org>
956         * sysdeps/unix/sysv/linux/microblaze/sysdep.h: Wrap the whole file
957         in _LINUX_MICROBLAZE_SYSDEP_H defines.  Include sysdeps/unix/sysdep.h
958         and delete sys/syscall.h include.
960 2015-08-07  Joseph Myers  <joseph@codesourcery.com>
962         [BZ #16517]
963         * sysdeps/ieee754/dbl-64/s_tan.c: Include <float.h>.
964         (tan): Force underflow exception for arguments with small absolute
965         value.
966         * sysdeps/ieee754/flt-32/k_tanf.c: Include <float.h>.
967         (__kernel_tanf): Force underflow exception for arguments with
968         small absolute value.
969         * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <float.h>.
970         (__kernel_tanl): Force underflow exception for arguments with
971         small absolute value.
972         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <float.h>.
973         (__kernel_tanl): Force underflow exception for arguments with
974         small absolute value.
975         * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <float.h>.
976         (__kernel_tanl): Force underflow exception for arguments with
977         small absolute value.
978         * math/auto-libm-test-in: Add more tests of tan.
979         * math/auto-libm-test-out: Regenerated.
981 2015-08-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
983         Fix sysdeps/i386/fpu/s_scalbn.S build
985         * math/Versions (libc: GLIBC_2_22): New (empty) version set.
987 2015-08-07  Mike Frysinger  <vapier@gentoo.org>
989         * sysdeps/hppa/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
991 2015-08-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
993         Fix gcrt0.o compilation
995         When static-start-installed-name is different from
996         start-installed-name, we must not use the shared objects.
998         * csu/Makefile
999         (extra-objs): Add gmon-start.o when building shared library and
1000         $(static-start-installed-name) is different from
1001         $(start-installed-name).
1002         $(objpfx)g$(static-start-installed-name): When building shared
1003         library and $(static-start-installed-name) is different from
1004         $(static-start-installed-name), revert to non-shared rule,
1005         i.e. using $(objpfx)% and gmon-start.o.
1007 2015-08-06  Joseph Myers  <joseph@codesourcery.com>
1009         [BZ #16519]
1010         * sysdeps/ieee754/dbl-64/e_sinh.c: Include <float.h>.
1011         (__ieee754_sinh): Force underflow exception for arguments with
1012         small absolute value.
1013         * sysdeps/ieee754/flt-32/e_sinhf.c: Include <float.h>.
1014         (__ieee754_sinhf): Force underflow exception for arguments with
1015         small absolute value.
1016         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Include <float.h>.
1017         (__ieee754_sinhl): Force underflow exception for arguments with
1018         small absolute value.
1019         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Include <float.h>.
1020         (__ieee754_sinhl): Force underflow exception for arguments with
1021         small absolute value.
1022         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Include <float.h>.
1023         (__ieee754_sinhl): Force underflow exception for arguments with
1024         small absolute value.
1025         * math/auto-libm-test-in: Add more tests of sinh.
1026         * math/auto-libm-test-out: Regenerated.
1027         * sysdeps/i386/fpu/libm-test-ulps: Update.
1029 2015-08-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
1031         * libio/oldfileops.c: Include unistd.h.
1033 2015-08-06  Mike Frysinger  <vapier@gentoo.org>
1035         * stdlib/isomac.c: Include ctype.h.
1037 2015-08-06  Arjun Shankar  <arjun.is@lostca.se>
1039         * dirent/tst-seekdir.c (main): Converted to ...
1040         (do_test): ... this.
1041         (TEST_FUNCTION): New macro.
1042         Include test-skeleton.c.
1043         * elf/tst-dlmodcount.c (main): Converted to ...
1044         (do_test): ... this.
1045         (TEST_FUNCTION): New macro.
1046         Include test-skeleton.c.
1047         * elf/tst-order-main.c (main): Converted to ...
1048         (do_test): ... this.
1049         (TEST_FUNCTION): New macro.
1050         Include test-skeleton.c.
1051         * elf/tst-pie2.c (main): Converted to ...
1052         (do_test): ... this.
1053         (TEST_FUNCTION): New macro.
1054         Include test-skeleton.c.
1055         * inet/tst-ether_aton.c (main): Converted to ...
1056         (do_test): ... this.
1057         (TEST_FUNCTION): New macro.
1058         Include test-skeleton.c.
1059         * misc/tst-mntent.c (main): Converted to ...
1060         (do_test): ... this.
1061         (TEST_FUNCTION): New macro.
1062         Include test-skeleton.c.
1063         * misc/tst-tsearch.c (main): Converted to ...
1064         (do_test): ... this.
1065         (TEST_FUNCTION): New macro.
1066         Include test-skeleton.c.
1067         * posix/tst-regexloc.c (main): Converted to ...
1068         (do_test): ... this.
1069         (TEST_FUNCTION): New macro.
1070         Include test-skeleton.c.
1071         * resolv/tst-aton.c (main): Converted to ...
1072         (do_test): ... this.
1073         (TEST_FUNCTION): New macro.
1074         Include test-skeleton.c.
1075         * stdio-common/test-fwrite.c (main): Converted to ...
1076         (do_test): ... this.
1077         (TEST_FUNCTION): New macro.
1078         Include test-skeleton.c.
1079         * stdio-common/tst-ferror.c (main): Converted to ...
1080         (do_test): ... this.
1081         (TEST_FUNCTION): New macro.
1082         Include test-skeleton.c.
1083         * stdio-common/tst-printf.c (main): Converted to ...
1084         (do_test): ... this.
1085         (TEST_FUNCTION): New macro.
1086         Include test-skeleton.c.
1087         * stdio-common/tst-printfsz.c (main): Converted to ...
1088         (do_test): ... this.
1089         (TEST_FUNCTION): New macro.
1090         Include test-skeleton.c.
1091         * stdlib/tst-strtod.c (main): Converted to ...
1092         (do_test): ... this.
1093         (TEST_FUNCTION): New macro.
1094         Include test-skeleton.c.
1095         * string/tst-strlen.c (main): Converted to ...
1096         (do_test): ... this.
1097         (TEST_FUNCTION): New macro.
1098         Include test-skeleton.c.
1099         * string/tst-svc.c (main): Converted to ...
1100         (do_test): ... this.
1101         (TEST_FUNCTION): New macro.
1102         Include test-skeleton.c.
1103         * time/tst-strptime.c (main): Converted to ...
1104         (do_test): ... this.
1105         (TEST_FUNCTION): New macro.
1106         Include test-skeleton.c.
1107         * timezone/tst-timezone.c (main): Converted to ...
1108         (do_test): ... this.
1109         (TEST_FUNCTION): New macro.
1110         Include test-skeleton.c.
1112 2015-08-05  Zack Weinberg  <zackw@panix.com>
1114         * misc/regexp.h: Update comments.
1116 2015-08-05  Andreas Schwab  <schwab@linux-m68k.org>
1118         [BZ #18635]
1119         * sysdeps/unix/sysv/linux/m68k/m680x0/makecontext.S: Add nop
1120         before return label.
1122 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
1124         [BZ #18661]
1125         * sysdeps/x86_64/fpu/s_cosf.S (__cosf): Align stack to 16 bytes
1126         when calling __errno_location.
1127         * sysdeps/x86_64/fpu/s_sincosf.S (__sincosf): Likewise.
1128         * sysdeps/x86_64/fpu/s_sinf.S (__sinf): Likewise.
1130 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
1132         [BZ #18661]
1133         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S
1134         (__lll_timedwait_tid): Align stack to 16 bytes when calling
1135         __gettimeofday.
1137 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
1139         [BZ #18661]
1140         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
1141         (__start_context): Don't use pop to restore %rdi so that stack
1142         is aligned to 16 bytes when calling __setcontext.
1144 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
1146         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Compile
1147         only for libc.
1148         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
1150 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
1152         * string/string.h: (mempcpy): Redirect to __mempcpy_inline.
1153         (__mempcpy): Likewise.  (__mempcpy_inline): New inline function.
1154         * sysdeps/sparc/bits/string.h: (_HAVE_STRING_ARCH_mempcpy): Define.
1156 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
1158         * string/memccpy.c (memccpy):
1159         Improve performance by using memchr/memcpy/__mempcpy.
1161 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
1163         * string/strncpy.c (strncpy):
1164         Improve performance by using __strnlen/memcpy.
1166 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
1168         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
1169         Optimize to avoid an unnecessary FPCR read.
1171 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
1173         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
1174         Optimize to reduce FPCR/FPSR accesses.
1176 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
1178         * locale/loadarchive.c (_nl_archive_subfreeres): Also check
1179         dead->data[category] != NULL.
1181 2015-08-05  Joseph Myers  <joseph@codesourcery.com>
1183         [BZ #18647]
1184         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): For large y
1185         and |x| close to 1, use absolute value of x when computing log.
1186         * math/auto-libm-test-in: Add more tests of pow.
1187         * math/auto-libm-test-out: Regenerated.
1189 2015-08-05  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1191         * sysdeps/unix/sysv/linux/arm/mmap.c: Add file.
1192         * sysdeps/unix/sysv/linux/arm/mmap.S: Remove file.
1193         * sysdeps/unix/sysv/linux/arm/mmap64.S: Likewise.
1195 2015-08-05  Marko Myllynen  <myllynen@redhat.com>
1197         [BZ #18525]
1198         * locales/km_KH: Remove timezone definition.
1199         * locales/lo_LA: Likewise.
1200         * locales/my_MM: Likewise.
1201         * locales/nan_TW@latin: Likewise.
1202         * locales/th_TH: Likewise.
1203         * locales/uk_UA: Likewise.
1205 2015-08-05  Daniel Marjamäki  <daniel.marjamaki@evidente.se>
1207         [BZ #18265]
1208         * wcsmbs/wchar.h (wcscat): Add __nonnull attribute.
1209         (wcsncat): Likewise.
1210         (wcscmp): Likewise.
1211         (wcsncmp): Likewise.
1213 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
1215         * test-skeleton.c (usage): New function.
1216         (main): Call usage when opt is '?'.
1218 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
1220         * sysdeps/unix/sysv/linux/mmap64.c: Move MMAP2_PAGE_SHIFT define
1221         before first use.
1223 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
1225         * nptl/allocatestack.c (allocate_stack): Move stacktop decl down to
1226         bottom and under _STACK_GROWS_DOWN.  Move the stacktop assignment
1227         in there too.
1229 2015-08-05  Carlos O'Donell  <carlos@systemhalted.org>
1231         * version.h (RELEASE): Set to "development".
1232         (VERSION): Set to "2.22.90"
1234         * version.h (RELEASE): Set to "stable".
1235         (VERSION): Set to "2.22"
1236         * include/features.h (__GLIBC_MINOR__): Set to 22.
1238 2015-08-04  Chris Metcalf  <cmetcalf@ezchip.com>
1240         * sysdeps/tile/tilepro/bits/atomic.h (__atomic_update):
1241         Restructure macro to avoid "value computed is not used" warning.
1242         (atomic_compare_and_exchange_val_acq): Likewise.
1244 2015-08-04  Andreas Schwab  <schwab@suse.de>
1246         [BZ #18635]
1247         * sysdeps/unix/sysv/linux/i386/makecontext.S: Terminate FDE before
1248         ret.
1249         * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext): Remove.
1251 2015-08-01  Carlos O'Donell  <carlos@redhat.com>
1253         * po/pl.po: Updated translation.
1254         * po/uk.po: Likewise.
1255         * po/fi.po: Likewise.
1256         * po/ko.po: Likewise.
1257         * po/ru.po: Likewise.
1258         * po/vi.po: Likewise.
1260 2015-07-31  Zack Weinberg  <zackw@panix.com>
1262         [BZ #18681]
1263         * regexp.h: Add unconditional #warning stating that this header
1264         will be removed soon.  Revise banner comment to match.
1265         (compile): Consistently use ERROR instead of RETURN to report
1266         errors (partial fix for bz#18681).
1267         * regexp.c: Don't include regexp.h. Remove some unnecessary
1268         declarations.
1270 2015-07-31  Carlos O'Donell  <carlos@redhat.com>
1272         * po/libc.pot: Regenerated.
1274 2015-07-30  Andrew Senkevich  <andrew.senkevich@intel.com>
1276         [BZ #18740]
1277         * sysdeps/x86_64/fpu/Makefile (double-vlen2-arch-ext-cflags,
1278         float-vlen4-arch-ext-cflags): Removed.
1279         * math/Makefile (CFLAGS-test-double-vlen2-wrappers.c,
1280         CFLAGS-test-float-vlen4-wrappers.c): Likewise.
1282 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
1284         [BZ #14113]
1285         * sysdeps/hppa/nptl/bits/pthreadtypes.h (pthread_mutex_t): Change
1286         aligned to __aligned__.
1287         (pthread_cond_t, pthread_rwlock_t): Likewise.
1289 2015-07-30  Torvald Riegel  <triegel@redhat.com>
1291         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: Remove file.
1293 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
1295         * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h: Include bits/wordsize.h.
1296         (struct sigaction): Change sa_flags from a long to an int, and add
1297         __glibc_reserved0 before it for padding when __WORDSIZE is 64.
1299 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
1301         * hppa/sysdep.h: Delete sys/syscall.h and config.h includes.
1302         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: Delete
1303         sysdeps/generic/sysdep.h include.
1304         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Wrap the whole file in
1305         _LINUX_HPPA_SYSDEP_H defines.  Include sysdeps/unix/sysdep.h and
1306         sysdeps/hppa/sysdep.h.
1307         (ENTRY, PSEUDO): Undefine before defining.
1309 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
1311         * sysdeps/unix/sysv/linux/hppa/sysdep.h (INLINE_SYSCALL): Rewrite
1312         from scratch to use INTERNAL_SYSCALL.
1314 2015-07-29  H.J. Lu  <hongjiu.lu@intel.com>
1316         [BZ #18078]
1317         * scripts/check-localplt.awk: Support alternate relocations.
1318         * scripts/localplt.awk: Also check relocations in DT_RELA/DT_REL
1319         sections.
1320         * sysdeps/unix/sysv/linux/i386/localplt.data: Mark free and
1321         malloc entries with + REL R_386_GLOB_DAT.
1322         * sysdeps/x86_64/localplt.data: New file.
1324 2015-07-29  Andrew Senkevich  <andrew.senkevich@intel.com>
1326         [BZ #18731]
1327         * sysdeps/x86_64/fpu/math-tests-arch.h: Added AVX runtime check.
1328         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
1329         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
1331 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
1333         * sysdeps/unix/sysv/linux/ia64/localplt.data: Delete __tls_get_addr.
1335 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
1337         * sysdeps/ia64/bits/atomic.h (atomic_exchange_and_add): Define
1338         directly in terms of __sync_fetch_and_add and delete (int) cast.
1340 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
1342         * sysdeps/unix/sysv/linux/ia64/Makefile (CPPFLAGS): Delete
1343         the -D_ASM_IA64_CURRENT_H flag.
1345 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
1347         [BZ #18641]
1348         * pwd/pwd.h (putpwent): Delete __nonnull markings.
1350 2015-07-27  Andreas Schwab  <schwab@suse.de>
1352         * conform/conformtest.pl (checknamespace): Filter out string
1353         literals while tokenizing.
1355 2015-07-26  Chung-Lin Tang  <cltang@codesourcery.com>
1357         * sysdeps/nios2/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
1358         * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Handle
1359         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
1361 2015-07-26  Chung-Lin Tang  <cltang@codesourcery.com>
1363         * nptl/tst-join7mod.c: Add #include <string.h>.
1365 2015-07-25  Chung-Lin Tang  <cltang@codesourcery.com>
1367         * sysdeps/nios2/libm-test-ulps: Update.
1369 2015-07-25  Chung-Lin Tang  <cltang@codesourcery.com>
1371         * sysdeps/unix/sysv/linux/nios2/setcontext.S (__setcontext):
1372         Fix order of arguments to the rt_sigprocmask syscall.
1373         * sysdeps/unix/sysv/linux/nios2/swapcontext.S (__swapcontext):
1374         Likewise.
1376 2015-07-24  Roland McGrath  <roland@hack.frob.com>
1378         * sysdeps/nacl/bits/fcntl.h (O_SHLOCK, O_EXLOCK): Macros removed.
1380 2015-07-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
1382         [BZ #18457]
1383         * nptl/Makefile (tests): New test case tst-join7.
1384         (modules-names): New test case module tst-join7mod.
1385         * nptl/tst-join7.c: New file.
1386         * nptl/tst-join7mod.c: New file.
1387         * Makeconfig (tls-model): Pass -ftls-model=initial-exec for
1388         all translation units in libc.so, libpthread.so and rtld.
1390 2015-07-24  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1392         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1394 2015-07-24  Andrew Senkevich  <andrew.senkevich@intel.com>
1396         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Fixed AVX512 IFUNC.
1397         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
1398         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
1399         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
1400         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
1401         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
1402         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
1403         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
1404         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
1405         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
1406         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
1407         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
1408         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Fixed wrappers to AVX2.
1409         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Likewise.
1410         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: Fixed KNL
1411         implementation.
1413 2015-07-24  Szabolcs Nagy  <szabolcs.nagy@arm.com>
1415         [BZ #17711]
1416         * sysdeps/aarch64/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
1417         * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Handle
1418         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
1419         * sysdeps/arm/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
1420         * sysdeps/arm/dl-machine.h (elf_machine_type_class): Handle
1421         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
1423 2015-07-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
1425         * stdlib/cxa_thread_atexit_impl.c: Use the lock name dl_load_lock
1426         instead of just saying load lock in the comments.
1428 2015-07-23  Roland McGrath  <roland@hack.frob.com>
1430         * sysdeps/unix/Subdirs: Moved ...
1431         * sysdeps/posix/Subdirs: ... here.
1432         * login/pty.h (struct termios, struct winsize): Add forward decls.
1433         * login/openpty.c (openpty): Put ioctl call under [TIOCSWINSZ].
1434         * sysdeps/nacl/glob.c: Just #include <sysdeps/wordsize-64/glob.c>.
1435         * sysdeps/arm/nacl/libc.abilist: Updated.
1436         * sysdeps/nacl/libutil.abilist: New file.
1438         * bits/signum.h: Update comments to mention 1003.1-2013 too.
1439         (SIGWINCH): New macro.
1441         * sysdeps/nacl/getdtsz.c (getdtablesize): Add missing weak_alias.
1442         * sysdeps/arm/nacl/libc.abilist: Add it.
1444 2015-07-23  Mike Frysinger  <vapier@gentoo.org>
1446         * conform/linknamespace.pl (@whitelist): Add matherrf and matherrl.
1448 2015-07-23  Mike Frysinger  <vapier@gentoo.org>
1450         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
1451         Swap __glibc_reserved0 and sa_flags order.
1453 2015-07-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
1455         [BZ #18657]
1456         * elf/dl-close.c (_dl_close_worker): Don't unload DSO if there
1457         are pending TLS destructor calls.
1458         * include/link.h (struct link_map): Add concurrency note for
1459         L_TLS_DTOR_COUNT.
1460         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
1461         Don't touch the link map flag.  Atomically increment
1462         l_tls_dtor_count.
1463         (__call_tls_dtors): Atomically decrement l_tls_dtor_count.
1464         Avoid taking the load lock and don't touch the link map flag.
1465         * stdlib/tst-tls-atexit-nodelete.c: New test case.
1466         * stdlib/Makefile (tests): Use it.
1467         * stdlib/tst-tls-atexit.c (do_test): dlopen
1468         tst-tls-atexit-lib.so again before dlclose.  Add conditionals
1469         to allow tst-tls-atexit-nodelete test case to use it.
1471 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
1473         * sysdeps/unix/sysv/linux/ia64/bits/msq.h: Change sys/types.h include
1474         to bits/types.h.
1475         (msgqnum_t): New typedef.
1476         (msglen_t): Likewise.
1477         (struct msqid_ds): Update comment.  Change msg_qnum type to msgqnum_t
1478         and msg_qbytes type to msglen_t.
1480 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
1482         * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat): Rename
1483         pad0 to __glibc_reserved0.
1484         (struct stat64): Likewise.
1486 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
1488         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
1489         Change sa_flags from a long to an int and add __glibc_reserved0 before
1490         it for padding.
1492 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
1494         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (siginfo_t): Make struct
1495         anonymous by deleting "siginfo" name.
1497 2015-07-21  Roland McGrath  <roland@hack.frob.com>
1499         * sysdeps/nacl/nacl-interface-list.h: Remove nacl_irt_filename.
1500         * sysdeps/nacl/open.c (__libc_open): Use __nacl_irt_dev_filename
1501         rather than __nacl_irt_filename.
1502         * sysdeps/nacl/xstat.c (__xstat): Likewise.
1504         * NEWS: New item for arm-nacl port.
1505         * sysdeps/arm/nacl/libc.abilist: New file.
1506         * sysdeps/nacl/ld.abilist: New file.
1507         * sysdeps/nacl/libBrokenLocale.abilist: New file.
1508         * sysdeps/nacl/libanl.abilist: New file.
1509         * sysdeps/nacl/libcrypt.abilist: New file.
1510         * sysdeps/nacl/libdl.abilist: New file.
1511         * sysdeps/nacl/libm.abilist: New file.
1512         * sysdeps/nacl/libpthread.abilist: New file.
1513         * sysdeps/nacl/libresolv.abilist: New file.
1514         * sysdeps/nacl/librt.abilist: New file.
1516 2015-07-21  Chris Metcalf  <cmetcalf@ezchip.com>
1518         * sysdeps/unix/sysv/linux/tile/makecontext.c (__makecontext): Call
1519         __startcontext to initialize the new context.
1520         * sysdeps/unix/sysv/linux/tile/setcontext.S (__startcontext): Set
1521         up CFI directive to forbid further backtracing.
1523 2015-07-21  Marko Myllynen  <myllynen@redhat.com>
1525         * charmaps/ANSI_X3.110-1983: Remove obsolete repertoire map
1526         reference.
1527         * charmaps/ANSI_X3.4-1968: Likewise.
1528         * charmaps/BS_4730: Likewise.
1529         * charmaps/BS_VIEWDATA: Likewise.
1530         * charmaps/CP1250: Likewise.
1531         * charmaps/CP1251: Likewise.
1532         * charmaps/CP1252: Likewise.
1533         * charmaps/CP1253: Likewise.
1534         * charmaps/CP1254: Likewise.
1535         * charmaps/CP1255: Likewise.
1536         * charmaps/CP1256: Likewise.
1537         * charmaps/CSN_369103: Likewise.
1538         * charmaps/EBCDIC-DK-NO: Likewise.
1539         * charmaps/GB_1988-80: Likewise.
1540         * charmaps/GREEK-CCITT: Likewise.
1541         * charmaps/GREEK7: Likewise.
1542         * charmaps/INIS-8: Likewise.
1543         * charmaps/ISIRI-3342: Likewise.
1544         * charmaps/ISO_2033-1983: Likewise.
1545         * charmaps/ISO_5427-EXT: Likewise.
1546         * locales/POSIX: Likewise.
1547         * locales/ar_SA: Likewise.
1548         * locales/be_BY: Likewise.
1549         * locales/be_BY@latin: Likewise.
1550         * locales/ca_ES: Likewise.
1551         * locales/cs_CZ: Likewise.
1552         * locales/da_DK: Likewise.
1553         * locales/de_BE: Likewise.
1554         * locales/de_CH: Likewise.
1555         * locales/de_LU: Likewise.
1556         * locales/en_AU: Likewise.
1557         * locales/en_BW: Likewise.
1558         * locales/en_CA: Likewise.
1559         * locales/en_DK: Likewise.
1560         * locales/en_GB: Likewise.
1561         * locales/en_IE: Likewise.
1562         * locales/en_NZ: Likewise.
1563         * locales/en_ZA: Likewise.
1564         * locales/en_ZW: Likewise.
1565         * locales/es_AR: Likewise.
1566         * locales/es_BO: Likewise.
1567         * locales/es_CL: Likewise.
1568         * locales/es_CO: Likewise.
1569         * locales/es_DO: Likewise.
1570         * locales/es_EC: Likewise.
1571         * locales/es_ES: Likewise.
1572         * locales/es_HN: Likewise.
1573         * locales/es_MX: Likewise.
1574         * locales/es_PA: Likewise.
1575         * locales/es_PE: Likewise.
1576         * locales/es_PY: Likewise.
1577         * locales/es_SV: Likewise.
1578         * locales/es_US: Likewise.
1579         * locales/es_UY: Likewise.
1580         * locales/es_VE: Likewise.
1581         * locales/et_EE: Likewise.
1582         * locales/fa_IR: Likewise.
1583         * locales/fo_FO: Likewise.
1584         * locales/fr_CA: Likewise.
1585         * locales/fr_CH: Likewise.
1586         * locales/gv_GB: Likewise.
1587         * locales/he_IL: Likewise.
1588         * locales/hr_HR: Likewise.
1589         * locales/id_ID: Likewise.
1590         * locales/is_IS: Likewise.
1591         * locales/it_CH: Likewise.
1592         * locales/iw_IL: Likewise.
1593         * locales/kl_GL: Likewise.
1594         * locales/ko_KR: Likewise.
1595         * locales/kw_GB: Likewise.
1596         * locales/lg_UG: Likewise.
1597         * locales/lt_LT: Likewise.
1598         * locales/lv_LV: Likewise.
1599         * locales/mi_NZ: Likewise.
1600         * locales/nhn_MX: Likewise.
1601         * locales/nl_BE: Likewise.
1602         * locales/pl_PL: Likewise.
1603         * locales/sk_SK: Likewise.
1604         * locales/sl_SI: Likewise.
1605         * locales/sv_FI: Likewise.
1606         * locales/tl_PH: Likewise.
1607         * locales/tr_TR: Likewise.
1608         * locales/vi_VN: Likewise.
1610 2015-07-21  Khem Raj  <raj.khem@gmail.com>
1612         [BZ #17475]
1613         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Adjust for rename
1614         of tu_IN and bh_IN.
1616 2015-07-21  Mike Frysinger  <vapier@gentoo.org>
1618         [BZ #18694]
1619         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Include
1620         bits/wordsize.h.
1621         (sigaction): Declare __glibc_reserved0 only when __WORDSIZE is 64.
1623 2015-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
1625         * stdlib/tst-tls-atexit-lib.c (do_foo): Rename to reg_dtor.
1626         * stdlib/tst-tls-atexit.c: (is_loaded): New function.
1627         (spawn_thread): New function.
1628         (load): Rename to reg_dtor_and_close.  Move dlopen to...
1629         (do_test): ... here.  Use IS_LOADED to test for its
1630         availability.
1632 2015-07-21  Andreas Schwab  <schwab@linux-m68k.org>
1634         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
1636 2015-07-20  H.J. Lu  <hongjiu.lu@intel.com>
1638         [BZ #18696]
1639         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (_sigfault): Add
1640         si_addr_bnd.
1641         (si_lower): New.
1642         (si_upper): Likewise.
1644 2015-07-16  David S. Miller  <davem@davemloft.net>
1646         * sysdeps/sparc/fpu/libm-test-ulps: Regenerated.
1648 2015-07-16  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1650         * libio/fmemopen.c (__fmemopen): Fix 'w' openmode with provided
1651         buffer.
1652         * stdio-common/tst-fmemopen2.c (do_test_with_buffer): Fix typo and
1653         fail output information.
1655 2015-07-16  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
1657         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strstr-power7
1658         and strstr-ppc64..
1659         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
1660         * sysdeps/powerpc/powerpc64/power7/strstr.S: New File.
1661         * sysdeps/powerpc/powerpc64/multiarch/strstr-power7.S: New File.
1662         * sysdeps/powerpc/powerpc64/multiarch/strstr-ppc64.c: New File.
1663         * sysdeps/powerpc/powerpc64/multiarch/strstr.c: New File.
1665 2015-07-16  Mike Frysinger  <vapier@gentoo.org>
1667         * sysdeps/hppa/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
1668         * sysdeps/hppa/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
1669         * sysdeps/ia64/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
1670         * sysdeps/ia64/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
1672 2015-07-16  Mike Frysinger  <vapier@gentoo.org>
1674         * elf/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
1675         * sysdeps/hppa/dl-lookupcfg.h (_dl_symbol_address): Add
1676         rtld_hidden_proto.
1677         * sysdeps/ia64/dl-lookupcfg.h (_dl_symbol_address): Likewise.
1679 2015-07-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
1681         * tst-nodelete-opened.c (do_test): Add comment to clarify how
1682         the test can fail.
1684         * stdlib/cxa_thread_atexit_impl.c: Whitespace fixup.
1686         [BZ #18676]
1687         * elf/tst-nodelete-opened.c: New test case.
1688         * elf/tst-nodelete-opened-lib.c: New test case module.
1689         * elf/Makefile (tests, modules-names): Use them.
1690         * elf/dl-open.c (dl_open_worker): Set DF_1_NODELETE flag
1691         early.
1693 2015-07-15  David S. Miller  <davem@davemloft.net>
1695         * sysdeps/sparc/nptl/pthread_barrier_init.c: Include
1696         futex-intenal.h
1697         * sysdeps/sparc/sparc32/sparcv9/Makefile (nscd): Add cpu_relax.
1698         * sysdeps/sparc/sparc64/Makefile: Likewise.
1699         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
1700         Remove space from macro define.
1701         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_spin_nop): Likewise.
1703 2015-07-15  Pravin Satpute  <psatpute@redhat.com>
1705         [BZ #17475]
1706         * locale/iso-639.def: Update Bhili and Tulu language codes as
1707         per iso639-3.
1709 2015-07-15  Arjun Shankar  <arjun.is@lostca.se>
1711         * elf/tst-leaks1.c (main): Converted to ...
1712         (do_test): ... this.
1713         (TEST_FUNCTION): New macro.
1714         Include test-skeleton.c.
1715         * localedata/tst-langinfo.c (main): Converted to ...
1716         (do_test): ... this.
1717         (TEST_FUNCTION): New macro.
1718         Include test-skeleton.c.
1719         * math/test-fpucw.c (main): Converted to ...
1720         (do_test): ... this.
1721         (TEST_FUNCTION): New macro.
1722         Include test-skeleton.c.
1723         * math/test-tgmath.c (main): Converted to ...
1724         (do_test): ... this.
1725         (TEST_FUNCTION): New macro.
1726         Include test-skeleton.c.
1727         * math/test-tgmath2.c (main): Converted to ...
1728         (do_test): ... this.
1729         (TEST_FUNCTION): New macro.
1730         Include test-skeleton.c.
1731         * setjmp/tst-setjmp.c (main): Converted to ...
1732         (do_test): ... this.
1733         (TEST_FUNCTION): New macro.
1734         Include test-skeleton.c.
1735         * stdio-common/tst-sscanf.c (main): Converted to ...
1736         (do_test): ... this.
1737         (TEST_FUNCTION): New macro.
1738         Include test-skeleton.c.
1739         * sysdeps/x86_64/tst-audit6.c (main): Converted to ...
1740         (do_test): ... this.
1741         (TEST_FUNCTION): New macro.
1742         Include test-skeleton.c.
1744         * elf/tst-audit9.c (main): Converted to ...
1745         (do_test): ... this.
1746         (TEST_FUNCTION): New macro.
1747         Include test-skeleton.c.
1749 2015-07-15  Mike Frysinger  <vapier@gentoo.org>
1751         * timezone/tst-tzset.c (TIMEOUT): Define to 5.
1753 2015-07-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
1755         * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext):
1756         New variable.
1758 2015-07-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
1760         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
1762 2015-07-14  Roland McGrath  <roland@hack.frob.com>
1764         * sysdeps/generic/dl-fileid.h: New file.
1765         * sysdeps/posix/dl-fileid.h: New file.
1766         * sysdeps/nacl/dl-fileid.h: New file.
1767         * include/link.h: Include <dl-fileid.h>.
1768         (struct link_map): Replace l_dev and l_ino with l_file_id.
1769         * elf/dl-load.c (_dl_map_object_from_fd): Use _dl_get_file_id rather
1770         than __fxstat64.  Use _dl_file_id_match_p rather than comparing l_dev
1771         and l_ino directly.  Initialize l_file_id rather than l_dev and l_ino.
1773 2015-07-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
1775         * stdlib/tst-tls-atexit.c (do_test): Fix typo.
1777 2015-07-14  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1779         * elf/Makefile [ifeq (yes,$(build-shared)) (tests)] (tst-nodelete):
1780         Add iff $CXX is set.
1781         [ifeq (yes,$(build-shared)) (modules-names)] (tst-nodelete-rtldmod):
1782         Likewise.
1783         (tst-nodelete-zmodiff): Likewise.
1784         * nptl/Makefile [[ifeq (,$(CXX))] (tests-unsupported)]: Add tst-once5.
1786 2015-07-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
1788         * stdlib/tst-tls-atexit.c (load): Fix up whitespace.
1790 2015-07-13  Wilco Dijkstra  <wdijkstr@arm.com>
1792         * sysdeps/aarch64/fpu/math_private.h
1793         (define math_opt_barrier): Add AArch64 version.
1794         (math_force_eval): Likewise.
1796 2015-07-13  Wilco Dijkstra  <wdijkstr@arm.com>
1798         * sysdeps/aarch64/strlen.S (strlen): Optimize strlen.
1800 2015-07-11  H.J. Lu  <hongjiu.lu@intel.com>
1802         * stdio-common/tst-fmemopen2.c (do_test_without_buffer): Replace
1803         %ld with %jd and cast to intmax_t.
1804         (do_test_length_zero): Likewise.
1806 2015-07-10  Roland McGrath  <roland@hack.frob.com>
1808         * sysdeps/nacl/pthread_condattr_setclock.c: New file.
1810 2015-07-10  Chris Metcalf  <cmetcalf@ezchip.com>
1812         * sysdeps/tile/libm-test-ulps: Regenerated.
1814         * math/test-fenvinline.c (feenable_test) [FE_ALL_EXCEPT == 0]:
1815         Comment out the whole function, not just its body.
1817 2015-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
1819         * stdlib/tst-tls-atexit.c (load): Remove unnecessary mutex
1820         locks.
1822         * stdlib/tst-tls-atexit.c (load): Avoid boolean coercion.
1824 2015-07-10  Torvald Riegel  <triegel@redhat.com>
1826         * nptl/sem_waitcommon.c (__new_sem_wait_slow): Update comments.
1827         (sem_assume_only_signals_cause_futex_EINTR): Remove.
1829 2015-07-10  Torvald Riegel  <triegel@redhat.com>
1831         * sysdeps/nptl/futex-internal.h: New file.
1832         * sysdeps/nacl/futex-internal.h: New file.
1833         * sysdeps/unix/sysv/linux/futex-internal.h: New file.
1834         * nptl/allocatestack.c (setxid_mark_thread): Use futex wrappers with
1835         error checking.
1836         (setxid_unmark_thread): Likewise.
1837         (__nptl_setxid): Likewise.
1838         (__wait_lookup_done): Likewise.
1839         * nptl/cancellation.c (__pthread_disable_asynccancel): Likewise.
1840         * nptl/nptl-init.c (sighandler_setxid): Likewise.
1841         * nptl/pthread_create.c (START_THREAD_DEFN): Likewise.
1842         * nptl/pthread_once.c (clear_once_control): Likewise.
1843         (__pthread_once_slow): Likewise.
1844         * nptl/unregister-atfork.c (__unregister_atfork): Likewise.
1845         * sysdeps/nacl/exit-thread.h (__exit_thread): Likewise.
1846         * sysdeps/nptl/aio_misc.h (AIO_MISC_NOTIFY, AIO_MISC_WAIT): Likewise.
1847         * sysdeps/nptl/fork.c (__libc_fork): Likewise.
1848         * sysdeps/nptl/gai_misc.h (GAI_MISC_NOTIFY, GAI_MISC_WAIT): Likewise.
1849         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock_slow):
1850         Likewise.
1851         (__pthread_rwlock_rdlock): Likewise.
1852         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
1853         Likewise.
1854         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
1855         Likewise.
1856         * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
1857         Likewise.
1858         * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Likewise.
1859         * nptl/pthread_rwlock_wrlock.c (__pthread_rwlock_wrlock_slow:
1860         Likewise.
1861         * nptl/pthread_rwlock_init (__pthread_rwlock_init): Remove
1862         __ASSUME_PRIVATE_FUTEX check.
1863         * nptl/pthread_rwlockattr_setpshared (pthread_rwlockattr_setpshared):
1864         Check that shared futexes are supported.
1865         * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Use futex
1866         wrappers with error checking.
1867         * nptl/pthread_barrier_init.c (pthread_barrier_init): Add comments,
1868         remove attribute sanity check and __ASSUME_PRIVATE_FUTEX check.
1869         * nptl/pthread_barrierattr_setpshared.c
1870         (pthread_barrierattr_setpshared): Check that shared futexes are
1871         supported.
1872         * nptl/pthread_condattr_setpshared.c (pthread_condattr_setpshared):
1873         Likewise.
1874         * nptl/pthread_mutexattr_setpshared.c (pthread_mutexattr_setpshared):
1875         Likewise.
1876         * nptl/sem_init.c (futex_private_if_supported): Remove.
1877         (__new_sem_init): Adapt and check that shared futexes are supported.
1878         * nptl/sem_open.c (sem_open): Likewise.
1879         * nptl/sem_post.c (futex_wake): Remove.
1880         * nptl/sem_waitcommon.c (futex_abstimed_wait, futex_wake): Remove.
1881         (do_futex_wait): Use futex wrappers with error checking.
1882         * nptl/sem_wait.c: Include lowlevellock.h.
1883         * sysdeps/sparc/nptl/pthread_barrier_init.c (__pthread_barrier_init):
1884         Use futex_supports_pshared.
1885         * sysdeps/sparc/nptl/pthread_barrier_wait.c (pthread_barrier_wait):
1886         Use futex wrappers with error checking.
1887         * sysdeps/sparc/sparc32/pthread_barrier_wait.c (pthread_barrier_wait):
1888         Likewise.
1889         * sysdeps/sparc/sparc32/sem_init.c (futex_private_if_supported): Remove.
1890         * sysdeps/sparc/sparc32/sem_post.c (futex_wake): Likewise.
1891         * sysdeps/sparc/sparc32/sem_open.c (sem_open): Use FUTEX_SHARED.
1892         * sysdeps/sparc/sparc32/sem_waitcommon.c (futex_abstimed_wait): Remove.
1893         (futex_wake): Likewise.
1894         (sem_assume_only_signals_cause_futex_EINTR): Likewise.
1895         (do_futex_wait): Use futex wrappers with error checking.
1896         (__new_sem_wait_slow): Update EINTR handling.
1897         * sysdeps/sparc/sparc32/sem_wait.c: Include lowlevellock.h.
1899 2015-07-09  Martin Sebor  <msebor@redhat.com>
1901         [BZ #18435]
1902         * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
1903         Revert commit ed225df3ad9cbac3c22ec3f0fbbed1f9c61d1c54.
1904         * nptl/Makefile (test-xfail-tst-once5): Define.
1906 2015-07-09  Roland McGrath  <roland@hack.frob.com>
1908         * include/stdio.h: Add rtld_hidden_proto (__libc_fatal).
1909         * elf/dl-minimal.c: For readability, reorder some definitions and
1910         introduce more page breaks.  Include <stdio.h>.
1911         (__libc_fatal): New function.
1913         * include/unistd.h: Add rtld_hidden_proto for _exit.
1914         * posix/_exit.c: Add rtld_hidden_def.
1915         * sysdeps/mach/hurd/_exit.c: Likewise.
1916         * sysdeps/nacl/_exit.c: Likewise.
1917         * sysdeps/unix/sysv/linux/_exit.c: Likewise.
1918         * sysdeps/unix/sysv/linux/i386/_exit.S: Likewise.
1920 2015-07-09  H.J. Lu  <hongjiu.lu@intel.com>
1922         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Improve
1923         bndmov encoding with zero displacement.
1925 2015-07-09  Igor Zamyatin  <igor.zamyatin@intel.com>
1926             H.J. Lu  <hongjiu.lu@intel.com>
1928         [BZ #18134]
1929         * sysdeps/i386/configure.ac: Set HAVE_MPX_SUPPORT.
1930         * sysdeps/i386/configure: Regenerated.
1931         * sysdeps/i386/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
1932         (_dl_runtime_profile): Save and restore Intel MPX return bound
1933         registers when calling _dl_call_pltexit.  Add
1934         PRESERVE_BND_REGS_PREFIX before return.
1935         * sysdeps/i386/link-defines.sym (LRV_BND0_OFFSET): New.
1936         (LRV_BND1_OFFSET): Likewise.
1937         * sysdeps/x86/bits/link.h (La_i86_retval): Add lrv_bnd0 and
1938         lrv_bnd1.
1939         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix
1940         typo in bndmov encoding.
1941         * sysdeps/x86_64/dl-trampoline.h: Properly save and restore
1942         Intel MPX bound registers.  Add PRESERVE_BND_REGS_PREFIX before
1943         branch instructions to preserve bounds.
1945 2015-07-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1947         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
1948         [GLIBC_2.22]: Add fmemopen.
1950 2015-07-09  Samuel Thibault  <samuel.thibault@ens-lyon.org>
1952         * sysdeps/mach/hurd/mlock.c (mlock): When __get_privileged_ports
1953         returns an error, also try to use host port from __mach_host_self for
1954         the __vm_wire call.
1955         * sysdeps/mach/hurd/munlock.c (munlock): Likewise.
1957 2015-07-09  Szabolcs Nagy  <szabolcs.nagy@arm.com>
1959         [BZ #18400]
1960         [BZ #18648]
1961         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h (struct elf_prpsinfo):
1962         Fix pr_uid and pr_gid members.
1963         * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (greg_t): Change the
1964         definition to elf_greg_t.
1966 2015-07-08  Roland McGrath  <roland@hack.frob.com>
1968         [BZ #18383]
1969         * sysdeps/arm/configure.ac (libc_cv_arm_tpoff_addend): New check.
1970         Emit test-xfail-tst-tlsalign{,-static}=yes if it fails.
1971         * sysdeps/arm/configure: Regenerated.
1972         * elf/Makefile (test-xfail-tst-tlsalign): Variable removed.
1973         (test-xfail-tst-tlsalign-static): Variable removed.
1975         * Makerules (do-install-so): Use $(LN_S) rather than explicit 'ln -s'.
1976         * elf/Makefile ($(objpfx)$(rtld-installed-name)): Use $(make-link)
1977         rather than explicit 'ln -s'.
1979         * resolv/rpc/netdb.h: New file.
1980         * resolv/Makefile [sunrpc not in $(subdirs)] (headers): Add it.
1982 2015-07-08  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1984         * stdio-common/tst-fmemopen2.c (do_test): Add test for NULL and zero
1985         length buffers.
1986         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
1987         test-skeleton.c.
1989         [BZ #6544]
1990         [BZ #11216]
1991         [BZ #12836]
1992         [BZ #13151]
1993         [BZ #13152]
1994         [BZ #14292]
1995         * include/stdio.h (fmemopen): Remove hidden prototype.
1996         (__fmemopen): Add new hidden prototype.
1997         * libio/Makefile: Add oldfmemopen object.
1998         * libio/Versions [GLIBC_2.22]: Add new fmemopen symbol.
1999         * libio/fmemopen.c (__fmemopen): Function rewrite to be POSIX
2000         compliance.
2001         * libio/oldfmemopen.c: New file: old fmemopen implementation for
2002         symbol compatibility.
2003         * stdio-common/Makefile [tests]: Add new tst-fmemopen3.
2004         * stdio-common/psiginfo.c [psiginfo]: Call __fmemopen instead of
2005         fmemopen.
2006         * stdio-common/tst-fmemopen3.c: New file: more fmemopen tests, focus
2007         on append and read mode.
2008         * sysdeps/unix/sysv/linux/aarch64/libc.abilist [GLIBC_2.22]: Add
2009         fmemopen.
2010         * sysdeps/unix/sysv/linux/alpha/libc.abilist [GLIBC_2.22]: Likewise.
2011         * sysdeps/unix/sysv/linux/arm/libc.abilist [GLIBC_2.22]: Likewise.
2012         * sysdeps/unix/sysv/linux/i386/libc.abilist [GLIBC_2.22]: Likewise.
2013         * sysdeps/unix/sysv/linux/ia64/libc.abilist [GLIBC_2.22]:
2014         Likewise.
2015         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
2016         [GLIBC_2.22]: Likewise.
2017         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist [GLIBC_2.22]:
2018         Likewise.
2019         * sysdeps/unix/sysv/linux/microblaze/libc.abilist [GLIBC_2.22]:
2020         Likewise.
2021         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
2022         [GLIBC_2.22]: Likewise.
2023         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
2024         [GLIBC_2.22]: Likewise.
2025         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
2026         [GLIBC_2.22]: Likewise.
2027         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
2028         [GLIBC_2.22]: Likewise.
2029         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
2030         [GLIBC_2.22]: Likewise.
2031         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
2032         [GLIBC_2.22]: Likewise.
2033         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
2034         [GLIBC_2.22]: Likewise.
2035         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist [GLIBC_2.22]:
2036         Likewise.
2037         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist [GLIBC_2.22]:
2038         Likewise.
2039         * sysdeps/unix/sysv/linux/sh/libc.abilist [GLIBC_2.22]: Likewise.
2040         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
2041         [GLIBC_2.22]: Likewise.
2042         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
2043         [GLIBC_2.22]: Likewise.
2044         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
2045         [GLIBC_2.22]: Likewise.
2046         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
2047         [GLIBC_2.22]: Likewise.
2048         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist [GLIBC_2.22]:
2049         Likewise.
2050         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist [GLIBC_2.22]:
2051         Likewise.
2052         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist [GLIBC_2.22]:
2053         Likewise.
2054         * sysdeps/unix/sysv/linux/hppa/libc.abilist [GLIBC_2.22]: Likewise.
2055         * sysdeps/unix/sysv/linux/nios2/libc.abilist [GLIBC_2.22]: Likewise.
2057 2015-07-08  Carlos O'Donell  <carlos@redhat.com>
2059         [BZ #18643]
2060         * sysdeps/unix/sysv/linux/bits/in.h: Define IPV6_RECVPATHMTU,
2061         IPV6_PATHMTU, and IPV6_DONTFRAG.
2063 2015-07-08  Feng Gao  <gfree.wind@gmail.com>
2065         * libio/fileops.c: Use "|" instead of "+" when combine _IO_LINE_BUF
2066         and _IO_UNBUFFERED.
2067         * libio/oldfileops.c: Likewise.
2068         * libio/wfileops.c: Likewise.
2070 2015-07-08  Mike Frysinger  <vapier@gentoo.org>
2072         * nscd/selinux.c: Delete selinux/flask.h include.
2074 2015-07-08  Mike Frysinger  <vapier@gentoo.org>
2076         [BZ #18641]
2077         * pwd/pwd.h (fgetpwent): Add __nonnull markings.
2078         (putpwent): Likewise.
2079         (getpwnam): Likewise.
2080         (getpwent_r): Likewise.
2081         (getpwuid_r): Likewise.
2082         (getpwnam_r): Likewise.
2083         (fgetpwent_r): Likewise.
2085 2015-07-08  Carlos O'Donell  <carlos@redhat.com>
2087         [BZ #18557]
2088         * inet/rcmd.c (__validuser2_sa): Check user first to
2089         short-circuit host check.
2091 2015-07-07  Pavel Kopyl  <p.kopyl@samsung.com>
2092             Mikhail Ilin  <m.ilin@samsung.com>
2094         [BZ #17833]
2095         * elf/Makefile (tests): Add tst-nodelete.
2096         (modules-names): Add tst-nodelete-uniquemod.
2097         (tst-nodelete-uniquemod.so-no-z-defs): New.
2098         (tst-nodelete-rtldmod.so-no-z-defs): Likewise.
2099         (tst-nodelete-zmod.so-no-z-defs): Likewise.
2100         ($(objpfx)tst-nodelete): Likewise.
2101         ($(objpfx)tst-nodelete.out): Likewise.
2102         (LDFLAGS-tst-nodelete): Likewise.
2103         (LDFLAGS-tst-nodelete-zmod.so): Likewise.
2104         * elf/dl-close.c (_dl_close_worker): Add a parameter to
2105         implement forced object deletion.
2106         (_dl_close): Pass false to _dl_close_worker.
2107         * elf/dl-open.c (_dl_open): Pass true to _dl_close_worker.
2108         * elf/tst-nodelete.cc: New file.
2109         * elf/tst-nodeletelib.cc: Likewise.
2110         * elf/tst-znodeletelib.cc: Likewise.
2111         * include/dlfcn.h (_dl_close_worker): Add a new parameter.
2113 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
2115         [BZ #18508]
2116         * stdlib/Makefile ($(objpfx)tst-makecontext3):
2117         Depend on $(libdl).
2118         * stdlib/tst-makecontext.c (cf): Test if _Unwind_Backtrace
2119         is not called infinitely times.
2120         (backtrace_helper): New function.
2121         (trace_arg): New struct.
2122         (st1): Enlarge stack size.
2123         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
2124         (__makecontext_ret): Omit cfi_startproc and cfi_endproc.
2125         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
2126         Likewise.
2128 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
2130         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
2132 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
2134         * sysdeps/unix/sysv/linux/s390/bits/sem.h:
2135         Include sys/types.h instead of bits/types.h.
2136         Remove inclusion of bits/wordsize.h.
2138 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
2140         * sysdeps/x86_64/tst-auditmod10b.c (la_symbind32): New.
2141         * sysdeps/x86_64/tst-auditmod4b.c (la_symbind32): Likewise.
2142         * sysdeps/x86_64/tst-auditmod5b.c (la_symbind32): Likewise.
2143         * sysdeps/x86_64/tst-auditmod6b.c (la_symbind32): Likewise.
2144         * sysdeps/x86_64/tst-auditmod6c.c (la_symbind32): Likewise.
2145         * sysdeps/x86_64/tst-auditmod7b.c (la_symbind32): Likewise.
2147 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
2149         * sysdeps/i386/Makefile (gen-as-const-headers)[elf]: Add
2150         link-defines.sym.
2151         * sysdeps/i386/dl-trampoline.S: Include <link-defines.h>.
2152         (_dl_runtime_profile): Use LONG_DOUBLE_SIZE, LRV_SIZE,
2153         LRV_EAX_OFFSET, LRV_EDX_OFFSET, LRV_ST0_OFFSET, LRV_ST1_OFFSET
2154         and LR_SIZE.
2155         * sysdeps/i386/link-defines.sym: New file.
2157 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
2159         * sysdeps/i386/Makefile (tests)[elf]: Add tst-audit3.
2160         (modules-names): Add tst-auditmod3a tst-auditmod3b.
2161         ($(objpfx)tst-audit3): New rule.
2162         ($(objpfx)tst-audit3.out): Likewise.
2163         * sysdeps/i386/tst-audit3.c: New file.
2164         * sysdeps/i386/tst-audit3.h: Likewise.
2165         * sysdeps/i386/tst-auditmod3a.c: Likewise.
2166         * sysdeps/i386/tst-auditmod3b.c: Likewise.
2168 2015-07-07  Torvald Riegel  <triegel@redhat.com>
2170         [BZ #18633]
2171         * sysdeps/x86/bits/string.h (__memmove_g): Do not create invalid
2172         pointer in C code.
2173         (__strcat_c): Likewise.
2174         (__strcat_g): Likewise.
2176 2015-07-07  Cyril Hrubis <chrubis@suse.cz>
2178         [BZ #18592]
2179         * misc/sbrk.c: Set errno to ENOMEM on overflow.
2181 2015-07-06  Wilco Dijkstra  <wdijkstr@arm.com>
2183         * sysdeps/aarch64/fpu/math_private.h (__ieee754_sqrt):
2184         New function.  (__ieee754_sqrtf): New function.
2185         * sysdeps/aarch64/fpu/e_sqrt.c (__ieee754_sqrt):
2186         New function.
2187         * sysdeps/aarch64/fpu/e_sqrtf.c (__ieee754_sqrtf):
2188         New function.
2190 2015-07-06  Wilco Dijkstra  <wdijkstr@arm.com>
2192         * sysdeps/ieee754/support.c: Remove unused file.
2194 2015-07-06  Szabolcs Nagy  <szabolcs.nagy@arm.com>
2196         * sysdeps/unix/sysv/linux/aarch64/getcontext.S (__getcontext): Use q
2197         registers instead of d ones so the layout is kernel abi compatible.
2198         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext): Likewise.
2199         * sysdeps/unix/sysv/linux/aarch64/swapcontext.S (__swapcontext):
2200         Likewise.
2202 2015-07-02  Szabolcs Nagy  <szabolcs.nagy@arm.com>
2204         * sysdeps/aarch64/libm-test-ulps: Regenerated.
2206 2015-07-01  Joseph Myers  <joseph@codesourcery.com>
2208         [BZ #18619]
2209         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Force underflow
2210         and return argument in case of subnormal argument.
2212 2015-07-01  Martin Sebor  <msebor@redhat.com>
2214         [BZ #18435]
2215         * nptl/Makefile: Add tst-once5.cc.
2216         * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
2217         Remove macro redefinitions.
2218         * nptl/tst-once5.cc: New test.
2220 2015-07-01  Joseph Myers  <joseph@codesourcery.com>
2222         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
2224         * sysdeps/arm/libm-test-ulps: Regenerated.
2226         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
2227         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
2229 2015-06-30  Torvald Riegel  <triegel@redhat.com>
2231         * nptl/DESIGN-systemtap-probes.txt: Remove lll_lock_wait,
2232         lll_lock_wait_private and lll_futex_wake probes.
2234         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (BUSY_WAIT_NOP): Remove.
2235         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (BUSY_WAIT_NOP):
2236         Likewise.
2237         * sysdeps/i386/i486/bits/atomic.h (atomic_delay): Rename to
2238         atomic_spin_nop.
2239         * sysdeps/x86_64/bits/atomic.h: Likewise.
2240         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (BUSY_WAIT_NOP): Rename
2241         to atomic_spin_nop and move ...
2242         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
2243         ... here and ...
2244         * sysdeps/sparc/sparc64/bits/atomic.h: ... here.
2245         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Use
2246         atomic_spin_nop instead of BUSY_WAIT_NOP.
2247         * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock):
2248         Likewise.
2249         * sysdeps/nacl/lll_timedwait_tid.c (__lll_timedwait_tid): Likewise.
2250         * sysdeps/nacl/lowlevellock.h (BUSY_WAIT_NOP): Remove.
2251         (lll_wait_tid): Use atomic_spin_nop instead of BUSY_WAIT_NOP.
2252         * nscd/nscd-client.h (__nscd_acquire_maplock): Use atomic_spin_nop
2253         instead of atomic_delay.
2255 2015-06-29  Joseph Myers  <joseph@codesourcery.com>
2257         [BZ #18613]
2258         * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Take log of
2259         X_ADJ not X when adjusting exponent.
2260         (__ieee754_gamma_r): Do intermediate computations in
2261         round-to-nearest then adjust overflowing and underflowing results
2262         as needed.
2263         * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Take log
2264         of X_ADJ not X when adjusting exponent.
2265         (__ieee754_gammaf_r): Do intermediate computations in
2266         round-to-nearest then adjust overflowing and underflowing results
2267         as needed.
2268         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive): Take
2269         log of X_ADJ not X when adjusting exponent.
2270         (__ieee754_gammal_r): Do intermediate computations in
2271         round-to-nearest then adjust overflowing and underflowing results
2272         as needed.  Use 1.0L not 1.0f as numerator of division.
2273         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive): Take
2274         log of X_ADJ not X when adjusting exponent.
2275         (__ieee754_gammal_r): Do intermediate computations in
2276         round-to-nearest then adjust overflowing and underflowing results
2277         as needed.  Use 1.0L not 1.0f as numerator of division.
2278         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive): Take log
2279         of X_ADJ not X when adjusting exponent.
2280         (__ieee754_gammal_r): Do intermediate computations in
2281         round-to-nearest then adjust overflowing and underflowing results
2282         as needed.  Use 1.0L not 1.0f as numerator of division.
2283         * math/libm-test.inc (tgamma_test_data): Remove one test.  Moved
2284         to auto-libm-test-in.
2285         (tgamma_test): Use ALL_RM_TEST.
2286         * math/auto-libm-test-in: Add one test of tgamma.  Mark some other
2287         tests of tgamma with spurious-overflow.
2288         * math/auto-libm-test-out: Regenerated.
2289         * math/gen-libm-have-vector-test.sh: Do not check for START.
2290         * sysdeps/i386/fpu/libm-test-ulps: Update.
2291         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2293         [BZ #18612]
2294         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): For small
2295         arguments, just return 0.5 times the argument, with underflow
2296         forced as needed.
2297         * math/auto-libm-test-in: Add more tests of j1.
2298         * math/auto-libm-test-out: Regenerated.
2300         [BZ #16559]
2301         * sysdeps/ieee754/dbl-64/e_j1.c: Include <float.h>.
2302         (__ieee754_j1): Force underflow exception for small results.
2303         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
2304         * sysdeps/ieee754/flt-32/e_j1f.c: Include <float.h>.
2305         (__ieee754_j1f): Force underflow exception for small results.
2306         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
2307         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
2308         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
2309         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <float.h>.
2310         (__ieee754_j1l): Force underflow exception for small results.
2311         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
2312         * math/auto-libm-test-in: Add more tests of j1 and jn.
2313         * math/auto-libm-test-out: Regenerated.
2315         * sysdeps/unix/sysv/linux/bits/in.h (IP_CHECKSUM): New macro.
2316         * sysdeps/unix/sysv/linux/bits/socket.h (PF_IB): Likewise.
2317         (PF_MPLS): Likewise.
2318         (AF_IB): Likewise.
2319         (AF_MPLS): Likewise.
2320         * sysdeps/unix/sysv/linux/sys/mount.h (MS_LAZYTIME): New enum
2321         value and macro.
2322         (MS_RMT_MASK): Include MS_LAZYTIME.
2324 2015-06-26  Mel Gorman  <mgorman@suse.de>
2326         [BZ #18502]
2327         * malloc/arena.c (heap_trim): Don't try to shrink a heap that is
2328         already minimal.
2330 2015-06-26  Matthew Fortune  <matthew.fortune@imgtec.com>
2332         * elf/elf.h (DT_MIPS_RLD_MAP_REL): New macro.
2333         (DT_MIPS_NUM): Update.
2334         * sysdeps/mips/dl-machine.h (ELF_MACHINE_DEBUG_SETUP): Handle
2335         DT_MIPS_RLD_MAP_REL.
2337 2015-06-25  Joseph Myers  <joseph@codesourcery.com>
2339         [BZ #16559]
2340         [BZ #18602]
2341         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Set
2342         round-to-nearest internally then recompute results that
2343         underflowed to zero in the original rounding mode.
2344         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
2345         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
2346         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
2347         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise
2348         * math/libm-test.inc (jn_test): Use ALL_RM_TEST.
2349         * sysdeps/i386/fpu/libm-test-ulps: Update.
2350         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2352 2015-06-25  Andrew Senkevich  <andrew.senkevich@intel.com>
2354         * NEWS: Fixed description of link with vector math library.
2356 2015-06-25  Andreas Schwab  <schwab@suse.de>
2358         [BZ #18549]
2359         * libio/fmemopen.c (fmemopen_write): Fix bounds check for ENOSPC.
2360         * libio/test-fmemopen.c (do_test): Add test for it.
2362 2015-06-25  H.J. Lu  <hongjiu.lu@intel.com>
2364         [BZ #17841]
2365         * Makeconfig (no-pie-ldflag): New.
2366         (+link): Set to $(+link-pie) if default to PIE.
2367         (+link-tests): Set to $(+link-pie-tests) if default to PIE.
2368         * config.make.in (build-pie-default): New.
2369         * configure.ac (libc_cv_pie_default): New.  Set to yes if -fPIE
2370         is default.  AC_SUBST.
2371         * configure: Regenerated.
2372         * elf/Makefile (LDFLAGS-tst-dlopen-aout): New.
2374 2015-06-24  Roland McGrath  <roland@hack.frob.com>
2376         * nptl/descr.h (struct pthread): Change type of field setxid_futex
2377         to 'unsigned int'.
2379         * resolv/gai_misc.h (struct waitlist): Change type of field
2380         counterp to 'volatile unsigned int *'.
2381         * sysdeps/nptl/gai_misc.h (GAI_MISC_WAIT): Use unsigned types for
2382         FUTEXADDR and OLDVAL.
2383         * resolv/getaddrinfo_a.c (getaddrinfo_a):
2384         Give local variable TOTAL type 'volatile unsigned int'.
2385         (struct async_waitlist): Change type of field counter to 'unsigned int'.
2386         * resolv/gai_suspend.c (gai_suspend):
2387         Give local variable CNTR type 'unsigned int'.
2389         * sysdeps/pthread/aio_misc.h (struct waitlist): Change type of field
2390         counterp to 'volatile unsigned int *'.
2391         * sysdeps/pthread/aio_suspend.c [DONT_NEED_AIO_MISC_COND]
2392         (do_aio_misc_wait): Give argument CNTR type 'unsigned int *'.
2393         (aio_suspend): Give local variable CNTR type 'unsigned int'.
2394         * sysdeps/pthread/lio_listio.c (lio_listio_internal):
2395         Give local variable TOTAL type 'volatile unsigned int'.
2396         (struct async_waitlist): Change type of field counter to 'unsigned int'.
2398 2015-06-24  H.J. Lu  <hongjiu.lu@intel.com>
2400         [BZ #18383]
2401         * csu/libc-tls.c (__libc_setup_tls) [TLS_TCB_AT_TP]: Align
2402         TCB_OFFSET to MAX_ALIGN, not just TCBALIGN.  Add comment.
2403         * elf/Makefile (test-xfail-tst-tlsalign{,-static}): Remove
2404         comment for i386/x86-64.
2405         (test-xfail-tst-tlsalign-extern-static): Removed.
2407 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
2409         * math/test-double.h: New file.
2410         * math/test-float.h: Likewise.
2411         * math/test-ldouble.h: Likewise.
2412         * math/test-math-inline.h: Likewise.
2413         * math/test-math-no-inline.h: Likewise.
2414         * math/test-math-scalar.h: Likewise.
2415         * math/test-math-vector.h: Likewise.
2416         * math/test-vec-loop.h: Remove file.  Contents moved into
2417         test-math-vector.h.
2418         * math/libm-test.inc (MATHCONST): Do not document macro.
2419         * math/test-double.c: Include test-double.h, test-math-no-inline.h
2420         and test-math-scalar.h.
2421         (FUNC): Remove macro.
2422         (FUNC_TEST): Likewise.
2423         (FLOAT): Likewise.
2424         (MATHCONST): Likewise.
2425         (PRINTF_EXPR): Likewise.
2426         (PRINTF_XEXPR): Likewise.
2427         (PRINTF_NEXPR): Likewise.
2428         (TEST_DOUBLE): Likewise.
2429         (TEST_MATHVEC): Likewise.
2430         (__NO_MATH_INLINES): Likewise.
2431         * math/test-float.c: Include test-float.h, test-math-no-inline.h
2432         and test-math-scalar.h.
2433         (FUNC): Remove macro.
2434         (FUNC_TEST): Likewise.
2435         (FLOAT): Likewise.
2436         (MATHCONST): Likewise.
2437         (PRINTF_EXPR): Likewise.
2438         (PRINTF_XEXPR): Likewise.
2439         (PRINTF_NEXPR): Likewise.
2440         (TEST_FLOAT): Likewise.
2441         (TEST_MATHVEC): Likewise.
2442         (__NO_MATH_INLINES): Likewise.
2443         * math/test-idouble.c: Include test-double.h, test-math-inline.h
2444         and test-math-scalar.h.
2445         (FUNC): Remove macro.
2446         (FUNC_TEST): Likewise.
2447         (FLOAT): Likewise.
2448         (MATHCONST): Likewise.
2449         (PRINTF_EXPR): Likewise.
2450         (PRINTF_XEXPR): Likewise.
2451         (PRINTF_NEXPR): Likewise.
2452         (TEST_DOUBLE): Likewise.
2453         (TEST_MATHVEC): Likewise.
2454         (TEST_INLINE): Likewise.
2455         (__NO_MATH_INLINES): Likewise.
2456         * math/test-ifloat.c: Include test-float.h, test-math-inline.h and
2457         test-math-scalar.h.
2458         (FUNC): Remove macro.
2459         (FUNC_TEST): Likewise.
2460         (FLOAT): Likewise.
2461         (MATHCONST): Likewise.
2462         (PRINTF_EXPR): Likewise.
2463         (PRINTF_XEXPR): Likewise.
2464         (PRINTF_NEXPR): Likewise.
2465         (TEST_FLOAT): Likewise.
2466         (TEST_MATHVEC): Likewise.
2467         (TEST_INLINE): Likewise.
2468         (__NO_MATH_INLINES): Likewise.
2469         * math/test-ildoubl.c: Include test-ldouble.h, test-math-inline.h
2470         and test-math-scalar.h.
2471         (FUNC): Remove macro.
2472         (FUNC_TEST): Likewise.
2473         (FLOAT): Likewise.
2474         (MATHCONST): Likewise.
2475         (PRINTF_EXPR): Likewise.
2476         (PRINTF_XEXPR): Likewise.
2477         (PRINTF_NEXPR): Likewise.
2478         (TEST_LDOUBLE): Likewise.
2479         (TEST_MATHVEC): Likewise.
2480         (TEST_INLINE): Likewise.
2481         (__NO_MATH_INLINES): Likewise.
2482         * math/test-ldouble.c: Include test-ldouble.h,
2483         test-math-no-inline.h and test-math-scalar.h.
2484         (FUNC): Remove macro.
2485         (FUNC_TEST): Likewise.
2486         (FLOAT): Likewise.
2487         (MATHCONST): Likewise.
2488         (PRINTF_EXPR): Likewise.
2489         (PRINTF_XEXPR): Likewise.
2490         (PRINTF_NEXPR): Likewise.
2491         (TEST_LDOUBLE): Likewise.
2492         (TEST_MATHVEC): Likewise.
2493         (__NO_MATH_INLINES): Likewise.
2494         * math/test-double-vlen2.h: Include test-double.h,
2495         test-math-no-inline.h and test-math-vector.h.
2496         (FLOAT): Remove macro.
2497         (FUNC): Likewise.
2498         (MATHCONST): Likewise.
2499         (PRINTF_EXPR): Likewise.
2500         (PRINTF_XEXPR): Likewise.
2501         (PRINTF_NEXPR): Likewise.
2502         (TEST_DOUBLE): Likewise.
2503         (TEST_MATHVEC): Likewise.
2504         (__NO_MATH_INLINES): Likewise.
2505         (CNCT): Likewise.
2506         (CONCAT): Likewise.
2507         (WRAPPER_NAME): Likewise.
2508         (WRAPPER_DECL): Likewise.
2509         (WRAPPER_DECL_ff): Likewise.
2510         (WRAPPER_DECL_fFF): Likewise.
2511         (VECTOR_WRAPPER): Likewise.
2512         (VECTOR_WRAPPER_ff): Likewise.
2513         (VECTOR_WRAPPER_fFF): Likewise.
2514         (VEC_LEN): New macro.
2515         * math/test-double-vlen4.h: Include test-double.h,
2516         test-math-no-inline.h and test-math-vector.h.
2517         (FLOAT): Remove macro.
2518         (FUNC): Likewise.
2519         (MATHCONST): Likewise.
2520         (PRINTF_EXPR): Likewise.
2521         (PRINTF_XEXPR): Likewise.
2522         (PRINTF_NEXPR): Likewise.
2523         (TEST_DOUBLE): Likewise.
2524         (TEST_MATHVEC): Likewise.
2525         (__NO_MATH_INLINES): Likewise.
2526         (CNCT): Likewise.
2527         (CONCAT): Likewise.
2528         (WRAPPER_NAME): Likewise.
2529         (WRAPPER_DECL): Likewise.
2530         (WRAPPER_DECL_ff): Likewise.
2531         (WRAPPER_DECL_fFF): Likewise.
2532         (VECTOR_WRAPPER): Likewise.
2533         (VECTOR_WRAPPER_ff): Likewise.
2534         (VECTOR_WRAPPER_fFF): Likewise.
2535         (VEC_LEN): New macro.
2536         * math/test-double-vlen8.h: Include test-double.h,
2537         test-math-no-inline.h and test-math-vector.h.
2538         (FLOAT): Remove macro.
2539         (FUNC): Likewise.
2540         (MATHCONST): Likewise.
2541         (PRINTF_EXPR): Likewise.
2542         (PRINTF_XEXPR): Likewise.
2543         (PRINTF_NEXPR): Likewise.
2544         (TEST_DOUBLE): Likewise.
2545         (TEST_MATHVEC): Likewise.
2546         (__NO_MATH_INLINES): Likewise.
2547         (CNCT): Likewise.
2548         (CONCAT): Likewise.
2549         (WRAPPER_NAME): Likewise.
2550         (WRAPPER_DECL): Likewise.
2551         (WRAPPER_DECL_ff): Likewise.
2552         (WRAPPER_DECL_fFF): Likewise.
2553         (VECTOR_WRAPPER): Likewise.
2554         (VECTOR_WRAPPER_ff): Likewise.
2555         (VECTOR_WRAPPER_fFF): Likewise.
2556         (VEC_LEN): New macro.
2557         * math/test-float-vlen4.h: Include test-float.h,
2558         test-math-no-inline.h and test-math-vector.h.
2559         (FLOAT): Remove macro.
2560         (FUNC): Likewise.
2561         (MATHCONST): Likewise.
2562         (PRINTF_EXPR): Likewise.
2563         (PRINTF_XEXPR): Likewise.
2564         (PRINTF_NEXPR): Likewise.
2565         (TEST_FLOAT): Likewise.
2566         (TEST_MATHVEC): Likewise.
2567         (__NO_MATH_INLINES): Likewise.
2568         (CNCT): Likewise.
2569         (CONCAT): Likewise.
2570         (WRAPPER_NAME): Likewise.
2571         (WRAPPER_DECL): Likewise.
2572         (WRAPPER_DECL_ff): Likewise.
2573         (WRAPPER_DECL_fFF): Likewise.
2574         (VECTOR_WRAPPER): Likewise.
2575         (VECTOR_WRAPPER_ff): Likewise.
2576         (VECTOR_WRAPPER_fFF): Likewise.
2577         (VEC_LEN): New macro.
2578         * math/test-float-vlen8.h: Include test-float.h,
2579         test-math-no-inline.h and test-math-vector.h.
2580         (FLOAT): Remove macro.
2581         (FUNC): Likewise.
2582         (MATHCONST): Likewise.
2583         (PRINTF_EXPR): Likewise.
2584         (PRINTF_XEXPR): Likewise.
2585         (PRINTF_NEXPR): Likewise.
2586         (TEST_FLOAT): Likewise.
2587         (TEST_MATHVEC): Likewise.
2588         (__NO_MATH_INLINES): Likewise.
2589         (CNCT): Likewise.
2590         (CONCAT): Likewise.
2591         (WRAPPER_NAME): Likewise.
2592         (WRAPPER_DECL): Likewise.
2593         (WRAPPER_DECL_ff): Likewise.
2594         (WRAPPER_DECL_fFF): Likewise.
2595         (VECTOR_WRAPPER): Likewise.
2596         (VECTOR_WRAPPER_ff): Likewise.
2597         (VECTOR_WRAPPER_fFF): Likewise.
2598         (VEC_LEN): New macro.
2599         * math/test-float-vlen16.h: Include test-float.h,
2600         test-math-no-inline.h and test-math-vector.h.
2601         (FLOAT): Remove macro.
2602         (FUNC): Likewise.
2603         (MATHCONST): Likewise.
2604         (PRINTF_EXPR): Likewise.
2605         (PRINTF_XEXPR): Likewise.
2606         (PRINTF_NEXPR): Likewise.
2607         (TEST_FLOAT): Likewise.
2608         (TEST_MATHVEC): Likewise.
2609         (__NO_MATH_INLINES): Likewise.
2610         (CNCT): Likewise.
2611         (CONCAT): Likewise.
2612         (WRAPPER_NAME): Likewise.
2613         (WRAPPER_DECL): Likewise.
2614         (WRAPPER_DECL_ff): Likewise.
2615         (WRAPPER_DECL_fFF): Likewise.
2616         (VECTOR_WRAPPER): Likewise.
2617         (VECTOR_WRAPPER_ff): Likewise.
2618         (VECTOR_WRAPPER_fFF): Likewise.
2619         (VEC_LEN): New macro.
2620         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Do not include
2621         test-vec-loop.h.
2622         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
2623         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
2624         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
2625         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
2626         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
2627         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
2628         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
2630 2015-06-24  Roland McGrath  <roland@hack.frob.com>
2632         * sysdeps/nacl/glob.c (getlogin_r): Macro renamed to ...
2633         (__getlogin_r): ... this.
2635 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
2637         [BZ #18594]
2638         * math/s_ccosh.c (__ccosh): Compare with least normal value
2639         instead of comparing class with FP_SUBNORMAL.
2640         * math/s_ccoshf.c (__ccoshf): Likewise.
2641         * math/s_ccoshl.c (__ccoshl): Likewise.
2642         * math/s_cexp.c (__cexp): Likewise.
2643         * math/s_cexpf.c (__cexpf): Likewise.
2644         * math/s_cexpl.c (__cexpl): Likewise.
2645         * math/s_csin.c (__csin): Likewise.
2646         * math/s_csinf.c (__csinf): Likewise.
2647         * math/s_csinh.c (__csinh): Likewise.
2648         * math/s_csinhf.c (__csinhf): Likewise.
2649         * math/s_csinhl.c (__csinhl): Likewise.
2650         * math/s_csinl.c (__csinl): Likewise.
2651         * math/s_ctan.c (__ctan): Likewise.
2652         * math/s_ctanf.c (__ctanf): Likewise.
2653         * math/s_ctanh.c (__ctanh): Likewise.
2654         * math/s_ctanhf.c (__ctanhf): Likewise.
2655         * math/s_ctanhl.c (__ctanhl): Likewise.
2656         * math/s_ctanl.c (__ctanl): Likewise.
2657         * math/auto-libm-test-in: Add more tests of ccos, ccosh, cexp,
2658         csin, csinh, ctan and ctanh.
2659         * math/auto-libm-test-out: Regenerated.
2660         * math/libm-test.inc (cexp_test): Use ALL_RM_TEST.
2661         * sysdeps/i386/fpu/libm-test-ulps: Update.
2662         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2664 2015-06-24  Roland McGrath  <roland@hack.frob.com>
2666         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): When sched_getcpu
2667         return value is wrong, print the expected value too.
2669 2015-06-24  H.J. Lu  <hongjiu.lu@intel.com>
2671         [BZ #18585]
2672         * elf/readlib.c (is_gdb_python_file): New.
2673         (process_file): Don't issue errors on filenames with -gdb.py
2674         suffix.
2676 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
2678         * math/auto-libm-test-in: Add more tests of csin and csinh.
2679         * math/auto-libm-test-out: Regenerated.
2680         * math/libm-test.inc (csin_test_data): Remove tests moved to
2681         auto-libm-test-in.
2682         (csinh_test_data): Likewise.
2684         [BZ #18593]
2685         * math/s_csin.c (__csin): Negate before rather than after possibly
2686         overflowing multiplication.
2687         * math/s_csinf.c (__csinf): Likewise.
2688         * math/s_csinh.c (__csinh): Likewise.
2689         * math/s_csinhf.c (__csinhf): Likewise.
2690         * math/s_csinhl.c (__csinhl): Likewise.
2691         * math/s_csinl.c (__csinl): Likewise.
2692         * math/auto-libm-test-in: Add some tests of csin and csinh.
2693         * math/auto-libm-test-out: Regenerated.
2694         * math/libm-test.inc (csin_test_data): Use AUTO_TESTS_c_c.
2695         (csinh_test_data): Likewise.
2696         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
2698         [BZ #18586]
2699         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Force
2700         underflow exception for small results.
2702 2015-06-24  Andrew Senkevich  <andrew.senkevich@intel.com>
2704         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
2705         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: Renamed
2706         variable and included header.
2707         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: Likewise.
2708         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: Likewise.
2709         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: Likewise.
2710         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: Likewise.
2711         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: Likewise.
2712         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S: Likewise.
2713         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S: Likewise.
2714         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S: Likewise.
2715         * sysdeps/x86_64/fpu/svml_s_trig_data.S: New file.
2716         * sysdeps/x86_64/fpu/svml_s_trig_data.h: Likewise.
2717         * sysdeps/x86_64/fpu/svml_s_cosf_data.S: Removed file.
2718         * sysdeps/x86_64/fpu/svml_s_cosf_data.h: Likewise.
2719         * sysdeps/x86_64/fpu/svml_s_sinf_data.S: Likewise.
2720         * sysdeps/x86_64/fpu/svml_s_sinf_data.h: Likewise.
2721         * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: Likewise.
2722         * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: Likewise.
2724 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
2726         [BZ #16526]
2727         [BZ #16538]
2728         * sysdeps/ieee754/dbl-64/s_sin.c: Include <float.h>.
2729         (__sin): Force underflow exception for arguments with small
2730         absolute value.
2731         * sysdeps/ieee754/flt-32/k_sinf.c: Include <float.h>.
2732         (__kernel_sinf): Force underflow exception for arguments with
2733         small absolute value.
2734         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Include <float.h>.
2735         (__kernel_sincosl): Force underflow exception for arguments with
2736         small absolute value.
2737         * sysdeps/ieee754/ldbl-128/k_sinl.c: Include <float.h>.
2738         (__kernel_sinl): Force underflow exception for arguments with
2739         small absolute value.
2740         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Include <float.h>.
2741         (__kernel_sincosl): Force underflow exception for arguments with
2742         small absolute value.
2743         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Include <float.h>.
2744         (__kernel_sinl): Force underflow exception for arguments with
2745         small absolute value.
2746         * sysdeps/ieee754/ldbl-96/k_sinl.c: Include <float.h>.
2747         (__kernel_sinl): Force underflow exception for arguments with
2748         small absolute value.
2749         * sysdeps/powerpc/fpu/k_sinf.c: Include <float.h>.
2750         (__kernel_sinf): Force underflow exception for arguments with
2751         small absolute value.
2752         * math/auto-libm-test-in: Add more tests of sin and sincos.
2753         * math/auto-libm-test-out: Regenerated.
2755         [BZ #18245]
2756         [BZ #18583]
2757         * sysdeps/ieee754/k_standardl.c: Include <fenv.h>.
2758         (__kernel_standard_l): Use feholdexcept and fesetenv around
2759         conversion to double instead of special-casing overflow and
2760         underflow.
2761         * math/libm-test.inc (fmod_test_data): Add more tests.
2762         (remainder_test_data): Likewise.
2763         (sqrt_test_data): Likewise.
2765 2015-06-23  Torvald Riegel  <triegel@redhat.com>
2767         [BZ #17403]
2768         * sysdeps/x86_64/bits/atomic.h: (atomic_full_barrier,
2769         atomic_read_barrier, atomic_write_barrier): Define.
2770         * sysdeps/i386/i486/bits/atomic.h (atomic_full_barrier,
2771         atomic_read_barrier, atomic_write_barrier): Define.
2773 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
2775         * math/Makefile [$(PERL) != no]
2776         ($(addprefix $(objpfx), $(addsuffix .o, $(libm-vec-tests)))): Move
2777         dependency on libm-test.stmp below the inclusion of Rules.
2779 2015-06-23  Andrew Senkevich  <andrew.senkevich@intel.com>
2781         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
2782         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: Renamed variable
2783         and included header.
2784         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: Likewise.
2785         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: Likewise.
2786         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: Likewise.
2787         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: Likewise.
2788         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: Likewise.
2789         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: Likewise.
2790         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: Likewise.
2791         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: Likewise.
2792         * sysdeps/x86_64/fpu/svml_d_trig_data.S: New file.
2793         * sysdeps/x86_64/fpu/svml_d_trig_data.h: Likewise.
2794         * sysdeps/x86_64/fpu/svml_d_cos2_core.S: Removed unneeded include.
2795         * sysdeps/x86_64/fpu/svml_d_cos4_core.S: Likewise.
2796         * sysdeps/x86_64/fpu/svml_d_cos8_core.S: Likewise.
2797         * sysdeps/x86_64/fpu/svml_d_cos_data.S: Removed file.
2798         * sysdeps/x86_64/fpu/svml_d_cos_data.h: Likewise.
2799         * sysdeps/x86_64/fpu/svml_d_sin_data.S: Likewise.
2800         * sysdeps/x86_64/fpu/svml_d_sin_data.h: Likewise.
2801         * sysdeps/x86_64/fpu/svml_d_sincos_data.S: Likewise.
2802         * sysdeps/x86_64/fpu/svml_d_sincos_data.h: Likewise.
2804 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
2806         [BZ #18371]
2807         * math/s_csqrt.c (__csqrt): Avoid multiplication by 0.5 where
2808         intermediate but not final result might underflow.
2809         * math/s_csqrtf.c (__csqrtf): Likewise.
2810         * math/s_csqrtl.c (__csqrtl): Likewise.
2811         * math/auto-libm-test-in: Add more tests of csqrt.
2812         * math/auto-libm-test-out: Regenerated.
2813         * sysdeps/i386/fpu/libm-test-ulps: Update.
2815         [BZ #18219]
2816         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Reduce
2817         threshold on absolute value of exponent for which scaling is used.
2818         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
2819         * math/auto-libm-test-in: Add more tests of exp2.
2820         * math/auto-libm-test-out: Regenerated.
2822 2015-06-23  Dmitry V. Levin  <ldv@altlinux.org>
2824         [BZ #17977]
2825         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix unlocking
2826         when initializing interface list, based on the bug analysis
2827         and the patch proposed by Eric Newton.
2828         * resolv/tst-res_hconf_reorder.c: New test.
2829         * resolv/Makefile [$(have-thread-library) = yes] (tests): Add
2830         tst-res_hconf_reorder.
2831         ($(objpfx)tst-res_hconf_reorder): Depend on $(libdl)
2832         and $(shared-thread-library).
2833         (tst-res_hconf_reorder-ENV): New variable.
2835         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix typo
2836         in comment.
2838 2015-06-22  Joseph Myers  <joseph@codesourcery.com>
2840         [BZ #16353]
2841         * sysdeps/i386/fpu/s_expm1.S (dbl_min): New object.
2842         (__expm1): Force underflow exception for arguments with small
2843         absolute value.
2844         * sysdeps/i386/fpu/s_expm1f.S (flt_min): New object.
2845         (__expm1f): Force underflow exception for arguments with small
2846         absolute value.
2847         * sysdeps/ieee754/dbl-64/s_expm1.c: Include <float.h>.
2848         (__expm1): Force underflow exception for arguments with small
2849         absolute value.
2850         * sysdeps/ieee754/flt-32/s_expm1f.c: Include <float.h>.
2851         (__expm1f): Force underflow exception for arguments with small
2852         absolute value.
2853         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
2854         Check for small arguments before calling __expm1.
2855         * math/auto-libm-test-in: Do not mark underflow exceptions as
2856         possibly missing for bug 16353.
2857         * math/auto-libm-test-out: Regenerated.
2859 2015-06-22  Andreas Schwab  <schwab@suse.de>
2861         [BZ #18513]
2862         * resolv/nss_dns/dns-host.c (getanswer_r): Record TTL also for
2863         PTR queries.
2865 2015-06-22  Leonhard Holz  <leonhard.holz@web.de>
2867         * string/strcoll_l.c (STRCOLL): Remove unnecessary memset.
2869         * string/strcoll_l.c: Remove unused struct element idxnow.
2871 2015-06-21  Joseph Myers  <joseph@codesourcery.com>
2873         [BZ #18569]
2874         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Force
2875         underflow and return argument in case of subnormal argument.
2876         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
2877         Likewise.
2878         * math/auto-libm-test-in: Add more tests of expm1.
2879         * math/auto-libm-test-out: Regenerated.
2881         [BZ #16361]
2882         * sysdeps/i386/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
2883         (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
2884         tiny results.
2885         * sysdeps/x86_64/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
2886         (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
2887         tiny results.
2888         * math/auto-libm-test-in: Add more tests of exp and exp10.  Do not
2889         mark underflow exceptions as possibly missing for bug 16361.
2890         * math/auto-libm-test-out: Regenerated.
2892 2015-06-19  Joseph Myers  <joseph@codesourcery.com>
2894         * conform/data/sys/select.h-data [XOPEN2K8] (pselect): Expect.
2895         * conform/Makefile (test-xfail-XOPEN2K8/sys/select.h/conform):
2896         Remove variable.
2897         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
2898         (test-xfail-XOPEN2K8/utmpx.h/conform).
2900         * conform/conformtest.pl ($xerrors): New variable.
2901         (note_error): New function.
2902         (compiletest): New argument $xfail.  Use not_error.
2903         (runtest): Likewise.
2904         (top level): Handle xfail- lines.  Update calls to compiletest and
2905         runtest.  Handle xfail- and optional- in headers listed with
2906         allow-header.
2907         * conform/data/fcntl.h-data (O_TTY_INIT): Use xfail-.
2908         (O_EXEC): Likewise.
2909         (O_SEARCH): Likewise.
2910         * conform/data/stropts.h-data (ioctl): Likewise.
2911         * conform/data/sys/ipc.h-data (ipc_perm.mode): Likewise.
2912         * conform/data/sys/sem.h-data (semid_ds.sem_nsems): Likewise.
2913         * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Likewise.
2914         (msghdr.msg_controllen): Likewise.
2915         (cmsghdr.cmsg_len): Likewise.
2916         * conform/data/utmpx.h-data (utmpx.ut_tv): Likewise.
2917         * conform/Makefile (test-xfail-XPG3/sys/ipc.h/conform): Remove
2918         variable.
2919         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
2920         (test-xfail-XPG4/stropts.h/conform): Likewise.
2921         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
2922         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
2923         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
2924         (test-xfail-UNIX98/stropts.h/conform): Likewise.
2925         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
2926         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
2927         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
2928         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
2929         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
2930         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
2931         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
2932         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
2933         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
2934         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
2935         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
2936         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
2937         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
2938         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
2939         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
2941 2015-06-19  Andrew Senkevich  <andrew.senkevich@intel.com>
2943         * sysdeps/ieee754/ldbl-opt/s_sin.c (__DECL_SIMD_sincos_disable,
2944         __DECL_SIMD_sincos_disablef, __DECL_SIMD_sincos_disablel): Added empty
2945         definitions for proper unfolding of __MATHDECL_VEC.
2947 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
2949         * benchtests/bench-strcoll.c:
2950         Include string.h.
2951         (main): Remove unused variable res.
2953 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
2955         * timezone/Makefile (%/UTC %/Universal):
2956         Generate test-result files for UTC and Universal.
2958 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
2960         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
2962 2015-06-18  Joseph Myers  <joseph@codesourcery.com>
2964         [BZ #16350]
2965         * sysdeps/i386/fpu/s_asinh.S (__asinh): Force underflow exception
2966         for arguments with small absolute value.
2967         * sysdeps/i386/fpu/s_asinhf.S (__asinhf): Likewise.
2968         * sysdeps/i386/fpu/s_asinhl.S (__asinhl): Likewise.
2969         * sysdeps/ieee754/dbl-64/s_asinh.c: Include <float.h>.
2970         (__asinh): Force underflow exception for arguments with small
2971         absolute value.
2972         * sysdeps/ieee754/flt-32/s_asinhf.c: Include <float.h>.
2973         (__asinhf): Force underflow exception for arguments with small
2974         absolute value.
2975         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Include <float.h>.
2976         (__asinhl): Force underflow exception for arguments with small
2977         absolute value.
2978         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Include <float.h>.
2979         (__asinhl): Force underflow exception for arguments with small
2980         absolute value.
2981         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Include <float.h>.
2982         (__asinhl): Force underflow exception for arguments with small
2983         absolute value.
2984         * math/auto-libm-test-in: Do not mark underflow exceptions as
2985         possibly missing for bug 16350.
2986         * math/auto-libm-test-out: Regenerated.
2988         * include/bits/ipc.h: Remove file.
2989         * conform/Makefile (test-xfail-XPG3/sys/msg.h/conform): Remove
2990         variable.
2991         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
2992         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
2993         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
2994         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
2995         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
2996         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
2997         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
2998         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
2999         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
3001         * math/auto-libm-test-in: Remove spurious underflow allowance for
3002         tests of cexp.
3003         * math/auto-libm-test-out: Regenerated.
3005         [BZ #18558]
3006         * sysdeps/unix/sysv/linux/bits/in.h (MCAST_JOIN_GROUP): Remove
3007         unconditional definition.
3008         (MCAST_BLOCK_SOURCE): Likewise.
3009         (MCAST_UNBLOCK_SOURCE): Likewise.
3010         (MCAST_LEAVE_GROUP): Likewise.
3011         (MCAST_JOIN_SOURCE_GROUP): Likewise.
3012         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
3013         (MCAST_MSFILTER): Likewise.
3014         * conform/Makefile (test-xfail-XOPEN2K/arpa/inet.h/conform):
3015         Remove variable.
3016         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
3017         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
3018         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
3019         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
3020         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
3022 2015-06-18  Andrew Senkevich  <andrew.senkevich@intel.com>
3024         * NEWS: Mention addition of x86_64 vector sincosf.
3025         * math/test-float-vlen16.h: Added wrapper for sincosf tests.
3026         * math/test-float-vlen4.h: Likewise.
3027         * math/test-float-vlen8.h: Likewise.
3028         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
3029         * sysdeps/x86/fpu/bits/math-vector.h: Added sincosf SIMD declaration.
3030         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
3031         * sysdeps/x86_64/fpu/Versions: New versions added.
3032         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
3033         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
3034         Added build of SSE, AVX2 and AVX512 IFUNC versions.
3035         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S
3036         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S
3037         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S
3038         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S
3039         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S
3040         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S
3041         * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S
3042         * sysdeps/x86_64/fpu/svml_s_sincosf4_core.S
3043         * sysdeps/x86_64/fpu/svml_s_sincosf8_core.S
3044         * sysdeps/x86_64/fpu/svml_s_sincosf8_core_avx.S
3045         * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: New file.
3046         * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: New file.
3047         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 3 argument wrappers.
3048         * sysdeps/x86_64/fpu/test-float-vlen16.c: : Vector sincosf tests.
3049         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
3050         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
3051         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
3052         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
3053         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
3054         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
3055         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
3057         * NEWS: Mention addition of x86_64 vector sincos.
3058         * bits/libm-simd-decl-stubs.h: Added stubs for sincos.
3059         * math/math.h (__MATHDECL_VEC): New macro.
3060         * math/bits/mathcalls.h: Added sincos declaration with __MATHDECL_VEC.
3061         * math/gen-libm-have-vector-test.sh: Added generation of sincos wrapper
3062         declaration under condition.
3063         * math/test-vec-loop.h (TEST_VEC_LOOP): Refactored.
3064         * math/test-double-vlen2.h: Added wrapper for sincos tests, reflected
3065         TEST_VEC_LOOP change.
3066         * math/test-double-vlen4.h: Likewise.
3067         * math/test-double-vlen8.h: Likewise.
3068         * math/test-float-vlen16.h: Reflected TEST_VEC_LOOP change.
3069         * math/test-float-vlen4.h: Likewise.
3070         * math/test-float-vlen8.h: Likewise.
3071         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
3072         * sysdeps/x86/fpu/bits/math-vector.h: Added sincos SIMD declaration.
3073         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
3074         * sysdeps/x86_64/fpu/Versions: New versions added.
3075         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
3076         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
3077         Added build of SSE, AVX2 and AVX512 IFUNC versions.
3078         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: New file.
3079         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: New file.
3080         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: New file.
3081         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: New file.
3082         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: New file.
3083         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: New file.
3084         * sysdeps/x86_64/fpu/svml_d_sincos2_core.S: New file.
3085         * sysdeps/x86_64/fpu/svml_d_sincos4_core.S: New file.
3086         * sysdeps/x86_64/fpu/svml_d_sincos4_core_avx.S: New file.
3087         * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: New file.
3088         * sysdeps/x86_64/fpu/svml_d_sincos_data.S: New file.
3089         * sysdeps/x86_64/fpu/svml_d_sincos_data.h: New file.
3090         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added wrappers for sincos.
3091         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Vector sincos tests.
3092         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
3093         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
3094         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
3095         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
3096         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
3097         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
3098         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
3100         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
3101         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
3102         redirections for powf.
3103         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
3104         * sysdeps/x86_64/fpu/Versions: New versions added.
3105         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
3106         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
3107         Added build of SSE, AVX2 and AVX512 IFUNC versions.
3108         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 2 argument wrappers.
3109         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: New file.
3110         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S: New file.
3111         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: New file.
3112         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S: New file.
3113         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: New file.
3114         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S: New file.
3115         * sysdeps/x86_64/fpu/svml_s_powf16_core.S: New file.
3116         * sysdeps/x86_64/fpu/svml_s_powf4_core.S: New file.
3117         * sysdeps/x86_64/fpu/svml_s_powf8_core.S: New file.
3118         * sysdeps/x86_64/fpu/svml_s_powf8_core_avx.S: New file.
3119         * sysdeps/x86_64/fpu/svml_s_powf_data.S: New file.
3120         * sysdeps/x86_64/fpu/svml_s_powf_data.h: New file.
3121         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector powf tests.
3122         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
3123         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
3124         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
3125         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
3126         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
3127         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
3128         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
3129         * math/test-float-vlen16.h: Fixed 2 argument macro.
3130         * math/test-float-vlen4.h: Likewise.
3131         * math/test-float-vlen8.h: Likewise.
3132         * NEWS: Mention addition of x86_64 vector powf.
3134 2015-06-17  Joseph Myers  <joseph@codesourcery.com>
3136         * math/s_ctanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
3137         and redefine.
3138         * math/s_ctanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
3139         and redefine.
3140         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c: Remove file.
3141         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
3142         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
3144         [BZ #18553]
3145         * resource/getpriority.c (getpriority): Rename to __getpriority
3146         and define as weak alias of __getpriority.
3147         * resource/setpriority.c (setpriority): Rename to __setpriority
3148         and define as weak alias of __setpriority.
3149         * sysdeps/mach/hurd/getpriority.c (getpriority): Rename to
3150         __getpriority and define as weak alias of __getpriority.
3151         * sysdeps/mach/hurd/setpriority.c (setpriority): Rename to
3152         __setpriority and define as weak alias of __setpriority.
3153         * sysdeps/unix/syscalls.list (getpriority): Use __getpriority as
3154         strong name.
3155         (setpriority): Use __setpriority as strong name.
3156         * sysdeps/unix/sysv/linux/getpriority.c (getpriority): Rename to
3157         __getpriority and define as weak alias of __getpriority.
3158         * include/sys/resource.h (__getpriority): Declare.  Use
3159         libc_hidden_proto.
3160         (__setpriority): Likewise.
3161         (getpriority): Don't use libc_hidden_proto.
3162         (setpriority): Likewise.
3163         * sysdeps/posix/nice.c (nice): Call __getpriority instead of
3164         getpriority.  Call __setpriority instead of setpriority.
3165         * conform/Makefile (test-xfail-XPG3/unistd.h/linknamespace):
3166         Remove variable.
3168         [BZ #18547]
3169         * misc/getttyent.c (getttynam): Rename to __getttynam and define
3170         as weak alias of __getttynam.  Use prototype function definition.
3171         Call __setttyent, __getttyent and __endttyent instead of
3172         setttyent, getttyent and endttyent.
3173         (getttyent): Rename to __getttyent and define as weak alias of
3174         __getttyent.  Call __setttyent instead of setttyent.  Call
3175         __fgets_unlocked instead of fgets_unlocked.
3176         (setttyent): Rename to __setttyent and define as weak alias of
3177         __setttyent.
3178         (endttyent): Rename to __endttyent and define as weak alias of
3179         __endttyent.
3180         * include/ttyent.h (__getttyent): Declare.  Use libc_hidden_proto.
3181         (__setttyent): Likewise.
3182         (__endttyent): Likewise.
3183         (getttyent): Don't use libc_hidden_proto.
3184         (setttyent): Likewise.
3185         (endttyent): Likewise.
3186         * misc/ttyslot.c (ttyslot): Call __setttyent, __getttyent and
3187         __endttyent instead of setttyent, getttyent and endttyent.
3188         * conform/Makefile (test-xfail-XPG4/unistd.h/linknamespace):
3189         Remove variable.
3191         [BZ #18546]
3192         * socket/recv.c (__recv): Use libc_hidden_def.
3193         * socket/socket.c (__socket): Likewise.
3194         * sysdeps/mach/hurd/recv.c (__recv): Likewise.
3195         * sysdeps/mach/hurd/socket.c (__socket): Likewise.
3196         * sysdeps/unix/sysv/linux/generic/recv.c (__recv): Likewise.
3197         * sysdeps/unix/sysv/linux/recv.c (__recv): Use libc_hidden_weak.
3198         * sysdeps/unix/sysv/linux/socket.c (__socket): Use
3199         libc_hidden_def.
3200         * sysdeps/unix/sysv/linux/x86_64/recv.c (__recv): Use
3201         libc_hidden_weak.
3202         * include/sys/socket.h (__socket): Do not use attribute_hidden.
3203         Use libc_hidden_proto.
3204         (__recv): Likewise.
3205         * socket/Versions (libc): Export __recv and __socket at version
3206         GLIBC_PRIVATE.
3207         * sysdeps/unix/sysv/linux/mq_notify.c (helper_thread): Call __recv
3208         instead of recv.
3209         (init_mq_netlink): Call __socket instead of socket.
3210         * conform/Makefile (test-xfail-POSIX/mqueue.h/linknamespace):
3211         Remove variable.
3213         [BZ #18545]
3214         * rt/mq_timedreceive.c (mq_timedreceive): Rename to
3215         __mq_timedreceive and define as alias of __mq_timedreceive.  Use
3216         hidden_weak.
3217         * rt/mq_timedsend.c (mq_timedsend): Rename to __mq_timedsend and
3218         define as alias of __mq_timedsend.  Use hidden_weak.
3219         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Use
3220         __mq_timedsend as strong name.
3221         (mq_timedreceive): Use __mq_timedreceive as strong name.
3222         * include/mqueue.h (__mq_timedsend): Declare.  Use hidden_proto.
3223         (__mq_timedreceive): Likewise.
3224         * sysdeps/unix/sysv/linux/mq_receive.c (mq_receive): Call
3225         __mq_timedreceive instead of mq_timedreceive.
3226         * sysdeps/unix/sysv/linux/mq_send.c (mq_send): Call __mq_timedsend
3227         instead of mq_timedsend.
3228         * conform/Makefile (test-xfail-UNIX98/mqueue.h/linknamespace):
3229         Remove variable.
3231         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Use
3232         hidden_def and hidden_weak instead of libc_hidden_def and
3233         libc_hidden_weak.
3234         (top level): Refer to hidden_def in comment.
3235         * sysdeps/unix/syscall-template.S (syscall_hidden_def): New
3236         macro.  Use it instead of libc_hidden_def.
3237         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Do not
3238         specify __GI_* name explicitly.
3239         (mq_timedreceive): Likewise.
3240         (mq_setattr): Likewise.
3242         [BZ #18544]
3243         * nptl/pthread_barrier_init.c (pthread_barrier_init): Rename to
3244         __pthread_barrier_init and define as weak alias of
3245         __pthread_barrier_init.
3246         * sysdeps/sparc/nptl/pthread_barrier_init.c
3247         (pthread_barrier_init): Likewise.
3248         * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Rename to
3249         __pthread_barrier_wait and define as weak alias of
3250         __pthread_barrier_wait.
3251         * sysdeps/sparc/nptl/pthread_barrier_wait.c
3252         (pthread_barrier_wait): Likewise.
3253         * sysdeps/sparc/sparc32/pthread_barrier_wait.c
3254         (pthread_barrier_wait): Likewise.
3255         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S
3256         (pthread_barrier_wait): Likewise.
3257         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S
3258         (pthread_barrier_wait): Likewise.
3259         * nptl/Versions (libpthread): Export __pthread_barrier_init and
3260         __pthread_barrier_wait at version GLIBC_PRIVATE.
3261         * include/pthread.h (__pthread_barrier_init): Declare.
3262         (__pthread_barrier_wait): Likewise.
3263         * sysdeps/unix/sysv/linux/mq_notify.c (notification_function):
3264         Call __pthread_barrier_wait instead of pthread_barrier_wait.
3265         (helper_thread): Likewise.
3266         (init_mq_netlink): Call __pthread_barrier_init instead of
3267         pthread_barrier_init.
3269         [BZ #18542]
3270         * libio/iovswscanf.c (__vswscanf): Use libc_hidden_def.
3271         (vswscanf): Use ldbl_weak_alias instead of ldbl_strong_alias
3272         * include/wchar.h (__vswscanf): Declare.  Use libc_hidden_proto.
3273         * libio/swscanf.c (__swscanf): Call __vswscanf instead of
3274         vswscanf.
3275         * conform/Makefile (test-xfail-UNIX98/wchar.h/linknamespace):
3276         Remove variable.
3278         [BZ #18540]
3279         * libio/iofflush.c [!_IO_MTSAFE_IO] (__fflush_unlocked): Define as
3280         strong alias of _IO_fflush.  Use libc_hidden_def.
3281         * libio/iofflush_u.c (fflush_unlocked): Rename to
3282         __fflush_unlocked and define as weak alias of __fflush_unlocked.
3283         Use libc_hidden_weak.
3284         * include/stdio.h (__fflush_unlocked): Declare.  Use
3285         libc_hidden_proto.
3286         * misc/getpass.c (getpass): Call __fflush_unlocked instead of
3287         fflush_unlocked.
3288         * conform/Makefile (test-xfail-UNIX98/unistd.h/linknamespace):
3289         Remove variable.
3291         [BZ #18539]
3292         * stdlib/fmtmsg.c (addseverity): Rename to __addseverity and
3293         define as weak alias of __addseverity.
3294         * conform/Makefile (test-xfail-XPG4/fmtmsg.h/linknamespace):
3295         Remove variable.
3296         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
3297         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
3298         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
3300         [BZ #18536]
3301         * misc/tsearch.c (__tsearch): Use libc_hidden_def.
3302         (__tfind): Likewise.
3303         (__tdelete): Likewise.
3304         (__twalk): Likewise.
3305         * misc/Versions (libc): Add __tdelete, __tfind, __tsearch and
3306         __twalk to GLIBC_PRIVATE.
3307         * include/search.h (__tsearch): Use libc_hidden_proto.
3308         (__tfind): Likewise.
3309         (__tdelete): Likewise.
3310         (__twalk): Likewise.
3311         * nptl/sem_close.c (sem_close): Call __twalk instead of twalk.
3312         Call __tdelete instead of tdelete.
3313         * nptl/sem_open.c (check_add_mapping): Call __tfind instead of
3314         tfind.  Call __tsearch instead of tsearch.
3315         * sysdeps/sparc/sparc32/sem_open.c (check_add_mapping): Likewise.
3316         * conform/Makefile (test-xfail-POSIX/semaphore.h/linknamespace):
3317         Remove variable.
3318         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
3320         [BZ #18534]
3321         * stdio-common/dprintf.c (__dprintf): Use libc_hidden_def.
3322         (dprintf): Define as a weak alias of __dprintf, not a strong
3323         alias.
3324         * include/stdio.h (__dprintf): Declare.  Use libc_hidden_proto.
3325         * misc/syslog.c (__vsyslog_chk): Call __dprintf instead of
3326         dprintf.
3327         * conform/Makefile (test-xfail-XPG4/syslog.h/linknamespace):
3328         Remove variable.
3329         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
3330         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
3332         [BZ #18533]
3333         * misc/syslog.c (vsyslog): Define as a weak alias of __vsyslog,
3334         not a strong alias.
3335         * conform/Makefile (test-xfail-XOPEN2K8/syslog.h/linknamespace):
3336         Remove variable.
3338         [BZ #18532]
3339         * inet/in6_addr.c (in6addr_any): Rename to __in6addr_any and
3340         define as weak alias of __in6addr_any.  Use libc_hidden_data_weak.
3341         (in6addr_loopback): Rename to __in6addr_loopback and define as
3342         weak alias of __in6addr_loopback.  Use libc_hidden_data_weak.
3343         * include/netinet/in.h (__in6addr_loopback): Declare.  Use
3344         libc_hidden_proto.
3345         (__in6addr_any): Likewise.
3346         * inet/gethstbyad_r.c (PREPROCESS): Use __in6addr_any instead of
3347         in6addr_any.
3348         * conform/Makefile (test-xfail-XPG4/netdb.h/linknamespace): Remove
3349         variable.
3350         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
3352 2015-06-17  Andrew Senkevich  <andrew.senkevich@intel.com>
3354         * bits/libm-simd-decl-stubs.h: Added stubs for pow.
3355         * math/bits/mathcalls.h: Added pow declaration with __MATHCALL_VEC.
3356         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
3357         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
3358         redirections for pow.
3359         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
3360         * sysdeps/x86_64/fpu/Versions: New versions added.
3361         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
3362         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
3363         build of SSE, AVX2 and AVX512 IFUNC versions.
3364         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added 2 argument wrappers.
3365         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: New file.
3366         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S: New file.
3367         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: New file.
3368         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S: New file.
3369         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: New file.
3370         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S: New file.
3371         * sysdeps/x86_64/fpu/svml_d_pow2_core.S: New file.
3372         * sysdeps/x86_64/fpu/svml_d_pow4_core.S: New file.
3373         * sysdeps/x86_64/fpu/svml_d_pow4_core_avx.S: New file.
3374         * sysdeps/x86_64/fpu/svml_d_pow8_core.S: New file.
3375         * sysdeps/x86_64/fpu/svml_d_pow_data.S: New file.
3376         * sysdeps/x86_64/fpu/svml_d_pow_data.h: New file.
3377         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector pow test.
3378         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
3379         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
3380         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
3381         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
3382         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
3383         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
3384         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
3385         * NEWS: Mention addition of x86_64 vector pow.
3387         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
3388         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
3389         redirections for expf.
3390         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
3391         * sysdeps/x86_64/fpu/Versions: New versions added.
3392         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
3393         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
3394         build of SSE, AVX2 and AVX512 IFUNC versions.
3395         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: New file.
3396         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: New file.
3397         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: New file.
3398         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S: New file.
3399         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: New file.
3400         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S: New file.
3401         * sysdeps/x86_64/fpu/svml_s_expf16_core.S: New file.
3402         * sysdeps/x86_64/fpu/svml_s_expf4_core.S: New file.
3403         * sysdeps/x86_64/fpu/svml_s_expf8_core.S: New file.
3404         * sysdeps/x86_64/fpu/svml_s_expf8_core_avx.S: New file.
3405         * sysdeps/x86_64/fpu/svml_s_expf_data.S: New file.
3406         * sysdeps/x86_64/fpu/svml_s_expf_data.h: New file.
3407         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector expf tests.
3408         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
3409         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
3410         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
3411         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
3412         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
3413         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
3414         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
3415         * NEWS: Mention addition of x86_64 vector expf.
3417         * bits/libm-simd-decl-stubs.h: Added stubs for exp.
3418         * math/bits/mathcalls.h: Added exp declaration with __MATHCALL_VEC.
3419         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
3420         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
3421         redirections for exp.
3422         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
3423         * sysdeps/x86_64/fpu/Versions: New versions added.
3424         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
3425         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
3426         build of SSE, AVX2 and AVX512 IFUNC versions.
3427         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: New file.
3428         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S: New file.
3429         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: New file.
3430         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S: New file.
3431         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: New file.
3432         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S: New file.
3433         * sysdeps/x86_64/fpu/svml_d_exp2_core.S: New file.
3434         * sysdeps/x86_64/fpu/svml_d_exp4_core.S: New file.
3435         * sysdeps/x86_64/fpu/svml_d_exp4_core_avx.S: New file.
3436         * sysdeps/x86_64/fpu/svml_d_exp8_core.S: New file.
3437         * sysdeps/x86_64/fpu/svml_d_exp_data.S: New file.
3438         * sysdeps/x86_64/fpu/svml_d_exp_data.h: New file.
3439         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector exp test.
3440         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
3441         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
3442         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
3443         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
3444         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
3445         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
3446         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
3447         * NEWS: Mention addition of x86_64 vector exp.
3449         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
3450         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
3451         redirections for logf.
3452         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
3453         * sysdeps/x86_64/fpu/Versions: New versions added.
3454         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
3455         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
3456         build of SSE, AVX2 and AVX512 IFUNC versions.
3457         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: New file.
3458         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S: New file.
3459         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: New file.
3460         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S: New file.
3461         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: New file.
3462         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S: New file.
3463         * sysdeps/x86_64/fpu/svml_s_logf16_core.S: New file.
3464         * sysdeps/x86_64/fpu/svml_s_logf4_core.S: New file.
3465         * sysdeps/x86_64/fpu/svml_s_logf8_core.S: New file.
3466         * sysdeps/x86_64/fpu/svml_s_logf8_core_avx.S: New file.
3467         * sysdeps/x86_64/fpu/svml_s_logf_data.S: New file.
3468         * sysdeps/x86_64/fpu/svml_s_logf_data.h: New file.
3469         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector logf tests.
3470         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
3471         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
3472         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
3473         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
3474         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
3475         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
3476         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
3477         * NEWS: Mention addition of x86_64 vector logf.
3479         * bits/libm-simd-decl-stubs.h: Added stubs for log.
3480         * math/bits/mathcalls.h: Added log declaration with __MATHCALL_VEC.
3481         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
3482         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
3483         redirections for log.
3484         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
3485         * sysdeps/x86_64/fpu/Versions: New versions added.
3486         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
3487         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
3488         build of SSE, AVX2 and AVX512 IFUNC versions.
3489         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: New file.
3490         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S: New file.
3491         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: New file.
3492         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S: New file.
3493         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: New file.
3494         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S: New file.
3495         * sysdeps/x86_64/fpu/svml_d_log2_core.S: New file.
3496         * sysdeps/x86_64/fpu/svml_d_log4_core.S: New file.
3497         * sysdeps/x86_64/fpu/svml_d_log4_core_avx.S: New file.
3498         * sysdeps/x86_64/fpu/svml_d_log8_core.S: New file.
3499         * sysdeps/x86_64/fpu/svml_d_log_data.S: New file.
3500         * sysdeps/x86_64/fpu/svml_d_log_data.h: New file.
3501         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector log
3502         test.
3503         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
3504         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
3505         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
3506         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
3507         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
3508         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
3509         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
3510         * NEWS: Mention addition of x86_64 vector log.
3512 2015-06-17  Szabolcs Nagy  <szabolcs.nagy@arm.com>
3514         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Fix
3515         cfi_adjust_cfa_offset argument.
3516         (_dl_tlsdesc_undefweak, _dl_tlsdesc_dynamic): Likewise.
3517         (_dl_tlsdesc_resolve_rela, _dl_tlsdesc_resolve_hold): Likewise.
3519         [BZ #18034]
3520         * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_return_lazy): Declare.
3521         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Define.
3522         (_dl_tlsdesc_undefweak): Guarantee TLSDESC entry and argument load-load
3523         ordering using ldar.
3524         (_dl_tlsdesc_dynamic): Likewise.
3525         (_dl_tlsdesc_return_lazy): Likewise.
3526         * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_resolve_rela_fixup): Use
3527         relaxed atomics instead of volatile and synchronize with release store.
3528         (_dl_tlsdesc_resolve_hold_fixup): Use relaxed atomics instead of
3529         volatile.
3530         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
3532 2015-06-15  Andrew Senkevich  <andrew.senkevich@intel.com>
3534         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
3535         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for sinf.
3536         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
3537         * sysdeps/x86_64/fpu/Versions: New versions added.
3538         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
3539         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
3540         build of SSE, AVX2 and AVX512 IFUNC versions.
3541         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: New file.
3542         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: New file.
3543         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: New file.
3544         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: New file.
3545         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: New file.
3546         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: New file.
3547         * sysdeps/x86_64/fpu/svml_s_sinf16_core.S: New file.
3548         * sysdeps/x86_64/fpu/svml_s_sinf4_core.S: New file.
3549         * sysdeps/x86_64/fpu/svml_s_sinf8_core.S: New file.
3550         * sysdeps/x86_64/fpu/svml_s_sinf8_core_avx.S: New file.
3551         * sysdeps/x86_64/fpu/svml_s_sinf_data.S: New file.
3552         * sysdeps/x86_64/fpu/svml_s_sinf_data.h: New file.
3553         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector sinf tests.
3554         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
3555         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
3556         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
3557         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
3558         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
3559         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
3560         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
3561         * NEWS: Mention addition of x86_64 vector sinf.
3563 2015-06-14  Joseph Myers  <joseph@codesourcery.com>
3565         * conform/list-header-symbols.pl (%extra_syms): Add in6addr_any
3566         and in6addr_loopback for XOPEN2K, XOPEN2K8 and POSIX2008.
3567         * conform/Makefile (test-xfail-XOPEN2K/netdb.h/linknamespace):
3568         Remove variable.
3569         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
3570         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
3572 2015-06-12  Joseph Myers  <joseph@codesourcery.com>
3574         [BZ #18530]
3575         * libio/iofputs.c [!_IO_MTSAFE_IO] (__fputs_unlocked): Define as
3576         strong alias of _IO_fputs.  Use libc_hidden_def.
3577         * libio/iofputs_u.c (fputs_unlocked): Rename to __fputs_unlocked
3578         and define as weak alias of __fputs_unlocked.  Use
3579         libc_hidden_weak.
3580         * include/stdio.h (__fputs_unlocked): Declare.  Use
3581         libc_hidden_proto.
3582         * misc/syslog.c (__vsyslog_chk): Call __fputs_unlocked instead of
3583         fputs_unlocked.
3585         [BZ #18529]
3586         * resolv/netdb.h [__USE_POSIX]: Change condition to
3587         [__USE_XOPEN2K].
3588         * conform/data/netdb.h-data [XPG4 || UNIX98] (struct addrinfo): Do
3589         not expect.
3590         [XPG4 || UNIX98] (AI_PASSIVE): Likewise.
3591         [XPG4 || UNIX98] (AI_CANONNAME): Likewise.
3592         [XPG4 || UNIX98] (AI_NUMERICHOST): Likewise.
3593         [XPG4 || UNIX98] (AI_V4MAPPED): Likewise.
3594         [XPG4 || UNIX98] (AI_ALL): Likewise.
3595         [XPG4 || UNIX98] (AI_ADDRCONFIG): Likewise.
3596         [XPG4 || UNIX98] (AI_NUMERICSERV): Likewise.
3597         [XPG4 || UNIX98] (NI_NOFQDN): Likewise.
3598         [XPG4 || UNIX98] (NI_NUMERICHOST): Likewise.
3599         [XPG4 || UNIX98] (NI_NAMEREQD): Likewise.
3600         [XPG4 || UNIX98] (NI_NUMERICSERV): Likewise.
3601         [XPG4 || UNIX98] (NI_DGRAM): Likewise.
3602         [XPG4 || UNIX98] (EAI_AGAIN): Likewise.
3603         [XPG4 || UNIX98] (EAI_BADFLAGS): Likewise.
3604         [XPG4 || UNIX98] (EAI_FAIL): Likewise.
3605         [XPG4 || UNIX98] (EAI_FAMILY): Likewise.
3606         [XPG4 || UNIX98] (EAI_MEMORY): Likewise.
3607         [XPG4 || UNIX98] (EAI_NONAME): Likewise.
3608         [XPG4 || UNIX98] (EAI_SERVICE): Likewise.
3609         [XPG4 || UNIX98] (EAI_SOCKTYPE): Likewise.
3610         [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
3611         [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
3612         [XPG4 || UNIX98] (freeaddrinfo): Likewise.
3613         [XPG4 || UNIX98] (gai_strerror): Likewise.
3614         [XPG4 || UNIX98] (getaddrinfo): Likewise.
3615         [XPG4 || UNIX98] (getnameinfo): Likewise.
3617         [BZ #18528]
3618         * grp/grp.h (endgrent): Condition on [__USE_MISC ||
3619         __USE_XOPEN_EXTENDED], not [__USE_XOPEN_EXTENDED ||
3620         __USE_XOPEN2K8].
3621         (getgrent): Likewise.
3622         * conform/data/grp.h-data [XPG3 || POSIX2008] (getgrent): Do not
3623         expect.
3624         [XPG3 || POSIX2008] (endgrent): Likewise.
3625         [XPG3] (setgrent): Likewise.
3626         * conform/Makefile (test-xfail-XPG3/grp.h/conform): Remove
3627         variable.
3628         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
3630         [BZ #18527]
3631         * login/getlogin_r.c (getlogin_r): Rename to __getlogin_r and
3632         define as weak alias of __getlogin_r.  Use libc_hidden_weak.
3633         * sysdeps/mach/hurd/getlogin_r.c (getlogin_r): Likewise.
3634         * sysdeps/unix/getlogin_r.c (getlogin_r): Likewise.
3635         * sysdeps/unix/sysv/linux/getlogin_r.c (getlogin_r): Likewise.
3636         * include/unistd.h (__getlogin_r): Declare.  Use
3637         libc_hidden_proto.
3638         * posix/glob.c (glob): Call __getlogin_r instead of getlogin_r.
3639         * conform/Makefile (test-xfail-XPG3/glob.h/linknamespace): Remove
3640         variable.
3641         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
3642         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
3643         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
3645 2015-06-12  Martin Sebor  <msebor@redhat.com>
3647         [BZ #18512]
3648         * Makerules (check-install-supported): New target.
3649         (install): Add check-install-supported as a dependency.
3650         * manual/install.texi (Installing the C Library): Document
3651         that overriding prefix and exec_prefix is not supported.
3652         Mention DESTDIR.
3653         * INSTALL: Regenerate from the above.
3655 2015-06-12  Joseph Myers  <joseph@codesourcery.com>
3657         [BZ #18519]
3658         * posix/Versions (libc): Export __libc_pread at version
3659         GLIBC_PRIVATE.
3660         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Call __libc_pread
3661         instead of pread.
3662         * conform/Makefile (test-xfail-POSIX/aio.h/linknamespace): Remove
3663         variable.
3665         [BZ #18522]
3666         * misc/efgcvt_r.c
3667         [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0) && !LONG_DOUBLE_CVT]
3668         (cvt_symbol): Use weak_alias instead of strong_alias.
3669         [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0)] (cvt_symbol): Likewise.
3670         * conform/Makefile (test-xfail-XPG4/stdlib.h/linknamespace):
3671         Remove variable.
3672         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
3673         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
3675         [BZ #18520]
3676         * inet/herrno.c (h_errno): Rename to __h_errno.
3677         (__libc_h_errno): Define as alias of __h_errno not h_errno.
3678         * include/netdb.h [IS_IN_LIB && !IS_IN (libc)] (h_errno): Define
3679         to __h_errno instead of h_errno.
3680         * nptl/herrno.c (h_errno): Rename to __h_errno.
3681         (__h_errno_location): Refer to __h_errno not h_errno.
3682         * resolv/Versions (h_errno): Rename to __h_errno.
3683         * conform/Makefile (test-xfail-XOPEN2K8/grp.h/linknamespace):
3684         Remove variable.
3685         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
3687 2015-06-11  Andrew Senkevich  <andrew.senkevich@intel.com>
3689         * configure.ac: More strict check for AVX512 assembler support.
3690         * configure: Regenerated.
3692         * bits/libm-simd-decl-stubs.h: Added stubs for sin.
3693         * math/bits/mathcalls.h: Added sin declaration with __MATHCALL_VEC.
3694         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
3695         * sysdeps/x86/fpu/bits/math-vector.h: SIMD declaration for sin.
3696         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
3697         * sysdeps/x86_64/fpu/Versions: New versions added.
3698         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
3699         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
3700         Added build of SSE, AVX2 and AVX512 IFUNC versions.
3701         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: New file.
3702         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: New file.
3703         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: New file.
3704         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: New file.
3705         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: New file.
3706         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: New file.
3707         * sysdeps/x86_64/fpu/svml_d_sin2_core.S: New file.
3708         * sysdeps/x86_64/fpu/svml_d_sin4_core.S: New file.
3709         * sysdeps/x86_64/fpu/svml_d_sin4_core_avx.S: New file.
3710         * sysdeps/x86_64/fpu/svml_d_sin8_core.S: New file.
3711         * sysdeps/x86_64/fpu/svml_d_sin_data.S: New file.
3712         * sysdeps/x86_64/fpu/svml_d_sin_data.h: New file.
3713         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector sin
3714         test.
3715         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
3716         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
3717         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
3718         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
3719         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
3720         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
3721         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
3722         * NEWS: Mention addition of x86_64 vector sin.
3724 2015-06-11  Florian Weimer  <fweimer@redhat.com>
3726         * nptl/pthread_key_create.c (__pthread_key_create): Fix typo in
3727         comment.
3729 2015-06-10  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
3731         [BZ #18479]
3732         * nptl/pt-interp.c: New file.
3733         * nptl/Makefile (libpthread-routines, libpthread-shared-only-routines):
3734         Add pt-interp.
3735         [[$(build-shared) = yes] ($(objpfx)pt-interp.os): Depend on
3736         $(common-objpfx)runtime-linker.h.
3738 2015-06-10  Dmitry V. Levin  <ldv@altlinux.org>
3740         * Makeconfig (+interp): Remove unused variable.
3741         * elf/Makefile ($(objpfx)interp.os): Define for [$(build-shared) = yes]
3742         only.  Depend on $(common-objpfx)runtime-linker.h instead of
3743         $(elf-objpfx)runtime-linker.h.
3744         ($(elf-objpfx)runtime-linker.h): Rename to
3745         $(common-objpfx)runtime-linker.h and move ...
3746         * Makerules [$(build-shared) = yes]: ... here.
3747         * elf/interp.c: Include <runtime-linker.h> instead of
3748         <elf/runtime-linker.h>.
3750 2015-06-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3752         * sysdeps/unix/sysv/linux/i386/gettimeofday.c
3753         (__gettimeofday_syscall): Remove vsyscall fallback.
3754         * sysdeps/unix/sysv/linux/i386/time.c (__time_syscall): Likewise.
3755         * sysdeps/unix/sysv/linux/x86/gettimeofday.c (__gettimeofday_syscall):
3756         Add syscall fallback function.
3757         (gettimeofday_ifunc): Use __gettimeofday_syscall as fallback mechanism
3758         if vDSO is not present.
3759         * sysdeps/unix/sysv/linux/x86/time.c (__time_syscall): Add syscall
3760         fallback function.
3761         (time_ifunc): Use __time_syscall as fallback mechanism if vDSO is not
3762         present.
3763         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Remove file.
3764         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
3766 2015-06-09  Joseph Myers  <joseph@codesourcery.com>
3768         [BZ #18497]
3769         * wcsmbs/wcscmp.c [!WCSCMP] (WCSCMP): Define as __wcscmp instead
3770         of wcscmp.
3771         (wcscmp): Define as weak alias of WCSCMP.
3772         * wcsmbs/wcscoll.c (STRCOLL): Define as __wcscoll instead of
3773         wcscoll.
3774         (USE_HIDDEN_DEF): Define.
3775         [!USE_IN_EXTENDED_LOCALE_MODEL] (wcscoll): Define as weak alias of
3776         __wcscoll.  Don't use libc_hidden_weak.
3777         * wcsmbs/wcscoll_l.c (STRCMP): Define as __wcscmp instead of
3778         wcscmp.
3779         * sysdeps/i386/i686/multiarch/wcscmp-c.c
3780         [SHARED] (libc_hidden_def): Define __GI___wcscmp instead of
3781         __GI_wcscmp.
3782         (weak_alias): Undefine and redefine.
3783         * sysdeps/i386/i686/multiarch/wcscmp.S (wcscmp): Rename to
3784         __wcscmp and define as weak alias of __wcscmp.
3785         * sysdeps/x86_64/wcscmp.S (wcscmp): Likewise.
3786         * include/wchar.h (__wcscmp): Declare.  Use libc_hidden_proto.
3787         (__wcscoll): Likewise.
3788         (wcscmp): Don't use libc_hidden_proto.
3789         (wcscoll): Likewise.
3790         * posix/regcomp.c (build_range_exp): Call __wcscoll instead of
3791         wcscoll.
3792         * posix/regexec.c (check_node_accept_bytes): Likewise.
3793         * conform/Makefile (test-xfail-XPG3/regex.h/linknamespace): Remove
3794         variable.
3795         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
3796         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
3798         [BZ #18507]
3799         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs): Rename to
3800         __fstatvfs and define as weak alias of __fstatvfs.  Use
3801         libc_hidden_weak.
3802         * sysdeps/unix/sysv/linux/statvfs.c (statvs): Rename to __statvfs
3803         and define as weak alias of __statvfs.  Use libc_hidden_weak.
3804         * sysdeps/unix/sysv/linux/wordsize-64/fstatvfs.c (__fstatvfs64):
3805         Define as alias of __fstatvfs, not fstatvfs.
3806         (fstatvfs64): Likewise.
3807         * sysdeps/unix/sysv/linux/wordsize-64/statvfs.c (__statvfs64):
3808         Define as alias of __statvfs, not statvfs.
3809         (statvfs64): Likewise.
3810         * conform/Makefile (test-xfail-POSIX/unistd.h/linknamespace):
3811         Remove variable.
3813 2015-06-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3815         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
3816         (HAVE_GETCPU_VSYSCALL): Define.
3817         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
3818         (HAVE_GETCPU_VSYSCALL): Likewise.
3819         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Remove file.
3820         * sysdeps/unix/sysv/linux/sched_getcpu.c
3821         (HAVE_VSYSCALL) [HAVE_GETCPU_VSYSCALL]: Define.
3822         (sched_getcpu): Use INLINE_VSYSCALL instead of INLINE_SYSCALL.
3823         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (getcpu): Add vDSO
3824         prototype.
3825         * sysdeps/unix/sysv/linux/x86_64/init-first.c
3826         (__vdso_platform_setup): Remove vsyscall getcpu fallback.
3827         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Remove file.
3828         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (HAVE_GETCPU_VSYSCALL):
3829         Define.
3830         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: Remove file.
3831         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
3832         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c: Likewise.
3833         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
3835 2015-06-09  Andrew Senkevich  <andrew.senkevich@intel.com>
3837         * sysdeps/x86_64/fpu/Makefile: New file.
3838         * sysdeps/x86_64/fpu/Versions: New file.
3839         * sysdeps/x86_64/fpu/svml_d_cos_data.S: New file.
3840         * sysdeps/x86_64/fpu/svml_d_cos_data.h: New file.
3841         * sysdeps/x86_64/fpu/svml_d_cos2_core.S: New file.
3842         * sysdeps/x86_64/fpu/svml_d_cos4_core.S: New file.
3843         * sysdeps/x86_64/fpu/svml_d_cos4_core_avx.S: New file.
3844         * sysdeps/x86_64/fpu/svml_d_cos8_core.S: New file.
3845         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: New file.
3846         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: New file.
3847         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: New file.
3848         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: New file.
3849         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: New file.
3850         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: New file.
3851         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: New file.
3852         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
3853         Added build of SSE, AVX2 and AVX512 IFUNC versions.
3854         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cos.
3855         * math/bits/mathcalls.h: Added cos declaration with __MATHCALL_VEC.
3856         * sysdeps/x86_64/configure.ac: Options for libmvec build.
3857         * sysdeps/x86_64/configure: Regenerated.
3858         * sysdeps/x86_64/sysdep.h (cfi_offset_rel_rsp): New macro.
3859         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New file.
3860         * manual/install.texi (Configuring and compiling): Document
3861         --disable-mathvec.
3862         * INSTALL: Regenerated.
3863         * NEWS: Mention addition of libmvec and x86_64 vector cos.
3865         * math/Makefile: Added rules for vector tests.
3866         * math/gen-libm-have-vector-test.sh: Added generation of wrapper
3867         declaration under condition.
3868         * math/test-double-vlen2.h: New file.
3869         * math/test-double-vlen4.h: New file.
3870         * math/test-double-vlen8.h: New file.
3871         * math/test-vec-loop.h: Added initialization macro.
3872         * sysdeps/x86_64/fpu/Makefile: Added variables for vector tests.
3873         * sysdeps/x86_64/fpu/libm-test-ulps: Regenarated.
3874         * sysdeps/x86_64/fpu/math-tests-arch.h: New file.
3875         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: New file.
3876         * sysdeps/x86_64/fpu/test-double-vlen2.c: New file.
3877         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: New file.
3878         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: New file.
3879         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: New file.
3880         * sysdeps/x86_64/fpu/test-double-vlen4.c: New file.
3881         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: New file.
3882         * sysdeps/x86_64/fpu/test-double-vlen8.c: New file.
3884         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
3885         * sysdeps/x86_64/fpu/Versions: New versions added.
3886         * sysdeps/x86_64/fpu/svml_s_cosf4_core.S: New file.
3887         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: New file.
3888         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: New file.
3889         * sysdeps/x86_64/fpu/svml_s_cosf8_core_avx.S: New file.
3890         * sysdeps/x86_64/fpu/svml_s_cosf8_core.S: New file.
3891         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: New file.
3892         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: New file.
3893         * sysdeps/x86_64/fpu/svml_s_cosf16_core.S: New file.
3894         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: New file.
3895         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: New file.
3896         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: New file.
3897         * sysdeps/x86_64/fpu/svml_s_cosf_data.S: New file.
3898         * sysdeps/x86_64/fpu/svml_s_cosf_data.h: New file.
3899         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
3900         Added build of SSE, AVX2 and AVX512 IFUNC versions.
3901         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
3902         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cosf.
3903         * NEWS: Mention addition of x86_64 vector cosf.
3905         * math/Makefile: Added CFLAGS for new tests.
3906         * math/test-float-vlen16.h: New file.
3907         * math/test-float-vlen4.h: New file.
3908         * math/test-float-vlen8.h: New file.
3909         * math/test-double-vlen2.h: Fixed 2 argument macro and comment.
3910         * sysdeps/x86_64/fpu/Makefile: Added new tests and variables.
3911         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
3912         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: New file.
3913         * sysdeps/x86_64/fpu/test-float-vlen16.c: New file.
3914         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: New file.
3915         * sysdeps/x86_64/fpu/test-float-vlen4.c: New file.
3916         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: New file.
3917         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: New file.
3918         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: New file.
3919         * sysdeps/x86_64/fpu/test-float-vlen8.c: New file.
3921 2015-06-09 Marko Myllynen  <myllynen@redhat.com>
3923         * locale/C-ctype.c (PREDEFINED_CLASSES): Remove.
3924         * locale/programs/ld-ctype.c: Likewise.
3926 2015-06-08  Andrew Senkevich  <andrew.senkevich@intel.com>
3928         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX512F_Usable,
3929         bit_AVX512DQ_Usable, bit_Opmask_state, bit_ZMM0_15_state,
3930         bit_ZMM16_31_state): New macro.
3931         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
3932         Check and set bit_AVX512F_Usable, bit_AVX512DQ_Usable.
3934 2015-06-08  Joseph Myers  <joseph@codesourcery.com>
3936         * include/stdio.h (__open_memstream): Say "C++ tests" in comment.
3938 2015-06-06  Justus Winter  <4winter@informatik.uni-hamburg.de>
3940         * mach/mach/mach_traps.h (thread_switch): Fix typo in comment.
3942 2015-06-05  Joseph Myers  <joseph@codesourcery.com>
3944         [BZ #18498]
3945         * libio/memstream.c (open_memstream): Rename to __open_memstream
3946         and define as weak alias of __open_memstream.
3947         * include/stdio.h (__open_memstream): Declare.  Use
3948         libc_hidden_proto.
3949         (open_memstream): Don't use libc_hidden_proto.
3950         * misc/syslog.c (__vsyslog_chk): Call __open_memstream instead of
3951         open_memstream.
3952         * posix/getopt.c (_getopt_internal_r): Likewise.
3953         * conform/Makefile (test-xfail-XPG3/stdio.h/linknamespace): Remove
3954         variable.
3955         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
3956         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
3957         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
3959         [BZ #18496]
3960         * posix/regex_internal.c (build_wcs_upper_buffer): Call __wcrtomb
3961         instead of wcrtomb.
3963         [BZ #18483]
3964         * signal/signal.h [__USE_XOPEN2K] (psignal): Change condition to
3965         [__USE_XOPEN2K8].  Remove redundant #endif.
3966         [__USE_XOPEN2K] (psiginfo): Change condition to [__USE_XOPEN2K8].
3967         Remove redundant #if.
3968         * conform/Makefile (test-xfail-XOPEN2K/signal.h/linknamespace):
3969         Remove variable.
3970         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
3971         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
3973         [BZ #18495]
3974         * wctype/wcfuncs.c (__iswalnum): Use libc_hidden_def.
3975         (__iswlower): Likewise.
3976         * include/wctype.h (__iswalnum): Declare.  Use libc_hidden_proto.
3977         (__iswlower): Likewise.
3978         * posix/regcomp.c (re_compile_fastmap_iter): Call __towlower
3979         instead of towlower.
3980         * posix/regex_internal.c (build_wcs_upper_buffer): Call __iswlower
3981         instead of iswlower.  Call __towupper instead of towupper.
3982         * posix/regex_internal.h (IS_WIDE_WORD_CHAR): Call __iswalnum
3983         instead of iswalnum.
3985 2015-06-05  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
3987         * malloc/tst-malloc-backtrace.c (do_test): Redirect libc fatal
3988         errors to stderr.
3990 2015-06-05  Florian Weimer  <fweimer@redhat.com>
3992         [BZ #15661]
3993         [BZ #17322]
3994         * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
3995         Check for overflow properly.  Check for O_APPEND.  Ignore large
3996         file system block sizes.  Add comments about problems.
3997         * sysdeps/posix/posix_fallocate.c (posix_fallocate): Likewise.
3998         * manual/filesys.texi (Storage Allocation): New node.
4000 2015-06-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4002         * sysdeps/unix/sysdep.h [SYSCALL_CANCEL]: New macro: define
4003         cancellable syscalls.
4004         (SYS_ify): Add guard to no redefine it.
4005         (INLINE_SYSCALL): Likewise.
4006         * sysdeps/unix/sysv/linux/accept4.c (accept4): Remove
4007         LIBC_CANCEL_ASYNC/INLINE_SYSCALL/LIBC_CANCEL_RESET and use
4008         SYSCALL_CANCEL instead.
4009         * sysdeps/unix/sysv/linux/alpha/fdatasync.c (__fdatasync): Likewise.
4010         * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
4011         * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
4012         * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
4013         * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
4014         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Likewise.
4015         * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Likewise.
4016         * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Likewise.
4017         * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
4018         * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
4019         * sysdeps/unix/sysv/linux/generic/pause.c (__libc_pause): Likewise.
4020         * sysdeps/unix/sysv/linux/generic/poll.c (__poll): Likewise.
4021         * sysdeps/unix/sysv/linux/generic/recv.c (__libc_recv): Likewise.
4022         * sysdeps/unix/sysv/linux/generic/select.c (__select): Likewise.
4023         * sysdeps/unix/sysv/linux/generic/send.c (__libc_send): Likewise.
4024         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
4025         Likewise.
4026         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
4027         (__libc_pread64): Likewise.
4028         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c
4029         (__libc_preadv): Likewise.
4030         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c
4031         (__libc_readv64): Likewise.
4032         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
4033         (__libc_pwrite): Likewise.
4034         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
4035         (__libc_pwrite64): Likewise.
4036         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c
4037         (__libc_pwritev): Likewise.
4038         * sysdeps/sysv/linux/generic/wordsize-32/pwritev64.c
4039         (__libc_pwritev64): Likewise.
4040         * sysdeps/unix/sysv/linux/i386/fcntl.c (__libc_fcntl): Likewise.
4041         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
4042         (sync_file_range): Likewise.
4043         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c (fallocate):
4044         Likewise.
4045         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c (fallocate64):
4046         Likewise.
4047         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
4048         * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
4049         * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
4050         * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
4051         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
4052         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
4053         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
4054         * sysdeps/unix/sysv/linux/openat.c (__libc_openat): Likewise.
4055         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
4056         Likewise.
4057         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
4058         (__libc_read64): Likewise.
4059         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_write):
4060         Likewise.
4061         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c (__libc_write64):
4062         Likewise.
4063         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fcntl.c (__libc_fcntl):
4064         Likewise.
4065         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c (__libc_pread):
4066         Likewise.
4067         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
4068         (__libc_pread64): Likewise.
4069         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c (__libc_pwrite):
4070         Likewise.
4071         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
4072         (__libc_pwrite64): Likewise.
4073         * sysdeps/sysv/linux/powerpc/powerpc64/sync_file_range.c
4074         (sync_file_range): Likewise.
4075         * sysdeps/unix/sysv/linux/ppoll.c (ppoll): Likewise.
4076         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
4077         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
4078         * sysdeps/unix/sysv/linux/preadv.c (__libc_preadv): Likewise.
4079         * sysdeps/unix/sysv/linux/pselect.c (__pselect): Likewise.
4080         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
4081         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
4082         * sysdeps/unix/sysv/linux/pwritev.c (PWRITEV): Likewise.
4083         * sysdeps/unix/sysv/linux/readv.c (__libc_readv): Likewise.
4084         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
4085         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
4086         * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
4087         * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
4088         * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
4089         * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_pwrite64): Likewise.
4090         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
4091         * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
4092         * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
4093         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
4094         Likewise.
4095         * sysdeps/unix/sysv/linux/sync_file_range.c (sync_file_range):
4096         Likewise.
4097         * sysdeps/unix/sysv/linux/tcdrain.c (__libc_tcdrain): Likewise.
4098         * sysdeps/unix/sysv/linux/timer_routines.c (timer_helper_thread):
4099         Likewise.
4100         * sysdeps/unix/sysv/linux/wait.c (__libc_wait): Likewise.
4101         * sysdeps/unix/sysv/linux/waitid.c (__waitid): Likewise.
4102         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Likewise.
4103         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c (fallocate):
4104         Likewise.
4105         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c (preadv): Likewise.
4106         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c (pwritev): Likewise.
4107         * sysdeps/unix/sysv/linux/writev.c (__libc_writev): Likewise.
4108         * sysdeps/unix/sysv/linux/x86_64/recv.c (__libc_recv): Likewise.
4109         * sysdeps/unix/sysv/linux/x86_64/send.c (__libc_send): Likewise.
4111 2015-06-04  Nathan Lynch  <nathan_lynch@codesourcery.com>
4113         * sysdeps/unix/sysv/linux/arm/Makefile: (sysdep_routines):
4114         Include dl-vdso.
4115         * sysdeps/unix/sysv/linux/arm/init-first.c: New file:
4116         Use VDSO routines for gettimeofday, clock_gettime if
4117         available.
4118         * sysdeps/unix/sysv/linux/arm/libc-vdso.h: New file:
4119         Declare VDSO symbols.
4120         * sysdeps/unix/sysv/linux/arm/sysdep.h:
4121         [HAVE_GETTIMEOFDAY_VSYSCALL]: Define.
4122         [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
4123         * sysdeps/unix/sysv/linux/arm/Versions: Add
4124         __vdso_clock_gettime.
4126 2015-06-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4128         * sysdeps/unix/sysv/linux/not-cancel.h (open_not_cancel): Rewrite to
4129         be an inline implementation regardless of library is built within.
4130         (open_not_cancel_2): Likewise.
4131         (__read_nocancel): Likewise.
4132         (__write_nocancel): Likewise.
4133         (openat_not_cancel): Likewise.
4134         (openat_not_cancel_3): Likewise.
4135         (openat64_not_cancel): Likewise.
4136         (openat64_not_cancel_3): Likewise.
4137         (__close_nocancel): Likewise.
4138         (pause_not_cancel): Likewise.
4139         (nanosleep_not_cancel): Likewise.
4140         (sigsuspend_not_cancel): Likewise.
4142 2015-06-04  Torvald Riegel  <triegel@redhat.com>
4144         [BZ #14958]
4145         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock): Add missing
4146         wake-up.
4147         (__pthread_rwlock_rdlock_slow): Likewise.
4148         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
4149         Likewise.
4150         * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
4151         Likewise.
4152         * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Add comments.
4153         * nptl/tst-rwlock16.c: New file.
4154         * nptl/Makefile (tests): Add new test.
4156 2015-06-04  Torvald Riegel  <triegel@redhat.com>
4158         [BZ #18324]
4159         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock): Add
4160         missing wake-up of readers.
4161         * nptl/tst-rwlock15.c: New file.
4162         * nptl/Makefile (tests): Add new test.
4164 2015-06-03  Roland McGrath  <roland@hack.frob.com>
4166         * sysdeps/nacl/nacl-interfaces.c (try_supply): New static function.
4167         (PASTE_NAME (__nacl_supply_interface_, MODULE_NAME)): New function.
4168         * sysdeps/nacl/nacl-interfaces.h: Declare __nacl_supply_interface_libc
4169         and __nacl_supply_interface_rtld.
4170         * sysdeps/nacl/nacl_interface_ext_supply.c: New file.
4171         * sysdeps/nacl/Makefile [$(subdir) = csu] (sysdep_routines): Add it.
4172         * sysdeps/nacl/Versions (ld: GLIBC_PRIVATE):
4173         Add __nacl_supply_interface_rtld.
4174         (libc: GLIBC_2.22): Add nacl_interface_ext_supply.
4176 2015-06-03  Wilco Dijkstra  <wdijkstr@arm.com>
4178         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Replace finite with
4179         isfinite.
4180         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
4181         * sysdeps/ieee754/ldbl-opt/nldbl-finite.c (__finitel): Likewise.
4183 2015-06-03  Wilco Dijkstra  <wdijkstr@arm.com>
4185         * math/e_exp10.c: Replace __isinf*, __isnan*, __finite* and
4186         __signbit* with standard C99 macros.
4187         * math/e_exp10l.c: Likewise.
4188         * math/e_exp2l.c: Likewise.
4189         * math/e_scalb.c: Likewise.
4190         * math/e_scalbf.c: Likewise.
4191         * math/e_scalbl.c: Likewise.
4192         * math/s_ldexp.c: Likewise.
4193         * math/s_ldexpf.c: Likewise.
4194         * math/s_ldexpl.c: Likewise.
4195         * math/w_atan2.c: Likewise.
4196         * math/w_atan2f.c: Likewise.
4197         * math/w_atan2l.c: Likewise.
4198         * math/w_cosh.c: Likewise.
4199         * math/w_coshf.c: Likewise.
4200         * math/w_coshl.c: Likewise.
4201         * math/w_exp10.c: Likewise.
4202         * math/w_exp10f.c: Likewise.
4203         * math/w_exp10l.c: Likewise.
4204         * math/w_exp2.c: Likewise.
4205         * math/w_exp2f.c: Likewise.
4206         * math/w_exp2l.c: Likewise.
4207         * math/w_fmod.c: Likewise.
4208         * math/w_fmodf.c: Likewise.
4209         * math/w_fmodl.c: Likewise.
4210         * math/w_hypot.c: Likewise.
4211         * math/w_hypotf.c: Likewise.
4212         * math/w_hypotl.c: Likewise.
4213         * math/w_jnl.c: Likewise.
4214         * math/w_lgamma.c: Likewise.
4215         * math/w_lgamma_r.c: Likewise.
4216         * math/w_lgammaf.c: Likewise.
4217         * math/w_lgammaf_r.c: Likewise.
4218         * math/w_lgammal.c: Likewise.
4219         * math/w_lgammal_r.c: Likewise.
4220         * math/w_pow.c: Likewise.
4221         * math/w_powf.c: Likewise.
4222         * math/w_powl.c: Likewise.
4223         * math/w_remainder.c: Likewise.
4224         * math/w_remainderf.c: Likewise.
4225         * math/w_remainderl.c: Likewise.
4226         * math/w_scalb.c: Likewise.
4227         * math/w_scalbf.c: Likewise.
4228         * math/w_scalbl.c: Likewise.
4229         * math/w_scalbln.c: Likewise.
4230         * math/w_scalblnf.c: Likewise.
4231         * math/w_scalblnl.c: Likewise.
4232         * math/w_sinh.c: Likewise.
4233         * math/w_sinhf.c: Likewise.
4234         * math/w_sinhl.c: Likewise.
4235         * math/w_tgamma.c: Likewise.
4236         * math/w_tgammaf.c: Likewise.
4237         * math/w_tgammal.c: Likewise.
4238         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
4239         * sysdeps/ieee754/dbl-64/e_exp10.c: Likewise.
4240         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
4241         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
4242         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
4243         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
4244         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
4245         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
4246         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
4247         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
4248         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
4249         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
4250         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
4251         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
4252         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
4253         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
4254         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
4255         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
4256         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
4257         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
4258         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
4259         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
4260         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
4261         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
4262         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
4263         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
4264         * sysdeps/ieee754/ldbl-128ibm/w_expl.c: Likewise.
4265         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
4266         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
4267         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
4268         * sysdeps/ieee754/ldbl-opt/nldbl-finite.c: Likewise.
4269         * sysdeps/ieee754/ldbl-opt/nldbl-isinf.c: Likewise.
4270         * sysdeps/ieee754/ldbl-opt/nldbl-isnan.c: Likewise.
4271         * sysdeps/ieee754/ldbl-opt/nldbl-signbit.c: Likewise.
4272         * stdio-common/printf_fp.c: Likewise.
4273         * stdio-common/printf_fphex.c: Likewise.
4274         * stdio-common/printf_size.c: Likewise.
4276 2015-06-03  Joseph Myers  <joseph@codesourcery.com>
4278         [BZ #18470]
4279         * posix/fnmatch.c (fnmatch) [_LIBC]: Call __strnlen instead of
4280         strnlen.
4281         * conform/Makefile (test-xfail-XPG3/fnmatch.h/linknamespace):
4282         Remove variable.
4283         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
4284         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
4285         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
4286         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
4287         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
4288         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
4289         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
4290         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
4291         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
4292         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
4294         [BZ #18468]
4295         * wcsmbs/wmemchr.c (wmemchr): Rename to __wmemchr and define as
4296         weak alias of __wmemchr.  Use libc_hidden_weak.
4297         * include/wchar.h (__wmemchr): Declare.  Use libc_hidden_proto.
4298         * posix/fnmatch.c [HANDLE_MULTIBYTE] (MEMCHR): Use __wmemchr
4299         instead of wmemchr.
4301 2015-06-02  Roland McGrath  <roland@hack.frob.com>
4303         [BZ #18383]
4304         * elf/tst-tlsalign-extern.c: New file.
4305         * elf/tst-tlsalign-extern-static.c: New file.
4306         * elf/tst-tlsalign-vars.c: New file.
4307         * elf/Makefile (tests-static): Add tst-tlsalign-extern-static.
4308         [$(build-shared) = yes] (tests): Add tst-tlsalign-extern.
4309         ($(objpfx)tst-tlsalign-extern): Depend on tst-tlsalign-vars.o.
4310         ($(objpfx)tst-tlsalign-extern-static): Likewise.
4311         (test-xfail-tst-tlsalign-extern-static): New variable.
4313 2015-06-02  Joseph Myers  <joseph@codesourcery.com>
4315         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h (INLINE_SYSCALL):
4316         Use variable name _sc_err instead of err.
4317         [__mips16] (INTERNAL_SYSCALL_NCS): Use variable name _sc_ret
4318         instead of ret.
4319         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h
4320         (INLINE_SYSCALL): Use variable name _sc_err instead of err.
4321         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h
4322         (INLINE_SYSCALL): Likewise.
4324         * string/strnlen.c [!STRNLEN] (__strnlen): Use libc_hidden_def.
4325         * include/string.h (__strnlen): Use libc_hidden_proto.
4326         * sysdeps/aarch64/strnlen.S (__strnlen): Use libc_hidden_def.
4327         * sysdeps/i386/i686/multiarch/strnlen-c.c [SHARED]
4328         (libc_hidden_def): Define __GI___strnlen as well as __GI_strnlen.
4329         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-power7.S
4330         (libc_hidden_def): Undefine and redefine.
4331         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c
4332         [SHARED] (libc_hidden_def): Define __GI___strnlen as well as
4333         __GI_strnlen.
4334         * sysdeps/powerpc/powerpc32/power7/strnlen.S (__strnlen): Use
4335         libc_hidden_def.
4336         * sysdeps/tile/tilegx/strnlen.c (__strnlen): Likewise.
4338         [BZ #18469]
4339         * wctype/wcfuncs.c (towlower): Rename to __towlower and define as
4340         weak alias of __towlower.  Use libc_hidden_weak.
4341         (towupper): Rename to __towupper and define as weak alias of
4342         __towupper.  Use libc_hidden_weak.
4343         * include/wctype.h (__towlower): Declare.  Use libc_hidden_proto.
4344         (__towupper): Likewise.
4345         * posix/fnmatch.c [HANDLE_MULTIBYTE && _LIBC] (FOLD): Use
4346         __towlower instead of towlower.
4348 2015-06-02  Roland McGrath  <roland@hack.frob.com>
4350         * stdlib/setenv.c [__GNUC__,__GNUC_MINOR__ < 4,7]: Use
4351         "-Wuninitialized" rather than "-Wmaybe-uninitialized" in pragma.
4353 2015-06-02  Szabolcs Nagy  <szabolcs.nagy@arm.com>
4355         * sysdeps/aarch64/libm-test-ulps: Update.
4357 2015-06-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4359         * sysdeps/unix/sysv/linux/i386/sysdep.h (HAVE_CLOCK_GETTIME_VSYSCALL):
4360         Define.
4361         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
4362         * sysdeps/unix/sysv/linux/x86_64/sysdep.h
4363         (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
4364         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
4365         * sysdeps/unix/sysv/linux/timespec_get.c: Include errno.h.
4366         * sysdeps/unix/sysv/linux/x86/clock_gettime.c: Remove file.
4367         * sysdeps/unix/sysv/linux/x86/timespec_get.c: Likewise.
4369 2015-06-01  Martin Sebor  <msebor@redhat.com>
4371         [BZ #18116]
4372         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
4373         (__setcontext): Use extended four-operand version of mtsf whenever
4374         possible.
4375         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
4376         (__novec_swapcontext): Likewise.
4378 2015-06-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
4380         * benchtests/scripts/compare_bench.py: New file.
4381         * benchtests/scripts/import_bench.py (mean): New function.
4382         (split_list): Likewise.
4383         (do_for_all_timings): Likewise.
4384         (compress_timings): Likewise.
4386         * benchtests/scripts/import_bench.py: New file.
4387         * benchtests/scripts/validate_benchout.py: Import import_bench
4388         instead of jsonschema.
4389         (validate_bench): Remove function.
4390         (main): Use import_bench.
4392 2015-06-01  Steve Ellcey  <sellcey@imgtec.com>
4394         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use a union to
4395         copy data from cur_ifr->ifr_addr and cur_ifr->ifr_netmask.
4397 2015-05-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4399         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4401 2015-05-28  Roland McGrath  <roland@hack.frob.com>
4403         * sysdeps/nacl/exit-thread.h (__exit_thread): If not detached,
4404         set THREAD_SELF->tid to a magic value and futex-wake it.
4405         Pass its address to the thread_exit system call.
4406         * sysdeps/nacl/pthread-pids.h (__nacl_get_tid): Assert that TID's low
4407         bit is clear.
4408         * sysdeps/nacl/lowlevellock.h: New file.
4409         * sysdeps/nacl/lll_timedwait_tid.c: New file.
4411         * sysdeps/nacl/lowlevellock-futex.h (lll_futex_timed_wait):
4412         Add TIMEOUT to current time, don't subtract it.
4414 2015-05-28  H.J. Lu  <hongjiu.lu@intel.com>
4416         [BZ #2981]
4417         [BZ #18422]
4418         * Makefile ($(objpfx)tst-audit2): Depend on $(libdl).
4419         ($(objpfx)tst-audit2.out): Also depend on
4420         $(objpfx)tst-auditmod9b.so.
4421         * elf/tst-audit2.c: Include <dlfcn.h>.
4422         (calloc_called): New.
4423         (calloc): Allow to be called more than once.
4424         (do_test): dllopen/dlclose $ORIGIN/tst-auditmod9b.so.
4426 2015-05-28  Wilco Dijkstra  <wdijkstr@arm.com>
4428         * sysdeps/ieee754/dbl-64/s_fabs.c: (__fabs): Call __builtin_fabs.
4429         * sysdeps/ieee754/flt-32/s_fabsf.c: (__fabsf): Likewise.
4431 2015-05-27  Marko Myllynen  <myllynen@redhat.com>
4433         * stdlib/monetary.h: Fix comment.
4435 2015-05-26  Chris Metcalf  <cmetcalf@ezchip.com>
4437         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_SYSCALL):
4438         Avoid using variables in #defines that might cause shadowing.
4439         (INTERNAL_VSYSCALL_CALL): Likewise.
4441 2015-05-26  Roland McGrath  <roland@hack.frob.com>
4443         * sysdeps/nacl/lll_timedlock_wait.c: New file.
4445         * nptl/lowlevellock.c (__lll_timedlock_wait): Moved ...
4446         * nptl/lll_timedlock_wait.c: ... to this new file.
4447         * nptl/Makefile (libpthread-routines): Add it.
4448         * nptl/lowlevellock.c (__lll_timedwait_tid): Moved ...
4449         * nptl/lll_timedwait_tid.c: ... to this new file.
4450         * nptl/Makefile (libpthread-routines): Add it.
4451         * sysdeps/sparc/sparc32/lll_timedlock_wait.c: New file.
4452         * sysdeps/sparc/sparc32/lll_timedwait_tid.c: New file.
4453         * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: New file.
4454         * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c: New file.
4455         * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c: New file.
4456         * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: New file.
4457         * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c: New file.
4458         * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c: New file.
4459         * sysdeps/unix/sysv/linux/x86_64/lll_timedlock_wait.c: New file.
4460         * sysdeps/unix/sysv/linux/x86_64/lll_timedwait_tid.c: New file.
4462 2015-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4464         * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c: Remove file.
4465         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
4466         * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
4467         * sysdeps/unix/sysv/linux/aarch64/sysdep.h
4468         (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
4469         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
4470         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
4471         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
4472         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
4473         * sysdeps/unix/sysv/linux/tile/sysdep.h
4474         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
4475         * sysdeps/unix/sysv/linux/gettimeofday.c: New file: gettimeofday
4476         using vDSO syscall macro.
4478 2015-05-26  Andriy Rysin  <arysin@gmail.com>
4480         [BZ #17293]
4481         * uk_UA: Fix sorting order for Ukrainian locale
4483 2015-05-26  Marko Myllynen  <myllynen@redhat.com>
4485         * stdlib/monetary.h: Fix comment.
4487 2015-05-26  Szabolcs Nagy  <szabolcs.nagy@arm.com>
4489         [BZ #18234]
4490         * conform/data/sys/stat.h-data (struct stat): Add tests for st_atim,
4491         st_mtim and st_ctim members.
4492         * sysdeps/nacl/bits/stat.h (struct stat, struct stat64): Make
4493         st_atim, st_ctim, st_mtim visible under __USE_XOPEN2K8 only.
4494         * sysdeps/unix/sysv/linux/generic/bits/stat.h (struct stat,):
4495         (struct stat64): Likewise.
4496         * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat,):
4497         (struct stat64): Likewise.
4498         * sysdeps/unix/sysv/linux/microblaze/bits/stat.h (struct stat,):
4499         (struct stat64): Likewise.
4501 2015-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4503         * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c (HAVE_VSYSCALL):
4504         Define and include sysdep-vdso.h.
4505         * sysdeps/unix/sysv/linux/s390/gettimeofday.c (HAVE_VSYSCALL):
4506         Likewise.
4507         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (HAVE_VSYSCALL):
4508         Likewise.
4509         * sysdeps/unix/sysv/linux/aarch64/init-first.c (__vdso_gettimeofday):
4510         Define with VDSO_SYMBOL and use PTR_MANGLE.
4511         (__vdso_clock_gettime): Likewise.
4512         (__vdso_clock_getres): Likewise.
4513         (_libc_vdso_platform_setup): Likewise.
4514         * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
4515         Likewise.
4516         (_libc_vdso_platform_setup): Likewise.
4517         * sysdeps/unix/sysv/linux/powerpc/init-first.c (__vdso_gettimeofday):
4518         Likewise.
4519         (__vdso_clock_gettime): Likewise.
4520         (__vdso_clock_getres): Likewise.
4521         (__vdso_get_tbfreq): Likewise.
4522         (__vdso_getcpu): Likewise.
4523         (__vdso_time): Likewise.
4524         (__vdso_sigtramp_rt64): Likewise.
4525         (__vdso_signtramp32): Likewise.
4526         (__vdso_sigtramp_rt32): Likewise.
4527         (_libc_vdso_platform_setup): Likewise.
4528         * sysdeps/unix/sysv/linux/s390/init-first.c (__vdso_gettimeofay):
4529         Likewise.
4530         (__vdso_clock_gettime): Likewise.
4531         (__vdso_clock_getres): Likewise.
4532         (_libc_vdso_platform_setup): Likewise.
4533         * sysdeps/unix/sysv/linux/tile/init-first.c (__vdso_gettimeofday):
4534         Likewise.
4535         (__vdso_clock_gettime): Likewise.
4536         (_libc_vdso_platform_setup): Likewise.
4537         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
4538         Likewise.
4539         (__vdso_getcpu): Likewise.
4540         * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h (__vdso_gettimeoday):
4541         Use VDSO_SYMBOL macro to define.
4542         (__vdso_clock_gettime): Likewise.
4543         (__vdso_clock_getres): Likewise.
4544         * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h (__vdso_gettimeofday):
4545         Likewise.
4546         (__vdso_clock_gettime): Likewise.
4547         (__vdso_clock_getres): Likewise.
4548         (__vdso_get_tbfreq): Likewise.
4549         (__vdso_getcpu): Likewise.
4550         (__vdso_time): Likewise.
4551         (__vdso_sigtramp_rt64): Likewise.
4552         (__vdso_signtramp32): Likewise.
4553         (__vdso_sigtramp_rt32): Likewise.
4554         * sysdeps/unix/sysv/linux/s390/libc-vdso.h (__vdso_gettimeofday):
4555         Likewise.
4556         (__vdso_clock_gettime): Likewise.
4557         (__vdso_clock_getres): Likewise.
4558         * sysdeps/unix/sysv/linux/tile/libc-vdso.h (__vdso_gettimeofday):
4559         Likewise.
4560         (__vdso_clock_gettime): Likewise.
4561         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
4562         Likewise.
4563         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INLINE_VSYSCALL):  Remove
4564         macro.
4565         (INTERNAL_VSYSCALL): Likewise.
4566         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h (INLINE_VSYSCALL):
4567         Remove macro.
4568         (INTERNAL_VSYSCALL): Likewise.
4569         (INTERNAL_VSYSCALL_NCS): Likewise.
4570         (INTERNAL_VSYSCALL_CALL): New macro.
4571         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
4572         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h (INLINE_VSYSCALL):
4573         Likewise.
4574         (INTERNAL_VSYSCALL): Likewise.
4575         (INTERNAL_VSYSCALL_NCS): Likewise.
4576         (INTERNAL_VSYSCALL_CALL): New macro.
4577         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
4578         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
4579         (INLINE_VSYSCALL): Remove macro.
4580         (INTERNAL_VSYSCALL): Remove macro.
4581         (INTERNAL_VSYSCALL_NCS): Remove macro.
4582         (INTERNAL_VSYSCALL_CALL): New macro.
4583         (INTERNAL_VSYSCALL_CALL_TYPE): New macro.
4584         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL.
4585         (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
4586         (HAVE_CLOCK_GETRES_VSYSCALL): New define.
4587         (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
4588         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
4589         (INLINE_VSYSCALL): Remove macro.
4590         (INTERNAL_VSYSCALL): Likewise.
4591         (INTERNAL_VSYSCALL_NCS): Likewise.
4592         (INTERNAL_VSYSCALL_CALL): New macro.
4593         (INTERNAL_VSYSCALL_CALL_TYPE): Likewise.
4594         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL and
4595         PTR_DEMANGLE on vDSO pointer.
4596         (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
4597         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Remove
4598         macro.
4599         (INTERNAL_SYSCALL): Likewise.
4600         (INTERNAL_VSYSCALL_NCS): Remove macro.
4601         (INTERNAL_VSYSCALL_CALL): New macro.
4602         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_VSYSCALL):
4603         Remove macro.
4604         (INTERNAL_VSYSCALL): Likewise.
4605         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Include
4606         sysdep-vdso.h instead of libc-vdso.h.
4607         * sysdeps/unix/sysv/linux/clock_getres.c (INTERNAL_VSYSCALL): Remove
4608         definition.
4609         (INLINE_VSYSCALL): Likewise.
4610         (HAVE_VSYSCALL) [HAVE_CLOCK_GETRES_VSYSCALL]: Define.
4611         * sysdeps/unix/sysv/linux/clock_gettime.c (INTERNAL_VSYSCALL): Remove
4612         definition.
4613         (INLINE_VSYSCALL): Likewise.
4614         (INTERNAL_VSYSCALL): Likewise.
4615         (HAVE_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
4616         * sysdeps/unix/sysv/linux/timespec_get.c
4617         (INTERNAL_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
4618         (timespec_get): Use ANSI prototype.
4619         * sysdeps/unix/sysv/linux/sysdep-vdso.h: New file: default vDSO macros
4620         and definition for Linux.
4622 2015-05-25  Andrew Senkevich  <andrew.senkevich@intel.com>
4624         * elf/Makefile (localplt-built-dso): libmvec added to localplt test.
4625         * include/libc-symbols.h: libmvec_hidden_* macro series added.
4627 2015-05-22  H.J. Lu  <hongjiu.lu@intel.com>
4629         [BZ #2981]
4630         [BZ #18410]
4631         * elf/dl-reloc.c (_dl_relocate_object): Don't issue an error
4632         for missing DT_PLTRELSZ.
4634 2015-05-22  Paul Eggert  <eggert@cs.ucla.edu>
4636         Remove obsolete aliases that broke 'locale -a'
4637         [BZ #18412]
4638         * intl/locale.alias: Remove obsolete aliases "bokmål" and "français"
4639         which caused 'locale -a' to output Latin-1 data in UTF-8 locales,
4640         breaking some applications that use 'locale -a' output.
4641         Change the encoding of this file from Latin-1 to ASCII to avoid
4642         other potential problems with people grepping this file.
4644 2015-05-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4646         * nptl/Makefile (CFLAGS-accept.c): Add -fexceptions and
4647         -fasynchronous-unwind-tables.
4648         (CFLAGS-sendto.c): Likewise.
4649         (CFLAGS-sendmsg.c): Likewise.
4650         (CFLAGS-connect.c): Likewise.
4651         (CFLAGS-recvmsg.c): Likewise.
4652         (CFLAGS-recvfrom.c): Likewise.
4653         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_invalid): Define.
4654         (SOCKETCALL): New macro: non-cancellable socketcall.
4655         (SOCKETCALL_CANCEL): New macro: cancellable socketcall.
4656         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = socket]: Remove
4657         internal_accept4, internal_recvmmsg, and internal_sendmmsg rules.
4658         * sysdeps/unix/sysv/linux/accept.c: New file.
4659         * sysdeps/unix/sysv/linux/bind.c: Likewise.
4660         * sysdeps/unix/sysv/linux/connect.c: Likewise.
4661         * sysdeps/unix/sysv/linux/getpeername.c: Likewise.
4662         * sysdeps/unix/sysv/linux/getsockname.c: Likewise.
4663         * sysdeps/unix/sysv/linux/getsockopt.c: Likewise.
4664         * sysdeps/unix/sysv/linux/listen.c: Likewise.
4665         * sysdeps/unix/sysv/linux/recv.c: Likewise.
4666         * sysdeps/unix/sysv/linux/recvfrom.c: Likewise.
4667         * sysdeps/unix/sysv/linux/recvmsg.c: Likewise.
4668         * sysdeps/unix/sysv/linux/send.c: Likewise.
4669         * sysdeps/unix/sysv/linux/sendmsg.c: Likewise.
4670         * sysdeps/unix/sysv/linux/sendto.c: Likewise.
4671         * sysdeps/unix/sysv/linux/setsockopt.c: Likewise.
4672         * sysdeps/unix/sysv/linux/shutdown.c: Likewise.
4673         * sysdeps/unix/sysv/linux/socket.c: Likewise.
4674         * sysdeps/unix/sysv/linux/socketpair.c: Likewise.
4675         * sysdeps/unix/sysv/linux/recvmmsg.c (__internal_recvmmsg): Remove
4676         prototype.
4677         (recvmmsg) [__ASSUME_RECVMMSG_SOCKETCALL]: Add C based implementation.
4678         (recvmmsg) [!__ASSUME_RECVMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
4679         instead of __internal_xxx function.
4680         * sysdeps/unix/sysv/linux/accept4.c (__internal_accept4): Remove
4681         prototype.
4682         (accept4) [__ASSUME_ACCEPT4_SOCKETCALL]: Add C based implementation.
4683         (accept4) [!__ASSUME_ACCEPT4_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
4684         instead of __internal_xxx function.
4685         * sysdeps/unix/sysv/linux/sendmmsg.c (__internal_sendmmsg): Remove
4686         prototype.
4687         (sendmmsg) [__ASSUME_SENDMMSG_SOCKETCALL]: Add C based implementation.
4688         (sendmmsg) [!__ASSUME_SENDMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
4689         instead of __internal_xxx function.
4690         * sysdeps/unix/sysv/linux/accept.S: Remove file.
4691         * sysdeps/unix/sysv/linux/bind.S: Likewise.
4692         * sysdeps/unix/sysv/linux/connect.S: Likewise.
4693         * sysdeps/unix/sysv/linux/getpeername.S: Likewise.
4694         * sysdeps/unix/sysv/linux/getsockname.S: Likewise.
4695         * sysdeps/unix/sysv/linux/getsockopt.S: Likewise.
4696         * sysdeps/unix/sysv/linux/arm/internal_accept4.S: Likewise.
4697         * sysdeps/unix/sysv/linux/arm/internal_recvmmsg.S: Likewise.
4698         * sysdeps/unix/sysv/linux/arm/internal_sendmmsg.S: Likewise.
4699         * sysdeps/unix/sysv/linux/i386/accept4.S: Likewise.
4700         * sysdeps/unix/sysv/linux/i386/internal_accept4.S: Likewise.
4701         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
4702         * sysdeps/unix/sysv/linux/internal_accept4.S: Likewise.
4703         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: Likewise.
4704         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: Likewise.
4705         * sysdeps/unix/sysv/linux/listen.S: Likewise.
4706         * sysdeps/unix/sysv/linux/microblaze/socket.S: Likewise.
4707         * sysdeps/unix/sysv/linux/mips/mips32/internal_accept4.S: Likewise.
4708         * sysdeps/unix/sysv/linux/mips/mips32/internal_recvmmsg.S: Likewise.
4709         * sysdeps/unix/sysv/linux/mips/mips32/internal_sendmmsg.S: Likewise.
4710         * sysdeps/unix/sysv/linux/powerpc/powerpc32/socket.S: Likewise.
4711         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S: Likewise.
4712         * sysdeps/unix/sysv/linux/recv.S: Likewise.
4713         * sysdeps/unix/sysv/linux/recvfrom.S: Likewise.
4714         * sysdeps/unix/sysv/linux/recvmsg.S: Likewise.
4715         * sysdeps/unix/sysv/linux/s390/s390-32/socket.S: Likewise.
4716         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
4717         * sysdeps/unix/sysv/linux/send.S: Likewise.
4718         * sysdeps/unix/sysv/linux/sendmsg.S: Likewise.
4719         * sysdeps/unix/sysv/linux/sendto.S: Likewise.
4720         * sysdeps/unix/sysv/linux/setsockopt.S: Likewise.
4721         * sysdeps/unix/sysv/linux/sh/socket.S: Likewise.
4722         * sysdeps/unix/sysv/linux/shutdown.S: Likewise.
4723         * sysdeps/unix/sysv/linux/socketpair.S: Likewise.
4724         * sysdeps/unix/sysv/linux/sparc/sparc32/socket.S: Likewise.
4725         * sysdeps/unix/sysv/linux/sparc/sparc64/socket.S: Likewise.
4726         * sysdeps/unix/sysv/linux/m68k/socket.S: Likewise.
4727         * sysdeps/unix/sysv/linux/hppa/socket.S: Likewise.
4728         * sysdeps/unix/sysv/linux/kernel-features.h: Adjust comment on how
4729         socketcall is implemented in GLIBC.
4731 2015-05-22  Joseph Myers  <joseph@codesourcery.com>
4733         * soft-fp/fmadf4.c: Include <libc-internal.h>.
4734         (__fma): Ignore uninitialized warnings around packing.
4735         * soft-fp/fmasf4.c: Include <libc-internal.h>.
4736         (__fmaf): Ignore uninitialized warnings around packing.
4737         * soft-fp/fmatf4.c: Include <libc-internal.h>.
4738         (__fmal): Ignore uninitialized warnings around packing.
4740         * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <libc-internal.h>.
4741         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
4742         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <libc-internal.h>.
4743         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
4745         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfcl): Make case 9 in
4746         switch statement into default case.
4747         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Likewise.
4749         * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Don't use
4750         a conditional in forcing "inexact".
4751         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
4752         Likewise.
4754 2015-05-22  Roland McGrath  <roland@hack.frob.com>
4756         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
4757         Use a separate INTERNAL_SYSCALL_DECL (err); in a local scope
4758         for each INTERNAL_SYSCALL use.
4760 2015-05-22  Joseph Myers  <joseph@codesourcery.com>
4762         [BZ #438]
4763         * posix/unistd.h (_POSIX2_C_VERSION): New macro.
4764         * conform/Makefile (test-xfail-POSIX/unistd.h/conform): Remove
4765         variable.
4767         [BZ #18444]
4768         * string/basename.c (basename): Rename to __basename and define as
4769         weak alias of __basename.  Use libc_hidden_weak.
4770         * include/string.h (__basename): Declare.  Use libc_hidden_proto.
4771         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): Call
4772         __basename instead of basename.
4773         * conform/Makefile (test-xfail-POSIX2008/unistd.h/linknamespace):
4774         Remove variable.
4775         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
4777 2015-05-18  Florian Weimer  <fweimer@redhat.com>
4779         * libio/libioP.h (_IO_MEMBER_TYPE, _IO_CAST_FIELD_ACCESS)
4780         (_IO_JUMPS_FILE_plus): New.
4781         (_IO_WIDE_JUMPS, _IO_CHECK_WIDE, _IO_JUMPS_FUNC): Use
4782         _IO_CAST_FIELD_ACCESS.
4783         * libio/fileops.c (libc_hidden_def, _IO_file_setbuf_mmap,
4784         mmap_remap_check, decide_maybe_mmap): Use _IO_JUMPS_FILE_plus.
4785         * libio/freopen.c (freopen): Likewise.
4786         * libio/freopen64.c (freopen64): Likewise.
4787         * libio/iofopen.c (__fopen_maybe_mmap): Likewise.
4788         * libio/iofopncook.c (_IO_old_fopencookie): Likewise.
4789         * libio/iofwide.c (_IO_fwide): Likewise.
4790         * libio/memstream.c (open_memstream): Likewise.
4791         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
4792         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
4793         * libio/oldiopopen.c (_IO_old_popen): Likewise.
4795 2015-05-21  Joseph Myers  <joseph@codesourcery.com>
4797         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Include <libc-internal.h>.
4798         (__ieee754_lgamma_r): Ignore uninitialized warnings around use of
4799         NADJ.
4800         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Include <libc-internal.h>.
4801         (__ieee754_lgammaf_r): Ignore uninitialized warnings around use of
4802         NADJ.
4803         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Include <libc-internal.h>.
4804         (__ieee754_lgammal_r): Ignore uninitialized warnings around use of
4805         NADJ.
4807         * sysdeps/ieee754/dbl-64/mpa.c (norm): Remove if condition on
4808         (p == 4) case.
4810         * conform/linknamespace.pl (@whitelist): Add re_syntax_options.
4811         * conform/Makefile (test-xfail-UNIX98/regex.h/linknamespace):
4812         Remove variable.
4813         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
4814         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
4815         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
4817 2015-05-21  Florian Weimer  <fweimer@redhat.com>
4819         * stdio-common/vfprintf.c (LABEL, JUMP_TABLE_BASE_LABEL, REF):
4820         Adjust jump table label generation macros.
4822 2015-05-21  Florian Weimer  <fweimer@redhat.com>
4824         * stdio-common/vfprintf.c (vfprintf): Move local variables
4825         args_malloced, specs, specs_malloced, and the code after
4826         do_positional to the printf_positional function.
4827         (printf_positional): New function.
4829 2015-05-21  Florian Weimer  <fweimer@redhat.com>
4831         * stdio-common/vfprintf.c (jump_table): Move out of the vfprintf
4832         function.
4833         (NOT_IN_JUMP_RANGE, CHAR_CLASS, LABEL, REF, JUMP, STEP0_3_TABLE,
4834         STEP4_TABLE, process_arg): Move macro definitions
4835         out of the vfprintf function.  (Cosmetic change only.)
4837 2015-05-21  Carlos O'Donell  <carlos@redhat.com>
4839         * benchtests/Makefile (stdio-common-bench): Define.
4840         (benchset): Add stdio-common-bench.
4841         * sprintf-inputs: New file.
4842         * sprintf-source.c: New file.
4844 2015-05-21  Andreas Schwab  <schwab@suse.de>
4846         [BZ #13028]
4847         [BZ #17053]
4848         * resolv/res_init.c (__res_vinit): Remove use of ext.nsmap member
4849         of struct __res_state.
4850         * resolv/res_send.c (__libc_res_nsend): Likewise.
4851         (get_nsaddr): New function.
4852         (res_ourserver_p, send_vc, reopen): Use it instead of accessing
4853         statp directly.
4855 2015-05-20  Joseph Myers  <joseph@codesourcery.com>
4857         * conform/GlibcConform.pm ($CFLAGS{"POSIX"}): Use
4858         -D_POSIX_C_SOURCE=199506L.
4860         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Require.
4862         * conform/data/unistd.h-data (_POSIX_VERSION): Require.
4863         (_POSIX2_C_VERSION): Require if [POSIX || XPG3 || XPG4 || UNIX98].
4864         Do not mention otherwise.
4865         [POSIX] (_XOPEN_VERSION): Do not expect.
4866         [POSIX] (_XOPEN_XCU_VERSION): Likewise.
4867         [POSIX] (_POSIX2_C_BIND): Likewise.
4868         [POSIX] (_POSIX2_VERSION): Likewise.
4869         [POSIX] (_XOPEN_XPG2): Likewise.
4870         [POSIX] (_XOPEN_XPG3): Likewise.
4871         [POSIX] (_XOPEN_XPG4): Likewise.
4872         [POSIX] (_XOPEN_UNIX): Likewise.
4873         [POSIX] (_POSIX_ADVISORY_INFO): Likewise.
4874         [POSIX] (_POSIX_BARRIERS): Likewise.
4875         [POSIX] (_POSIX_CLOCK_SELECTION): Likewise.
4876         [POSIX] (_POSIX_CPUTIME): Likewise.
4877         [POSIX] (_POSIX_MONOTONIC_CLOCK): Likewise.
4878         [POSIX] (_POSIX_READER_WRITER_LOCKS): Likewise.
4879         [POSIX] (_POSIX_SHELL): Likewise.
4880         [POSIX] (_POSIX_SPAWN): Likewise.
4881         [POSIX] (_POSIX_SPIN_LOCKS): Likewise.
4882         [POSIX] (_POSIX_SPORADIC_SERVER): Likewise.
4883         [POSIX] (_POSIX_THREAD_CPUTIME): Likewise.
4884         [POSIX] (_POSIX_TYPED_MEMORY_OBJECTS): Likewise.
4885         [POSIX] (_POSIX_THREAD_SPORADIC_SERVER): Likewise.
4886         [POSIX] (_XBS5_ILP32_OFF32): Likewise.
4887         [POSIX] (_XBS5_ILP32_OFBIG): Likewise.
4888         [POSIX] (_XBS5_LP64_OFF64): Likewise.
4889         [POSIX] (_XBS5_LPBIG_OFFBIG): Likewise.
4890         [POSIX] (_POSIX_TIMEOUTS): Likewise.
4891         [POSIX] (_POSIX2_PBS): Likewise.
4892         [POSIX] (_POSIX2_PBS_ACCOUNTING): Likewise.
4893         [POSIX] (_POSIX2_PBS_CHECKPOINT): Likewise.
4894         [POSIX] (_POSIX2_PBS_LOCATE): Likewise.
4895         [POSIX] (_POSIX2_PBS_MESSAGE): Likewise.
4896         [POSIX] (_POSIX2_PBS_TRACK): Likewise.
4897         [POSIX] (_POSIX_TIMESTAMP_RESOLUTION): Likewise.
4898         [POSIX] (_CS_XBS5_ILP32_OFF32_CFLAGS): Likewise.
4899         [POSIX] (_CS_XBS5_ILP32_OFF32_LDFLAGS): Likewise.
4900         [POSIX] (_CS_XBS5_ILP32_OFF32_LIBS): Likewise.
4901         [POSIX] (_CS_XBS5_ILP32_OFF32_LINTFLAGS): Likewise.
4902         [POSIX] (_CS_XBS5_ILP32_OFFBIG_CFLAGS): Likewise.
4903         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LDFLAGS): Likewise.
4904         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LIBS): Likewise.
4905         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LINTFLAGS): Likewise.
4906         [POSIX] (_CS_XBS5_LP64_OFF64_CFLAGS): Likewise.
4907         [POSIX] (_CS_XBS5_LP64_OFF64_LDFLAGS): Likewise.
4908         [POSIX] (_CS_XBS5_LP64_OFF64_LIBS): Likewise.
4909         [POSIX] (_CS_XBS5_LP64_OFF64_LINTFLAGS): Likewise.
4910         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_CFLAGS): Likewise.
4911         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LDFLAGS): Likewise.
4912         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LIBS): Likewise.
4913         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LINTFLAGS): Likewise.
4914         [POSIX] (_SC_2_C_BIND): Likewise.
4915         [POSIX] (_SC_2_C_VERSION): Likewise.
4916         [POSIX] (_SC_2_PBS): Likewise.
4917         [POSIX] (_SC_2_PBS_ACCOUNTING): Likewise.
4918         [POSIX] (_SC_2_PBS_CHECKPOINT): Likewise.
4919         [POSIX] (_SC_2_PBS_LOCATE): Likewise.
4920         [POSIX] (_SC_2_PBS_MESSAGE): Likewise.
4921         [POSIX] (_SC_2_PBS_TRACK): Likewise.
4922         [POSIX] (_SC_ATEXIT_MAX): Likewise.
4923         [POSIX] (_SC_BARRIERS): Likewise.
4924         [POSIX] (_SC_BASE): Likewise.
4925         [POSIX] (_SC_CLOCK_SELECTION): Likewise.
4926         [POSIX] (_SC_DEVICE_IO): Likewise.
4927         [POSIX] (_SC_DEVICE_SPECIFIC): Likewise.
4928         [POSIX] (_SC_DEVICE_SPECIFIC_R): Likewise.
4929         [POSIX] (_SC_FD_MGMT): Likewise.
4930         [POSIX] (_SC_FIFO): Likewise.
4931         [POSIX] (_SC_FILE_ATTRIBUTES): Likewise.
4932         [POSIX] (_SC_FILE_LOCKING): Likewise.
4933         [POSIX] (_SC_FILE_SYSTEM): Likewise.
4934         [POSIX] (_SC_IOV_MAX): Likewise.
4935         [POSIX] (_SC_MONOTONIC_CLOCK): Likewise.
4936         [POSIX] (_SC_NETWORKING): Likewise.
4937         [POSIX] (_SC_PAGE_SIZE): Likewise.
4938         [POSIX] (_SC_PASS_MAX): Likewise.
4939         [POSIX] (_SC_PIPE): Likewise.
4940         [POSIX] (_SC_READER_WRITER_LOCKS): Likewise.
4941         [POSIX] (_SC_REGEXP): Likewise.
4942         [POSIX] (_SC_SHELL): Likewise.
4943         [POSIX] (_SC_SIGNALS): Likewise.
4944         [POSIX] (_SC_SINGLE_PROCESS): Likewise.
4945         [POSIX] (_SC_SPIN_LOCKS): Likewise.
4946         [POSIX] (_SC_TYPED_MEMORY_OBJECTS): Likewise.
4947         [POSIX] (_SC_USER_GROUPS): Likewise.
4948         [POSIX] (_SC_USER_GROUPS_R): Likewise.
4949         [POSIX] (_SC_STREAMS): Likewise.
4950         [POSIX] (_SC_XBS5_ILP32_OFF32): Likewise.
4951         [POSIX] (_SC_XBS5_ILP32_OFFBIG): Likewise.
4952         [POSIX] (_SC_XBS5_LP64_OFF64): Likewise.
4953         [POSIX] (_SC_XBS5_LPBIG_OFFBIG): Likewise.
4954         [POSIX] (_SC_THREAD_ROBUST_PRIO_INHERIT): Likewise.
4955         [POSIX] (_SC_THREAD_ROBUST_PRIO_PROTECT): Likewise.
4956         [POSIX] (_PC_FILESIZEBITS): Likewise.
4957         [POSIX] (_PC_REC_INCR_XFER_SIZE): Likewise.
4958         [POSIX] (_PC_REC_MAX_XFER_SIZE): Likewise.
4959         [POSIX] (_PC_REC_MIN_XFER_SIZE): Likewise.
4960         [POSIX] (_PC_REC_XFER_ALIGN): Likewise.
4961         [POSIX] (uid_t): Likewise.
4962         [POSIX] (gid_t): Likewise.
4963         [POSIX] (off_t): Likewise.
4964         [POSIX] (pid_t): Likewise.
4965         [POSIX] (cuserid): Allow.
4966         (_SC_2_CHAR_TERM): Require constant.
4967         (_POSIX_ASYNCHRONOUS_IO): Remove duplicate optional-constant.
4968         * conform/Makefile (test-xfail-POSIX/unistd.h/conform): New
4969         variable.
4971 2015-05-20  Roland McGrath  <roland@hack.frob.com>
4973         * sysdeps/nacl/pthread-pids.h: New file.
4974         * sysdeps/nacl/createthread.c: Include <pthread-pids.h>.
4975         (create_thread): Use __nacl_get_tid to initialize PD->tid.
4977         * nptl/pthread-pids.h: New file.
4978         * sysdeps/unix/sysv/linux/pthread-pids.h: New file.
4979         * nptl/nptl-init.c: Include <pthread-pids.h>.
4980         (__pthread_initialize_minimal_internal):
4981         Call __pthread_initialize_pids instead of set_tid_address syscall.
4983         * sysdeps/unix/sysv/linux/usleep.c: Moved to ...
4984         * sysdeps/posix/usleep.c: ... here.
4986 2015-05-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4988         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = misc)]: Remove
4989         call_pselect6 object.
4990         [$(subdir) = io]: Remove call_sync_file_range object.
4991         * sysdeps/unix/sysv/linux/i386/call_pselect6.S: Remove file.
4992         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Remove file.
4993         * sysdeps/unix/sysv/linux/i386/pselect.c: Remove file.
4994         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: Remove file.
4996 2015-05-20  Wilco Dijkstra  <wdijkstr@arm.com>
4998         * math/s_cproj.c: Add include "math_private.h".
4999         * math/s_cprojf.c: Likewise.
5000         * math/s_cprojl.c: Likewise.
5002 2015-05-19  Joseph Myers  <joseph@codesourcery.com>
5004         [BZ #18244]
5005         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Ignore explicit
5006         high mantissa bit when testing whether P is a NaN.
5007         * math/libm-test.inc (remainder_test_data): Add more tests.
5008         (remquo_test_data): Likewise.
5010         [BZ #18049]
5011         * sysdeps/i386/fpu/e_atanhl.S (__ieee754_atanhl): For exponents
5012         below -32, return the argument, with underflow if subnormal.
5013         * math/auto-libm-test-in: Add more tests of atanh.
5014         * math/auto-libm-test-out: Regenerated.
5016 2015-05-19  Roland McGrath  <roland@hack.frob.com>
5018         [BZ #18434]
5019         * nptl/tst-sem15.c: New file.
5020         * nptl/Makefile (tests): Add it.
5021         * nptl/sem_post.c (__new_sem_post) [!__HAVE_64B_ATOMICS]:
5022         s/<</>>/ to fix typo in EOVERFLOW check.
5023         * sysdeps/sparc/sparc32/sem_post.c (__new_sem_post): Likewise.
5025 2015-05-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
5027         * manual/strings.texi (envz_remove): Fix typo in safety
5028         annotations.
5030 2015-05-19  Paul Eggert  <eggert@cs.ucla.edu>
5031             Steve Ellcey  <sellcey@imgtec.com>
5033         * inet/rcmd.c (rresvport_af): Change ss to anonymous union
5034         in order to avoid strict alias warnings.
5035         (iruserok_af): Ditto for ra.
5037 2015-05-19  James Lemke  <jwlemke@codesourcery.com>
5039         [BZ #17581]
5040         * malloc/hooks.c
5041         (magicbyte): Convert to a function and avoid returning 0x01.
5042         (mem2mem_check): Avoid using a length byte equal to the magic byte.
5043         (mem2chunk_check): Fix unsigned comparisons to zero.
5044         Hoist defs of sz and magic.
5046 2015-05-19  Richard Henderson  <rth@redhat.com>
5048         * soft-fp/op-common.h (_FP_FROM_INT): Don't write to R.
5050         * sysdeps/alpha/fpu/libm-test-ulps: Update.
5052 2015-05-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
5054         [BZ #16159]
5055         * malloc/Makefile (tests): New test case tst-malloc-backtrace.
5056         * malloc/arena.c (arena_lock): Check if arena is corrupt.
5057         (reused_arena): Find a non-corrupt arena.
5058         (heap_trim): Pass arena to unlink.
5059         * malloc/hooks.c (malloc_check_get_size): Pass arena to
5060         malloc_printerr.
5061         (top_check): Likewise.
5062         (free_check): Likewise.
5063         (realloc_check): Likewise.
5064         * malloc/malloc.c (malloc_printerr): Add arena argument.
5065         (unlink): Likewise.
5066         (munmap_chunk): Adjust.
5067         (ARENA_CORRUPTION_BIT): New macro.
5068         (arena_is_corrupt): Likewise.
5069         (set_arena_corrupt): Likewise.
5070         (sysmalloc): Use mmap if there are no usable arenas.
5071         (_int_malloc): Likewise.
5072         (__libc_malloc): Don't fail if arena_get returns NULL.
5073         (_mid_memalign): Likewise.
5074         (__libc_calloc): Likewise.
5075         (__libc_realloc): Adjust for additional argument to
5076         malloc_printerr.
5077         (_int_free): Likewise.
5078         (malloc_consolidate): Likewise.
5079         (_int_realloc): Likewise.
5080         (_int_memalign): Don't touch corrupt arenas.
5081         * malloc/tst-malloc-backtrace.c: New test case.
5083         * Makefile (summarize-tests): Fix return value on success.
5085         * manual/string.texi (Envz Functions): Add envz_remove.
5087 2015-05-18  Roland McGrath  <roland@hack.frob.com>
5089         * sysdeps/posix/opendir.c: Include <stdbool.h>.
5090         (invalid_name): New function, broken out of ...
5091         (__opendirat): ... here.  Call it.
5092         (need_isdir_precheck): New function, broken out of ...
5093         (__opendirat): ... here.  Call it.
5094         Use __fxstatat64, not __xstatat64.
5095         (opendir_oflags): New function, broken out of ...
5096         (__opendirat): ... here.  Call it.
5097         (opendir_tail): New function, broken out of ...
5098         (__opendirat): ... here.  Call it.
5099         (__opendir): Call invalid_name, need_isdir_precheck, __xstat64, and
5100         opendir_tail, rather than punting to __opendirat.
5101         (__opendirat): Conditionalize function definition on [IS_IN (libc)].
5103 2015-05-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
5105         * .gitignore: Ignore generated *.pyc.
5107 2015-05-18  Arjun Shankar  <arjun.is@lostca.se>
5109         * include/stdio.h: Define __need_wint_t.
5110         * test-skeleton.c: Avoid `for' loop initial declaration.
5111         * nptl/tst-initializers1.c: Use test-skeleton.c.
5113 2015-05-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5115         [BZ #18418]
5116         * stdlib/tst-setcontext3.sh: Remove non-portable array use.
5118 2015-05-15  Joseph Myers  <joseph@codesourcery.com>
5120         [BZ #16352]
5121         * sysdeps/i386/fpu/e_atanh.S (dbl_min): New object.
5122         (__ieee754_atanh): Force underflow exception for results with
5123         small absolute value.
5124         * sysdeps/i386/fpu/e_atanhf.S (flt_min): New object.
5125         (__ieee754_atanhf): Force underflow exception for results with
5126         small absolute value.
5127         * sysdeps/ieee754/dbl-64/e_atanh.c: Include <float.h>.
5128         (__ieee754_atanh): Force underflow exception for results with
5129         small absolute value.
5130         * sysdeps/ieee754/flt-32/e_atanhf.c: Include <float.h>.
5131         (__ieee754_atanhf): Force underflow exception for results with
5132         small absolute value.
5133         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Include <float.h>.
5134         (__ieee754_atanhl): Force underflow exception for results with
5135         small absolute value.
5136         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Include <float.h>.
5137         (__ieee754_atanhl): Force underflow exception for results with
5138         small absolute value.
5139         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Include <float.h>.
5140         (__ieee754_atanhl): Force underflow exception for results with
5141         small absolute value.
5142         * math/auto-libm-test-in: Do not allow missing underflow
5143         exceptions from atanh.
5144         * math/auto-libm-test-out: Regenerated.
5146         [BZ #18221]
5147         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use 2**-13 not
5148         2**-28 as threshold for returning x or +/- 1/x.
5149         * math/auto-libm-test-in: Add more tests of tan.
5150         * math/auto-libm-test-out: Regenerated.
5152         [BZ #18220]
5153         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
5154         2**26 not 2**58 as threshold for returning x * (log (x) - 1).
5155         * math/auto-libm-test-in: Add another test of lgamma.
5156         * math/auto-libm-test-out: Regenerated.
5158 2015-05-15  Wilco Dijkstra  <wdijkstr@arm.com>
5160         * stdio-common/printf_fp.c (___printf_fp): Use abs.
5161         * stdlib/gmp-impl.h (ABS): Remove define.  (ABSIZ): Remove.
5162         * sysdeps/ieee754/dbl-64/branred.c (__branred): Use fabs.
5163         * sysdeps/ieee754/dbl-64/dla.h (EADD): Use fabs.
5164         (ESUB): Use fabs.  (ADD2): Use fabs.  (SUB2): Use fabs.
5165         (ADD2A): Use fabs.  (SUB2A): Use fabs.
5166         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use fabs.
5167         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Use fabs.
5168         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use fabs.
5169         (log1): Use fabs.  (my_log2): Use fabs.
5170         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): Use fabs.
5171         * sysdeps/ieee754/dbl-64/mpa.h (ABS): Remove define.
5172         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use fabs.
5173         * sysdeps/ieee754/dbl-64/mydefs.h (ABS): Remove define.
5174         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use fabs.
5175         (__cos): Use fabs.  (slow): Use fabs.  (slow2): Use fabs.
5176         (sloww): Use fabs.  (sloww1): Use fabs.  (sloww2): Use fabs.
5177         (bslow1): Use fabs.  (bslow2): Use fabs.  (cslow2): Use fabs.
5178         (csloww): Use fabs.  (csloww1): Use fabs.  (csloww2): Use fabs.
5179         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Use fabs.
5180         * sysdeps/x86_64/fpu/multiarch/e_log.c: add math.h include.
5182 2015-05-15  Joseph Myers  <joseph@codesourcery.com>
5184         [BZ #18217]
5185         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Use 2**-26 not 2**-56
5186         as threshold for returning 1 - x.
5187         * math/auto-libm-test-in: Add more tests of erfc.
5188         * math/auto-libm-test-out: Regenerated.
5190 2015-05-14  Joseph Myers  <joseph@codesourcery.com>
5192         [BZ #18196]
5193         * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Use 2^25 not 2^34 as
5194         threshold for large arguments.
5195         * math/auto-libm-test-in: Add another test of atan.
5196         * math/auto-libm-test-out: Regenerated.
5198         [BZ #16339]
5199         * sysdeps/i386/fpu/s_log1p.S (dbl_min): New object.
5200         (__log1p): Force underflow exception for results with small
5201         absolute value.
5202         * sysdeps/i386/fpu/s_log1pf.S (flt_min): New object.
5203         (__log1pf): Force underflow exception for results with small
5204         absolute value.
5205         * sysdeps/ieee754/dbl-64/s_log1p.c: Include <float.h>.
5206         (__log1p): Force underflow exception for results with small
5207         absolute value.
5208         * sysdeps/ieee754/flt-32/s_log1pf.c: Include <float.h>.
5209         (__log1pf): Force underflow exception for results with small
5210         absolute value.
5211         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Include <float.h>.
5212         (__log1pl): Force underflow exception for results with small
5213         absolute value.
5214         * math/auto-libm-test-in: Do not allow missing underflow
5215         exceptions from log1p.
5216         * math/auto-libm-test-out: Regenerated.
5218 2015-05-14  Jakub Bogusz  <qboosh@pld-linux.org>
5219             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5221         [BZ #16704]
5222         * sysdeps/unix/make-syscalls.sh: Remove non-portable echo usage.
5224 2015-05-14  Andrew Senkevich  <andrew.senkevich@intel.com>
5226         * Makeconfig (rpath-dirs, all-subdirs): Added mathvec folder.
5227         (libmvec): New variable.
5228         * configure.ac: Added option for mathvec build.
5229         * configure: Regenerated.
5230         * mathvec/Depend: New file.
5231         * mathvec/Makefile: New file.
5232         * shlib-versions: Added libmvec.
5233         * math/Makefile: Added rule for libm.so installation.
5235         * bits/math-vector.h: New file.
5236         * bits/libm-simd-decl-stubs.h: New header.
5237         * math/Makefile (headers): Added new header
5238         libm-simd-decl-stubs.h.
5239         * math/math.h (__MATHCALL_VEC): New macro.
5241         * math/gen-libm-have-vector-test.sh: Script generates series of macros
5242         for conditions in testing functions.
5243         * math/Makefile: Added call of libm-have-vector-test.sh.
5244         * math/libm-test.inc (HAVE_VECTOR): New macros.
5246         * math/libm-test.inc: START refactored.
5247         * math/test-double.c (TEST_MATHVEC): Add define.
5248         * math/test-float.c: Likewise.
5249         * math/test-idouble.c: Likewise.
5250         * math/test-ifloat.c: Likewise.
5251         * math/test-ildoubl.c: Likewise.
5252         * math/test-ldouble.c: Likewise.
5253         * sysdeps/generic/math-tests-arch.h
5254         (INIT_ARCH_EXT, CHECK_ARCH_EXT): New helper macros for runtime
5255         architecture check.
5257         * math/test-double.c (FUNC_TEST): New macro.
5258         * math/test-float.c: Likewise.
5259         * math/test-idouble.c: Likewise.
5260         * math/test-ifloat.c: Likewise.
5261         * math/test-ildoubl.c: Likewise.
5262         * math/test-ldouble.c: Likewise.
5263         * math/libm-test.inc: Use FUNC_TEST for name of tested functions.
5265 2015-05-13  Roland McGrath  <roland@hack.frob.com>
5267         * sysdeps/nacl/fdopendir.c: New file.
5269         * dirent/scandir-tail.c: New file.
5270         * dirent/scandir64-tail.c: New file.
5271         * dirent/Makefile (routines): Add them.
5272         (CFLAGS-scandir-tail.c, CFLAGS-scandir64-tail.c): New variables.
5273         * include/dirent.h (__scandir_tail, __scandir64_tail): Declare them.
5274         * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Macro removed.
5275         [!SCANDIR] (SCANDIR_TAIL): New macro.
5276         (SCANDIR): Call __opendir and __scandir_tail, not __scandirat.
5277         * dirent/scandir64.c [!_DIRENT_MATCHES_DIRENT64]
5278         (SCANDIRAT): Macro removed.
5279         (SCANDIR_TAIL): New macro.
5280         * dirent/scandirat.c [!SCANDIRAT] (READDIR): Macro removed.
5281         [!SCANDIRAT] (SCANDIR_TAIL): New macro.
5282         (SCANDIRAT): Just call __opendirat and __scandir_tail.
5283         * dirent/scandirat64.c [!_DIRENT_MATCHES_DIRENT64]
5284         (READDIR): Macro removed.
5285         (SCANDIR_TAIL): New macro.
5286         * sysdeps/unix/sysv/linux/i386/scandir64.c (READDIR): Macro removed.
5287         (SCANDIR_TAIL): New macro.
5289         * dirent/scandirat.c (__scandir_cancel_handler): Function moved ...
5290         * dirent/scandir-cancel.c: ... to this new file.
5291         * dirent/Makefile (routines): Add it.
5292         * dirent/scandirat64.c (SKIP_SCANDIR_CANCEL): Macro removed.
5293         * sysdeps/unix/sysv/linux/i386/scandir64.c
5294         (SKIP_SCANDIR_CANCEL): Macro removed.
5295         * include/dirent.h (__scandir_cancel_handler): Add attribute_hidden.
5297         * dirent/tst-scandir.c: New file.
5298         * dirent/tst-scandir64.c: New file.
5299         * dirent/Makefile (tests): Add them.
5301 2015-05-13  H.J. Lu  <hongjiu.lu@intel.com>
5303         [BZ #18409]
5304         * sysdeps/unix/make-syscalls.sh: Remove a trailing `\'.
5306 2015-05-13  Szabolcs Nagy  <szabolcs.nagy@arm.com>
5308         * sysdeps/aarch64/tls-macros.h (TLS_GD): Add "cc" to the clobber
5309         list.
5311 2015-05-13  Leonhard Holz  <leonhard.holz@web.de>
5313         * benchtests/bench-strcoll.c: New benchmark.
5314         * benchtests/Makefile: Generate locales and run benchmark.
5315         * benchtests/strcoll-inputs/filelist#C: New benchmark input file.
5316         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Likewise.
5317         * benchtests/strcoll-inputs/lorem_ipsum#ar_SA.UTF-8: Likewise.
5318         * benchtests/strcoll-inputs/lorem_ipsum#cs_CZ.UTF-8: Likewise.
5319         * benchtests/strcoll-inputs/lorem_ipsum#da_DK.UTF-8: Likewise.
5320         * benchtests/strcoll-inputs/lorem_ipsum#el_GR.UTF-8: Likewise.
5321         * benchtests/strcoll-inputs/lorem_ipsum#en_GB.UTF-8: Likewise.
5322         * benchtests/strcoll-inputs/lorem_ipsum#en_US.UTF-8: Likewise.
5323         * benchtests/strcoll-inputs/lorem_ipsum#es_ES.UTF-8: Likewise.
5324         * benchtests/strcoll-inputs/lorem_ipsum#fr_FR.UTF-8: Likewise.
5325         * benchtests/strcoll-inputs/lorem_ipsum#hi_IN.UTF-8: Likewise.
5326         * benchtests/strcoll-inputs/lorem_ipsum#hu_HU.UTF-8: Likewise.
5327         * benchtests/strcoll-inputs/lorem_ipsum#is_IS.UTF-8: Likewise.
5328         * benchtests/strcoll-inputs/lorem_ipsum#it_IT.UTF-8: Likewise.
5329         * benchtests/strcoll-inputs/lorem_ipsum#iw_IL.UTF-8: Likewise.
5330         * benchtests/strcoll-inputs/lorem_ipsum#ja_JP.UTF-8: Likewise.
5331         * benchtests/strcoll-inputs/lorem_ipsum#pl_PL.UTF-8: Likewise.
5332         * benchtests/strcoll-inputs/lorem_ipsum#pt_PT.UTF-8: Likewise.
5333         * benchtests/strcoll-inputs/lorem_ipsum#ru_RU.UTF-8: Likewise.
5334         * benchtests/strcoll-inputs/lorem_ipsum#sr_RS.UTF-8: Likewise.
5335         * benchtests/strcoll-inputs/lorem_ipsum#sv_SE.UTF-8: Likewise.
5336         * benchtests/strcoll-inputs/lorem_ipsum#tr_TR.UTF-8: Likewise.
5337         * benchtests/strcoll-inputs/lorem_ipsum#vi_VN.UTF-8: Likewise.
5338         * benchtests/strcoll-inputs/lorem_ipsum#zh_CN.UTF-8: Likewise.
5340 2015-05-12  Ondřej Bílka  <neleai@seznam.cz>
5342         * sysdeps/x86_64/multiarch/strcspn.S: Remove plt indirection.
5343         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
5345 2015-05-12  Roland McGrath  <roland@hack.frob.com>
5347         * posix/uname-values.h: New file.
5348         * posix/uname.c: Include that instead of <config-name.h>.
5349         * sysdeps/nacl/uname-values.h: New file.
5350         * sysdeps/arm/nacl/uname-values.h: New file.
5352 2015-05-12  Joseph Myers  <joseph@codesourcery.com>
5354         * conform/linknamespace.pl (list_syms): Remove \[.*?\] before
5355         splitting into fields.
5357 2015-05-12  Leonhard Holz  <leonhard.holz@web.de>
5359         * locale/categories.def: Define _NL_COLLATE_ENCODING_TYPE.
5360         * locale/langinfo.h: Add _NL_COLLATE_ENCODING_TYPE to attribute list.
5361         * locale/localeinfo.h: Add enum collation_encoding_type.
5362         * locale/C-collate.c: Set _NL_COLLATE_ENCODING_TYPE to 8bit.
5363         * programs/ld-collate.c (collate_output): Add encoding type info.
5364         * string/strcoll_l.c (STRDIFF): New function.
5365         * (STRCOLL): Use STRDIFF to skip over equal prefix.
5366         * wcsmbs/wcscoll_l.c: Define STRDIFF.
5368 2015-05-11  Joseph Myers  <joseph@codesourcery.com>
5370         [BZ #18397]
5371         * sysdeps/mips/mips32/fpu/fpu_control.c: Move to ....
5372         * sysdeps/mips/mips32/fpu/fpucw-helpers.c: ... here.  Include
5373         <fpu_control.h> instead of <math/fpu_control.c>.
5374         * sysdeps/mips/mips32/fpu/Makefile: New file.
5376 2015-05-11  Andreas Schwab  <schwab@suse.de>
5378         [BZ #18007]
5379         * nis/nss_compat/compat-grp.c (internal_endgrent): Don't call
5380         nss_endgrent.
5381         (_nss_compat_endgrent): Call nss_endgrent.
5382         * nis/nss_compat/compat-pwd.c (internal_endpwent): Don't call
5383         nss_endpwent.
5384         (_nss_compat_endpwent): Call nss_endpwent.
5385         * nis/nss_compat/compat-spwd.c (internal_setspent): Add parameter
5386         needent, call nss_setspent only if non-zero.
5387         (_nss_compat_setspent, _nss_compat_getspent_r): Pass non-zero.
5388         (internal_endspent): Don't call nss_endspent.
5389         (_nss_compat_endspent): Call nss_endspent.
5390         * nss/nss_files/files-XXX.c (position, last_use, keep_stream):
5391         Remove.  All uses removed.
5392         (internal_setent): Remove parameter stayopen, add parameter
5393         stream.  Use it instead of global variable.
5394         (CONCAT(_nss_files_set,ENTNAME)): Pass global stream.
5395         (internal_endent, internal_getent): Add parameter stream.  Use it
5396         instead of global variable.
5397         (CONCAT(_nss_files_end,ENTNAME))
5398         (CONCAT(_nss_files_get,ENTNAME_r)): Pass global stream.
5399         (_nss_files_get##name##_r): Pass local stream.  Remove locking.
5400         * nss/nss_files/files-alias.c (position, last_use): Remove.  All
5401         uses removed.
5402         (internal_setent, internal_endent): Add parameter stream.  Use it
5403         instead of global variable.
5404         (_nss_files_setaliasent, _nss_files_endaliasent): Pass global
5405         stream.
5406         (get_next_alias): Add parameter stream.
5407         (_nss_files_getaliasent_r): Pass global stream.
5408         (_nss_files_getaliasbyname_r): Pass local stream.  Remove locking.
5409         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r)
5410         (_nss_files_gethostbyname4_r): Pass local stream to
5411         internal_setent, internal_getent and internal_endent.  Remove
5412         locking.
5414 2015-05-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
5416         * tst-strfmon1.c (tests): Update expected currency symbol.
5418 2015-05-08  Roland McGrath  <roland@hack.frob.com>
5420         * sysdeps/nacl/gethostname.c: New file.
5422 2015-05-08  Joseph Myers  <joseph@codesourcery.com>
5424         * math/auto-libm-test-in: Add more tests of csqrt, lgamma, log10
5425         and sinh.
5426         * math/auto-libm-test-out: Regenerated.
5427         * sysdeps/i386/fpu/libm-test-ulps: Update.
5428         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5430 2015-05-08  Carlos O'Donell  <carlos@redhat.com>
5432         [BZ #18125]
5433         * stdlib/tst-setcontext3.c: New file.
5434         * stdlib/tst-setcontext3.sh: New file.
5435         * stdlib/Makefile (tests): Add tst-setcontext3.
5436         (tst-setcontext3.out): Custom rule to run tst-setcontext3.sh
5437         to verify test program created output file.
5438         * sysdeps/unix/sysv/linux/aarch64/setcontext.S: Call exit.
5439         * sysdeps/unix/sysv/linux/arm/setcontext.S: Likewise.
5440         * sysdeps/unix/sysv/linux/hppa/setcontext.S: Likewise.
5441         * sysdeps/unix/sysv/linux/nios2/setcontext.S: Likewise.
5443 2015-05-06  Roland McGrath  <roland@hack.frob.com>
5445         [BZ #18383]
5446         * elf/tst-tlsalign.c: New file.
5447         * elf/tst-tlsalign-static.c: New file.
5448         * elf/tst-tlsalign-lib.c: New file.
5449         * elf/Makefile [$(build-shared) = yes] (tests): Add tst-tlsalign.
5450         (tests-static): Add tst-tlsalign-static.
5451         (modules-names): Add tst-tlsalign-lib.
5452         (test-xfail-tst-tlsalign): New variable.
5453         (test-xfail-tst-tlsalign-static): New variable.
5455         * sysdeps/nacl/nacl-test-wrapper.sh (NACL_LOADER):
5456         Use elf_loader_${arch}.nexe rather than loader_${arch}.nexe.
5458 2015-05-06  Joseph Myers  <joseph@codesourcery.com>
5460         * math/auto-libm-test-in: Add more tests of acosh, atanh, cos,
5461         csqrt, erfc, sin and sincos.
5462         * math/auto-libm-test-out: Regenerated.
5463         * sysdeps/i386/fpu/libm-test-ulps: Update.
5464         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5466 2015-05-06  Szabolcs Nagy  <szabolcs.nagy@arm.com>
5468         * sysdeps/aarch64/libm-test-ulps: Update.
5470 2015-05-05  Joseph Myers  <joseph@codesourcery.com>
5472         * math/auto-libm-test-in: Add more tests of acosh, atanh, clog,
5473         clog10, csqrt, erfc, exp2, expm1, log10, log2 and sinh.
5474         * math/auto-libm-test-out: Regenerated.
5475         * sysdeps/i386/fpu/libm-test-ulps: Update.
5476         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5478 2015-04-30  Daniel Marjamäki  <daniel.marjamaki@evidente.se>
5480         [BZ #18265]
5481         * wcsmbs/wchar.h (wcscpy): Add __nonnull attribute.
5482         (wcsncpy): Likewise.
5484 2015-05-05  Florian Weimer  <fweimer@redhat.com>
5486         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
5487         Assume __ASSUME_FALLOCATE is always true.
5488         * sysdeps/unix/sysv/linux/posix_fallocate64.c
5489         (__posix_fallocate64_l64): Likweise.
5490         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate.c
5491         (posix_fallocate): Likewise.
5492         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate64.c
5493         (__posix_fallocate64_l64): Likewise.
5494         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
5495         [!__ASSUME_FALLOCATE]: Add comment.
5497 2015-05-05  Florian Weimer  <fweimer@redhat.com>
5499         * sysdeps/unix/sysv/linux/i386/Makefile
5500         (sysdep_routines) [$(subdir) = misc]: Remove call_fallocate.
5501         (sysdep_routines) [$(subdir) = io]: Add libc-do-syscall.
5502         * sysdeps/unix/sysv/linux/i386/call_fallocate.S: Remove.
5503         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
5504         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
5505         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c: Likewise.
5506         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c: Likewise.
5508 2015-05-02  Joseph Myers  <joseph@codesourcery.com>
5510         * math/auto-libm-test-in: Add more tests of atan, clog, clog10,
5511         cos, csqrt, erf, erfc, exp2, lgamma, log1p, sin, sincos, tanh and
5512         tgamma.
5513         * math/auto-libm-test-out: Regenerated.
5514         * sysdeps/i386/fpu/libm-test-ulps: Update.
5515         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5517 2015-05-01  Joseph Myers  <joseph@codesourcery.com>
5519         * math/auto-libm-test-in: Add more tests of tgamma.
5520         * math/auto-libm-test-out: Regenerated.
5521         * sysdeps/i386/fpu/libm-test-ulps: Update.
5522         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5524         * math/auto-libm-test-in: Add more tests of tanh.
5525         * math/auto-libm-test-out: Regenerated.
5526         * sysdeps/i386/fpu/libm-test-ulps: Update.
5527         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5529         * math/auto-libm-test-in: Add more tests of tan.
5530         * math/auto-libm-test-out: Regenerated.
5531         * sysdeps/i386/fpu/libm-test-ulps: Update.
5532         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5534         * math/auto-libm-test-in: Add more tests of cos, sin and sincos.
5535         * math/auto-libm-test-out: Regenerated.
5536         * sysdeps/i386/fpu/libm-test-ulps: Update.
5537         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5539         * math/auto-libm-test-in: Add another test of pow.
5540         * math/auto-libm-test-out: Regenerated.
5541         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5543         * math/auto-libm-test-in: Add more tests of lgamma.
5544         * math/auto-libm-test-out: Regenerated.
5545         * sysdeps/i386/fpu/libm-test-ulps: Update.
5546         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5548         * math/auto-libm-test-in: Add more tests of log, log10, log2 and
5549         log1p.
5550         * math/auto-libm-test-out: Regenerated.
5551         * sysdeps/i386/fpu/libm-test-ulps: Update.
5552         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5554 2015-05-01  Mark Wielaard  <mjw@redhat.com>
5556         * elf/elf.h: Add SHF_COMPRESSED section flag, Elf32_Chdr and
5557         Elf64_Chdr structs and ELFCOMPRESS constants.
5559 2015-05-01  Joseph Myers  <joseph@codesourcery.com>
5561         * math/auto-libm-test-in: Add more tests of exp, exp10, exp2 and
5562         expm1.
5563         * math/auto-libm-test-out: Regenerated.
5564         * sysdeps/i386/fpu/libm-test-ulps: Update.
5565         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5567         * math/auto-libm-test-in: Add more tests of erf and erfc.
5568         * math/auto-libm-test-out: Regenerated.
5569         * sysdeps/i386/fpu/libm-test-ulps: Update.
5570         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5572 2015-05-01  Szabolcs Nagy  <szabolcs.nagy@arm.com>
5574         * config.h.in (HAVE_AARCH64_BE): Add.
5576 2015-04-30  Joseph Myers  <joseph@codesourcery.com>
5578         * math/auto-libm-test-in: Add more tests of csqrt.
5579         * math/auto-libm-test-out: Regenerated.
5580         * sysdeps/i386/fpu/libm-test-ulps: Update.
5581         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5583         * math/auto-libm-test-in: Add more tests of cosh and sinh.
5584         * math/auto-libm-test-out: Regenerated.
5585         * sysdeps/i386/fpu/libm-test-ulps: Update.
5586         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5588         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: Remove file.
5590 2015-04-29  Roland McGrath  <roland@hack.frob.com>
5592         * sysdeps/nacl/bits/typesizes.h (__CLOCK_T_TYPE): Use __SLONGWORD_TYPE.
5593         * sysdeps/nacl/nacl-interfaces.h (nacl_abi_clock_t): Use clock_t.
5595         * sysdeps/nacl/euidaccess.c (euidaccess): Renamed to __euidaccess.
5596         (euidaccess, eaccess): Define as weak aliases.
5598         * sysdeps/nacl/bits/typesizes.h (__SUSECONDS_T_TYPE): Use
5599         __SLONGWORD_TYPE rather than __S32_TYPE.  They are the same size,
5600         but __suseconds_t is often 'long int' so some sources assume that
5601         type is being used (e.g. they use %ld to print tv_usec).
5603 2015-04-29  Florian Weimer  <fweimer@redhat.com>
5605         [BZ #18007]
5606         * nss/nss_files/files-XXX.c (CONCAT): Always enable stayopen.
5607         (CVE-2014-8121)
5608         * nss/tst-nss-getpwent.c: New file.
5609         * nss/Makefile (tests): Add new test.
5611 2015-04-28  Joseph Myers  <joseph@codesourcery.com>
5613         [BZ #18346]
5614         * sysdeps/ieee754/ldbl-128/s_roundl.c (__roundl): Handle all
5615         exponents less than 48 as cases where high part of mantissa needs
5616         examining to determine whether argument is integral.
5617         * math/libm-test.inc (round_test_data): Add more tests.
5619 2015-04-28  Mark Wielaard  <mjw@redhat.com>
5621         * elf/elf.h (SHF_EXCLUDE): Use unsigned 1 for shift.
5623 2015-04-27  David S. Miller  <davem@davemloft.net>
5625         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Remove
5626         __tls_get_addr.
5627         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
5629 2015-04-27  H.J. Lu  <hongjiu.lu@intel.com>
5631         [BZ#18333]
5632         * time/tzset.c (__tzfile_read): Check tzspec_len == 0.
5634 2015-04-27  Florian Weimer  <fweimer@redhat.com>
5636         [BZ#18333]
5637         * time/tzset.c (parse_tzname): Return error on memory allocation
5638         failure.
5639         * test-skeleton.c (struct temp_name_list): Change type of name
5640         member to non-const.
5641         (add_temp_file): Create a copy of the file name.
5642         (delete_temp_files): Deallocate memory.
5643         (create_temp_file): Add comment.
5645 2015-04-24  Florian Weimer  <fweimer@redhat.com>
5647         * io/posix_fallocate.c (posix_fallocate): Do not set errno.
5648         * io/posix_fallocate64.c (posix_fallocate64): Likewise.
5650 2015-04-24  Roland McGrath  <roland@hack.frob.com>
5652         * sysdeps/arm/configure.ac (PI_STATIC_AND_HIDDEN): Define it.
5653         * sysdeps/arm/configure: Regenerated.
5655 2015-04-24  Florian Weimer  <fweimer@redhat.com>
5657         [BZ #17715]
5658         * time/tzfile.c (__tzfile_read): Check for large values of
5659         tzh_ttisstdcnt and tzh_ttisgmtcnt.  Use malloc instead of alloca.
5660         * time/tzset.c (__tzstring_len): New function, based on the old
5661         __tzstring function.
5662         (__tzstring): Call __tzstring_len.
5663         (parse_tzname): New helper function extracted from
5664         __tzset_parse_tz.  Call __tzstring_len, without making a copy of
5665         the input string.
5666         (parse_offset): New helper function extracted from
5667         __tzset_parse_tz.  Replace switch with fallthrough with
5668         initialization before sscanf.
5669         (parse_rule): Likewise.
5670         (__tzset_parse_tz): Rewrite using the new helper functions.  Use
5671         new-style function definition.
5672         * timezone/Makefile (tests): Add tst-tzset.
5673         (tst-tzset.out): Dependencies on time zone files.
5674         (tst-tzset-ENV): Set TZDIR.
5675         (testdata/XT%): Copy crafted time zone files.
5676         * timezone/README: Mention crafted time zone files.
5677         * timezone/testdata/XT1, timezone/testdata/XT2,
5678         timezone/testdata/XT3, timezone/testdata/XT4: New time zone test
5679         files.
5680         * timezone/tst-tzset.c: New test.
5682 2015-04-24  Florian Weimer  <fweimer@redhat.com>
5684         * Makeconfig (+gccwarn): Remove -Winline.
5686 2015-04-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
5688         * sysdeps/s390/fpu/libm-test-upls: Regenerate.
5690 2015-04-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
5692         * NEWS: Mention sysconf() cache information support for s390.
5693         * sysdeps/unix/sysv/linux/s390/sysconf.c: New File.
5695 2015-04-22  Wilco Dijkstra  <wdijkstr@arm.com>
5697         * math/k_casinh.c (__kernel_casinh): Use __copysign.
5698         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c
5699         (__nearbyint): Likewise.
5700         * sysdeps/ieee754/ldbl-opt/nldbl-copysign.c
5701         (copysignl): Likewise.
5703 2015-04-21  Arjun Shankar  <arjun.is@lostca.se>
5705         [BZ #18287]
5706         * resolv/nss_dns/dns-host.c (getanswer_r): Adjust buffer length
5707         based on padding.  (CVE-2015-1781)
5709 2015-04-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5711         * nptl/pthread_cond_timedwait.c: Change include bits/libc-vdso.h to just
5712         libc-vdso.h.
5713         * sysdeps/powerpc/powerpc32/backtrace.c: Likewise.
5714         * sysdeps/powerpc/powerpc64/backtrace.c: Likewise.
5715         * sysdeps/unix/sysv/linux/aarch64/init-first.c: Likewise.
5716         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
5717         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
5718         * sysdeps/unix/sysv/linux/gettimeofday.c: Likewise.
5719         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Likewise.
5720         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
5721         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
5722         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Likewise.
5723         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
5724         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
5725         * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
5726         * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise.
5727         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
5728         * sysdeps/unix/sysv/linux/aarch64/bits/libc-vdso.h: Move to ...
5729         * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h: ... here.
5730         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Move to ...
5731         * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h: ... here.
5732         * sysdeps/unix/sysv/linux/s390/bits/libc-vdso.h: Move to ...
5733         * sysdeps/unix/sysv/linux/s390/libc-vdso.h: ... here.
5734         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Move to ...
5735         * sysdeps/unix/sysv/linux/tile/libc-vdso.h: ... here.
5737 2015-04-19  Paul Eggert  <eggert@cs.ucla.edu>
5739         * stdlib/setenv.c (__add_to_environ):
5740         Dump core quickly if setenv (..., NULL, ...) is called.
5741         This time, do it the right way, and pacify GCC with a pragma.
5743 2015-04-17  Roland McGrath  <roland@hack.frob.com>
5745         * elf/dl-close.c (_dl_close_worker) [DL_NNS == 1]: Just assert that
5746         IMAP->l_prev cannot be null, and #if out the code for the contrary
5747         case, avoiding 'assert (nsid != LM_ID_BASE)' making the compiler
5748         believe that NS (&_dl_ns[NSID]) could point outside the array.
5750         * elf/dl-open.c (_dl_open): Use __glibc_unlikely in invalid namespace
5751         check.  Reject NSID < 0 and NSID >= dl_nns, and check for DL_NNS==1,
5752         before using NSID as an index.
5754 2015-04-17  Il'ya Malakhov <ilmalakhov@yandex.ru>
5756         [BZ #17825]
5757         * sysdeps/sparc/sparc64/memchr.S: Fix signedness handling of length.
5758         * sysdeps/sparc/sparc64/memcmp.S: Likewise.
5759         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
5761 2015-04-17  Roland McGrath  <roland@hack.frob.com>
5763         Add preliminary port to Google Native Client on ARM.
5764         * abi-tags (.*-.*-nacl.*): New entry.
5765         * sysdeps/arm/nacl: New directory.
5766         * sysdeps/nacl: New directory.
5768 2015-04-16  David S. Miller  <davem@davemloft.net>
5770         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Make use of
5771         lowlevellock-futex.h
5773 2015-04-16  Chris Metcalf  <cmetcalf@ezchip.com>
5775         * sysdeps/tile/configure.ac: New file.
5776         * sysdeps/tile/configure: Regenerated.
5778 2015-04-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5780         * wcsmbs/wcschr.c [WCSCHR] (wcschr): Define as __wcschr.  Remove
5781         conditionals for weak_alias and libc_hidden_weak.
5782         * sysdeps/i386/i686/multiarch/wcschr-c.c [libc]: Undefine
5783         libc_hidden_weak and weak_alias.
5784         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c [libc]:
5785         Undefine libc_hidden_weak. Define libc_hidden_def for SHARED builds
5786         and weak_alias for static one.
5788 2015-04-15  David S. Miller  <davem@davemloft.net>
5790         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
5792 2015-04-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
5794         [BZ #18206]
5795         * wcsmbs/wcsncmp.c (wcsncmp): Compare as wchar_t, not wint_t.
5796           Use signed comparision instead of substraction to avoid
5797           overflow bug.
5798         * localedata/tests-mbwc/tst_wcsncmp.c (tst_wcsncmp):
5799           Take the sign of ret.
5800         * localedata/tests-mbwc/dat_wcsncmp.c (tst_wcsncmp_loc):
5801           Do not expect precise return values. Only the sign matters.
5802         * wcsmbs/Makefile (strop-tests): Add wcsncmp.
5803         * wcsmbs/test-wcsncmp.c: New File.
5804         * string/test-strncmp.c: Add wcsncmp support.
5806 2015-04-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
5808         [BZ #6792]
5809         * math/w_log1p.c: New file.
5810         * math/w_log1pf.c: Likewise.
5811         * math/w_log1pl.c: Likewise.
5812         * math/Makefile (libm-calls): Add w_log1p.
5813         * math/s_log1pl.c (log1pl): Remove weak_alias.
5814         * sysdeps/i386/fpu/s_log1p.S (log1p): Likewise.
5815         * sysdeps/i386/fpu/s_log1pf.S (log1pf): Likewise.
5816         * sysdeps/i386/fpu/s_log1pl.S (log1pl): Likewise.
5817         * sysdeps/x86_64/fpu/s_log1pl.S (log1pl): Likewise.
5818         * sysdeps/ieee754/dbl-64/s_log1p.c (log1p): Likewise.
5819         [NO_LONG_DOUBLE] (log1pl): Likewise.
5820         * sysdeps/ieee754/flt-32/s_log1pf.c (log1pf): Likewise.
5821         * sysdeps/ieee754/ldbl-128/s_log1pl.c (log1pl): Likewise.
5822         * sysdeps/ieee754/ldbl-64-128/s_log1pl.c
5823         (log1p): Remove long_double_symbol.
5824         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (log1pl): Likewise.
5825         * sysdeps/ieee754/ldbl-64-128/w_log1pl.c: New file.
5826         * sysdeps/ieee754/ldbl-128ibm/w_log1pl.c: Likewise.
5827         * sysdeps/m68k/m680x0/fpu/s_log1p.c: Define empty weak_alias to
5828         remove weak_alias for corresponding log1p function.
5829         * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Likewise.
5830         * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Likewise.
5831         * sysdeps/ia64/fpu/w_log1p.c: New file.
5832         * sysdeps/ia64/fpu/w_log1pf.c: Likewise.
5833         * sysdeps/ia64/fpu/w_log1pl.c: Likewise.
5834         * math/libm-test.inc (log1p_test_data): Add errno expectations.
5836 2015-04-10  Joseph Myers  <joseph@codesourcery.com>
5838         [BZ #18247]
5839         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Decrease minimum
5840         decimal exponent by 1.
5841         * stdlib/tst-strtod-round-data: Add more tests.
5842         * stdlib/tst-strtod-round.c (tests): Regenerated.
5844 2015-04-09  Joseph Myers  <joseph@codesourcery.com>
5846         * math/auto-libm-test-in: Add more tests of clog and clog10.
5847         * math/auto-libm-test-out: Regenerated.
5848         * sysdeps/i386/fpu/libm-test-ulps: Update.
5849         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5851 2015-04-09  Roland McGrath  <roland@hack.frob.com>
5853         * Makeconfig (module-cppflags): Exclude all .v.i files.
5854         (skip-module-cppflags): Variable removed.
5856         * configure.ac (libc_config_ok): Initialize before reading
5857         preconfigure scripts, not after.
5858         * configure: Regenerated.
5860         * test-skeleton.c (TIMEOUT): Move #define to top level.
5861         (main): Grok environment variable TEST_DIRECT.  If set, print
5862         test expectation details into that file and then behave as if
5863         given --direct.
5865 2015-04-09  Florian Weimer  <fweimer@redhat.com>
5867         * malloc/tst-scratch_buffer.c (do_test): Suppress truncation
5868         warning on 32-bit.
5870 2015-04-08  David S. Miller  <davem@davemloft.net>
5872         * sysdeps/sparc/fpu/libm-test-ulps: Update.
5874 2015-04-08  Joseph Myers  <joseph@codesourcery.com>
5876         * math/auto-libm-test-in: Add more tests of atanh.
5877         * math/auto-libm-test-out: Regenerated.
5878         * sysdeps/i386/fpu/libm-test-ulps: Update.
5879         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5881         * math/auto-libm-test-in: Add more tests of atan.
5882         * math/auto-libm-test-out: Regenerated.
5883         * sysdeps/i386/fpu/libm-test-ulps: Update.
5884         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5886 2015-04-08  Florian Weimer  <fweimer@redhat.com>
5888         * elf/pldd.c (main): Rewrite to use struct
5889         scratch_buffer instead of extend_alloca.
5890         * elf/pldd-xx.c (find_maps): Likewise.
5891         * grp/initgroups.c: Include <scratch_buffer.h> instead of
5892         <alloca.h>.
5893         * grp/compat-initgroups.c (compat_call): Rewrite to use struct
5894         scratch_buffer instead of extend_alloca.
5895         * nscd/initgrcache.c: Include <scratch_buffer.h>, now needed by
5896         grp/compat-initgroups.c.
5897         * nis/nss_compat/compat-initgroups.c (_nss_compat_initgroups_dyn):
5898         Rewrite to use struct scratch_buffer instead of extend_alloca.
5899         * inet/getnameinfo.c (nrl_domainname, getnameinfo): Likewise.
5900         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
5902 2015-04-08  Joseph Myers  <joseph@codesourcery.com>
5904         * math/auto-libm-test-in: Add more tests of cbrt.
5905         * math/auto-libm-test-out: Regenerated.
5906         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5908         * math/auto-libm-test-in: Add more tests of cabs.
5909         * math/auto-libm-test-out: Regenerated.
5910         * sysdeps/i386/fpu/libm-test-ulps: Update.
5911         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5913         [BZ #18210]
5914         [BZ #18211]
5915         * sysdeps/ieee754/dbl-64/e_atan2.c: Include <fenv.h>.
5916         (__ieee754_atan2): Set FE_TONEAREST mode for internal
5917         computations.
5918         * math/auto-libm-test-in: Add more tests of atan2, carg, clog and
5919         clog10.
5920         * math/auto-libm-test-out: Regenerated.
5921         * sysdeps/i386/fpu/libm-test-ulps: Update.
5922         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5924         [BZ #18197]
5925         * sysdeps/ieee754/dbl-64/s_atan.c: Include <fenv.h>.
5926         (atan): Set FE_TONEAREST mode for internal computations.
5927         * math/auto-libm-test-in: Add more tests of atan.
5928         * math/auto-libm-test-out: Regenerated.
5930 2015-04-07  James Cowgill  <james410@cowgill.org.uk>
5932         [BZ #17930]
5933         * sysdeps/unix/sysv/linux/mips/bits/shm.h (SHM_NORESERVE): Define.
5935 2015-04-07  Florian Weimer  <fweimer@redhat.com>
5937         * malloc/scratch_buffer_grow_preserve.c: Include <string.h>
5939 2015-04-07  Florian Weimer  <fweimer@redhat.com>
5941         * include/scratch_buffer.h: New file.
5942         * malloc/scratch_buffer_grow.c: Likewise.
5943         * malloc/scratch_buffer_grow_preserve.c: Likewise.
5944         * malloc/scratch_buffer_set_array_size.c: Likewise.
5945         * malloc/tst-scratch_buffer.c: Likewise.
5946         * malloc/Makefile (routines): Add scratch_buffer_grow.
5947         (tests): Add test case.
5948         * malloc/Versions (GLIBC_PRIVATE): Export
5949         __libc_scratch_buffer_grow, __libc_scratch_buffer_grow_preserve,
5950         __libc_scratch_buffer_set_array_size.
5952 2015-04-06  Richard Henderson  <rth@redhat.com>
5954         * sysdeps/unix/alpha/sysdep.h: Unconditionally include dl-sysdep.h.
5955         * sysdeps/alpha/fpu/libm-test-ulps: Update.
5957         * math/test-fenvinline.c (feenable_test): Cast fe_exc to
5958         unsigned int before printing.
5960 2015-04-03  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
5962         [BZ #17596]
5963         * wcsmbs/mbrtowc.c (__mbrtowc): Add check for n=0.
5964         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
5966 2015-04-02  Florian Weimer  <fweimer@redhat.com>
5968         * include/libc-internal.h (libc_max_align_t): Define.
5970 2015-04-02  Andreas Schwab  <schwab@suse.de>
5972         [BZ #16850]
5973         * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h: New file.
5975 2015-04-02  Mel Gorman  <mgorman@suse.de>
5977         [BZ #17195]
5978         * malloc/arena.c (free): Apply trim threshold to per-thread heaps
5979         as well as the main arena.
5981 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
5983         [BZ #18185]
5984         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo): Limit threads
5985         sharing L2 cache to 2 for Silvermont/Knights Landing.
5987 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
5989         [BZ #17711]
5990         * config.make.in (have-protected-data): New.
5991         * configure.ac: Check linker support for protected data symbol.
5992         * configure: Regenerated.
5993         * elf/Makefile (modules-names): Add tst-protected1moda and
5994         tst-protected1modb if $(have-protected-data) is yes.
5995         (tests): Add tst-protected1a and tst-protected1b if
5996         $(have-protected-data) is yes.
5997         ($(objpfx)tst-protected1a): New.
5998         ($(objpfx)tst-protected1b): Likewise.
5999         (tst-protected1modb.so-no-z-defs): Likewise.
6000         * elf/tst-protected1a.c: New file.
6001         * elf/tst-protected1b.c: Likewise.
6002         * elf/tst-protected1mod.h: Likewise.
6003         * elf/tst-protected1moda.c: Likewise.
6004         * elf/tst-protected1modb.c: Likewise.
6006 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
6008         [BZ #17711]
6009         * elf/dl-lookup.c (do_lookup_x): When UNDEF_MAP is NULL, which
6010         indicates it is called from do_lookup_x on relocation against
6011         protected data, skip the data definion in the executable from
6012         copy reloc.
6013         (_dl_lookup_symbol_x): Pass ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA,
6014         instead of ELF_RTYPE_CLASS_PLT, to do_lookup_x for
6015         EXTERN_PROTECTED_DATA relocation against STT_OBJECT symbol.
6016         * sysdeps/generic/ldsodefs.h * (ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA):
6017         New.  Defined to 4 if DL_EXTERN_PROTECTED_DATA is defined,
6018         otherwise to 0.
6019         * sysdeps/i386/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
6020         * sysdeps/i386/dl-machine.h (elf_machine_type_class): Set class
6021         to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_386_GLOB_DAT.
6022         * sysdeps/x86_64/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
6023         * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Set class
6024         to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_X86_64_GLOB_DAT.
6026 2015-03-28  Martin Galvan  <martin.galvan@tallertechnologies.com>
6028         * sysdeps/nptl/pthread.h: Remove duplicate definition of
6029         PTHREAD_ADAPTIVE_MUTEX_INITIALIZER_NP.
6031 2015-03-27  Martin Galvan  <martin.galvan@tallertechnologies.com>
6033         * sysdeps/i386/nptl/tls.h: Swap comments between THREAD_SETMEM and
6034         THREAD_SETMEM_NC.
6035         * sysdeps/x86_64/nptl/tls.h: Ditto.
6037 2015-03-27  Roland McGrath  <roland@hack.frob.com>
6039         * dlfcn/tststatic.c (main): Converted to ...
6040         (do_test): ... this.
6041         (TEST_FUNCTION): New macro.
6042         Include test-skeleton.c.
6044 2015-03-26  Alan Modra  <amodra@gmail.com>
6046         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_fixup_plt):
6047         Don't segfault if ifunc resolver returns a NULL.  Do set plt to
6048         zero for undefined weak.
6049         (elf_machine_plt_conflict): Similarly.
6051 2015-03-25  Joseph Myers  <joseph@codesourcery.com>
6053         * math/auto-libm-test-in: Add more tests of acosh, asinh and
6054         atanh.
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         * math/auto-libm-test-in: Add another test of asin.
6060         * math/auto-libm-test-out: Regenerated.
6061         * sysdeps/i386/fpu/libm-test-ulps: Update.
6062         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6064         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (LLL_EBX_LOAD):
6065         Remove macro.
6066         (LLL_EBX_REG): Likewise.
6067         (LLL_ENTER_KERNEL): Likewise.
6069         * math/auto-libm-test-in: Add more tests of asin.
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         [BZ #18138]
6075         * sysdeps/unix/sysv/linux/i386/sysdep.h (struct
6076         libc_do_syscall_args): New structure.
6077         (INTERNAL_SYSCALL_MAIN_0): New macro.
6078         (INTERNAL_SYSCALL_MAIN_1): Likewise.
6079         (INTERNAL_SYSCALL_MAIN_2): Likewise.
6080         (INTERNAL_SYSCALL_MAIN_3): Likewise.
6081         (INTERNAL_SYSCALL_MAIN_4): Likewise.
6082         (INTERNAL_SYSCALL_MAIN_5): Likewise.
6083         (INTERNAL_SYSCALL_MAIN_6): Likewise.  Call __libc_do_syscall.
6084         (INTERNAL_SYSCALL): Define to use INTERNAL_SYSCALL_MAIN_##nr.
6085         Replace conditional definitions by conditional definitions of ....
6086         (INTERNAL_SYSCALL_MAIN_INLINE): ... this.  New macro.
6087         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: New file.
6088         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = nptl]
6089         (libpthread-sysdep_routines): Add libc-do-syscall.
6090         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: Remove file.
6091         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (SYS_futex): Define
6092         to __NR_futex not 240.
6094 2015-03-25  Alan Modra  <amodra@gmail.com>
6096         * NEWS: Advertise TLS optimization.
6097         * elf/elf.h (R_PPC_TLSGD, R_PPC_TLSLD, DT_PPC_OPT, PPC_OPT_TLS): Define.
6098         (DT_PPC_NUM): Increment.
6099         * elf/dynamic-link.h (HAVE_STATIC_TLS): Define.
6100         (CHECK_STATIC_TLS): Use here.
6101         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Optimize
6102         TLS descriptors.
6103         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
6104         * sysdeps/powerpc/dl-tls.c: New file.
6105         * sysdeps/powerpc/Versions: Add __tls_get_addr_opt.
6106         * sysdeps/powerpc/tst-tlsopt-powerpc.c: New tls test.
6107         * sysdeps/unix/sysv/linux/powerpc/Makefile: Add new test.
6108         Build tst-tlsmod2.so with --no-tls-get-addr-optimize.
6109         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Update.
6110         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
6111         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
6113 2015-03-25  Alan Modra  <amodra@gmail.com>
6115         * sysdeps/powerpc/powerpc64/configure.ac: Correct "linker support
6116         for overlapping .opd entries" to "support...".
6117         * sysdeps/powerpc/powerpc64/configure: Regenerate
6119 2015-03-25  Joseph Myers  <joseph@codesourcery.com>
6121         * math/auto-libm-test-in: Add more tests of acos.
6122         * math/auto-libm-test-out: Regenerated.
6123         * sysdeps/i386/fpu/libm-test-ulps: Update.
6124         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6126         * math/auto-libm-test-in: Add more tests of expm1.
6127         * math/auto-libm-test-out: Regenerated.
6128         * sysdeps/i386/fpu/libm-test-ulps: Update.
6129         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6131 2015-03-24  Joseph Myers  <joseph@codesourcery.com>
6133         * math/auto-libm-test-in: Add more tests of cosh and sinh.
6134         * math/auto-libm-test-out: Regenerated.
6135         * sysdeps/i386/fpu/libm-test-ulps: Update.
6136         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6138         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
6139         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6141         * math/auto-libm-test-in: Add more tests of log2.
6142         * math/auto-libm-test-out: Regenerated.
6143         * sysdeps/i386/fpu/libm-test-ulps: Update.
6144         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6146 2015-03-23  Roland McGrath  <roland@hack.frob.com>
6148         * libio/iofdopen.c: Move FD_FLAGS declaration into its first use,
6149         inside [F_GETFL].  Remove POSIX_MODE local variable, just test the
6150         _IO_IS_APPENDING bit in READ_WRITE instead.
6152 2015-03-23  Florian Weimer  <fweimer@redhat.com>
6154         * sysdeps/unix/sysv/linux/pthread_setaffinity.c
6155         (__determine_cpumask_size): Replace extend_alloca with a
6156         variable-length array.  Do not treat res == 0 as an error.
6158 2015-03-23  Florian Weimer  <fweimer@redhat.com>
6160         [BZ #18100]
6161         * posix/wordexp.c (eval_expr_multdiv): Check for division by zero
6162         and integer overflow.
6163         * posix/wordexp-test.c (test_case): Add divide-by-zero test.
6164         (main): Add integer overflow tests.
6165         * manual/pattern.texi (Calling Wordexp): Document additional use
6166         for WRDE_SYNTAX.
6168 2015-03-23  Alan Modra  <amodra@gmail.com>
6170         * config.h.in: Remove HAVE_ASM_PPC_REL16.
6171         * sysdeps/powerpc/powerpc32/tls-macros.h: Remove HAVE_ASM_PPC_REL16
6172         and false branch of conditional.
6173         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
6174         Likewise.
6176 2015-03-21  Samuel Thibault  <samuel.thibault@ens-lyon.org
6178         * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Depend on
6179         libc-modules.h
6180         * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler): Remove
6181         unused declaration of _hurd_intr_rpc_msg_in_trap.
6182         * mach/mach_init.c (__mach_init): Test whether HAVE_HOST_PAGE_SIZE is
6183         defined instead of whether it is non-zero.
6184         * sysdeps/mach/hurd/i386/intr-msg.h (INTR_MSG_TRAP): Use "+m"
6185         input constraint instead of both input and output constraint.  Use ecx
6186         clobber instead of %ecx.
6187         * sysdeps/mach/hurd/malloc-machine.h (mutex_init, mutex_lock,
6188         mutex_unlock): Use a statement expression instead of an expression list.
6189         * sysdeps/mach/hurd/setitimer.c (_hurd_itimer_thread_stack_size): Set
6190         type to vm_size_t instead of vm_address_t.
6191         * sysdeps/mach/hurd/fork.c (__fork): Test whether STACK_GROWTH_UP is
6192         defined instead of whether it is non-zero.
6193         * hurd/hurd/ioctl.h (_hurd_locked_install_cttyid): New declaration.
6194         * sysdeps/mach/hurd/setsid.c: Include <hurd/ioctl.h>.
6195         * sysdeps/mach/hurd/mmap.c (__mmap): Use 0 instead of NULL for
6196         comparisons with mapaddr.
6197         * nscd/nscd-client.h: Include <time.h>.
6198         * sysdeps/mach/hurd/dl-sysdep.c (fmh): Pass vm_offset_t dummy
6199         9th parameter to __vm_region instead of int.
6200         * bits/termios.h [!__USE_MISC] (EXTPROC): Do not define.
6201         * scripts/check-local-headers.sh (exclude): Add device/,
6202         hurd/hurd_types.h, hurd/ioctl_types.h, hurd/paths.h, hurd/ioctls.defs,
6203         cthreads.h.
6205 2015-03-19  Roland McGrath  <roland@hack.frob.com>
6207         * sysdeps/arm/memcpy.S [ARM_ALWAYS_BX]: Fix computed-jump calculations
6208         to account for alignment padding.
6209         * sysdeps/arm/memmove.S: Likewise.
6211 2015-03-19  Chris Metcalf  <cmetcalf@ezchip.com>
6213         * sysdeps/unix/sysv/linux/generic/README: New file.
6215 2015-03-18  Joseph Myers  <joseph@codesourcery.com>
6217         [BZ #18138]
6218         * nptl/sem_waitcommon.c: Include <kernel-features.h>.
6219         (futex_abstimed_wait)
6220         [__ASSUME_FUTEX_CLOCK_REALTIME && lll_futex_timed_wait_bitset]:
6221         Use lll_futex_timed_wait_bitset with FUTEX_CLOCK_REALTIME instead
6222         of lll_futex_timed_wait.
6224 2015-03-18  Brad Hubbard  <bhubbard@redhat.com>
6226         [BZ #17542]
6227         * sunrpc/svc.c (xprt_register): Use calloc to allocate xports.
6229 2015-03-17  Alexandre Oliva <aoliva@redhat.com>
6231         [BZ #17090]
6232         [BZ #17620]
6233         [BZ #17621]
6234         [BZ #17628]
6235         * NEWS: Update.
6236         * elf/dl-tls.c (_dl_update_slotinfo): Clean up outdated DTV
6237         entries with Static TLS too.  Skip entries past the end of the
6238         allocated DTV, from Alan Modra.
6239         (tls_get_addr_tail): Update to glibc_likely/unlikely.  Move
6240         Static TLS DTV entry set up from...
6241         (_dl_allocate_tls_init): ... here (fix modid assertion), ...
6242         * elf/dl-reloc.c (_dl_nothread_init_static_tls): ... here...
6243         * nptl/allocatestack.c (init_one_static_tls): ... and here...
6244         * elf/dlopen.c (dl_open_worker): Drop l_tls_modid upper bound
6245         for Static TLS.
6246         * elf/tlsdeschtab.h (map_generation): Return size_t.  Check
6247         that the slot we find is associated with the given map before
6248         using its generation count.
6249         * nptl_db/db_info.c: Include ldsodefs.h.
6250         (rtld_global, dtv_slotinfo_list, dtv_slotinfo): New typedefs.
6251         * nptl_db/structs.def (DB_RTLD_VARIABLE): New macro.
6252         (DB_MAIN_VARIABLE, DB_RTLD_GLOBAL_FIELD): Likewise.
6253         (link_map::l_tls_offset): New struct field.
6254         (dtv_t::counter): Likewise.
6255         (rtld_global): New struct.
6256         (_rtld_global): New rtld variable.
6257         (dl_tls_dtv_slotinfo_list): New rtld global field.
6258         (dtv_slotinfo_list): New struct.
6259         (dtv_slotinfo): Likewise.
6260         * nptl_db/td_symbol_list.c: Drop gnu/lib-names.h include.
6261         (td_lookup): Rename to...
6262         (td_mod_lookup): ... this.  Use new mod parameter instead of
6263         LIBPTHREAD_SO.
6264         * nptl_db/td_thr_tlsbase.c: Include link.h.
6265         (dtv_slotinfo_list, dtv_slotinfo): New functions.
6266         (td_thr_tlsbase): Check DTV generation.  Compute Static TLS
6267         addresses even if the DTV is out of date or missing them.
6268         * nptl_db/fetch-value.c (_td_locate_field): Do not refuse to
6269         index zero-length arrays.
6270         * nptl_db/thread_dbP.h: Include gnu/lib-names.h.
6271         (td_lookup): Make it a macro implemented in terms of...
6272         (td_mod_lookup): ... this declaration.
6273         * nptl_db/db-symbols.awk (DB_RTLD_VARIABLE): Override.
6274         (DB_MAIN_VARIABLE): Likewise.
6276 2015-03-16  H.J. Lu  <hongjiu.lu@intel.com>
6278         [BZ #18134]
6279         * sysdeps/x86_64/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
6281 2015-03-15  Paul Eggert  <eggert@cs.ucla.edu>
6283         * stdlib/setenv.c (__add_to_environ): Revert previous change.
6285 2015-03-14  Andreas Schwab  <schwab@linux-m68k.org>
6287         [BZ #18128]
6288         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (atomic_exchange_and_add)
6289         (atomic_add, atomic_increment_and_test)
6290         (atomic_decrement_and_test): Fix 64-bit arithmetic.
6292 2015-03-13  Paul Eggert  <eggert@cs.ucla.edu>
6294         * stdlib/setenv.c (__add_to_environ):
6295         Dump core quickly if setenv (..., NULL, ...) is called.
6297 2015-03-13  Roland McGrath  <roland@hack.frob.com>
6299         * sysdeps/arm/tls-macros.h: Include <sysdep.h>.
6300         (GET_SPECIAL_RELOC, GET_SPECIAL_PCREL): New macros to encapsulate
6301         all the necessary asm magic in one place.
6302         (TLS_LE, TLS_IE, TLS_LD, TLS_GD): Rewritten as C expressions
6303         using those.
6305 2015-03-13  Carlos O'Donell  <carlos@redhat.com>
6307         [BZ #14906]
6308         * nscd/cache.c (prune_cache): Use TRACED_FILE. Compare and update
6309         traced file mtime. Use consistent log message.
6310         * nscd/connections.c [HAVE_INOTIFY] (install_watches): New function.
6311         (register_traced_file): Call install_watches. Always set mtime.
6312         (invalidate_cache): Iterate over all trace files. Call install_watches.
6313         (inotify_check_files): Don't inline. Handle watching parent
6314         directories and configuration file movement in and out.
6315         (handle_inotify_events): New function.
6316         (main_loop_poll): Call handle_inotify_events.
6317         (main_loop_epoll): Likewise.
6318         * nscd/nscd.h: Define TRACED_FILE, TRACED_DIR, and PATH_MAX.
6319         (struct traced_file): Use array of inotify fds. Add parent directory,
6320         and basename.
6321         (struct database_dyn): Remove unused file_mtime.
6322         (init_traced_file): New inline function.
6323         (define_traced_file): New macro.
6324         * nss/nss_db/db-init.c: Use define_traced_file.
6325         (_nss_db_init): Use init_traced_file.
6326         * nss/nss_files/files-init.c: Use define_traced_file.
6327         (_nss_files_init): Use init_traced_file.
6329 2015-03-12  Joseph Myers  <joseph@codesourcery.com>
6331         * soft-fp/soft-fp.h (_FP_STATIC_ASSERT): New macro.
6332         [_LIBC]: Do not include <stdlib.h>.
6333         [!_LIBC] (abort): Remove declaration.
6334         * soft-fp/op-2.h (_FP_MUL_MEAT_2_120_240_double): Use
6335         _FP_STATIC_ASSERT instead of conditionally calling abort.
6336         * soft-fp/op-common.h (_FP_FROM_INT): Likewise.
6337         (_FP_EXTEND_CNAN): Likewise.
6338         (FP_TRUNC): Likewise.
6339         (__FP_CLZ): Likewise.
6340         * sysdeps/powerpc/nofpu/flt-rounds.c: Include <stdlib.h>.
6342 2015-03-12  Yaakov Selkowitz  <yselkowi@redhat.com>
6344         * manual/string.texi (XPG basename): Fix prototype.
6346 2015-03-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
6348         [BZ #18080]
6349         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S
6350         (__setcontext): Use SIG_SETMASK instead of SIG_BLOCK.
6351         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S
6352         (__setcontext): Likewise.
6353         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S
6354         (__swapcontext): Use SIG_SETMASK instead of SIG_BLOCK.
6355         Call rt_sigprocmask syscall one time to set new signal mask
6356         and retrieve the current signal mask instead of two calls.
6357         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S
6358         (__swapcontext): Likewise.
6359         * stdlib/Makefile (tests): Add new testcase tst-setcontext2.
6360         * stdlib/tst-setcontext2.c: New file.
6362 2015-03-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
6364         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
6366 2015-03-11  Aurelien Jarno  <aurelien@aurel32.net>
6368         [BZ #18093]
6369         * elf/cache.c (load_aux_cache): Regenerate the cache if it has
6370         the wrong size.
6372 2015-03-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
6374         [BZ #18043]
6375         * posix/wordexp.c (parse_param): Don't call setenv(..., NULL, 1).
6377 2015-03-11  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
6379         * config.h.in [HAVE_ASM_GLOBAL_DOT_NAME]: Remove define.
6380         * include/libc-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (strong_alias):
6381         Remove define.
6382         [HAVE_ASM_GLOBAL_DOT_NAME] (strong_data_alias): Likewise.
6383         [HAVE_ASM_GLOBAL_DOT_NAME] (weak_alias): Likewise.
6384         [HAVE_ASM_GLOBAL_DOT_NAME] (_symbol_version): Likewise.
6385         [HAVE_ASM_GLOBAL_DOT_NAME] (_default_symbol_version): Likewise.
6386         [HAVE_ASM_GLOBAL_DOT_NAME] (HIDDEN_JUMPTARGET): Likewise.
6387         * nptl_db/db-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (DOT): Remove
6388         define.
6389         * nptl_db/td_symbol_list.c (td_lookup): Remove
6390         HAVE_ASM_GLOBAL_DOT_NAME code.
6391         * sysdeps/powerpc/powerpc64/configure.ac: Remove
6392         HAVE_ASM_GLOBAL_DOT_NAME check.
6393         * sysdeps/powerpc/powerpc64/configure: Regenerate.
6394         * sysdeps/powerpc/powerpc64/sysdep.h [HAVE_ASM_GLOBAL_DOT_NAME]
6395         (DOT_LABEL): Remove define.
6396         [HAVE_ASM_GLOBAL_DOT_NAME] (BODY_LABEL): Likewise.
6397         [HAVE_ASM_GLOBAL_DOT_NAME] (ENTRY_2): Likewise.
6398         [HAVE_ASM_GLOBAL_DOT_NAME] (END_2): Likewise.
6399         * sysdeps/powerpc/powerpc64/tls-macros.h [HAVE_ASM_GLOBAL_DOT_NAME]
6400         (__TLS_GET_ADDR): Likewise.
6401         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h
6402         [HAVE_ASM_GLOBAL_DOT_NAME] (DASHDASHPFX): Likewise.
6404 2015-03-11  Carlos O'Donell  <carlos@redhat.com>
6406         [BZ #18111]
6407         * sysdeps/hppa/fpu/fpu_control.h (_FPU_HPPA_SHIFT_FLAGS): Define.
6408         (_FPU_SETCW): Initialize cw from fpsr before storing.
6409         * sysdeps/hppa/fpu/fsetexcptflg.c: Include fpu_control.h
6410         (fesetexceptflag): Rewrite using fpu_control.h.
6411         * sysdeps/hppa/fpu/feupdateenv.c: Handle FE_DFL_ENV, and FE_NOMASK_ENV.
6413 2015-03-11  John David Anglin  <danglin@gcc.gnu.org>
6415         [BZ #18110]
6416         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Don't modify bufptr in
6417         asms.
6418         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
6420 2015-03-11  Joseph Myers  <joseph@codesourcery.com>
6422         * soft-fp/soft-fp.h (_FP_UNREACHABLE): New macro.
6423         * soft-fp/op-common.h (_FP_MUL): Use _FP_UNREACHABLE instead of
6424         abort.
6425         (_FP_FMA): Likewise.
6426         (_FP_DIV): Likewise.
6428 2015-03-10  Roland McGrath  <roland@hack.frob.com>
6430         * scripts/evaluate-test.sh: Grok exit code 77 as UNSUPPORTED and exit
6431         with 0 in that case.
6432         * Makefile (summarize-tests): New canned sequence, factored out of
6433         commands for targets tests and xtests.  Display summary lines that
6434         don't start with PASS: or XFAIL: rather than ones that do start with
6435         ERROR: or FAIL:.  Make the commands fail if any summary lines fail
6436         to start with X?PASS: or XFAIL: or UNSUPPORTED: rather than if any
6437         do start with ERROR: or FAIL:.
6438         * dlfcn/Makefile (tests): Add bug-atexit3 back here unconditionally
6439         (except for [$(build-shared) = yes]).
6440         (tests-unsupported) [$(CXX) empty]: Add bug-atexit3.
6441         (LDLIBS-bug-atexit3-lib.so): Conditionalize on [$(CXX) nonempty].
6442         ($(objpfx)bug-atexit3, $(objpfx)bug-atexit3.out): Likewise.
6443         * nptl/Makefile: Revert 2015-03-04 changes.
6444         [$(CXX) empty] (tests-unsupported): New variable.
6445         * debug/Makefile: Likewise.
6447         * posix/regcomp.c: Fix comment typos and formatting to harmonize with
6448         gnulib file.  Replace __attribute with __attribute__ throughout.
6450 2015-03-10  Carlos O'Donell  <carlos@redhat.com>
6452         * sysdeps/hppa/fpu/libm-test-ulps: Update.
6454 2015-03-10  Joseph Myers  <joseph@codesourcery.com>
6456         [BZ #18104]
6457         * math/auto-libm-test-in: Add another test of pow.
6458         * math/auto-libm-test-out: Regenerated.
6460 2015-03-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6462         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_pow.c): Add
6463         $(config-cflags-nofma).
6465 2015-03-10  Joseph Myers  <joseph@codesourcery.com>
6467         * soft-fp/double.h [SOFT_FP_DOUBLE_H]: New multiple-include guard.
6468         * soft-fp/extended.h [SOFT_FP_EXTENDED_H]: Likewise.
6469         * soft-fp/op-1.h [SOFT_FP_OP_1_H]: Likewise.
6470         * soft-fp/op-2.h [SOFT_FP_OP_2_H]: Likewise.
6471         * soft-fp/op-4.h [SOFT_FP_OP_4_H]: Likewise.
6472         * soft-fp/op-8.h [SOFT_FP_OP_8_H]: Likewise.
6473         * soft-fp/op-common.h [SOFT_FP_OP_COMMON_H]: Likewise.
6474         * soft-fp/quad.h [SOFT_FP_QUAD_H]: Likewise.
6475         * soft-fp/single.h [SOFT_FP_SINGLE_H]: Likewise.
6476         * soft-fp/soft-fp.h (SOFT_FP_H): Define to 1 rather than empty.
6477         Add comment on closing #endif.
6479 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
6481         * posix/wordexp.c (CHAR_IN_SET): New macro.
6482         (parse_param): Use it.
6484 2015-03-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6486         * sysdeps/powerpc/fpu/libm-test-ulps: update.
6488 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
6490         [BZ #18043]
6491         * posix/wordexp.c (parse_param): Fix buffer overflow.
6492         * posix/wordexp-test.c (test_case): Add test case.
6494 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
6496         [BZ #18042]
6497         * posix/wordexp.c (parse_backtick): Fix off-by-one.
6498         * posix/wordexp-test.c (test_case): Add test for BZ #18042.
6500 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
6502         [BZ #18043]
6503         * posix/wordexp-test.c (test_case): Add test for BZ #18043
6504         (do_bz18043): Delete.
6505         (at_page_end): New.
6506         (testit): Refactor to have words at the edge of unreadable page.
6508 2015-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
6510         [BZ #16734]
6511         * libio/genops.c (_IO_unbuffer_all): Renamed from _IO_unbuffer_write.
6512         Cleanup read-only streams as well.
6513         (_IO_cleanup): Call _IO_unbuffer_all instead of _IO_unbuffer_write.
6515 2015-03-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
6517         * sysdeps/mach/hurd/bits/libc-lock.h [_LIBC]: Include
6518         <bits/libc-lockP.h>
6520 2015-03-07  Joseph Myers  <joseph@codesourcery.com>
6522         * soft-fp/soft-fp.h (_FP_ZERO_INIT): New macro.  Define depending
6523         on [__KERNEL__].
6524         * soft-fp/op-1.h (_FP_FRAC_DECL_1): Use _FP_ZERO_INIT.
6525         * soft-fp/op-2.h (_FP_FRAC_DECL_2): Likewise.
6526         * soft-fp/op-common.h (_FP_DECL): Likewise.
6528 2015-03-06  H.J. Lu  <hongjiu.lu@intel.com>
6530         * elf/ifuncdep2.c (global): Replace
6531         __attribute__((visibility("protected"))) with
6532         asm (".protected global").
6533         * elf/ifuncmod1.c (global): Likewise.
6534         * elf/ifuncmod5.c (global): Likewise.
6536 2015-03-06  Joseph Myers  <joseph@codesourcery.com>
6538         * soft-fp/soft-fp.h [!_LIBC && __KERNEL__]: Include
6539         <asm/sfp-machine.h> instead of <sfp-machine.h>.
6541 2015-03-06  Roland McGrath  <roland@hack.frob.com>
6543         * manual/install.texi (Configuring and compiling):
6544         Document test-wrapper-env-only.
6545         * INSTALL: Regenerated.
6547 2015-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
6549         [BZ #18043]
6550         * posix/wordexp.c (parse_param): Fix buffer overflow.
6551         * posix/wordexp-test.c (do_bz18043): Add test case.
6553 2015-03-06  Vincent Bernat  <vincent@bernat.im>
6555         * time/tst-strptime2.c (do_test): Ensure failing tests are
6556         reported correctly.
6557         * time/tst-strptime3.c (do_test): Likewise.
6559 2015-03-06  Samuel Thibault  <samuel.thibault@inria.fr>
6561         Fix aio_error thread-safety.
6562         * sysdeps/pthread/aio_error.c: New file
6563         * sysdeps/pthread/aio_misc.c: Remove optimistic comment about
6564         synchronization.
6566 2015-03-06  Florian Weimer  <fweimer@redhat.com>
6568         * stdio-common/vfprintf.c (THOUSANDS_SEP_T): New typedef.
6569         (group_number, vfprintf): Use it.
6570         (JUMP_TABLE_BASE_LABEL): New preprocessor macro.
6571         (JUMP, REF): Use it.
6572         (WORK_BUFFER_SIZE): New enum constant.
6573         (process_arg, vfprintf): Use it.
6575 2015-03-06  Rical Jasan  <ricaljasan@pacific.net>
6577         * manual/errno.texi (Error Messages): Complete example function
6578         by adding missing #define.
6579         (program_invocation_name): Add statement indicating GNU
6580         extension and reference which header file declares the variable.
6581         (program_invocation_short_name): Likewise.
6583 2015-03-06  Mike Frysinger  <vapier@gentoo.org>
6585         * manual/errno.texi (Error Messages): Delete strerror ISO C89
6586         compatibility note.
6588 2015-03-05  Roland McGrath  <roland@hack.frob.com>
6590         * Makeconfig (test-wrapper-env-only): New variable.
6591         * Rules (make-test-out): If variable $*-ENV-only is nonempty,
6592         then use that with $(test-wrapper-env-only) rather than using
6593         $(test-wrapper-env) $(run-program-env) $($*-ENV).
6595 2015-03-05  H.J. Lu  <hongjiu.lu@intel.com>
6597         [BZ #18082]
6598         * sysdeps/alpha/dl-machine.h (elf_machine_type_class): Replace
6599         ELF_RTYPE_CLASS_NOCOPY with ELF_RTYPE_CLASS_COPY in comments.
6600         * sysdeps/arm/dl-machine.h (elf_machine_type_class): Likewise.
6601         * sysdeps/hppa/dl-machine.h (elf_machine_type_class): Likewise.
6602         * sysdeps/i386/dl-machine.h (elf_machine_type_class): Likewise.
6603         * sysdeps/ia64/dl-machine.h (elf_machine_type_class): Likewise.
6604         * sysdeps/m68k/dl-machine.h (elf_machine_type_class): Likewise.
6605         * sysdeps/microblaze/dl-machine.h (elf_machine_type_class):
6606         Likewise.
6607         * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Likewise.
6608         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_type_class):
6609         Likewise.
6610         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_type_class):
6611         Likewise.
6612         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_type_class):
6613         Likewise.
6614         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_type_class):
6615         Likewise.
6616         * sysdeps/sh/dl-machine.h (elf_machine_type_class): Likewise.
6617         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_type_class):
6618         Likewise.
6619         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_type_class):
6620         Likewise.
6621         * sysdeps/tile/dl-machine.h (elf_machine_type_class): Likewise.
6622         * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Likewise.
6624 2015-03-04  Roland McGrath  <roland@hack.frob.com>
6626         * sysdeps/generic/netinet/if_ether.h: Don't #include <features.h>.
6627         (ETH_ALEN): New macro.
6628         (struct ether_addr): Use it for length of ether_addr_octet.
6630         * nss/test-netdb.c: Don't #include <rpc/netdb.h>.
6631         (setdb): Don't call __nss_configure_lookup for "rpc".
6632         (do_test): Don't call test_rpc.
6633         (output_rpcent, test_rpc): Functions moved ...
6634         * sunrpc/test-rpcent.c: ... to this new file.
6635         * sunrpc/Makefile (tests): Add it.
6637         * nptl/tst-cancel4.c (tf_sigpause) [!SIGCANCEL]: Call pause instead of
6638         __xpg_sigpause.
6639         * nptl/tst-signal3.c: Conditionalize body on [SIGRTMIN].
6640         * nptl/tst-signal6.c: Likewise.
6641         * rt/tst-mqueue5.c: Conditionalize body on [SIGRTMIN && SA_SIGINFO].
6642         * rt/tst-timer4.c: Conditionalize body on [SA_SIGINFO].
6644         * configure.ac (libc_cv_cxx_link_ok): New check.
6645         Reset CXX to empty if it fails to link.
6646         * configure: Regenerated.
6647         * dlfcn/Makefile (tests, modules-names): Add bug-atexit3 and
6648         bug-atexit3-lib only if $(CXX) is nonempty.
6649         * nptl/Makefile (tests): Likewise for tst-cancel24.
6650         (tests, tests-static): Likewise for tst-cancel24-static.
6651         * debug/Makefile (tests): Likewise for tst-chk4, tst-chk5, tst-chk6,
6652         tst-lfschk4, tst-lfschk5, and tst-lfschk6.
6653         * elf/Makefile (tests, modules-names): Likewise for tst-unique3,
6654         tst-unique3lib, tst-unique3lib2, tst-unique4, and tst-unique4lib.
6656 2015-03-04  Andreas Schwab  <schwab@suse.de>
6658         [BZ #17631]
6659         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Don't define
6660         for non-GCC compilers.
6661         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
6662         Likewise.
6664 2015-03-03 Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
6666         [BZ #17776]
6667         * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Convert input to
6668         integer before bitwise and assembly operations.
6669         (feclearexcept): Likewise.
6670         * math/test-fenvinline.c: New file.
6671         * math/Makefile: Add test-fenvinline test.
6673 2015-03-03  Alan Modra  <amodra@gmail.com>
6675         [BZ #16512]
6676         * scripts/localplt.awk: Strip off symbol version.
6677         * NEWS: Mention bug fix.
6679 2015-03-02  Roland McGrath  <roland@hack.frob.com>
6681         * sysdeps/pthread/timer_routines.c
6682         (timer_free_list, thread_free_list, thread_active_list): Make static.
6684 2015-03-02  Joseph Myers  <joseph@codesourcery.com>
6686         [BZ #17779]
6687         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
6688         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
6689         Undefine.
6690         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
6691         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
6692         Likewise.
6693         * sysdeps/unix/sysv/linux/sh/kernel-features.h
6694         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
6695         Likewise.
6697 2015-03-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
6699         [BZ #18036]
6700         * posix/fnmatch_loop.c (END): Detect invalid pattern.
6701         * posix/tst-fnmatch3.c (do_bz18036): Add test case.
6703 2015-03-02  Andreas Schwab  <schwab@suse.de>
6705         * elf/Makefile ($(elf-objpfx)runtime-linker.st): Fix typo in
6706         variable name.
6708 2015-03-02  Florian Weimer  <fweimer@redhat.com>
6710         * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn):
6711         Return error status.
6713 2015-02-27  Alexandre Oliva <aoliva@redhat.com>
6715         [BZ #15969]
6716         * locale/findlocale.c (_nl_find_locale): Introduce const
6717         version of loc_name and drop unsafe type casts.
6719 2015-02-27  Roland McGrath  <roland@hack.frob.com>
6721         * dlfcn/tststatic2.c (main): Converted to ...
6722         (do_test): ... this.
6723         (TEST_FUNCTION): New macro.
6724         Include test-skeleton.c.
6726 2015-02-27  H.J. Lu  <hongjiu.lu@intel.com>
6728         [BZ #17711]
6729         * elf/Makefile (tests): Add vismain only if PIE is enabled.
6730         (tests-pie): Add vismain.
6731         (CFLAGS-vismain.c): New.
6732         * elf/vismain.c: Add comments for PIE requirement.
6734 2015-02-27  Joseph Myers  <joseph@codesourcery.com>
6736         [BZ #18046]
6737         [BZ #18047]
6738         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Use
6739         0x1p-56L as threshold for just returning the argument.
6740         * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Use
6741         0x1p-32L as threshold for just returning the argument.
6742         * math/auto-libm-test-in: Add more tests of atanh.
6743         * math/auto-libm-test-out: Regenerated.
6744         * sysdeps/i386/fpu/libm-test-ulps: Update.
6745         * sysdeps/x86_64/fpu/libm-test-ulp: Likewise.
6747 2015-02-27  Wilco Dijkstra  wdijkstr@arm.com
6749         * string/bcopy.c (bcopy): Call memmove for performance.
6751 2015-02-27  Wilco Dijkstra  wdijkstr@arm.com
6753         * string/bzero.c (__bzero): Call memset for performance.
6755 2015-02-27  John David Anglin  <dave.anglin@bell.net>
6757         [BZ #18068]
6758         * sysdeps/unix/sysv/linux/hppa/bits/fcntl.h (__O_SYNC): Change
6759         to 00100000.
6761 2015-02-27  Joseph Myers  <joseph@codesourcery.com>
6763         * sysdeps/ieee754/k_standard.c (CSTR): Add comment.
6765 2015-02-26  Joseph Myers  <joseph@codesourcery.com>
6767         * sysdeps/ieee754/k_standard.c (CSTR): New macro.
6768         (__kernel_standard): Use CSTR macro when setting exc.name.
6769         * sysdeps/ieee754/Makefile [$(subdir) = math]
6770         (CFLAGS-k_standard.c): Remove variable.
6772         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Change last case for
6773         setting p and q from "else if" to "else".
6774         (qzero): Likewise.
6775         * sysdeps/ieee754/dbl-64/e_j1.c (pone): Likewise.
6776         (qone): Likewise.
6777         * sysdeps/ieee754/flt-32/e_j0f.c (pzerof): Likewise.
6778         (qzerof): Likewise.
6779         * sysdeps/ieee754/flt-32/e_j1f.c (ponef): Likewise.
6780         (qonef): Likewise.
6781         * sysdeps/ieee754/ldbl-96/e_j0l.c (pzero): Likewise.
6782         (qzero): Likewise.
6783         * sysdeps/ieee754/ldbl-96/e_j1l.c (pone): Likewise.
6784         (qone): Likewise.
6786         [BZ #18038]
6787         [BZ #18039]
6788         * sysdeps/ieee754/ldbl-128/e_acosl.c (__ieee754_acosl): Only
6789         return pi/2 for arguments below 0x1p-113L.
6790         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Only
6791         return pi/2 for arguments below 0x1p-106L.
6792         * math/auto-libm-test-in: Add more tests of acos.
6793         * math/auto-libm-test-out: Regenerated.
6795         [BZ #16351]
6796         * sysdeps/i386/fpu/e_asin.S (dbl_min): New object.
6797         (MO): New macro.
6798         (__ieee754_asin): Force underflow exception for results with small
6799         absolute value.
6800         * sysdeps/i386/fpu/e_asinf.S (flt_min): New object.
6801         (MO): New macro.
6802         (__ieee754_asinf): Force underflow exception for results with
6803         small absolute value.
6804         * sysdeps/ieee754/dbl-64/e_asin.c: Include <float.h> and <math.h>.
6805         (__ieee754_asin): Force underflow exception for results with small
6806         absolute value.
6807         * sysdeps/ieee754/flt-32/e_asinf.c: Include <float.h>.
6808         (__ieee754_asinf): Force underflow exception for results with
6809         small absolute value.
6810         * sysdeps/ieee754/ldbl-128/e_asinl.c: Include <float.h>.
6811         (__ieee754_asinl): Force underflow exception for results with
6812         small absolute value.
6813         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Include <float.h>.
6814         (__ieee754_asinl): Force underflow exception for results with
6815         small absolute value.
6816         * sysdeps/ieee754/ldbl-96/e_asinl.c: Include <float.h>.
6817         (__ieee754_asinl): Force underflow exception for results with
6818         small absolute value.
6819         * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
6820         Include <math.h>.
6821         * math/auto-libm-test-in: Do not mark underflow exceptions as
6822         possibly missing for bug 16351.
6823         * math/auto-libm-test-out: Regenerated.
6825         [BZ #18030]
6826         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Adjust exponent
6827         of power of 2 down when low part has opposite sign.
6828         * math/libm-test.inc (logb_test_data): Add more tests.
6830 2015-02-26  Andreas Schwab  <schwab@suse.de>
6832         [BZ #18032]
6833         * posix/fnmatch_loop.c (FCT): Remove extra increment when skipping
6834         over collating symbol inside a bracket expression.  Minor cleanup.
6835         * posix/tst-fnmatch3.c (do_test): Add test case.
6837 2015-02-26  Joseph Myers  <joseph@codesourcery.com>
6839         [BZ #18029]
6840         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl):
6841         Adjust exponent of power of 2 down when low part has opposite
6842         sign.
6843         * math/libm-test.inc (ilogb_test_data): Add more tests.
6845 2015-02-26  Alexandre Oliva  <aoliva@redhat.com>
6847         [BZ #15969]
6848         * locale/findlocale.c (_nl_find_locale): Fix constness error in
6849         the previous change.
6851         [BZ #15969]
6852         * locale/findlocale.c (_nl_find_locale): Retry archive search
6853         after alias expansion.
6855 2015-02-25  Roland McGrath  <roland@hack.frob.com>
6857         * iconv/tst-iconv3.c (main): Converted to ...
6858         (do_test): ... this.
6859         (TEST_FUNCTION): New macro.
6860         Include test-skeleton.c.
6862         * iconv/tst-iconv5.c (testcode, number): Make variables static const.
6863         (convert): Make function static.
6864         (test_unalign): Likewise.  Add const to argument pointee types.
6865         (main): Replace with static function do_test.
6866         Print "Succeeded." only if RET is zero.
6867         (TEST_FUNCTION): New macro.
6868         Include test-skeleton.c.
6870         * iconv/gconv_conf.c (__gconv_get_path): Don't crash if __getcwd
6871         returns a null pointer.
6873 2015-02-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6875         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Define memcpy
6876         to __memcpy_ppc only for static builds.
6878 2015-02-25  Joseph Myers  <joseph@codesourcery.com>
6880         [BZ #18020]
6881         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use 2**56 and
6882         2**-56 not 2**28 and 2**-29 as thresholds for simpler formulas.
6883         * math/auto-libm-test-in: Add more tests of asinh.
6884         * math/auto-libm-test-out: Regenerated.
6885         * sysdeps/i386/fpu/libm-test-ulps: Update.
6886         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6888 2015-02-25  Cong Wang  <xiyou.wangcong@gmail.com>
6890         [BZ #15850]
6891         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Put in6_pktinfo
6892         and ip6_mtuinfo definitions here.
6893         * sysdeps/unix/sysv/linux/bits/in.h [_UAPI_IPV6_H]: Wrap code
6894         in this define too.  Update comment.
6896 2015-02-24  Benno Schulenberg  <bensberg@justemail.net>
6898         * elf/sprof.c (load_shobj): Tweak error message to match others.
6900 2015-02-24  Kevin Easton  <kevin@guarana.org>
6902         [BZ #16145] (partial fix)
6903         * time/tzset.c (__tz_convert): Unlock tzset_lock earlier
6904         to reduce lock contention.
6906 2015-02-24  Miroslav Lichvar  <mlichvar@redhat.com>
6908         * sysdeps/unix/sysv/linux/bits/timex.h: Update version.
6909         (struct timex): Update time comment.
6910         (ADJ_SETOFFSET): Define.
6912 2015-02-24  Joseph Myers  <joseph@codesourcery.com>
6914         [BZ #18019]
6915         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
6916         2**56 not 2**28 as threshold for log (2x) formula.
6917         * math/auto-libm-test-in: Add more tests of acosh.
6918         * math/auto-libm-test-out: Regenerated.
6919         * sysdeps/i386/fpu/libm-test-ulps: Update.
6920         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6922 2015-02-24  Mike Frysinger  <vapier@gentoo.org>
6924         * include/alloca.h [_STACK_GROWS_DOWN] (extend_alloca): Add
6925         parenthesis around the buf assignment.
6926         [_STACK_GROWS_UP] (extend_alloca): Add a char* cast.
6928 2015-02-24  Joseph Myers  <joseph@codesourcery.com>
6930         [BZ #16783]
6931         * sysdeps/i386/fpu/e_scalb.S (__ieee754_scalb): Do not handle
6932         arguments (NaN, -Inf) the same as (+/-Inf, -Inf).
6933         * sysdeps/i386/fpu/e_scalbf.S (__ieee754_scalbf): Likewise.
6934         * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
6935         * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
6936         * math/libm-test.inc (scalb_test_data): Add more tests.
6938 2015-02-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
6940         [BZ #17916]
6941         * libio/fileops.c (_IO_new_file_fopen): Limit stack use
6942         * libio/tst-fopenloc.c (do_test, do_bz17916): Add a large ccs= test
6944 2015-02-24  Eric Rannaud  <e@nanocritical.com>
6946         [BZ #17523]
6947         * io/fcntl.h (__OPEN_NEEDS_MODE): New macro.
6948         * io/bits/fcntl2.h (open): Use it.
6949         (openat): Likewise.
6950         * io/open.c (__libc_open): Likewise.
6951         * io/open64.c (__libc_open64): Likewise.
6952         * io/open64_2.c (__open64_2): Likewise.
6953         * io/open_2.c (__open_2): Likewise.
6954         * io/openat.c (__openat): Likewise.
6955         * io/openat64.c (__openat64): Likewise.
6956         * io/openat64_2.c (__openat64_2): Likewise.
6957         * io/openat_2.c (__openat_2): Likewise.
6958         * sysdeps/mach/hurd/open.c (__libc_open): Likewise.
6959         * sysdeps/mach/hurd/openat.c (__openat): Likewise.
6960         * sysdeps/posix/open64.c (__libc_open64): Likewise.
6961         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
6962         * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
6963         (__open_nocancel): Likewise.
6964         * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
6965         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
6966         * sysdeps/unix/sysv/linux/openat.c (__OPENAT): Likewise.
6968 2015-02-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
6970         [BZ #14841]
6971         * resolv/gethnamaddr.c (getanswer): Skip logging if
6972         RES_USE_DNSSEC is set.
6973         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
6975 2015-02-24  Mike Frysinger  <vapier@gentoo.org>
6977         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Include dl-sysdep.h.
6979 2015-02-23  Alexandre Oliva <aoliva@redhat.com>
6981         * include/stdc-predef.h (__STDC_ISO_10646__): Update to
6982         201304L, for Unicode 7.
6984 2015-02-23  H.J. Lu  <hongjiu.lu@intel.com>
6986         [BZ #17836]
6987         * csu/Makefile (extra-objs): Add gmon-start.o if not builing
6988         shared library.  Add gmon-start.os otherwise.
6989         ($(objpfx)g$(start-installed-name)): Use $(objpfx)S%
6990         $(objpfx)gmon-start.os if builing shared library.
6991         ($(objpfx)g$(static-start-installed-name)): Likewise.
6993 2015-02-23  Andreas Schwab  <schwab@suse.de>
6995         * elf/Makefile (CFLAGS-tst-audit2.c): Define.
6997 2015-02-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
6999         [BZ #17269]
7000         * libio/wstrops.c (_IO_wstr_overflow): Guard against integer overflow
7001         (enlarge_userbuf): Likewise.
7003 2015-02-22  Chung-Lin Tang  <cltang@codesourcery.com>
7005         * libio/tst-memstream2.c (TIMEOUT): Define as 100.
7006         * math/atest-exp.c (TIMEOUT): Adjust to 200.
7007         * math/atest-exp2.c (TIMEOUT): Adjust to 300.
7008         * math/atest-sincos.c (TIMEOUT): Adjust to 600.
7010 2015-02-20  Joseph Myers  <joseph@codesourcery.com>
7012         * soft-fp/op-common.h (_FP_FROM_INT): Wrap call to abort in
7013         expression inside statement expression.
7015 2015-02-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
7017         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Include
7018         <sysdeps/nptl/lowlevellock.h> and remove macros and
7019         functions that are now defined there.
7020         (SYS_futex): Remove.
7021         (lll_compare_and_swap): Remove.
7022         * sysdeps/s390/bits/atomic.h (atomic_exchange_acq): Define.
7024 2015-02-19  Joseph Myers  <joseph@codesourcery.com>
7026         [BZ #17999]
7027         * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Define to __scandirat
7028         instead of scandirat.
7029         * dirent/scandirat.c [!SCANDIRAT] (SCANDIRAT): Likewise.
7030         [!SCANDIRAT] (SCANDIRAT_WEAK_ALIAS): Define.
7031         [SCANDIRAT_WEAK_ALIAS] (scandirat): Define as weak alias of
7032         __scandirat.
7033         * include/dirent.h (scandirat): Do not use libc_hidden_proto.
7034         (__scandirat): Declare.  Use libc_hidden_proto.
7035         * conform/Makefile (test-xfail-POSIX2008/dirent.h/linknamespace):
7036         Remove variable.
7037         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
7039 2015-02-18  Joseph Myers  <joseph@codesourcery.com>
7041         [BZ #15319]
7042         * sysdeps/i386/fpu/e_atan2.S (dbl_min): New object.
7043         (MO): New macro.
7044         (__ieee754_atan2): For results with small absolute value, force
7045         underflow exception and remove excess range and precision from
7046         return value.
7047         * sysdeps/i386/fpu/e_atan2f.S (flt_min): New object.
7048         (MO): New macro.
7049         (__ieee754_atan2f): For results with small absolute value, force
7050         underflow exception and remove excess range and precision from
7051         return value.
7052         * sysdeps/i386/fpu/s_atan.S (dbl_min): New object.
7053         (MO): New macro.
7054         (__atan): For results with small absolute value, force underflow
7055         exception and remove excess range and precision from return value.
7056         * sysdeps/i386/fpu/s_atanf.S (flt_min): New object.
7057         (MO): New macro.
7058         (__atanf): For results with small absolute value, force underflow
7059         exception and remove excess range and precision from return value.
7060         * sysdeps/ieee754/dbl-64/e_atan2.c: Include <float.h> and
7061         <math.h>.
7062         (__ieee754_atan2): Force underflow exception for results with
7063         small absolute value.
7064         * sysdeps/ieee754/dbl-64/s_atan.c: Include <float.h> and
7065         <math_private.h>.
7066         (atan): Force underflow exception for results with small absolute
7067         value.
7068         * sysdeps/ieee754/flt-32/s_atanf.c: Include <float.h>.
7069         (__atanf): Force underflow exception for results with small
7070         absolute value.
7071         * sysdeps/ieee754/ldbl-128/s_atanl.c: Include <float.h> and
7072         <math.h>.
7073         (__atanl): Force underflow exception for results with small
7074         absolute value.
7075         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <float.h>.
7076         (__atanl): Force underflow exception for results with small
7077         absolute value.
7078         * sysdeps/x86/fpu/bits/mathinline.h
7079         [!__SSE2_MATH__ && !__x86_64__ && __LIBC_INTERNAL_MATH_INLINES]
7080         (__ieee754_atan2): Only define inline for long double.
7081         * sysdeps/x86_64/fpu/multiarch/e_atan2.c
7082         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Include <math.h>.
7083         * math/auto-libm-test-in: Do not mark underflow exceptions as
7084         possibly missing for bug 15319.  Add more tests of atan2.
7085         * math/auto-libm-test-out: Regenerated.
7086         * math/libm-test.inc (casin_test_data): Do not mark underflow
7087         exceptions as possibly missing for bug 15319.
7088         (casinh_test_data): Likewise.
7089         * sysdeps/i386/fpu/libm-test-ulps: Update.
7091 2015-02-18  Steve Ellcey  <sellcey@imgtec.com>
7093         * sysdeps/unix/sysv/linux/mips/bits/endian.h: Remove.
7094         * sysdeps/mips/bits/endian.h: Fix comments.
7096 2015-02-18  Joseph Myers  <joseph@codesourcery.com>
7098         [BZ #17996]
7099         * include/search.h (hcreate_r): Don't use libc_hidden_proto.
7100         (hdestroy_r): Likewise.
7101         (hsearch_r): Likewise.
7102         (__hcreate_r): Declare and use libc_hidden_proto.
7103         (__hdestroy_r): Likewise.
7104         (__hsearch_r): Likewise.
7105         * misc/hsearch.c (hsearch): Call __hsearch_r instead of hsearch_r.
7106         (hcreate): Call __hcreate_r instead of hcreate_r.
7107         (__hdestroy): Call __hdestroy_r instead of hdestroy_r.
7108         * misc/hsearch_r.c (hcreate_r): Rename to __hcreate_r and define
7109         as weak alias of __hcreate_r.
7110         (hdestroy_r): Rename to __hdestroy_r and define as weak alias of
7111         __hdestroy_r.
7112         (hsearch_r): Rename to __hsearch_r and define as weak alias of
7113         __hsearch_r.
7114         * conform/Makefile (test-xfail-XPG3/search.h/linknamespace):
7115         Remove variable.
7116         (test-xfail-XPG4/search.h/linknamespace): Likewise.
7117         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
7118         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
7119         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
7121 2015-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
7123         * malloc/malloc.c (__libc_malloc): Consolidate arena_lookup and
7124         arena_lock into a single arena_get.
7126 2015-02-17  Carlos O'Donell  <carlos@redhat.com>
7128         * dl-reloc.c: Inlucde libc-internal.h.
7129         (_dl_try_allocate_static_tls): Call ALIGN_UP.
7130         (_dl_relocate_object): Call ALIGN_UP, ALIGN_DOWN, and PTR_ALIGN_DOWN.
7131         (_dl_protect_relro): Call ALIGN_UP and ALIGN_DOWN.
7132         * malloc/arena.c (new_heap): Use pagesize. Call ALIGN_UP.
7133         (grow_heap): Likewise.
7134         * malloc/malloc.c: Include libc-internal.h.
7135         (do_check_malloc): Call powerof2.
7136         (sysmalloc): Use pagesize. Call ALIGN_UP.
7137         (systrim): Use pagesize.
7138         (mremap_chunk): Use pagesize. Call ALIGN_UP.
7139         (__libc_valloc): Use pagesize.
7140         (__libc_pvalloc): Use pagesize. Call ALIGN_UP.
7142 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
7144         [BZ #17991]
7145         * include/sys/resource.h (__getrlimit64): Declare.  Use
7146         libc_hidden_proto.
7147         * resource/getrlimit64.c (getrlimit64): Rename to __getrlimit64
7148         and define as weak alias of __getrlimit64.  Use libc_hidden_weak.
7149         * sysdeps/posix/spawni.c (__spawni): Call __getrlimit64 instead of
7150         getrlimit64.
7151         * sysdeps/unix/sysv/linux/getrlimit64.c (getrlimit64): Rename to
7152         __getrlimit64.
7153         [!getrlimit64] (getrlimit64): Define as weak alias of
7154         __getrlimit64.  Use libc_hidden_weak.
7155         * sysdeps/unix/sysv/linux/i386/getrlimit64.c (getrlimit64): Define
7156         using __getrlimit64 not __new_getrlimit64.
7157         (__GI_getrlimit64): Likewise.
7158         * sysdeps/unix/sysv/linux/mips/getrlimit64.c (getrlimit64):
7159         Likewise.
7160         (__GI_getrlimit64): Likewise.
7161         (__old_getrlimit64): Use __getrlimit64 not __new_getrlimit64.
7162         * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list
7163         (getrlimit): Add __getrlimit64 alias.
7164         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (getrlimit):
7165         Likewise.
7166         * conform/Makefile (test-xfail-XOPEN2K/spawn.h/linknamespace):
7167         Remove variable.
7168         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
7169         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
7171 2015-02-17  Paul Pluzhnikov  <ppluzhnikov@google.com>
7173         * libio/fileops.c: Add missing sys/mman.h
7174         * libio/iopopen.c: Add missing fcntl.h, remove redundant unistd.h
7176 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
7178         * manual/math.texi (Errors in Math Functions): Clarify goals
7179         regarding inexact and underflow exceptions.
7181 2015-02-17  Steve Ellcey  <sellcey@imgtec.com>
7183         * sysdeps/mips/memcpy.S: Move R6 PREFETCH_STORE_HINT check.
7184         * sysdeps/mips/memset.S: Ditto.
7186 2015-02-17  Steve Ellcey  <sellcey@imgtec.com>
7188         * sysdeps/mips/bits/endian.h (__MIPSEL): Use #ifdef instead of #if.
7190 2015-02-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
7192         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c
7193         (__v1longjmp): Remove versioned symbol.
7194         (__v1siglongjmp): Remove alias and versioned symbol.
7195         (__v2longjmp): Use DEFINE_LONGJMP instead of alias.
7196         (__v2siglongjmp): Likewise.
7198 2015-02-16  Torvald Riegel  <triegel@redhat.com>
7200         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Remove file.
7202 2015-02-16  Mike Frysinger  <vapier@gentoo.org>
7204         * sysdeps/unix/sysv/linux/ia64/getpagesize.c: Delete.
7206 2015-02-16  Joseph Myers  <joseph@codesourcery.com>
7208         [BZ #17987]
7209         * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Ensure sign of
7210         zero result does not depend on the sign resulting from
7211         subtraction.
7212         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
7213         Likewise.
7214         * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
7215         * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
7216         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
7217         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
7218         * math/libm-test.inc (remquo_test_data): Add more tests.
7220 2015-02-16  Paul Eggert  <eggert@cs.ucla.edu>
7222         * manual/time.texi (TZ Variable): glibc no longer comes with tzdata.
7223         Problem reported by J William Piggott.
7225 2015-02-16  Joseph Myers  <joseph@codesourcery.com>
7227         [BZ #17978]
7228         * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Do not form
7229         products 4 * y and 2 * y where those would overflow.
7230         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
7231         Likewise.
7232         * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
7233         * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
7234         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
7235         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
7236         * math/libm-test.inc (remquo_test_data): Add more tests.
7238         * sysdeps/mips/sgidefs.h [!_ABIO64] (_ABIO64): New macro.
7240         * sysdeps/mips/memcpy.S [_COMPILING_NEWLIB]: Change condition to
7241         [defined _COMPILING_NEWLIB].
7242         * sysdeps/mips/memset.S [_COMPILING_NEWLIB]: Likewise.
7243         * sysdeps/mips/strcmp.S [_COMPILING_NEWLIB]: Likewise.
7245         * sysdeps/mips/sys/asm.h [__mips_isa_rev < 6]: Change condition to
7246         [!defined __mips_isa_rev || __mips_isa_rev < 6].
7248 2015-02-16  Torvald Riegel  <triegel@redhat.com>
7250         * nptl/tst-cond25.c (cleanup): Explicitly check that the mutex is
7251         acquired.
7253 2015-02-15  Matthew Fortune <Matthew.Fortune@imgtec.com>
7255         [BZ #17792]
7256         * sysdeps/unix/sysv/linux/ia64/sys/user.h (NBPG): Remove.
7257         (UPAGES, HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR,
7258         HOST_STACK_END_ADDR): Likewise.
7260 2015-02-13  Steve Ellcey  <sellcey@imgtec.com>
7262         * sysdeps/mips/bits/endian.h (__MIPSEB): Use #ifdef instead of #if.
7263         * sysdeps/mips/memcpy.S (__MIPSEB): Ditto.
7264         * sysdeps/mips/memset.S (__MIPSEB): Ditto.
7266 2015-02-13  Roland McGrath  <roland@hack.frob.com>
7268         * sysdeps/generic/c++-types.data: New file.
7269         * sysdeps/generic/ld.abilist: New file.
7270         * sysdeps/generic/libBrokenLocale.abilist: New file.
7271         * sysdeps/generic/libanl.abilist: New file.
7272         * sysdeps/generic/libc.abilist: New file.
7273         * sysdeps/generic/libcrypt.abilist: New file.
7274         * sysdeps/generic/libdl.abilist: New file.
7275         * sysdeps/generic/libm.abilist: New file.
7276         * sysdeps/generic/libpthread.abilist: New file.
7277         * sysdeps/generic/libresolv.abilist: New file.
7278         * sysdeps/generic/librt.abilist: New file.
7280 2015-02-13  Joseph Myers  <joseph@codesourcery.com>
7282         [BZ #17569]
7283         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
7284         Compute absolute value of x as modified by fmod, not original
7285         value of x.
7286         * math/libm-test.inc (RUN_TEST_ffI_f1): Rename to
7287         RUN_TEST_ffI_f1_mod8.  Check extra return value mod 8.
7288         (RUN_TEST_LOOP_ffI_f1): Rename to RUN_TEST_LOOP_ffI_f1_mod8.  Call
7289         RUN_TEST_ffI_f1_mod8.
7290         (remquo_test_data): Add more tests.
7292 2015-02-13  Roland McGrath  <roland@hack.frob.com>
7294         * sysdeps/init_array/pt-crti.S: New file.
7296 2015-02-13  Joseph Myers  <joseph@codesourcery.com>
7298         [BZ #17967]
7299         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Use
7300         __builtin_fmaf instead of relying on contraction of a * b + c.
7302 2015-02-12  J William Piggott  <elseifthen@gmx.com>
7304         [BZ #17969]
7305         * manual/time.texi: correct the zoneinfo path in the TZ Variable
7306         node.
7308 2015-02-12  Joseph Myers  <joseph@codesourcery.com>
7310         [BZ #17964]
7311         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Use
7312         __builtin_fma instead of relying on contraction of a * b + c.
7314 2015-02-12  Roland McGrath  <roland@hack.frob.com>
7316         * Makeconfig (ASFLAGS): Add -Werror=undef.
7317         * sysdeps/arm/Versions (libc: GLIBC_2.19): New (empty) version set.
7318         * sysdeps/unix/make-syscalls.sh: Always emit #define's for
7319         SYSCALL_CANCELLABLE, SYSCALL_NOERRNO, SYSCALL_ERRVAL, to 1 or 0.
7321         * Makeconfig (after-link): New variable.
7322         (+link-pie, +link-pie-tests): Use it.
7323         (+link-static, +link-static-tests): Likewise.
7324         (+link, +link-tests): Likewise.
7325         * Makerules (build-module, build-module-asneeded): Likewise.
7326         (lib%.so, $(common-objpfx)libc.so, $(common-objpfx)linkobj/libc.so):
7327         Likewise.
7328         * elf/Makefile ($(objpfx)ld.so): Likewise.
7330 2015-02-12  Rüdiger Sonderfeld  <ruediger@c-plusplus.net>
7332         [BZ #17965]
7333         * manual/time.texi (Elapsed Time): tv_sec is of type time_t in
7334         both struct timeval and struct timespec.
7336 2015-02-12  Joseph Myers  <joseph@codesourcery.com>
7338         [BZ #16560]
7339         * math/e_exp2l.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
7340         and redefine.
7341         (__ieee754_exp2l): Do not multiply small fractional parts by
7342         M_LN2l.
7343         * sysdeps/i386/fpu/e_exp2l.S (__ieee754_exp2l): Just add 1 to
7344         small argument.
7345         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
7346         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
7347         * sysdeps/x86_64/fpu/e_exp2l.S (__ieee754_exp2l): Likewise.
7348         * math/auto-libm-test-in: Add more tests of exp2.
7349         * math/auto-libm-test-out: Regenerated.
7351 2015-02-12  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
7353         * sysdeps/powerpc/powerpc64/power7/strncpy.S (strncpy): Optimize
7354         unaligned path.
7356 2015-02-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7358         * sysdeps/unix/sysv/linux/powerpc/htm.h [TABORT]: Fix encoding for
7359         little endian.
7361 2015-02-12  Andreas Schwab  <schwab@suse.de>
7363         [BZ #15790]
7364         * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
7365         Filter out elision flags from value returned in kind.
7366         * nptl/Makefile (tests): Add tst-pthread-mutexattr.
7367         * nptl/tst-pthread-mutexattr.c: New file.
7369 2015-02-11  Samuel Thibault  <samuel.thibault@ens-lyon.org>
7371         * abi-tags: Revert ae20c9a: rename back gnu into gnu-gnu.
7372         * configure.ac, configure: Revert ba90e05: modify gnu-* host_os back
7373         into gnu-gnu, and update comment to refer to abi-tags.
7375 2015-02-11  Joseph Myers  <joseph@codesourcery.com>
7377         [BZ #15467]
7378         * sysdeps/ieee754/dbl-64/s_sincos.c: Include <errno.h>.
7379         (__sincos): Set errno to EDOM for infinite argument.
7380         * sysdeps/ieee754/flt-32/s_sincosf.c: Include <errno.h>.
7381         (SINCOSF_FUNC): Set errno to EDOM for infinite argument.
7382         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include <errno.h>.
7383         (__sincosl): Set errno to EDOM for infinite argument.
7384         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Include <errno.h>.
7385         (__sincosl): Set errno to EDOM for infinite argument.
7386         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include <errno.h>.
7387         (__sincosl): Set errno to EDOM for infinite argument.
7388         * math/libm-test.inc (sincos_test_data): Test errno setting.
7390 2015-02-11  Leonhard Holz  <leonhard.holz@web.de>
7392         * string/strxfrm_l.c: Remove #define STRCMP.
7393         * string/strcoll_l.c: Remove #define STRLEN.
7394         * wcsmbs/wcsxfrm_l.c: Remove #define STRCMP.
7395         * wcsmbs/wcscoll_l.c: Remove #define STRLEN.
7397 2015-02-10  Joseph Myers  <joseph@codesourcery.com>
7399         * sysdeps/mips/soft-fp/sfp-machine.h: Move to ....
7400         * sysdeps/mips/mips32/sfp-machine.h: ... here.
7401         * sysdeps/mips/mips64/soft-fp/Makefile: Move to ....
7402         * sysdeps/mips/mips64/Makefile: ... here.
7403         * sysdeps/mips/mips64/soft-fp/e_sqrtl.c: Move to ....
7404         * sysdeps/mips/mips64/e_sqrtl.c: ... here.
7405         * sysdeps/mips/mips64/soft-fp/sfp-machine.h: Move to ....
7406         * sysdeps/mips/mips64/sfp-machine.h: ... here.
7407         * sysdeps/mips/mips32/Implies: Remove mips/soft-fp.
7408         * sysdeps/mips/mips64/n32/Implies: Remove mips/mips64/soft-fp.
7409         * sysdeps/mips/mips64/n64/Implies: Likewise.
7411 2015-02-10  Roland McGrath  <roland@hack.frob.com>
7413         * math/test-snan.c: Drop unnecessary #include's of <stdlib.h>,
7414         <sys/time.h>, <string.h>, and <errno.h>.
7415         (dest_offset, dest_address, value, zero): Remove unused variables.
7416         (ldouble): Remove typedef.
7417         (myFPsighandler): Use simple handler signature, not SA_SIGINFO
7418         signature.  Pass 1 to siglongjmp rather than 0 (which is converted to
7419         1).  Fix code style.
7420         (set_sigaction_FP, remove_sigaction_FP): Functions removed.
7421         (check): Function removed.
7422         (CHECK): New macro.
7423         (TEST_FUNC): Fix code style.  Use CHECK macro rather than repeating
7424         boilerplate feclearexcept + feenableexcept + sigsetjmp code.
7425         Don't call set_sigaction_FP and remove_sigaction_FP here.
7426         (ldouble_test): Just use 'long double' as macro argument, no need for
7427         the 'ldouble' typedef.
7428         (do_test): Set up SIGFPE handler at start, using plain signal rather
7429         than sigaction.  Fix code style.
7431 2015-02-10  Evangelos Foutras  <evangelos@foutrelis.com>
7433         [BZ #17949]
7434         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Fix position of
7435         jump label.
7437 2015-02-09  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
7439         * sysdeps/powerpc/powerpc32/configure.ac: Remove R_PPC_REL16 check.
7440         * sysdeps/powerpc/powerpc32/configure: Regenerated.
7442         * sysdeps/powerpc/configure.ac: Remove file.
7443         * sysdeps/powerpc/configure: Likewise.
7445         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
7446         [sysdep_routines]: Remove wordcopy-power6 object.
7447         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
7448         (__memmove_power7): Use local call for wordcopy and memcpy symbols.
7449         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c
7450         (__memmove_ppc32): Likewise.
7451         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: Remove
7452         file.
7453         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Remove file.
7454         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c [IS_IN (libc)]:
7455         Remove preprocessor.
7457         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
7458         [sysdep_routines]: Remove wide chars objects.
7459         [wcsmbs]: New rule for wide char objects.
7461         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
7462         Remove wordcopy-power6 obejct.
7463         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c (__memmove_ppc):
7464         Use local call for wordcopy and memcpy symbols.
7465         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: Remove file.
7466         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: Add default
7467         implementation for loader.
7468         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Remove file.
7470         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
7471         Remove wordcopy-power7 object.
7472         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: Remove file.
7473         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c
7474         (_wordcopy_fwd_aligned): Remove POWER7 specialization.
7475         (_wordcopy_fwd_dest_aligned): Likewise.
7476         (_wordcopy_bwd_aligned): Likewise.
7477         (_wordcopy_bwd_dest_aligned): Likewise.
7479         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c (__bcopy_ppc):
7480         Rewrite to call __memmove_ppc instead of include default
7481         implementation.
7483         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
7484         Remove wide chars objects.
7485         [wcsmbs]: New rule for wide char objects.
7487 2015-02-09  Andreas Schwab  <schwab@suse.de>
7489         [BZ #17912]
7490         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
7491         in terms of __O_DIRECTORY.
7493 2015-02-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
7495         * time/getdate.c: Include <stdbool.h>.
7496         * sysdeps/gnu/unwind-resume.c [!PTR_MANGLE] (__libgcc_s_init): Do not
7497         call PTR_MANGLE.
7498         [!PTR_DEMANGLE] (_Unwind_Resume, __gcc_personality_v0): Do not call
7499         PTR_DEMANGLE.
7501 2015-02-07  Paul Eggert  <eggert@cs.ucla.edu>
7503         Add ersatz _Static_assert on older C hosts
7504         * misc/sys/cdefs.h (_Static_assert): Define a substitute, if on a
7505         pre-C11 C platform that is not known to support _Static_assert.
7507 2015-02-07  Richard Braun  <rbraun@sceen.net>
7509         * hurd/hurd/signal.h (_hurd_critical_section_lock): Don't unlock
7510         sigstate.
7511         * sysdeps/mach/hurd/mmap.c (__mmap): Also handle PROT_NONE case.
7513 2015-02-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
7515         * sysdeps/pthread/aio_misc.c [!AIO_PRIO_DELTA_MAX]: Do not check
7516         priority against unexistent AIO_PRIO_DELTA_MAX.
7517         * misc/chflags.c (chflags): Set flags parameter type to unsigned long
7518         instead of int.
7519         * misc/fchflags.c (fchflags): Likewise.
7520         * sysdeps/mach/hurd/chflags.c (chflags): Likewise.
7521         * sysdeps/mach/hurd/fchflags.c (fchflags): Likewise.
7522         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC] (UF_SETTABLE, UF_NODUMP,
7523         UF_IMMUTABLE, UF_APPEND, UF_OPAQUE, UF_NOUNLINK, SF_SETTABLE,
7524         SF_ARCHIVED, SF_IMMUTABLE, SF_APPEND, SF_NOUNLINK, SF_SNAPSHOT):
7525         Declare macros.
7526         [__USE_MISC] (chflags, fchflags): Declare functions.
7527         * hurd/hurdselect.c (_hurd_select): In the poll case, do not return
7528         EINVAL when nfds is greater than FD_SETSIZE.
7529         * hurd/hurd/resource.h (MACH_PRIORITY_TO_NICE,
7530         NICE_TO_MACH_PRIORITY): Align nice levels on Mach priorities from 5 to
7531         45.
7532         * hurd/hurdselect.c (_hurd_select): Pass MACH_RCV_INTERRUPT to
7533         __mach_msg.  If that returns MACH_RCV_INTERRUPTED, set ERR to EINTR.
7534         * hurd/hurdselect.c (_hurd_select): Remove unreachable check for
7535         MACH_RCV_TIMED_OUT.
7536         * hurd/hurd/signal.h (_hurd_self_sigstate,
7537         _hurd_critical_section_lock, _hurd_critical_section_unlock):
7538         Explicit casts from void *.
7539         * sysdeps/mach/hurd/tls.h: Include <stdint.h> and <sysdep.h>.
7540         * abi-tags: Rename gnu-gnu os into gnu.
7542         [BZ #4719]
7543         * sysdeps/mach/hurd/bits/ioctls.h (_IOT__IOTBASE_long, _IOT_char,
7544         _IOT_short, _IOT_int, _IOT_long, _IOT__IOTBASE_int8_t,
7545         _IOT__IOTBASE_uint8_t, _IOT__IOTBASE_int16_t, _IOT__IOTBASE_uint16_t,
7546         _IOT__IOTBASE_int32_t, _IOT__IOTBASE_uint32_t, _IOT__IOTBASE_int64_t,
7547         _IOT__IOTBASE_uint64_t, _IOT__IOTBASE_size_t, _IOT__IOTBASE_ssize_t,
7548         _IOTBASE_unsigned, _IOTBASE_signed): Define macros.
7550         [BZ #17944]
7551         * hurd/hurdsocket.h: New file, defines _hurd_sun_path_dupa which
7552         duplicates ADDR->sun_path with sockaddr LEN limitation.
7553         * sysdeps/mach/hurd/connect.c: Include <string.h>
7554         (__connect): Give result of _hurd_sun_path_dupa to name lookup.
7555         * sysdeps/mach/hurd/sendmsg.c: Likewise.
7556         * sysdeps/mach/hurd/sendto.c: Likewise.
7557         * sysdeps/mach/hurd/bind.c: Call _hurd_sun_path_dupa instead of
7558         implementing it by hand.
7560 2015-02-06  Roland McGrath  <roland@hack.frob.com>
7562         * sysdeps/arm/sysdep.h [!PROF] [ARCH_HAS_T2 && !PIC] (LDR_GLOBAL):
7563         Use sfi_breg on ldr.
7564         [!PROF] [ARCH_HAS_T2 && PIC && ARM_PCREL_MOVW_OK] (LDR_GLOBAL):
7565         Likewise.
7567         * nptl/tst-cancel25.c (tf2): Test for SIGCANCEL being blocked only if
7568         it's defined.
7569         * nptl/tst-signal7.c (do_test): Test SIGCANCEL only if it's defined.
7570         Test SIGSETXID only if it's defined.
7572         * nptl/tst-locale1.c (useless): Use SIGRTMIN only if it's defined.
7574         * rt/tst-timer2.c (do_test): Don't initialize SIGEV.sigev_signo, which
7575         will not be used.  Use NULL rather than 0 for .sigev_notify_attributes.
7577         * nptl/tst-align2.c: Moved ...
7578         * sysdeps/unix/sysv/linux/tst-align-clone.c: ... here.
7579         * nptl/Makefile (tests): Remove tst-align2.
7580         * sysdeps/unix/sysv/linux/Makefile
7581         [$(subdir) = nptl] (tests): Add tst-align-clone.
7582         * nptl/tst-getpid1.c: Moved ...
7583         * sysdeps/unix/sysv/linux/tst-getpid1.c: ... here.
7584         * nptl/tst-getpid2.c: Moved ...
7585         * sysdeps/unix/sysv/linux/tst-getpid2.c: ... here.
7586         * nptl/Makefile (tests): Move tst-getpid1 and tst-getpid2 ...
7587         * sysdeps/unix/sysv/linux/Makefile
7588         [$(subdir) = nptl] (tests): ... here.
7589         * nptl/Makefile (tst-getpid2-ENV): Move variable ...
7590         * sysdeps/unix/sysv/linux/Makefile
7591         [$(subdir) = nptl] (tst-getpid2-ENV): ... here.
7593         * nptl/tst-cleanup2.c (do_test): Use signal rather than sigaction.
7594         Drop trailing \n from perror argument.  Use return rather than exit.
7596         * nptl/tst-cancel20.c (do_test): Conditionalize SA_SIGINFO-using tests
7597         on [SA_SIGINFO].
7598         * nptl/tst-cancel21.c (do_test): Likewise.
7599         * debug/tst-backtrace6.c: Include <signal.h> first thing.
7600         Conditionalize inclusion of tst-backtrace5.c on [SA_SIGINFO].
7601         [!SA_SIGINFO]: Make it a stub test.
7603         * misc/tst-pselect.c (do_test): Don't set SA_NOCLDWAIT in sa_flags for
7604         SIGCHLD; it's redundant with SIG_IGN as sa_handler.
7606         * posix/tst-getlogin.c: Move to ...
7607         * login/tst-getlogin.c: ... here.
7608         * posix/Makefile (tests): Move tst-getlogin to ...
7609         * login/Makefile (tests): ... here.
7611         * libio/tst-atime.c (do_test): Move local variables SV and E
7612         inside [ST_NOATIME] conditional.
7614         * dirent/tst-fdopendir.c (O_NOATIME): If not defined, #define to 0.
7616         * nptl/tst-kill5.c (do_test): Use INT_MAX rather than SIGRTMAX + 10.
7618         * nptl/tst-join5.c: Drop #include <sys/syscall.h>.
7619         (wait_code): New function replaces macro.
7620         Call nanosleep rather than syscall.
7622         * nptl/pt-system.c: Rewritten.  Put everything under
7623         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
7624         Use IFUNC to redirect when possible.
7626         * nptl/pt-longjmp.c: Rewritten.  Put everything under
7627         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
7628         Use IFUNC to redirect when possible.
7630         * nptl/pt-fork.c: Rewritten.  Put everything under
7631         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
7632         Use IFUNC to redirect when possible.
7633         * nptl/Versions (libpthread: GLIBC_2.22): New (empty) version set.
7635         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: Remove all
7636         code under [!__ASSUME_FUTEX_CLOCK_REALTIME], since that is defined
7637         unconditionally nowadays.  This included the only reference to
7638         __vdso_clock_gettime that appears outside libc proper.
7639         * sysdeps/unix/sysv/linux/x86_64/Versions (libc: GLIBC_PRIVATE):
7640         Remove version set (containing only __vdso_clock_gettime).
7641         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
7642         Add attribute_hidden.
7643         * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
7644         Likewise.  Drop __attribute__ ((nocommon)), libc_hidden_proto, and
7645         libc_hidden_data_def.
7646         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
7647         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
7649         * inet/Versions (libc: GLIBC_2.0): Move getrpcbyname, getrpcbyname_r,
7650         getrpcbynumber, getrpcbynumber_r, getrpcent, getrpcent_r, endrpcent,
7651         setrpcent, and getrpcport to ...
7652         * sunrpc/Versions (libc: GLIBC_2.0): ... here.
7653         * inet/Versions (libc: GLIBC_2.1.2): Move getrpcbyname_r,
7654         getrpcbynumber_r, and getrpcent_r to ...
7655         * sunrpc/Versions (libc: GLIBC_2.1.2): ... this new set.
7656         * inet/getrpcbyname.c: Moved ...
7657         * sunrpc/getrpcbyname.c: ... here.
7658         * inet/getrpcbyname_r.c: Moved ...
7659         * sunrpc/getrpcbyname_r.c: ... here.
7660         * inet/getrpcbynumber.c: Moved ...
7661         * sunrpc/getrpcbynumber.c: ... here.
7662         * inet/getrpcbynumber_r.c: Moved ...
7663         * sunrpc/getrpcbynumber_r.c: ... here.
7664         * inet/getrpcent.c: Moved ...
7665         * sunrpc/getrpcent.c: ... here.
7666         * inet/getrpcent_r.c: Moved ...
7667         * sunrpc/getrpcent_r.c: ... here.
7668         * inet/Makefile (routines): Move those to ...
7669         * sunrpc/Makefile (routines): ... here.
7670         * nss/Makefile (databases): Add key and rpc only if sunrpc appears in
7671         the $(subdirs) list.
7672         (CPPFLAGS-getent.c): New variable.  Pass -D option to set HAVE_SUNRPC
7673         to 0 or 1, indicating whether sunrpc appears in the $(subdirs) list.
7674         * nss/getent.c (print_rpc, rpc_keys): Conditionalize on [HAVE_SUNRPC].
7675         (databases): Conditionalize rpc entry on [HAVE_SUNRPC].
7677         * elf/Makefile (routines): Include $(all-dl-routines), not just
7678         $(dl-routines).
7679         (rtld-routines): Likewise.  Use = rather than :=.
7680         * sysdeps/aarch64/Makefile [$(subdir) = elf]
7681         (sysdep_routines, sysdep-rtld-routines): Don't add tlsdesc and
7682         dl-tlsdesc to these; sysdep-dl-routines alone is enough.
7683         * sysdeps/arm/Makefile: Likewise.
7684         * sysdeps/i386/Makefile: Likewise.
7685         * sysdeps/x86_64/Makefile: Likewise.
7686         * sysdeps/hppa/Makefile [$(subdir) = elf]
7687         (sysdep_routines, sysdep-rtld-routines): Don't add
7688         $(sysdep-dl-routines) to these.
7689         * sysdeps/ia64/Makefile: Likewise.
7690         * sysdeps/unix/sysv/linux/ia64/Makefile: Likewise.
7691         * sysdeps/unix/sysv/linux/aarch64/Makefile [$(subdir) = elf]
7692         [$(build-shared) = yes] (sysdep_routines, sysdep-rtld-routines):
7693         Don't add dl-static to these; sysdep-dl-routines alone is enough.
7694         * sysdeps/unix/sysv/linux/m68k/Makefile: Likewise.
7695         * sysdeps/unix/sysv/linux/mips/Makefile: Likewise.
7696         * sysdeps/unix/sysv/linux/powerpc/Makefile: Likewise.
7697         * sysdeps/unix/sysv/linux/tile/Makefile: Likewise.
7698         * sysdeps/powerpc/Makefile [$(subdir) = elf]
7699         (sysdep_routines, sysdep-rtld-routines): Don't add dl-machine to
7700         these; sysdep-dl-routines alone is enough.
7702 2015-02-06  Joseph Myers  <joseph@codesourcery.com>
7704         [BZ #17932]
7705         * soft-fp/op-common.h (_FP_FMA): Set exponent of result in case
7706         where multiplication results in zero and third argument is finite
7707         and nonzero.
7708         * math/auto-libm-test-in: Add more tests of fma.
7709         * math/auto-libm-test-out: Regenerated.
7711         * soft-fp/op-common.h (_FP_CMP_CHECK_DENORM): New macro.
7712         (_FP_CMP_CHECK_FLUSH_ZERO): Likewise.
7713         (_FP_CMP): Use_FP_CMP_CHECK_DENORM and _FP_CMP_CHECK_FLUSH_ZERO.
7714         (_FP_CMP_EQ): Likewise.
7715         (_FP_CMP_UNORD): Use _FP_CMP_CHECK_DENORM.
7717         * soft-fp/op-common.h (FP_EXTEND): Rename to _FP_EXTEND_CNAN with
7718         extra argument CHECK_NAN.  Redefine as wrapper around
7719         _FP_EXTEND_CNAN.
7721 2015-02-06  Carlos O'Donell  <carlos@systemhalted.org>
7723         * version.h (RELEASE): Set to "stable".
7724         (VERSION): Set to "2.21"
7725         * include/features.h (__GLIBC_MINOR__): Set to 21.
7727         * sysdeps/unix/sysv/linux/hppa/pthread.h: Sync with pthread.h.
7729 2015-02-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
7730             Paul Eggert  <eggert@cs.ucla.edu>
7732         [BZ #16618]
7733         * stdio-common/tst-sscanf.c (main): Test for buffer overflow.
7734         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Compute needed
7735         size in bytes. Store needed elements in wpmax. Use needed size
7736         in bytes for extend_alloca.
7738 2015-02-05  Carlos O'Donell  <carlos@systemhalted.org>
7740         * manual/install.texi: Latest tested versions are GCC 4.9.2,
7741         binutls 2.25, and texinfo 5.2.
7742         * INSTALL: Regenerate.
7743         * sysdeps/nios2/configure: Regenerate.
7744         * sysdeps/unix/sysv/linux/nios2/configure: Regenerate.
7745         * manual/contrib.texi: Update.
7746         * po/be.po: Update.
7747         * po/bg.po: Update.
7748         * po/ca.po: Update.
7749         * po/cs.po: Update.
7750         * po/da.po: Update.
7751         * po/de.po: Update.
7752         * po/el.po: Update.
7753         * po/eo.po: Update.
7754         * po/es.po: Update.
7755         * po/fi.po: Update.
7756         * po/fr.po: Update.
7757         * po/gl.po: Update.
7758         * po/hr.po: Update.
7759         * po/hu.po: Update.
7760         * po/ia.po: Update.
7761         * po/id.po: Update.
7762         * po/it.po: Update.
7763         * po/ja.po: Update.
7764         * po/ko.po: Update.
7765         * po/lt.po: Update.
7766         * po/nb.po: Update.
7767         * po/nl.po: Update.
7768         * po/pl.po: Update.
7769         * po/pt_BR.po: Update.
7770         * po/ru.po: Update.
7771         * po/rw.po: Update.
7772         * po/sk.po: Update.
7773         * po/sl.po: Update.
7774         * po/sv.po: Update.
7775         * po/tr.po: Update.
7776         * po/uk.po: Update.
7777         * po/vi.po: Update.
7778         * po/zh_CN.po: Update.
7779         * po/zh_TW.po: Update.
7781         * sysdeps/hppa/Makefile (CFLAGS-dl-fptr.c): Add -Wno-error.
7782         * sysdeps/hppa/bits/setjmp.h: Union is named __jmp_buf_internal_tag.
7783         * sysdeps/hppa/dl-irel.h: Remove #warning.
7784         * sysdeps/hppa/entry.h: Provide prototype for
7785         __canonicalize_funcptr_for_compare and cast argument.
7786         * sysdeps/hppa/fpu/fegetexcept.c (fegetexcept): Add semicolon.
7787         * sysdeps/hppa/fpu/ftestexcept.c (fetestexcept): Likewise.
7788         * sysdeps/hppa/sotruss-lib.c: New file.
7789         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h
7790         (atomic_compare_and_exchange_val_acq): Use __typeof__.
7791         (atomic_compare_and_exchange_bool_acq): Likewise.
7792         * sysdeps/unix/sysv/linux/hppa/mmap.c: Use weak alias.
7793         * sysdeps/unix/sysv/linux/hppa/pthread.h: Include pthread.h.
7795         * sysdeps/unix/sysv/linux/hppa/syscall.S: Delete file.
7796         * sysdeps/unix/sysv/linux/hppa/sysdep.c: Move syscall from here...
7797         * sysdeps/unix/sysv/linux/hppa/syscall.c: ... to here.
7799 2015-02-05  Chung-Lin Tang  <cltang@codesourcery.com>
7801         * sysdeps/nios2/machine-gmon.h (NIOS2_MCOUNT_CALL): Correct name of
7802         called function in non-PIC case.
7804 2015-01-31  David S. Miller  <davem@davemloft.net>
7806         * sysdeps/sparc/sparc32/bits/atomic.h
7807         (__sparc32_atomic_do_unlock24): Put the memory barrier before the
7808         unlock not after it.
7809         (__v9_compare_and_exchange_val_32_acq): Use unions to avoid getting
7810         volatile register usage warnings from the compiler.
7812         * sysdeps/sparc/nptl/sem_init.c: Delete.
7813         * sysdeps/sparc/nptl/sem_post.c: Delete.
7814         * sysdeps/sparc/nptl/sem_timedwait.c: Delete.
7815         * sysdeps/sparc/nptl/sem_wait.c: Delete.
7816         * sysdeps/sparc/sparc32/sem_init.c: New file.
7817         * sysdeps/sparc/sparc32/sem_waitcommon.c: New file.
7818         * sysdeps/sparc/sparc32/sem_open.c: Generic nptl version with
7819         padding explicitly initialized.
7820         * sysdeps/sparc/sparc32/sem_post.c: Generic nptl version using
7821         padding for in-semaphore spinlock.
7822         * sysdeps/sparc/sparc32/sem_wait.c: Likewise.
7823         * sysdeps/sparc/sparc32/sem_trywait.c: Delete.
7824         * sysdeps/sparc/sparc32/sem_timedwait.c: Delete.
7825         * sysdeps/sparc/sparc32/sparcv9/sem_init.c: New file.
7826         * sysdeps/sparc/sparc32/sparcv9/sem_open.c: New file.
7827         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: New file.
7828         * sysdeps/sparc/sparc32/sparcv9/sem_waitcommon.c: New file.
7829         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Redirect to nptl
7830         version.
7831         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: Delete.
7832         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Delete.
7834 2015-01-30  H.J. Lu  <hongjiu.lu@intel.com>
7836         [BZ #17801]
7837         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
7838         Set the bit_AVX_Fast_Unaligned_Load bit for AVX2.
7839         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX_Fast_Unaligned_Load):
7840         New.
7841         (index_AVX_Fast_Unaligned_Load): Likewise.
7842         (HAS_AVX_FAST_UNALIGNED_LOAD): Likewise.
7843         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check the
7844         bit_AVX_Fast_Unaligned_Load bit instead of the bit_AVX_Usable bit.
7845         * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Likewise.
7846         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Likewise.
7847         * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Likewise.
7848         * sysdeps/x86_64/multiarch/memmove.c (__libc_memmove): Replace
7849         HAS_AVX with HAS_AVX_FAST_UNALIGNED_LOAD.
7850         * sysdeps/x86_64/multiarch/memmove_chk.c (__memmove_chk): Likewise.
7852 2015-01-29  Andreas Schwab  <schwab@suse.de>
7854         * sysdeps/nptl/allocrtsig.c: Include <signal.h>.
7856 2015-01-29  Siddhesh Poyarekar <siddhesh@redhat.com>
7858         [BZ #17892]
7859         * nscd/nscd_stat.c (send_stats): Initialize DATA.
7861 2015-01-28  Martin Sebor  <msebor@redhat.com>
7863         * math/README.libm-test: Clarify. Add "How to read the test output."
7865 2015-01-28  Chris Metcalf  <cmetcalf@ezchip.com>
7867         * sysdeps/tile/tilegx/bits/atomic.h [!_LP64] (__HAVE_64B_ATOMICS):
7868         Define to 0.
7870 2015-01-28  Joseph Myers  <joseph@codesourcery.com>
7872         * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIN32]
7873         (__HAVE_64B_ATOMICS): Define to 0.
7875 2015-01-28  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
7877         [BZ #17885]
7878         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Fix correct
7879         value to set as new flag.
7881         [BZ #16576]
7882         * sysdeps/powerpc/fpu/math_private.h [__CPU_HAS_FSQRT]: Remove define
7883         and use _ARCH_PPCSQ instead.
7884         (__ieee754_sqrt): Likewise.
7885         (__ieee754_sqrtf): Likewise.
7886         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Build only if
7887         _ARCH_PPCSQ is defined.
7888         (__ieee754_sqrt): Use _ARCH_PPCSQ to select wheter to use hardware
7889         fsqrt instruction.
7890         * sysdeps/powerpc/fpu/e_sqrtf.c (__ieee754_sqrtf): Build only if
7891         _ARCH_PPCSQ is defined.
7892         (__ieee754_sqrtf): Use _ARCH_PPCSQ to select wheter to use hardware
7893         fsqrts instruction.
7894         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Remove file.
7896 2015-01-27  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
7898         * iconv/loop.c: Suppress array out of bound warning caused by GCC
7899         bug (GCC BZ #64739).
7901 2015-01-25  Andreas Schwab  <schwab@linux-m68k.org>
7903         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h (lll_futex_requeue):
7904         Mark _retval as used.
7905         (lll_futex_wake_unlock): Likewise.
7906         (lll_futex_timed_wait_requeue_pi): Likewise.
7908         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
7909         (atomic_compare_and_exchange_val_acq): Use uint32_t for the
7910         register variables.
7912         * sysdeps/m68k/m680x0/fpu/fraiseexcpt.c (__feraiseexcept): Use
7913         libm_hidden_def.
7915         * sysdeps/m68k/bits/byteswap.h (__bswap_16, __bswap_32)
7916         (__bswap_64): Mark as __always_inline.
7918 2015-01-25  Bram  <bug_rh@spam.wizbit.be>
7920         [BZ #15378]
7921         * elf/dl-load.c (open_path): Avoid writing to 'env_path_list'
7922         when none of the search directories exist.
7924 2015-01-24  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
7926         [BZ #17869]
7927         * sysdeps/powerpc/powerpc64/power8/memset.S: Use power7 instead of
7928         power8 in .machine directive.
7930         [BZ #17868]
7931         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Force value
7932         set dependency from opd value.
7934 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
7936         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
7937         Treat model numbers 0x4a/0x4d/0x5a/0x5d as Intel Silvermont
7938         architecture.
7940 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
7942         [BZ #17870]
7943         * nptl/sem_post.c (__new_sem_post): Replace unsigned long int
7944         with uint64_t.
7945         * nptl/sem_waitcommon.c (__sem_wait_cleanup): Replace 1UL with
7946         (uint64_t) 1.
7947         (__new_sem_wait_fast): Replace unsigned long with uint64_t.
7948         (__new_sem_wait_slow): Replace unsigned long int with uint64_t.
7949         Replace 1UL with (uint64_t) 1.
7950         * sysdeps/nptl/internaltypes.h (new_sem): Replace unsigned long
7951         int with uint64_t.
7953 2015-01-23  Roland McGrath  <roland@hack.frob.com>
7955         * inet/if_index.c (if_nameindex): Add missing libc_hidden_weak.
7956         (if_freenameindex): Likewise.
7958         * resource/getrlimit64.c: Add missing libc_hidden_def.
7960 2015-01-22  Joseph Myers  <joseph@codesourcery.com>
7962         * soft-fp/op-common.h (_FP_ADD_INTERNAL): Declare labels with
7963         __label__.
7964         (_FP_FMA): Likewise.
7965         (_FP_TO_INT_ROUND): Likewise.
7966         (_FP_FROM_INT): Likewise.
7968 2015-01-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7970         [BZ #16418]
7971         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
7972         Make code racy and cancel safe.
7974 2015-01-21  Carlos O'Donell  <carlos@redhat.com>
7976         * sysdeps/arm/unwind-resume.h: Fix copyright year.
7977         * dlfcn/tst-rec-dlopen.c: Fix incorrect copyright year and
7978         attribution.
7980         * pwd/tst-getpw.c: Rewrite.
7982         [BZ #17702]
7983         * dlfcn/Makefile (tests): Add tst-rec-dlopen.
7984         (modules-names): Add moddummy1 and moddummy2.
7985         ($(objpfx)tst-rec-dlopen): Define.
7986         * dlfcn/moddummy1.c: New file.
7987         * dlfcn/moddummy2.c: New file.
7988         * dlfcn/tst-rec-dlopen.c: New file.
7989         * elf/dl-cache.c (_dl_load_cache_lookup):
7990         Return char*. Copy result with alloca/strcpy/strdup.
7991         * elf/dl-load.c (_dl_map_object): _dl_load_cached_lookup
7992         returns char*. Free cached. If not saving realname
7993         free cached.
7994         * elf/dl-open.c (dl_open_worker): Do not assert that
7995         _r_debug->r_state is RT_CONSISTENT.
7996         * sysdeps/generic/ldsodefs.h: _dl_load_cache_lookup
7997         returns char*.
7999 2015-01-21  Torvald Riegel  <triegel@redhat.com>
8000             Carlos O'Donell  <carlos@redhat.com>
8002         [BZ #12674]
8003         * nptl/sem_waitcommon.c: New file.
8004         * nptl/sem_wait.c: Include sem_waitcommon.c.
8005         (__sem_wait_cleanup, do_futex_wait): Remove.
8006         (__new_sem_wait): Adapt.
8007         (__new_sem_trywait): New function.
8008         (__old_sem_trywait): Moved here from nptl/sem_trywait.c.
8009         * nptl/sem_timedwait.c: Include sem_waitcommon.c.
8010         (__sem_wait_cleanup, do_futex_timed_wait): Remove.
8011         (sem_timedwait): Adapt.
8012         * nptl/sem_post.c (__new_sem_post): Adapt.
8013         (futex_wake): New function.
8014         (__old_sem_post): Add release MO fence.
8015         * nptl/sem_open.c (sem_open): Adapt.
8016         * nptl/sem_init.c (__new_sem_init): Adapt.
8017         (futex_private_if_supported): New function.
8018         * nptl/sem_getvalue.c (__new_sem_getvalue): Adapt.
8019         (__old_sem_getvalue): Add using previous code.
8020         * sysdeps/nptl/internaltypes.h: Adapt.
8021         * nptl/tst-sem13.c (do_test): Adapt.
8022         * nptl/tst-sem11.c (main): Adapt.
8023         * nptl/sem_trywait.c: Remove.
8024         * nptl/DESIGN-sem.txt: Remove.
8025         * nptl/Makefile (libpthread-routines): Remove sem_trywait.
8026         (gen-as-const-headers): Remove structsem.sym.
8027         * nptl/structsem.sym: Remove.
8028         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Remove.
8029         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Remove.
8030         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Remove.
8031         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Remove.
8032         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Remove.
8033         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Remove.
8034         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Remove.
8035         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Remove.
8036         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Remove.
8037         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Remove.
8038         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Remove.
8039         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Remove.
8040         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Remove.
8041         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: Remove.
8042         * sysdeps/unix/sysv/linux/sh/sem_post.S: Remove.
8043         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Remove.
8044         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Remove.
8045         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Remove.
8046         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: Remove.
8047         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Remove.
8048         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Remove.
8049         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Remove.
8051 2015-01-20  Carlos O'Donell  <carlos@redhat.com>
8053         * INSTALL: Regenerated.
8055         * po/libc.pot: Regenerated.
8057 2015-01-18  Chung-Lin Tang  <cltang@codesourcery.com>
8058             Sandra Loosemore  <sandra@codesourcery.com>
8059             Andrew Jenner  <andrew@codesourcery.com>
8060             Joseph Myers  <joseph@codesourcery.com>
8061             Nathan Sidwell  <nathan@codesourcery.com>
8063         * NEWS: Mention new Nios II port.
8064         * sysdeps/nios2/Implies: New file.
8065         * sysdeps/nios2/Makefile: New file.
8066         * sysdeps/nios2/Subdirs: New file.
8067         * sysdeps/nios2/Versions: New file.
8068         * sysdeps/nios2/__longjmp.S: New file.
8069         * sysdeps/nios2/abort-instr.h: New file.
8070         * sysdeps/nios2/backtrace.c: New file.
8071         * sysdeps/nios2/bits/endian.h: New file.
8072         * sysdeps/nios2/bits/fenv.h: New file.
8073         * sysdeps/nios2/bits/link.h: New file.
8074         * sysdeps/nios2/bits/setjmp.h: New file.
8075         * sysdeps/nios2/bsd-_setjmp.S: New file.
8076         * sysdeps/nios2/bsd-setjmp.S: New file.
8077         * sysdeps/nios2/configure: New generated file.
8078         * sysdeps/nios2/configure.ac: New file.
8079         * sysdeps/nios2/crti.S: New file.
8080         * sysdeps/nios2/crtn.S: New file.
8081         * sysdeps/nios2/dl-init.c: New file.
8082         * sysdeps/nios2/dl-machine.h: New file.
8083         * sysdeps/nios2/dl-sysdep.h: New file.
8084         * sysdeps/nios2/dl-tls.h: New file.
8085         * sysdeps/nios2/dl-trampoline.S: New file.
8086         * sysdeps/nios2/gccframe.h: New file.
8087         * sysdeps/nios2/gmp-mparam.h: New file.
8088         * sysdeps/nios2/jmpbuf-offsets.h: New file.
8089         * sysdeps/nios2/jmpbuf-unwind.h: New file.
8090         * sysdeps/nios2/ldsodefs.h: New file.
8091         * sysdeps/nios2/libc-tls.c: New file.
8092         * sysdeps/nios2/libm-test-ulps: New file.
8093         * sysdeps/nios2/machine-gmon.h: New file.
8094         * sysdeps/nios2/math-tests.h: New file.
8095         * sysdeps/nios2/math_private.h: New file.
8096         * sysdeps/nios2/memusage.h: New file.
8097         * sysdeps/nios2/nptl/Makefile: New file.
8098         * sysdeps/nios2/nptl/bits/pthreadtypes.h: New file.
8099         * sysdeps/nios2/nptl/bits/semaphore.h: New file.
8100         * sysdeps/nios2/nptl/pthread_spin_lock.c: New file.
8101         * sysdeps/nios2/nptl/pthreaddef.h: New file.
8102         * sysdeps/nios2/nptl/tcb-offsets.sym: New file.
8103         * sysdeps/nios2/nptl/tls.h: New file.
8104         * sysdeps/nios2/preconfigure: New file.
8105         * sysdeps/nios2/s_fma.c: New file.
8106         * sysdeps/nios2/s_fmaf.c: New file.
8107         * sysdeps/nios2/setjmp.S: New file.
8108         * sysdeps/nios2/sfp-machine.h: New file.
8109         * sysdeps/nios2/sotruss-lib.c: New file.
8110         * sysdeps/nios2/stackguard-macros.h: New file.
8111         * sysdeps/nios2/stackinfo.h: New file.
8112         * sysdeps/nios2/start.S: New file.
8113         * sysdeps/nios2/sysdep.h: New file.
8114         * sysdeps/nios2/tls-macros.h: New file.
8115         * sysdeps/nios2/tst-audit.h: New file.
8116         * sysdeps/unix/sysv/linux/nios2/Implies: New file.
8117         * sysdeps/unix/sysv/linux/nios2/Makefile: New file.
8118         * sysdeps/unix/sysv/linux/nios2/Versions: New file.
8119         * sysdeps/unix/sysv/linux/nios2/arch-fork.h: New file.
8120         * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: New file.
8121         * sysdeps/unix/sysv/linux/nios2/bits/mman.h: New file.
8122         * sysdeps/unix/sysv/linux/nios2/cacheflush.c: New file.
8123         * sysdeps/unix/sysv/linux/nios2/clone.S: New file.
8124         * sysdeps/unix/sysv/linux/nios2/configure: New generated file.
8125         * sysdeps/unix/sysv/linux/nios2/configure.ac: New file.
8126         * sysdeps/unix/sysv/linux/nios2/getcontext.S: New file.
8127         * sysdeps/unix/sysv/linux/nios2/kernel-features.h: New file.
8128         * sysdeps/unix/sysv/linux/nios2/kernel_rt_sigframe.h: New file.
8129         * sysdeps/unix/sysv/linux/nios2/makecontext.c: New file.
8130         * sysdeps/unix/sysv/linux/nios2/profil-counter.h: New file.
8131         * sysdeps/unix/sysv/linux/nios2/setcontext.S: New file.
8132         * sysdeps/unix/sysv/linux/nios2/shlib-versions: New file.
8133         * sysdeps/unix/sysv/linux/nios2/sigcontextinfo.h: New file.
8134         * sysdeps/unix/sysv/linux/nios2/swapcontext.S: New file.
8135         * sysdeps/unix/sysv/linux/nios2/sys/cachectl.h: New file.
8136         * sysdeps/unix/sysv/linux/nios2/sys/procfs.h: New file.
8137         * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: New file.
8138         * sysdeps/unix/sysv/linux/nios2/sys/user.h: New file.
8139         * sysdeps/unix/sysv/linux/nios2/syscall.S: New file.
8140         * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: New file.
8141         * sysdeps/unix/sysv/linux/nios2/sysdep.S: New file.
8142         * sysdeps/unix/sysv/linux/nios2/sysdep.h: New file.
8143         * sysdeps/unix/sysv/linux/nios2/ucontext_i.sym: New file.
8144         * sysdeps/unix/sysv/linux/nios2/vfork.S: New file.
8145         * sysdeps/unix/sysv/linux/nios2/c++-types.data: New file.
8146         * sysdeps/unix/sysv/linux/nios2/ld.abilist: New file.
8147         * sysdeps/unix/sysv/linux/nios2/libBrokenLocale.abilist: New file.
8148         * sysdeps/unix/sysv/linux/nios2/libanl.abilist: New file.
8149         * sysdeps/unix/sysv/linux/nios2/libc.abilist: New file.
8150         * sysdeps/unix/sysv/linux/nios2/libcrypt.abilist: New file.
8151         * sysdeps/unix/sysv/linux/nios2/libdl.abilist: New file.
8152         * sysdeps/unix/sysv/linux/nios2/libm.abilist: New file.
8153         * sysdeps/unix/sysv/linux/nios2/libnsl.abilist: New file.
8154         * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: New file.
8155         * sysdeps/unix/sysv/linux/nios2/libresolv.abilist: New file.
8156         * sysdeps/unix/sysv/linux/nios2/librt.abilist: New file.
8157         * sysdeps/unix/sysv/linux/nios2/libthread_db.abilist: New file.
8158         * sysdeps/unix/sysv/linux/nios2/libutil.abilist: New file.
8159         * sysdeps/unix/sysv/linux/nios2/localplt.data: New file.
8161 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
8163         [BZ #17844]
8164         * sysdeps/unix/sysv/linux/s390/s390-32/getutent.c
8165         (getutent): Use weak_alias in non SHARED case
8166         and default_symbol_version in SHARED case.
8167         * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c
8168         (getutent_r, pututline): Likewise.
8169         * sysdeps/unix/sysv/linux/s390/s390-32/getutid.c
8170         (getutid): Likewise.
8171         * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c
8172         (getutid_r): Likewise.
8173         * sysdeps/unix/sysv/linux/s390/s390-32/getutline.c
8174         (getutline): Likewise.
8175         * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c
8176         (getutline_r): Likewise.
8177         * sysdeps/unix/sysv/linux/s390/s390-32/updwtmp.c
8178         (updwtmp): Likewise.
8180 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
8182         [BZ #17848]
8183         * sysdeps/s390/s390-32/memcmp.S
8184         (memcmp_g5): Rename to __memcmp_g5.
8185         * sysdeps/s390/s390-32/memcpy.S
8186         (memcpy_g5): Rename to __memcpy_g5.
8187         Jump to __memcpy_mvcle instead of memcpy_mvcle.
8188         (memcpy_mvcle) Rename to __memcpy_mvcle.
8189         * sysdeps/s390/s390-32/memset.S
8190         (memset_g5): Rename to __memset_g5.
8191         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
8192         (IFUNC_RESOLVE): Prefix ifunc-resolve function
8193         and use prefixed functions.
8194         * sysdeps/s390/s390-32/multiarch/memcmp.S
8195         (memcmp_z196): Rename to __memcmp_z196.
8196         (memcmp_z10): Rename to __memcmp_z10.
8197         (memcmp): Set alias to __memcmp_g5.
8198         (bcmp): Set alias to __memcmp_g5.
8199         * sysdeps/s390/s390-32/multiarch/memcpy.S
8200         (memcpy_z196): Rename to __memcpy_z196.
8201         Jump to __memcpy_mvcle instead of memcpy_mvcle.
8202         (memcpy_z10): Rename to __memcpy_z10.
8203         Jump to __memcpy_mvcle instead of memcpy_mvcle.
8204         (memcpy): Set alias to __memcpy_g5.
8205         * sysdeps/s390/s390-32/multiarch/memset.S
8206         (memset_z196): Rename to __memset_z196.
8207         Jump to __memset_mvcle instead of memset_mvcle.
8208         (memset_z10): Rename to __memset_z10.
8209         Jump to __memset_mvcle instead of memset_mvcle.
8210         (memset_mvcle) Rename to __memset_mvcle.
8211         (memset): Set alias to __memset_g5.
8212         * sysdeps/s390/s390-64/memcmp.S
8213         (memcmp_z900): Rename to __memcmp_z900.
8214         * sysdeps/s390/s390-64/memcpy.S
8215         (memcpy_z900): Rename to __memcpy_z900.
8216         Jump to __memcpy_mvcle instead of memcpy_mvcle.
8217         (memcpy_mvcle) Rename to __memcpy_mvcle.
8218         * sysdeps/s390/s390-64/memset.S
8219         (memset_z900): Rename to __memset_z900.
8220         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c
8221         (IFUNC_RESOLVE): Prefix ifunc-resolve function
8222         and use prefixed functions.
8223         * sysdeps/s390/s390-64/multiarch/memcmp.S
8224         (memcmp_z196): Rename to __memcmp_z196.
8225         (memcmp_z10): Rename to __memcmp_z10.
8226         (memcmp): Set alias to __memcmp_z900.
8227         (bcmp): Set alias to __memcmp_z900.
8228         * sysdeps/s390/s390-64/multiarch/memcpy.S
8229         (memcpy_z196): Rename to __memcpy_z196.
8230         Jump to __memcpy_mvcle instead of memcpy_mvcle.
8231         (memcpy_z10): Rename to __memcpy_z10.
8232         Jump to __memcpy_mvcle instead of memcpy_mvcle.
8233         (memcpy): Set alias to __memcpy_z900.
8234         * sysdeps/s390/s390-64/multiarch/memset.S
8235         (memset_z196): Rename to __memset_z196.
8236         Jump to __memset_mvcle instead of memset_mvcle.
8237         (memset_z10): Rename to __memset_z10.
8238         Jump to __memset_mvcle instead of memset_mvcle.
8239         (memset_mvcle) Rename to __memset_mvcle.
8240         (memset): Set alias to __memset_z900.
8242 2015-01-14  Joseph Myers  <joseph@codesourcery.com>
8244         [BZ #17748]
8245         * sysdeps/powerpc/nofpu/feholdexcpt.c (__feholdexcept): Call
8246         __fesetenv instead of fesetenv.
8248 2015-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
8250         * sysdeps/s390/dl-tls.h [IS_IN (rtld)]: Define __tls_get_addr
8251         macro.
8253 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8255         * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Fix performance
8256         regression on LE.
8258         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: New file.
8259         * sysdeps/powerpc/powerpc64/power8/strncmp.S: New file.
8260         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
8261         strncmp-power8 object.
8262         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8263         (__libc_ifunc_impl_list): Add __strncmp_power8 implementation.
8264         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c (strncmp): Likewise.
8265         * NEWS: Update.
8267 2015-01-13  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
8268             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8270         * sysdeps/powerpc/powerpc64/power7/strcmp.S (strcmp): Optimize
8271         trailing byte check.
8273 2015-01-13  David S. Miller  <davem@davemloft.net>
8275         * include/signal.h (__sigreturn): Guard with __USE_MISC.
8277 2015-01-13  Roland McGrath  <roland@hack.frob.com>
8279         * login/logout.c (logout): Use memset rather than bzero.
8280         * nis/nss_compat/compat-pwd.c (getpwent_next_file): Likewise.
8281         * nis/nss_compat/compat-spwd.c (getspent_next_file): Likewise.
8282         * resolv/gethnamaddr.c (gethostbyaddr): Use memcmp rather than bcmp.
8283         (_gethtbyaddr): Likewise.
8284         * locale/programs/simple-hash.c (bcopy): Macro removed.
8286 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8288         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
8289         Add strcmp-power8 object.
8290         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8291         (__libc_ifunc_impl_list): Add __strcmp_power8 implementation.
8292         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: New file.
8293         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c (strcmp): Add
8294         __strcmp_power8 implementation.
8295         * sysdeps/powerpc/powerpc64/power8/strcmp.S: New file.
8296         * NEWS: Update.
8298         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
8299         Add strncpy-power8 and stpncpy-power8 objects.
8300         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8301         (__libc_ifunc_impl_list): Add __strncpy_power8 and stpncpy_power8
8302         implementations.
8303         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: New file.
8304         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c (__stpncpy): Add
8305         __stpncpy_power8 implementation.
8306         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: New file.
8307         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c (strncpy): Add
8308         __strncpy_power8 implementation.
8309         * sysdeps/powerpc/powerpc64/power8/stpncpy.S: New file.
8310         * sysdeps/powerpc/powerpc64/power8/strncpy.S: New file.
8311         * NEWS: Update.
8313         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.c: New file.
8314         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: Remove file.
8315         * sysdeps/powerpc/powerpc64/power7/strncat.S: Likewise.
8317         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
8318         strncat-power8 object.
8319         * sysdeps/powerpc/powerpc64/multiarch/strcat.c (strcat): Add
8320         __strcat_power8 implementation.
8321         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8322         (__libc_ifunc_impl_list): Add __strcat_power8 implementation.
8323         * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: New file:
8324         optimized strcat for power8.
8326         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
8327         strcpy-power8 and stpcpy-power8 objects.
8328         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8329         (__libc_ifunc_impl_list): Add __strcpy_power8 and __stpcpy_power8
8330         implementations.
8331         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: New file:
8332         multiarch stpcpy implementation for POWER8.
8333         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: New file;
8334         multiarch strcpy implementation for POWER8.
8335         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c (strcpy): Add
8336         __strcpy_power8 function.
8337         * sysdeps/powerpc/powerpc64/power8/stpcpy.S: New file: optimized
8338         stpcpy for POWER8.
8339         * sysdeps/powerpc/powerpc64/power8/strcpy.S: New file: optimized
8340         strcpy for POWER8.
8341         * NEWS: Update.
8343 2015-01-13  Leonhard Holz  <leonhard.holz@web.de>
8345         [BZ #16009]
8346         * string/strxfrm_l.c (STRXFRM): Allocate fixed size cache for
8347         weights and rules. Use do_xfrm_cached if data fits in cache,
8348         do_xfrm otherwise.  Moved former main loop to...
8349         * (do_xfrm_cached): New function.
8350         * (do_xfrm): Non-caching version of do_xfrm_cached. Uses
8351         find_idx, find_position and stack_push.
8352         * (find_idx): New function.
8353         * (find_position): Likewise.
8354         * localedata/sort-test.sh: Added test run for do_xfrm.
8355         * localedata/xfrm-test.c (main): Added command line option
8356         -nocache to run the test with strings that are too large for
8357         the STRXFRM cache.
8359 2015-01-13  Torvald Riegel  <triegel@redhat.com>
8361         * sysdeps/nptl/fork.c (__libc_fork): Provide address of futex
8362         variable to lll_futex_wake call, not the value itself.
8364 2015-01-12  Joseph Myers  <joseph@codesourcery.com>
8366         [BZ #17803]
8367         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (twom63): Rename to
8368         twom64.  Adjust value to 0x1p-64L.
8369         (__scalblnl): Only return standard underflowing result for K <=
8370         -64 not K <= -63; adjust exponent for underflowing result by 64
8371         not 63.
8372         * math/libm-test.inc (scalbn_test_data): Add more tests.
8373         (scalbln_test_data): Likewise.
8375         [BZ #17834]
8376         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (two63): Change value to
8377         0x1p63L.
8378         (__scalblnl): Get new exponent of adjusted subnormal value from ES
8379         not HX.
8380         * math/libm-test.inc (scalbn_test_data): Add more tests.
8381         (scalbln_test_data): Likewise.
8383 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8384             Stefani Seibold  <stefani@seibold.net>
8386         * sysdeps/unix/sysv/linux/x86_64/Makefile [$(subdir) = elf]
8387         (sysdep_routines): Add dl-vdso here, ...
8388         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = elf]
8389         (sysdep_routines): ... not here.
8390         * sysdeps/unix/sysv/linux/i386/gettimeofday.c: New file: set syscall
8391         fallback when vDSO is not presented.
8392         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
8393         Define with libc_hidden_proto/libc_hidden_data_def definitions.
8394         (_libc_vdso_platform_setup): Rename to __vdso_platform_setup.
8395         * sysdeps/unix/sysv/linux/i386/init-first.c: New file: likewise.
8396         * sysdeps/unix/sysv/linux/i386/time.c: New file: likewise.
8397         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Moved to ...
8398         * sysdeps/unix/sysv/linux/x86/libc-vdso.h: ... here.
8399         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: Move to ...
8400         * sysdeps/unix/sysv/linux/x86/clock_gettime.c: ... here.
8401         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Move to ...
8402         * sysdeps/unix/sysv/linux/x86/gettimeofday.c: ... here.  Also added
8403         fallback configurable symbol when vDSO is not available.
8404         * sysdeps/unix/sysv/linux/x86_64/time.c: Move to ...
8405         * sysdeps/unix/sysv/linux/x86/time.c: ... here.  Also refactored to
8406         be able to redefine fallback symbol when vDSO is not available.
8407         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: Move to ...
8408         * sysdeps/unix/sysv/linux/x86/timespec_get.c: ... here.
8410 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8412         * sysdeps/powerpc/nptl/tls.h (tcbhead_t): Add tm_capable field.
8413         (TLS_INIT_TP): Add tm_capable initialization.
8414         (TLS_DEFINE_INIT_TP): Likewise.
8415         (THREAD_GET_TM_CAPABLE): New file: get tm_capable field value from
8416         TCB.
8417         (THREAD_SET_TM_CAPABLE): New file: set tm_capable field value in TCB.
8418         * sysdeps/powerpc/nptl/tcb-offsets.sym (TM_CAPABLE): Add field offset
8419         calculation.
8420         * sysdeps/powerpc/powerpc32/sysdep.h (DO_CALL): Abort hardware
8421         transactoion is lock elision is built and TCB tm_capable is set.
8422         * sysdeps/powerpc/powerpc64/sysdep.h (DO_CALL): Likewise.
8423         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
8424         (INTERNAL_SYSCALL_NCS): Likewise.
8425         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
8426         (INTERNAL_SYSCALL_NCS): Likewise.
8427         * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): New define.
8429         * sysdeps/powerpc/nptl/elide.h: New file: generic lock elision support
8430         for powerpc.
8431         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
8432         [pthread_rwlock_t] (__pad1): Change size to 7 bytes in 64 bits case
8433         and remove it for 32 bits case.
8434         [pthread_rwlock_t] (__rwelision): New field for lock elision.
8435         (__PTHREAD_RWLOCK_ELISION_EXTRA): Adjust for new lock elision field
8436         initialization.
8437         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c (elision_init):
8438         Disable lock elision with rdlocks if elision is not available.
8440         * sysdeps/unix/sysv/linux/powerpc/Makefile [nptl]
8441         (sysdep_routines): Add lock elision objects.
8442         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
8443         [pthread_mutex_t] (__spins): Rework to add lock elision field.
8444         [pthread_mutex_t] (__elision): Add field.
8445         [__PTHREAD_SPINS]: Adjust to init lock elision field.
8446         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c: New file: lock
8447         elision definitions for powerpc.
8448         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: New file:
8449         implementation of lock elision for powerpc.
8450         * sysdeps/unix/sysv/linux/powerpc/elision-timed.c: New file:
8451         implementation of timed lock elision for powerpc.
8452         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: New file:
8453         implementation of trylock with lock elision for powerpc.
8454         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: New file:
8455         implementaion of unlock for lock elision for powerpc.
8456         * sysdeps/unix/sysv/linux/powerpc/force-elision.h: New file:
8457         automatic enable lock elision for mutexes.
8458         * sysdeps/unix/sysv/linux/powerpc/htm.h: New file: hardware
8459         transaction execution definitions for powerpc.
8460         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: New file: add TLE
8461         definitions.
8462         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_cond_lock.c: New file.
8463         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_lock.c: Likewise.
8464         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_timedlock.c: Likewise.
8465         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_trylock.c: Likewise.
8466         * NEWS: Update.
8468 2015-01-09  Roland McGrath  <roland@hack.frob.com>
8470         * sysdeps/posix/shm-directory.c: Use <> rather than ""
8471         for #include of <shm-directory.h>.
8473 2015-01-09  Chung-Lin Tang  <cltang@codesourcery.com>
8475         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Remove MIN() and
8476         assign raw DT_REL[A]COUNT value to ranges[0].nrelative.
8478 2015-01-09  Matthew Fortune <matthew.fortune@imgtec.com>
8480         [BZ #17791]
8481         * NEWS: Mention bug fix.
8482         * sysdepsysdeps/unix/sysv/linux/microblaze/sys/user.h
8483         (PAGE_SHIFT, PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Remove.
8484         (HOST_TEXT_START_ADDR, HOST_STACK_END_ADDR): Remove.
8486 2015-01-09  Torvald Riegel <triegel@redhat.com>
8488         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Delete file.
8490 2015-01-09  Torvald Riegel <triegel@redhat.com>
8492         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: Delete file.
8494 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
8496         * sysdeps/microblaze/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as void
8497         pointer and cast to uintptr_t.
8499 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
8501         * sysdeps/microblaze/nptl/tls.h (__microblaze_get_thread_area): Function
8502         removed.
8503         (READ_THREAD_POINTER): Use __microblaze_thread_area instead.
8505 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
8507         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Use NULL instead
8508         of 0.
8510 2015-01-08  Roland McGrath  <roland@hack.frob.com>
8512         * sysdeps/pthread/timer_routines.c: Fix <pthreadP.h> include to use
8513         <nptl/pthreadP.h> instead.
8514         * sysdeps/pthread/aio_notify.c: Include <signal.h> for raise decl.
8516         * signal/allocrtsig.c (RESERVED_SIGRT): New macro, defined to 0 if not
8517         already defined.
8518         [__SIGRTMIN] (init): Function removed.
8519         [__SIGRTMIN] (initialized): Variable removed.
8520         [!__SIGRTMIN] (current_rtmin, current_rtmax): Variables removed.
8521         [__SIGRTMIN] (current_rtmin, current_rtmax): Initialize to
8522         __SIGRTMIN + RESERVED_SIGRT and __SIGRTMAX, respectively.
8523         (__libc_current_sigrtmin) [__SIGRTMIN]: Don't call init.
8524         (__libc_current_sigrtmin) [!__SIGRTMIN]: Just return -1.
8525         (__libc_current_sigrtmin): Add __libc_current_sigrtmin_private alias.
8526         (__libc_current_sigrtmax) [__SIGRTMIN]: Don't call init.
8527         (__libc_current_sigrtmax) [!__SIGRTMIN]: Just return -1.
8528         (__libc_current_sigrtmax): Add __libc_current_sigrtmax_private alias.
8529         (__libc_allocate_rtsig) [__SIGRTMIN]: Don't call init.
8530         (__libc_allocate_rtsig): Add __libc_allocate_rtsig_private alias.
8531         * sysdeps/nptl/allocrtsig.c: New file.
8532         * sysdeps/unix/sysv/linux/allocrtsig.c: File removed.
8533         * sysdeps/unix/sysv/linux/testrtsig.h: File removed.
8534         * sysdeps/generic/testrtsig.h: File removed.
8536         * nptl/pthread_sigmask.c [SIGCANCEL || SIGTIMER || SIGSETXID]: #error.
8537         (pthread_sigmask): Call sigprocmask, not __sigprocmask.
8539         * nptl/nptl-init.c (pthread_functions): Conditionalize
8540         .ptr__nptl_setxid initialization on [SIGSETXID].
8542         * sysdeps/nptl/sys/procfs.h: New file.
8543         * nptl_db/Makefile (headers): Add it.
8544         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Don't add it.
8546         * nptl/pthreadP.h (check_cpuset_attr): Moved ...
8547         * sysdeps/unix/sysv/linux/check-cpuset.h: ... to this new file.
8548         * nptl/pthread_attr_setaffinity.c: Include it.
8549         * nptl/pthread_setattr_default_np.c: Likewise.
8550         * nptl/check-cpuset.h: New file.
8552 2015-01-08  Richard Henderson  <rth@redhat.com>
8554         * elf/Makefile (CFLAGS-tst-execstack-mod.c): Add -Wno-trampolines
8555         (CFLAGS-tst-execstack-prog.c): Likewise.
8556         * nptl/Makefile (CFLAGS-tst-execstack-mod.c): Likewise.
8558 2015-01-08  Chung-Lin Tang  <cltang@codesourcery.com>
8559             Sandra Loosemore  <sandra@codesourcery.com>
8560             Andrew Jenner  <andrew@codesourcery.com>
8561             Joseph Myers  <joseph@codesourcery.com>
8562             Nathan Sidwell  <nathan@codesourcery.com>
8564         * elf/elf.h (EM_ALTERA_NIOS2): New machine number for Altera Nios II.
8565         (DT_NIOS2_GP): New dynamic entry type for Nios II _gp address.
8566         (R_NIOS2_NONE,R_NIOS2_S16,R_NIOS2_U16): Define Nios II relocations.
8567         (R_NIOS2_PCREL16,R_NIOS2_CALL26,R_NIOS2_IMM5): Likewise.
8568         (R_NIOS2_CACHE_OPX,R_NIOS2_IMM6,R_NIOS2_IMM8,R_NIOS2_HI16): Likewise.
8569         (R_NIOS2_LO16,R_NIOS2_HIADJ16,R_NIOS2_BFD_RELOC_32): Likewise.
8570         (R_NIOS2_BFD_RELOC_16,R_NIOS2_BFD_RELOC_8,R_NIOS2_GPREL): Likewise.
8571         (R_NIOS2_GNU_VTINHERIT,R_NIOS2_GNU_VTENTRY,R_NIOS2_UJMP): Likewise.
8572         (R_NIOS2_CJMP,R_NIOS2_CALLR,R_NIOS2_ALIGN,R_NIOS2_GOT16): Likewise.
8573         (R_NIOS2_CALL16,R_NIOS2_GOTOFF_LO,R_NIOS2_GOTOFF_HA): Likewise.
8574         (R_NIOS2_PCREL_LO,R_NIOS2_PCREL_HA,R_NIOS2_TLS_GD16): Likewise.
8575         (R_NIOS2_TLS_LDM16,R_NIOS2_TLS_LDO16,R_NIOS2_TLS_IE16): Likewise.
8576         (R_NIOS2_TLS_LE16,R_NIOS2_TLS_DTPMOD,R_NIOS2_TLS_DTPREL): Likewise.
8577         (R_NIOS2_TLS_TPREL,R_NIOS2_COPY,R_NIOS2_GLOB_DAT): Likewise.
8578         (R_NIOS2_JUMP_SLOT,R_NIOS2_RELATIVE,R_NIOS2_GOTOFF): Likewise.
8579         (R_NIOS2_CALL26_NOAT,R_NIOS2_GOT_LO,R_NIOS2_GOT_HA): Likewise.
8580         (R_NIOS2_CALL_LO,R_NIOS2_CALL_HA): Likewise.
8582 2015-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8584         * sysdeps/unix/sysv/linux/futimens.c (futimens): Use address of first
8585         timespec struct member in syscall macro.
8586         * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
8587         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Use address of
8588         first timeval struct member in syscall macro.
8589         * sysdeps/unix/sysv/linux/utimes.c (__utimeS): Likewise.
8591 2015-01-07  Joseph Myers  <joseph@codesourcery.com>
8593         [BZ #17748]
8594         * include/fenv.h (__feupdateenv): Use libm_hidden_proto.
8595         * math/feupdateenv.c (__feupdateenv): Use libm_hidden_def.
8596         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Rename to
8597         __feupdateenv and define as weak alias of __feupdateenv.  Use
8598         libm_hidden_weak.
8599         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Use
8600         libm_hidden_def.
8601         * sysdeps/arm/feupdateenv.c (feupdateenv): Rename to __feupdateenv
8602         and define as weak alias of __feupdateenv.  Use libm_hidden_weak.
8603         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
8604         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Use
8605         libm_hidden_def.
8606         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Rename to
8607         __feupdateenv and define as weak alias of __feupdateenv.  Use
8608         libm_hidden_weak.
8609         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Use
8610         libm_hidden_def.
8611         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Rename to
8612         __feupdateenv and define as weak alias of __feupdateenv.  Use
8613         libm_hidden_weak.
8614         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Use
8615         libm_hidden_def.
8616         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
8617         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
8618         (__feupdateenv): Likewise.
8619         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Rename to
8620         __feupdateenv and define as weak alias of __feupdateenv.  Use
8621         libm_hidden_weak.
8622         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
8623         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Use
8624         libm_hidden_def.
8625         * sysdeps/tile/math_private.h (__feupdateenv): New inline
8626         function.
8627         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Use
8628         libm_hidden_def.
8629         * sysdeps/generic/math_private.h (default_libc_feupdateenv): Call
8630         __feupdateenv instead of feupdateenv.
8631         (default_libc_feupdateenv_test): Likewise.
8632         (libc_feresetround_ctx): Likewise.
8634 2015-01-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8636         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Fix function
8637         prototype.
8639 2015-01-07  Chris Metcalf  <cmetcalf@ezchip.com>
8641         * posix/regcomp.c (parse_bracket_exp): Initialize type to
8642         COLL_SYM in a couple of places to avoid uninitialized variable
8643         wanings on tilegx gcc 4.8.2.
8645 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
8647         * sysdeps/aarch64/strcpy.S: New file.
8648         * sysdeps/aarch64/stpcpy.S: New file.
8649         * NEWS: Updated.
8651 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
8653         * sysdeps/aarch64/strrchr.S: New file.
8654         * NEWS: Updated.
8656 2015-01-07  Eric Biggers  <ebiggers3@gmail.com>
8658         [BZ #17658]
8659         * stdlib/setenv.c: Fix memory leak when setting large,
8660         duplicate string.
8662 2015-01-06  Vladimir A. Nazarenko  <naszar@ya.ru>
8664         [BZ #17273]
8665         * misc/mntent_r.c (__getmntent_r): Cut off trailing spaces
8666         and tabs from buffer before parsing fstab entry.
8667         * misc/tst-mntent.c (main): Add test for mount entry with
8668         trailing spaces and tabs.
8670 2015-01-06  Joseph Myers  <joseph@codesourcery.com>
8672         [BZ #17748]
8673         * include/fenv.h (__fesetround): Declare.  Use libm_hidden_proto.
8674         * math/fesetround.c (fesetround): Rename to __fesetround and
8675         define as weak alias of __fesetround.  Use libm_hidden_weak.
8676         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Likewise.
8677         * sysdeps/alpha/fpu/fesetround.c (fesetround): Likewise.
8678         * sysdeps/arm/fesetround.c (fesetround): Likewise.
8679         * sysdeps/hppa/fpu/fesetround.c (fesetround): Likewise.
8680         * sysdeps/i386/fpu/fesetround.c (fesetround): Likewise.
8681         * sysdeps/ia64/fpu/fesetround.c (fesetround): Likewise.
8682         * sysdeps/m68k/fpu/fesetround.c (fesetround): Likewise.
8683         * sysdeps/mips/fpu/fesetround.c (fesetround): Likewise.
8684         * sysdeps/powerpc/fpu/fenv_libc.h (__fesetround): Rename to
8685         __fesetround_inline.
8686         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetround_ppc): Call
8687         __fesetround_inline instead of __fesetround.
8688         * sysdeps/powerpc/fpu/fesetround.c (fesetround): Rename to
8689         __fesetround and define as weak alias of __fesetround.  Use
8690         libm_hidden_weak.  Call __fesetround_inline instead of
8691         __fesetround.
8692         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Rename to
8693         __fesetround and define as weak alias of __fesetround.  Use
8694         libm_hidden_weak.
8695         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c (fesetround):
8696         Likewise.
8697         * sysdeps/s390/fpu/fesetround.c (fesetround): Likewise.
8698         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
8699         * sysdeps/sparc/fpu/fesetround.c (fesetround): Likewise.
8700         * sysdeps/tile/math_private.h (__fesetround): New inline function.
8701         * sysdeps/x86_64/fpu/fesetround.c (fesetround): Rename to
8702         __fesetround and define as weak alias of __fesetround.  Use
8703         libm_hidden_weak.
8704         * sysdeps/generic/math_private.h (default_libc_fesetround): Call
8705         __fesetround instead of fesetround.
8706         (default_libc_feholdexcept_setround): Likewise.
8707         (libc_feholdsetround_ctx): Likewise.
8708         (libc_feholdsetround_noex_ctx): Likewise.
8710         [BZ #17748]
8711         * include/fenv.h (__fesetenv): Use libm_hidden_proto.
8712         * math/fesetenv.c (__fesetenv): Use libm_hidden_def.
8713         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
8714         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
8715         * sysdeps/alpha/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
8716         * sysdeps/arm/fesetenv.c (fesetenv): Rename to __fesetenv and
8717         define as weak alias of __fesetenv.  Use libm_hidden_weak.
8718         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
8719         * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
8720         * sysdeps/ia64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
8721         define as weak alias of __fesetenv.  Use libm_hidden_weak.
8722         * sysdeps/m68k/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
8723         * sysdeps/mips/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
8724         define as weak alias of __fesetenv.  Use libm_hidden_weak.
8725         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Use
8726         libm_hidden_def.
8727         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Likewise.
8728         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c (__fesetenv):
8729         Likewise.
8730         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
8731         define as weak alias of __fesetenv.  Use libm_hidden_weak.
8732         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
8733         * sysdeps/sparc/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
8734         * sysdeps/tile/math_private.h (__fesetenv): New inline function.
8735         * sysdeps/x86_64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
8736         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
8737         * sysdeps/generic/math_private.h (default_libc_fesetenv): Use
8738         __fesetenv instead of fesetenv.
8739         (libc_feresetround_noex_ctx): Likewise.
8740         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
8741         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
8742         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Likewise.
8743         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
8744         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
8745         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
8746         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
8747         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
8748         (__feupdateenv): Likewise.
8749         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
8750         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
8751         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
8752         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Likewise.
8754 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
8756         [BZ #17806]
8757         * resolv/res_init.c (__res_iclose): Only clear nsinit if the
8758         addresses have been freed.
8760 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
8762         * resolv/res_init.c (__res_vinit): Improve comments about nserv
8763         and nservall.
8765 2015-01-06  Ondřej Bílka  <neleai@seznam.cz>
8767         * sysdeps/unix/sysv/linux/check_pf.c (make_request):
8768         Clean up check_pf allocation pattern. addresses
8770 2015-01-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8772         * nptl/pthread_cancel.c (pthread_cancel): Use ANSI prototype.
8773         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Likewise.
8774         * nptl/pthread_cond_wait.c (__pthread_cond_wait): Likewise.
8775         * nptl/pthread_exit.c (__pthread_exit): Likewise.
8776         * nptl/pthread_join.c (pthread_join): Likewise.
8777         * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
8778         * sysdeps/posix/waitid.c (__waitid): Likewise.
8779         * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
8780         * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
8781         * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
8782         * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
8783         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
8784         Likewise.
8785         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
8786         (__libc_pread64): Likewise.
8787         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
8788         (__libc_pwrite): Likewise.
8789         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
8790         (__libc_pwrite64): Likewsie.
8791         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
8792         * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
8793         * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
8794         * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
8795         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
8796         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
8797         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
8798         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
8799         Likewise.
8800         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
8801         (__libc_pread64): Likewise.
8802         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_pwrite):
8803         Likewise.
8804         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
8805         (__libc_pwrite64): Likewise.
8806         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
8807         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
8808         * sysdeps/unix/sysv/linux/preadv.c (PREADV): Likewise.
8809         * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
8810         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
8811         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
8812         * sysdeps/unix/sysv/linux/pwritev.c (__libc_pwritev): Likewise.
8813         * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
8814         * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
8815         * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
8816         * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_write64): Likewise.
8817         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
8818         * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
8819         * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Likewise.
8820         * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
8821         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
8822         Likewise.
8824 2015-01-06  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
8826         * math/Makefile (CFLAGS-test-float.c): Remove -frounding-math.
8827         (CFLAGS-test-double.c): Likewise.
8828         (CFLAGS-test-ldouble.c): Likewise.
8829         (CPPFLAGS-test-ifloat.c): Likewise.
8830         (CPPFLAGS-test-idouble.c): Likewise.
8831         (CPPFLAGS-test-ildoubl.c): Likewise.
8832         (CFLAGS-test-test-fenv.c): Remove variable.
8833         (CFLAGS-test-misc.c): Likewise.
8835 2015-01-06  H.J. Lu  <hongjiu.lu@intel.com>
8837         [BZ #17797]
8838         * bits/time.h (CLOCKS_PER_SEC): Changed to ((clock_t) 1000000).
8839         * sysdeps/unix/sysv/linux/bits/time.h (CLOCKS_PER_SEC): Likewise.
8840         * sysdeps/unix/sysv/linux/clock.c (clock): _Static_assert
8841         CLOCKS_PER_SEC == 1000000.
8842         * time/clocktest.c (main): Replace %ld with %jd and cast to
8843         intmax_t.
8845 2015-01-05  Roland McGrath  <roland@hack.frob.com>
8847         * sysdeps/generic/unwind-resume.h: New file.
8848         * sysdeps/gnu/unwind-resume.c: Include it.
8849         (libgcc_s_personality): Use PERSONALITY_PROTO macro for the prototype.
8850         (__gcc_personality_v0): Likewise, and PERSONALITY_ARGS for the callee
8851         argument list.
8852         (libgcc_s_resume): Variable renamed to __libgcc_s_resume, made hidden
8853         global rather than static.
8854         (_Unwind_Resume): Update user.
8855         Conditionalize definition on [!HAVE_ARCH_UNWIND_RESUME].
8856         (init): Likewise.  Renamed to __libgcc_s_init, made hidden global
8857         rather than static.  Add __attribute__ ((cold)).
8858         (_Unwind_Resume, __gcc_personality_v0): Update callers.
8859         * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
8860         * sysdeps/arm/arm-unwind-resume.S: New file.
8861         * sysdeps/arm/rt-arm-unwind-resume.S: New file.
8862         * sysdeps/arm/pt-arm-unwind-resume.S: New file.
8863         * sysdeps/arm/Makefile [$(subdir) = csu]
8864         (sysdep_routines, shared-only-routines): Add arm-unwind-resume.
8865         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
8866         Add rt-arm-unwind-resume.
8867         [$(subdir) = nptl]
8868         (libpthread-sysdep_routines, libpthread-shared-only-routines):
8869         Add pt-arm-unwind-resume.
8870         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: File removed.
8871         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: File removed.
8873 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
8875         [BZ #17748]
8876         * include/fenv.h (__feholdexcept): Declare.  Use
8877         libm_hidden_proto.
8878         * math/feholdexcpt.c (feholdexcept): Rename to __feholdexcept and
8879         define as weak alias of __feholdexcept.  Use libm_hidden_weak.
8880         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Likewise.
8881         * sysdeps/alpha/fpu/feholdexcpt.c (feholdexcept): Likewise.
8882         * sysdeps/arm/feholdexcpt.c (feholdexcept): Likewise.
8883         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Likewise.
8884         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Likewise.
8885         * sysdeps/ia64/fpu/feholdexcpt.c (feholdexcept): Likewise.
8886         * sysdeps/m68k/fpu/feholdexcpt.c (feholdexcept): Likewise.
8887         * sysdeps/mips/fpu/feholdexcpt.c (feholdexcept): Likewise.
8888         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
8889         * sysdeps/powerpc/nofpu/feholdexcpt.c (feholdexcept): Likewise.
8890         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c
8891         (feholdexcept): Likewise.
8892         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
8893         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
8894         * sysdeps/sparc/fpu/feholdexcpt.c (feholdexcept): Likewise.
8895         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
8896         * sysdeps/generic/math_private.h (default_libc_feholdexcept): Use
8897         __feholdexcept instead of feholdexcept.
8898         (default_libc_feholdexcept_setround): Likewise.
8900 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
8902         * sysdeps/mips/memset.S (memset): Modify for mips32r6/mips64r6
8903         to avoid using stl/str to align destination.
8905 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
8907         * sysdeps/mips/memcpy.S: Add support for mips32r6/mips64r6.
8909 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
8911         [BZ #17796]
8912         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c
8913         [!SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)] (posix_fadvise64):
8914         Define as weak alias not strong alias.
8916 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
8918         * sysdeps/mips/dl-machine.h (elf_machine_load_address): Replace
8919         bltzal with addiupc.
8920         (RTLD_START): Ditto.
8922 2015-01-05  Chris Metcalf  <cmetcalf@ezchip.com>
8924         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Fix return type
8925         for __vdso_* functions in declarations.
8926         * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise for
8927         definitions.
8928         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL,
8929         INTERNAL_VSYSCALL): Use struct return types to check for error.
8931         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c [!defined _LP64
8932         && REGISTER_CAST_INT32_TO_INT64]: Provide explicit lround()
8933         function with cast from llround().
8934         * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Define.
8935         * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
8936         Define.
8938 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
8940         [BZ #17793]
8941         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c (posix_fadvise64):
8942         Define as weak alias not strong alias.
8944         [BZ #17635]
8945         * ctype/ctype-c99.c: New file.  isblank implementation moved from
8946         ...
8947         * ctype/ctype-extn.c: ... here.
8948         (__isblank_l): Move to ...
8949         * ctype/ctype-c99_l.c: ... here.  New file.
8950         * ctype/Makefile (routines): Add ctype-c99 and ctype-c99_l.
8951         * conform/Makefile (test-xfail-ISO99/ctype.h/linknamespace):
8952         Remove variable.
8953         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
8954         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
8955         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
8956         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
8957         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
8959         [BZ #17777]
8960         * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c
8961         (posix_fadvise64): Define as weak alias not strong alias.
8962         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
8963         (posix_fallocate64): Likewise.
8964         * conform/Makefile (test-xfail-XOPEN2K/fcntl.h/linknamespace):
8965         Remove variable.
8966         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
8967         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
8968         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
8969         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
8970         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
8972 2015-01-05  Matthew Fortune  <matthew.fortune@imgtec.com>
8974         [BZ #16191]
8975         * NEWS: Mention bug fix.
8976         * sysdeps/unix/sysv/linux/mips/sys/user.h (PAGE_SHIFT): Remove.
8977         (PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Likewise.
8978         (HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR): Likewise.
8979         (HOST_STACK_END_ADDR): Likewise.
8981 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
8983         [BZ #17748]
8984         * include/fenv.h (__fegetround): Declare.  Use libm_hidden_proto.
8985         * math/fegetround.c (fegetround): Rename to __fegetround and
8986         define as weak alias of __fegetround.  Use libm_hidden_weak.
8987         * sysdeps/aarch64/fpu/fegetround.c (fegetround): Likewise.
8988         * sysdeps/alpha/fpu/fegetround.c (fegetround): Likewise.
8989         * sysdeps/arm/fegetround.c (fegetround): Likewise.
8990         * sysdeps/hppa/fpu/fegetround.c (fegetround): Likewise.
8991         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
8992         * sysdeps/ia64/fpu/fegetround.c (fegetround): Likewise.
8993         * sysdeps/m68k/fpu/fegetround.c (fegetround): Likewise.
8994         * sysdeps/mips/fpu/fegetround.c (fegetround): Likewise.
8995         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
8996         Undefine after rather than before function definition; use
8997         parentheses around function name in definition.
8998         (__fegetround): Also undefine macro after function definition.
8999         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Rename to
9000         __fegetround and define as weak alias of __fegetround.  Use
9001         libm_hidden_weak.  Do not undefine as macro.
9002         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
9003         Likewise.
9004         * sysdeps/s390/fpu/fegetround.c (fegetround): Rename to
9005         __fegetround and define as weak alias of __fegetround.  Use
9006         libm_hidden_weak.
9007         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
9008         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
9009         * sysdeps/tile/math_private.h (__fegetround): New inline function.
9010         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Rename to
9011         __fegetround and define as weak alias of __fegetround.  Use
9012         libm_hidden_weak.
9013         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Use
9014         __fegetround instead of fegetround.
9016         [BZ #17782]
9017         * sysdeps/unix/sysv/linux/mips/bits/termios.h (TIOCSER_TEMT):
9018         Condition macro definition on [__USE_MISC].
9020         [BZ #17781]
9021         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
9022         (struct sigaction): Change type of sa_flags field to int.
9024         [BZ #17780]
9025         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (struct flock)
9026         [!__USE_FILE_OFFSET64 && _MIPS_SIM != _ABI64]: Rename pad field to
9027         __glibc_reserved0.
9029         * nptl/version.c (banner): Use single year in copyright notice.
9031         * NEWS: Update copyright dates.
9032         * catgets/gencat.c (print_version): Likewise.
9033         * csu/version.c (banner): Likewise.
9034         * debug/catchsegv.sh: Likewise.
9035         * debug/pcprofiledump.c (print_version): Likewise.
9036         * debug/xtrace.sh (do_version): Likewise.
9037         * elf/ldconfig.c (print_version): Likewise.
9038         * elf/ldd.bash.in: Likewise.
9039         * elf/pldd.c (print_version): Likewise.
9040         * elf/sotruss.sh: Likewise.
9041         * elf/sprof.c (print_version): Likewise.
9042         * iconv/iconv_prog.c (print_version): Likewise.
9043         * iconv/iconvconfig.c (print_version): Likewise.
9044         * locale/programs/locale.c (print_version): Likewise.
9045         * locale/programs/localedef.c (print_version): Likewise.
9046         * login/programs/pt_chown.c (print_version): Likewise.
9047         * malloc/memusage.sh (do_version): Likewise.
9048         * malloc/memusagestat.c (print_version): Likewise.
9049         * malloc/mtrace.pl: Likewise.
9050         * manual/libc.texinfo: Likewise.
9051         * nptl/version.c (banner): Likewise.
9052         * nscd/nscd.c (print_version): Likewise.
9053         * nss/getent.c (print_version): Likewise.
9054         * nss/makedb.c (print_version): Likewise.
9055         * posix/getconf.c (main): Likewise.
9056         * scripts/test-installation.pl: Likewise.
9057         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
9059 2015-01-02  Will Newton  <will.newton@linaro.org>
9061         * sysdeps/arm/armv7/configure: Removed.
9062         * sysdeps/arm/armv7/configure.ac: Likewise.
9064 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
9066         * All files with FSF copyright notices: Update copyright dates
9067         using scripts/update-copyrights.
9068         * intl/plural.c: Regenerated.
9069         * locale/programs/charmap-kw.h: Likewise.
9070         * locale/programs/locfile-kw.h: Likewise.
9072 2015-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
9074         * scripts/gen-posix-conf-vars.awk (END): Don't use sprintf.
9076 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
9078         [BZ #17748]
9079         * include/fenv.h (__fegetenv): Use libm_hidden_proto.
9080         * math/fegetenv.c (__fegetenv): Use libm_hidden_def.
9081         * sysdeps/aarch64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
9082         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
9083         * sysdeps/alpha/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
9084         * sysdeps/arm/fegetenv.c (fegetenv): Rename to __fegetenv and
9085         define as weak alias of __fegetenv.  Use libm_hidden_weak.
9086         * sysdeps/hppa/fpu/fegetenv.c (fegetenv): Likewise.
9087         * sysdeps/i386/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
9088         * sysdeps/ia64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
9089         define as weak alias of __fegetenv.  Use libm_hidden_weak.
9090         * sysdeps/m68k/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
9091         * sysdeps/mips/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
9092         define as weak alias of __fegetenv.  Use libm_hidden_weak.
9093         * sysdeps/powerpc/fpu/fegetenv.c (__fegetenv): Use
9094         libm_hidden_def.
9095         * sysdeps/powerpc/nofpu/fegetenv.c (__fegetenv): Likewise.
9096         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (__fegetenv):
9097         Likewise.
9098         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
9099         define as weak alias of __fegetenv.  Use libm_hidden_weak.
9100         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
9101         * sysdeps/sparc/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
9102         * sysdeps/tile/math_private.h (__fegetenv): New inline function.
9103         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
9104         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
9105         * sysdeps/generic/math_private.h (libc_feholdsetround_ctx): Use
9106         __fegetenv instead of fegetenv.
9107         (libc_feholdsetround_noex_ctx): Likewise.
9109 2014-12-31  Matthew Fortune  <matthew.fortune@imgtec.com>
9111         * elf/elf.h (PT_MIPS_ABIFLAGS): Define.
9112         (Elf_MIPS_ABIFlags_v0): New structure.
9113         (EF_MIPS_FP64): Define.
9114         (MIPS_AFL_REG_NONE, MIPS_AFL_REG_32, MIPS_AFL_REG_64): Likewise.
9115         (MIPS_AFL_REG_128, MIPS_AFL_ASE_DSP, MIPS_AFL_ASE_DSP64): Likewise.
9116         (MIPS_AFL_ASE_DSPR2, MIPS_AFL_ASE_EVA, MIPS_AFL_ASE_MCU): Likewise.
9117         (MIPS_AFL_ASE_MDMX, MIPS_AFL_ASE_MIPS3D, MIPS_AFL_ASE_MT): Likewise.
9118         (MIPS_AFL_ASE_SMARTMIPS, MIPS_AFL_ASE_VIRT): Likewise.
9119         (MIPS_AFL_ASE_VIRT64, MIPS_AFL_ASE_MSA, MIPS_AFL_ASE_MSA64): Likewise.
9120         (MIPS_AFL_ASE_MIPS16, MIPS_AFL_ASE_MICROMIPS): Likewise.
9121         (MIPS_AFL_ASE_XPA, MIPS_AFL_EXT_XLR, MIPS_AFL_EXT_OCTEON2): Likewise.
9122         (MIPS_AFL_EXT_OCTEONP, MIPS_AFL_EXT_LOONGSON_3A): Likewise.
9123         (MIPS_AFL_EXT_OCTEON, MIPS_AFL_EXT_5900, MIPS_AFL_EXT_4010): Likewise.
9124         (MIPS_AFL_EXT_4100, MIPS_AFL_EXT_3900, MIPS_AFL_EXT_10000): Likewise.
9125         (MIPS_AFL_EXT_SB1, MIPS_AFL_EXT_4111, MIPS_AFL_EXT_4120): Likewise.
9126         (MIPS_AFL_EXT_5400, MIPS_AFL_EXT_5500): Likewise.
9127         (MIPS_AFL_EXT_LOONGSON_2E, MIPS_AFL_EXT_LOONGSON_2F): Likewise.
9128         (Val_GNU_MIPS_ABI_FP_ANY, Val_GNU_MIPS_ABI_FP_DOUBLE): New enum values.
9129         (Val_GNU_MIPS_ABI_FP_SINGLE, Val_GNU_MIPS_ABI_FP_SOFT): Likewise.
9130         (Val_GNU_MIPS_ABI_FP_OLD_64, Val_GNU_MIPS_ABI_FP_XX): Likewise.
9131         (Val_GNU_MIPS_ABI_FP_64, Val_GNU_MIPS_ABI_FP_64A): Likewise.
9132         (Val_GNU_MIPS_ABI_FP_MAX): Likewise.
9133         * sysdeps/mips/Makefile [subdir=elf]: Add tst-abi-interlink,
9134         tst-mode-switch-1, tst-mode-switch-2, tst-mode-switch-3 tests.
9135         * sysdeps/mips/bits/linkmap.h (struct link_map_machine): Add fpmode
9136         field.
9137         * sysdeps/mips/dl-machine.h (elf_machine_matches_host): Reject
9138         EF_MIPS_FP64.
9139         * sysdeps/mips/dl-machine-reject-phdr.h: New file.
9140         * sysdeps/mips/tst-abi-fp32mod.c: Likewise.
9141         * sysdeps/mips/tst-abi-fpxxmod.c: Likewise.
9142         * sysdeps/mips/tst-abi-fpxxomod.c: Likewise.
9143         * sysdeps/mips/tst-abi-fp64mod.c: Likewise.
9144         * sysdeps/mips/tst-abi-fp64amod.c: Likewise.
9145         * sysdeps/mips/tst-abi-interlink.c: Likewise.
9146         * sysdeps/mips/tst-mode-switch-1.c: Likewise.
9147         * sysdeps/mips/tst-mode-switch-2.c: Likewise.
9148         * sysdeps/mips/tst-mode-switch-3.c: Likewise.
9149         * sysdeps/unix/sysv/linux/mips/configure.ac (o32-fpabi): Define to
9150         record the current FP ABI extension.
9151         (mips-mode-switch): Define to show if kernel headers support mode
9152         switching.
9153         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
9154         * sysdeps/unix/sysv/linux/mips/ldsodefs.h: Increase maximum
9155         supported SYSV ABI version to 3.
9156         * sysdeps/unix/sysv/linux/mips/libc-abis: Add new MIPS_O32_FP64
9157         feature.
9159 2014-12-31  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
9160             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9162         * sysdeps/powerpc/powerpc64/power7/strcpy.S (strcpy): Optimize unaligned
9163         path.
9164         * benchtests/bench-strcpy.c (test_main): Add more unaligned inputs.
9166 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
9168         * sysdeps/powerpc/bits/fenvinline.h (fegetround): Rename macro to
9169         __fegetround and redefine to call __fegetround.  Remove condition
9170         on [!__NO_MATH_INLINES].
9171         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove inline
9172         function.
9173         * sysdeps/powerpc/nofpu/fenv_libc.h: Remove file.
9174         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
9175         Remove macro.
9176         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Include <fenv.h>
9177         instead of <fenv_libc.h>.
9178         (__llrintl): Call fegetround instead of __fegetround.
9179         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Include <fenv.h>
9180         instead of <fenv_libc.h>.
9181         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
9182         (__lrintl): Call fegetround instead of __fegetround.
9183         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Include <fenv.h>
9184         instead of <fenv_libc.h>.
9185         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
9186         (__rintl): Call fegetround instead of __fegetround.
9188 2014-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
9190         * scripts/gen-posix-conf-vars.awk: Don't use multi-dimensional
9191         arrays.
9193 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
9195         [BZ #17775]
9196         * sysdeps/i386/dl-machine.h (PI_STATIC_AND_HIDDEN): Removed.
9197         (elf_machine_dynamic) [!PI_STATIC_AND_HIDDEN]: Likewise.
9198         (elf_machine_load_address) [!PI_STATIC_AND_HIDDEN]: Likewise.
9200 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
9202         * sysdeps/i386/tls-macros.h: Include <features.h>.
9203         (TLS_LE): Use non-PIC version for GCC >= 5.0.
9204         (TLS_IE): Likewise.
9205         (TLS_LD): Likewise.
9206         (TLS_GD): Likewise.
9207         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Don't
9208         define for GCC >= 5.0.
9210 2014-12-30  Chris Metcalf  <cmetcalf@ezchip.com>
9212         * math/test-fenv.c (test_single_exception, set_single_exc,
9213         feenv_nomask_test, feenv_mask_test, feexcp_nomask_test,
9214         feexcp_mask_test, feenable_test, fe_single_test): Add
9215         [!FE_ALL_EXCEPT] test so these routines are not compiled in the
9216         case where they are not used.
9217         * math/libm-test.inc: Likewise.
9218         * setjmp/test-setjmp-fp.c: Mark attribute ((unused)) on variable
9219         unused in the absence of FP rounding/exception support.
9220         * stdio-common/tst-printf-round.c: Likewise.
9221         * stdlib/tst-strtod-round.c: Likewise.
9222         * stdlib/tst-strtod-underflow.c: Likewise.
9224 2014-12-30  Joseph Myers  <joseph@codesourcery.com>
9226         [BZ #17723]
9227         * include/fenv.h (__feraiseexcept): Use libm_hidden_proto.
9228         * math/fraiseexcpt.c (__feraiseexcept): Use libm_hidden_def.
9229         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
9230         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
9231         libm_hidden_weak.
9232         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Likewise.
9233         * sysdeps/hppa/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
9234         * sysdeps/i386/fpu/fraiseexcpt.c (__feraiseexcept): Use
9235         libm_hidden_def.
9236         * sysdeps/ia64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
9237         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
9238         libm_hidden_weak.
9239         * sysdeps/m68k/coldfire/fpu/fraiseexcpt.c (feraiseexcept):
9240         Likewise.
9241         * sysdeps/microblaze/math_private.h (__feraiseexcept): New macro.
9242         * sysdeps/mips/fpu/fraiseexcpt.c (feraiseexcept): Rename to
9243         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
9244         libm_hidden_weak.
9245         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Use
9246         libm_hidden_def.
9247         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
9248         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c
9249         (__feraiseexcept): Likewise.
9250         * sysdeps/s390/fpu/fraiseexcpt.c (feraiseexcept): Rename to
9251         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
9252         libm_hidden_weak.
9253         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
9254         * sysdeps/sparc/fpu/fraiseexcpt.c (__feraiseexcept): Use
9255         libm_hidden_def.
9256         * sysdeps/tile/math_private.h (__feraiseexcept): New macro.
9257         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (__feraiseexcept):
9258         Use libm_hidden_def.
9259         * sysdeps/x86_64/fpu/fraiseexcpt.c (__feraiseexcept): Use
9260         libm_hidden_def.
9261         (feraiseexcept): Define as weak not strong alias.  Use
9262         libm_hidden_weak.
9263         * sysdeps/x86/fpu/bits/fenv.h (__feraiseexcept_invalid_divbyzero):
9264         New inline function.  Factored out of ...
9265         (feraiseexcept): ... here.  Use __feraiseexcept_invalid_divbyzero.
9266         * sysdeps/x86/fpu/include/bits/fenv.h: New file.
9267         * math/e_scalb.c (invalid_fn): Call __feraiseexcept instead of
9268         feraiseexcept.
9269         * math/w_acos.c (__acos): Likewise.
9270         * math/w_asin.c (__asin): Likewise.
9271         * math/w_ilogb.c (__ilogb): Likewise.
9272         * math/w_j0.c (y0): Likewise.
9273         * math/w_j1.c (y1): Likewise.
9274         * math/w_jn.c (yn): Likewise.
9275         * math/w_log.c (__log): Likewise.
9276         * math/w_log10.c (__log10): Likewise.
9277         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Likewise.
9278         * sysdeps/aarch64/fpu/math_private.h
9279         (libc_feupdateenv_test_aarch64): Likewise.
9280         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
9281         * sysdeps/arm/fenv_private.h (libc_feupdateenv_test_vfp): Likewise.
9282         * sysdeps/arm/feupdateenv.c (feupdateenv): Likewise.
9283         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
9284         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
9285         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
9286         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Likewise.
9287         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
9288         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
9289         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
9291 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
9293         [BZ #17732]
9294         * io/test-utime.c (main): Replace %ld with %jd and cast to
9295         intmax_t.
9296         * libio/tst-ftell-active-handler.c (do_append_test): Likewise.
9297         * nptl/tst-mutex5.c: Include <stdint.h>.
9298         (do_test): Replace %ld with %jd and cast to intmax_t.
9299         * posix/tst-regex.c (run_test): Likewise.
9300         (run_test_backwards): Likewise.
9301         * rt/tst-clock.c: Include <stdint.h>.
9302         (clock_test): Replace %ld with %jd and cast to intmax_t.
9303         * rt/tst-cpuclock1.c: Include <stdint.h>.
9304         (do_test): Replace %lu with %ju and cast to uintmax_t.
9305         * rt/tst-cpuclock2.c: Include <stdint.h>.
9306         (do_test): Replace %lu with %ju and cast to uintmax_t.
9307         * rt/tst-mqueue1.c: Include <stdint.h>.
9308         (check_attrs): Replace %ld with %jd and cast to intmax_t.
9309         * rt/tst-mqueue3.c (fct): Replace %ld with %jd and cast to
9310         intmax_t.
9311         * rt/tst-mqueue4.c (do_test): Likewise.
9312         * rt/tst-timer4.c: Include <stdint.h>.
9313         (check_ts): Replace %ld with %jd and cast to intmax_t.
9314         (do_test): Likewise.
9315         * stdio-common/tst-fmemopen2.c (do_test): Replace %ld with %jd
9316         and cast to intmax_t.
9317         * sysdeps/pthread/tst-timer.c (main): Likewise.
9318         * time/clocktest.c (main): Likewise.
9319         * time/tst-posixtz.c (do_test): Likewise.
9320         * timezone/tst-timezone.c (main): Likewise.
9322 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
9323             H.J. Lu  <hongjiu.lu@intel.com>
9325         * sysdeps/i386/i686/multiarch/bcopy-sse2-unaligned.S: New file.
9326         * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
9327         * sysdeps/i386/i686/multiarch/memmove-sse2-unaligned.S: Likewise.
9328         * sysdeps/i386/i686/multiarch/mempcpy-sse2-unaligned.S: Likewise.
9329         * sysdeps/i386/i686/multiarch/bcopy.S: Select the sse2_unaligned
9330         version if bit_Fast_Unaligned_Load is set.
9331         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
9332         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
9333         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
9334         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
9335         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
9336         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
9337         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
9338         bcopy-sse2-unaligned, memcpy-sse2-unaligned,
9339         memmove-sse2-unaligned and mempcpy-sse2-unaligned.
9340         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c (MAX_IFUNC): Set
9341         to 4.
9342         (__libc_ifunc_impl_list): Test __bcopy_sse2_unaligned,
9343         __memmove_chk_sse2_unaligned, __memmove_sse2_unaligned,
9344         __memcpy_chk_sse2_unaligned, __memcpy_sse2_unaligned,
9345         __mempcpy_chk_sse2_unaligned, and __mempcpy_sse2_unaligned.
9347 2014-12-29  Chris Metcalf  <cmetcalf@ezchip.com>
9349         * sysdeps/unix/sysv/linux/tst-setgetname.c (do_test): Use #ifndef
9350         instead of #if to avoid a Wundef warning.
9351         * stdlib/tst-limits.c (do_test): Likewise.
9353         * sysdeps/tile/math_private.h (fetestexcept): Add macro to
9354         parallel other exception macros.
9355         (fegetenv): Convert from macro to extern inline so that it applies
9356         retroactively to inline functions already seen by the compiler.
9357         (fesetenv, feupdateenv, fegetround, fesetround): Likewise.
9359         * posix/Makefile (before-compile): Use $(objpfx) for
9360         posix-conf-vars-def.h.
9362 2014-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
9364         * posix/getconf.c (main): Use size_t for type of I.
9365         * scripts-gen-posix-conf-vars.awk (END): Use size_t for type of
9366         NSPEC.
9368         * posix/posix-conf-vars.list (SPEC:XBS5): Add sysconf prefix.
9369         * posix/confstr.c: Define NEED_SPEC_ARRAY to 0.
9370         * posix/posix-envs.def: Likewise.
9371         * sysdeps/posix/sysconf.c: Likewise.
9372         * posix/getconf.c: Define NEED_SPEC_ARRAY to 1.
9373         (specs): Remove array.
9374         * scripts/gen-posix-conf-vars.awk: Support generation of specs
9375         array.
9377         * posix/posix-conf-vars.list: Add _POSIX sysconf namespace.
9378         * sysdeps/posix/sysconf.c: Include posix-conf-vars.h.
9379         (__sysconf): Use CONF_IS_* macros.
9381         * posix/Makefile (before-compile): Add posix-conf-vars-def.h.
9382         ($(objpfx)posix-conf-vars-def.h): New target.
9383         * posix/posix-conf-vars.list: New file.
9384         * posix/posix-conf-vars.h: New file.
9385         * posix/confstr.c: Include posix-conf-vars.h.
9386         (confstr): Use CONF_IS_* macros.
9387         * posix/posix-envs.def: Include posix-conf-vars.h.  Use
9388         CONF_IS_* macros.
9389         * scripts/gen-posix-conf-vars.awk: New file.
9391 2014-12-26  Chris Metcalf  <cmetcalf@ezchip.com>
9393         * sysdeps/tile/math_private.h (fegetenv, fesetenv, feupdateenv,
9394         fegetround): Add no-op macros to avoid linknamespace issues.
9396         * sysdeps/unix/sysv/linux/clock_settime.c (SYSDEP_SETTIME): Remove
9397         definitions of INTERNAL_VSYSCALL and INLINE_VSYSCALL.
9399         * sysdeps/unix/sysv/linux/tile/sysdep.h
9400         (HAVE_CLOCK_GETTIME_VSYSCALL): Move definition out of
9401         assembly-specific section to avoid a redefinition warning.
9403         * sysdeps/tile/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast to
9404         long before casting to pointer to avoid a cast warning.
9406 2014-12-23  Chris Metcalf  <cmetcalf@ezchip.com>
9408         * sysdeps/tile/tilegx/Implies: New file.
9410 2014-12-23  Richard Earnshaw  <rearnsha@arm.com>
9412         * string/stpcpy.c (__stpcpy): Rewrite using strlen and memcpy.
9414 2014-12-23  Florian Weimer  <fweimer@redhat.com>
9416         * iconvdata/run-iconv-test.sh: Actually test iconv modules.
9418 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
9420         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES): Do
9421         not define.
9422         * sysdeps/unix/sysv/linux/utimes.c: Do not include
9423         <kernel-features.h>.
9424         (__utimes) [__NR_utimes]: Make code unconditional.
9425         (__utimes) [!__ASSUME_UTIMES]: Remove conditional code.
9426         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
9427         (__ASSUME_UTIMES): Do not undefine.
9428         * sysdeps/unix/sysv/linux/tile/kernel-features.h
9429         (__ASSUME_UTIMES): Likewise.
9430         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
9431         (__ASSUME_UTIMES): Define for [__LINUX_KERNEL_VERSION >= 0x030e00]
9432         instead of undefining for [__LINUX_KERNEL_VERSION < 0x030e00].
9433         * sysdeps/unix/sysv/linux/hppa/utimes.c: New file.
9435 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
9437         * sysdeps/mips/memcpy.S: Fix preprocessor indentation.
9439 2014-12-22  Chris Metcalf  <cmetcalf@ezchip.com>
9441         [BZ #17747]
9442         * math/w_j0.c [defined NO_LONG_DOUBLE] (j0, y0): Convert strong
9443         alias to weak alias for j0l, y0l.
9444         * math/w_j1.c [defined NO_LONG_DOUBLE] (j1, y1): Likewise.
9445         * math/w_jn.c [defined NO_LONG_DOUBLE] (jn, yn): Likewise.
9447         [BZ #17746]
9448         * sysdeps/tile/tilegx/strstr.c (STRSTR2): Remove implicit boolean
9449         conversion.
9451 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
9453         * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Set
9454         to zero if not already defined.
9456 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
9458         [BZ #17724]
9459         * sysdeps/ieee754/k_standard.c: Don't include <float.h>.
9460         (__kernel_standard_f): Remove.  Moved to k_standardf.c.
9461         (__kernel_standard_l): Remove.  Moved to k_standardl.c with
9462         (char *) casts added.
9463         * sysdeps/ieee754/k_standardf.c: New file.
9464         * sysdeps/ieee754/k_standardl.c: Likewise.
9465         * math/Makefile (libm-support): Remove k_standard.
9466         (libm-calls): Add k_standard.
9468 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
9470         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
9471         Optimize to avoid an unnecessary FPCR read.
9473 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
9475         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
9476         Optimize to reduce FPCR/FPSR accesses.
9478 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
9480         * sysdeps/aarch64/fpu/ftestexcept.c (fetestexcept):
9481         Call libc_fetestexcept_aarch64.
9483 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
9485         * sysdeps/aarch64/fpu/fesetround.c (fesetround):
9486         Call libc_fesetround_aarch64.
9488 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
9490         [BZ #17733]
9491         * sysdeps/unix/sysv/linux/bind.S (NO_WEAK_ALIAS): Do not define.
9492         (__bind): Do not define as weak alias.
9493         * sysdeps/unix/sysv/linux/getsockname.S (NO_WEAK_ALIAS): Do not
9494         define.
9495         (__getsockname): Do not define as weak alias.
9497 2014-12-22  Will Newton  <will.newton@linaro.org>
9499         * manual/install.texi: Document that we require bison 2.7
9500         or above.
9501         * INSTALL: Regenerate.
9502         * configure.ac: Use AC_CHECK_PROG_VER instead of
9503         AC_PATH_PROG when checking for bison and check for
9504         version 2.7 or above.
9505         * configure: Regenerate.
9507 2014-12-21  Chris Metcalf  <cmetcalf@ezchip.com>
9509         [BZ #17745]
9510         * sysdeps/tile/ffs.c (__ffs): Moved ffsll definition...
9511         * sysdeps/tile/ffsll.c (ffsll): To here.
9513         * sysdeps/unix/sysv/linux/tile/localplt.data: Removed.
9515 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
9517         * elf/dl-tls.c (__tls_get_addr): Provide the hidden definition
9518         if not defined.
9519         * sysdeps/i386/dl-tls.h (___tls_get_addr): Provide the hidden
9520         definition.
9521         * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
9522         hidden ___tls_get_addr.
9523         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
9524         hidden __tls_get_addr.
9525         * sysdeps/generic/localplt.data (__tls_get_addr): Removed.
9526         * sysdeps/unix/sysv/linux/i386/localplt.data (___tls_get_addr):
9527         Likewise.
9529 2014-12-21  Andreas Schwab  <schwab@linux-m68k.org>
9531         * sysdeps/m68k/dl-machine.h (RTLD_START): Remove @PLTPC from
9532         _dl_init call.
9534 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
9536         * sysdeps/i386/dl-machine.h (_dl_start_user): Remove @PLT
9537         from "call _dl_init@PLT".
9538         * sysdeps/x86_64/dl-machine.h (_dl_start_user): Likewise.
9540 2014-12-21  Anders Kaseorg  <andersk@mit.edu>
9542         * manual/search.texi: (Array Sort Function): Clarify stable sorting
9543         guarantees.
9545 2014-12-20  Chris Metcalf  <cmetcalf@ezchip.com>
9547         * sysdeps/unix/sysv/linux/tile/localplt.data: New file.
9549 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
9551         [BZ #17744]
9552         * sysdeps/tile/tilegx/strstr.c (STRSTR): Call __strnlen, not
9553         strnlen.
9555 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
9557         * sysdeps/mips/addmul_1.S (__mpn_addmul_1): Use mulu/muhu instead
9558         of multu on MIPSr6.
9559         * sysdeps/mips/mul_1.S (__mpn_mul_1): Ditto.
9560         * sysdeps/mips/submul_1.S (__mpn_submul_1): Ditto.
9561         * sysdeps/mips/mips64/addmul_1.S (__mpn_addmul_1): Ditto.
9562         * sysdeps/mips/mips64/mul_1.S (__mpn_mul_1): Ditto.
9563         * sysdeps/mips/mips64/submul_1.S (__mpn_submul_1): Ditto.
9565 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
9567         * sysdeps/mips/sys/asm.h (PTR_ADDU): Use addu on mips32r6/mips64r6.
9568         (PTR_ADDIU): Use addiu for mips32r6/mips64r6.
9569         (PTR_SUBU): Use subu for mips32r6/mips64r6.
9570         (PTR_SUBIU): Use subu for mips32r6/mips64r6 (subiu does not exist).
9571         * sysdeps/mips/machine-gmon.h (PTR_ADDU_STRING) Use addu for
9572         mips32r6/mips64r6.
9573         (PTR_SUBU_STRING) Use subu for mips32r6/mips64r6.
9575 2014-12-19  Ondřej Bílka  <neleai@seznam.cz>
9577         * string/strncat.c (STRNCAT): Simplify implementation.
9579 2014-12-19  David S. Miller  <davem@davemloft.net>
9581         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Use a union to
9582         access the quad as both a long double and as a series of 4 words.
9584         * get-dynamic-info.h (elf_get_dynamic_info): Ignore -Warray-bounds for a
9585         link_map->l_info array access.
9587 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
9589         * iconvdata/tst-loading.c (TIMEOUT): Increase timeout 10 sec.
9591         * math/atest-exp.c (TIMEOUT): Increase timeout to 10 sec.
9592         * math/atest-exp2.c (TIMEOUT): Likewise.
9593         * math/atest-sincos.c (TIMEOUT): Likewise.
9595 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
9597         * sysdeps/x86_64/x32/Makefile (CFLAGS-s_llround.c): Replace
9598         -Wno-error with -fno-builtin-lround.
9600 2014-12-19  Torvald Riegel  <triegel@redhat.com>
9602         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: New file.
9603         Contains futex constants and functions moved over from ...
9604         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.  Include
9605         <lowlevellock-futex.h>.
9606         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
9607         (lll_timedwait_tid): Add comments and parentheses around macro
9608         arguments.
9610 2014-12-19  Torvald Riegel  <triegel@redhat.com>
9612         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Include
9613         <lowlevellock-futex.h>.  Remove FUTEX_* constants defined there.
9614         (__lll_private_flag): Remove.
9615         (lll_futex_wait): Likewise.
9616         (lll_futex_timed_wait): Likewise.
9617         (lll_futex_wake): Likewise.
9618         (lll_futex_requeue): Likewise.
9619         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
9620         (__lll_timedwait_tid): Spell out argument names.
9621         (lll_timedwait_tid): Add comments and parentheses around macro
9622         arguments.
9623         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Make FUTEX_* constants,
9624         LLL_SHARED and LLL_PRIVATE usable from assembly code.
9626 2014-12-19  Torvald Riegel  <triegel@redhat.com>
9628         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Remove file.
9629         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
9630         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
9631         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Likewise.
9632         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Likewise.
9633         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Likewise.
9634         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Likewise.
9635         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Likewise.
9636         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Likewise.
9637         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: Likewise.
9638         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: Likewise.
9639         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Likewise.
9640         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Likewise.
9641         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Likewise.
9642         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Likewise.
9643         * sysdeps/unix/sysv/linux/sh/sem_post.S: Likewise.
9644         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Likewise.
9645         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Likewise.
9646         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Likewise.
9648 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
9650         * sysdeps/x86_64/x32/Makefile: New file.
9652 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
9654         * sysdeps/i386/ldbl2mpn.c (__mpn_extract_long_double): Replace
9655         1L with (mp_limb_t) 1.
9657 2014-12-17  Roland McGrath  <roland@hack.frob.com>
9659         * sysdeps/nptl/fork.c (__fork_generation_pointer): Variable moved ...
9660         * nptl/libc_pthread_init.c: ... here.
9661         * sysdeps/nptl/fork.c (__fork_handlers): Variable moved ...
9662         * nptl/register-atfork.c: ... here.
9664         * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread):
9665         Use pthread_sigmask rather than INTERNAL_SYSCALL.
9666         Use assert_perror to check its return value.
9667         (__gai_create_helper_thread): Likewise.
9669         * inet/if_index.c (__if_freenameindex): Add libc_hidden_def.
9671         * malloc/malloc.c (alloc_perturb, free_perturb): Remove inline keyword.
9673 2014-12-17  Joseph Myers  <joseph@codesourcery.com>
9675         [BZ #17725]
9676         * sysdeps/generic/profil-counter.h (profil_counter): Rename to
9677         __profil_counter.
9678         * sysdeps/unix/sysv/linux/hppa/profil-counter.h (profil_counter):
9679         Likewise.
9680         * sysdeps/unix/sysv/linux/i386/profil-counter.h (profil_counter):
9681         Likewise.
9682         * sysdeps/unix/sysv/linux/ia64/profil-counter.h (profil_counter):
9683         Likewise.
9684         * sysdeps/unix/sysv/linux/s390/s390-32/profil-counter.h
9685         (profil_counter): Likewise.
9686         * sysdeps/unix/sysv/linux/s390/s390-64/profil-counter.h
9687         (profil_counter): Likewise.
9688         * sysdeps/unix/sysv/linux/sh/profil-counter.h (profil_counter):
9689         Likewise.
9690         * sysdeps/unix/sysv/linux/tile/profil-counter.h (profil_counter):
9691         Likewise.
9692         * sysdeps/unix/sysv/linux/x86_64/profil-counter.h
9693         (profil_counter): Likewise.
9694         * sysdeps/unix/sysv/linux/arm/profil-counter.h (profil_counter):
9695         Likewise.
9696         [!__profil_counter] (profil_counter): Define as weak alias of
9697         __profil_counter.
9698         * sysdeps/unix/sysv/linux/sparc/sparc32/profil-counter.h
9699         (profil_counter): Rename to __profil_counter.
9700         [!__profil_counter] (profil_counter): Define as weak alias of
9701         __profil_counter.
9702         * sysdeps/unix/sysv/linux/sparc/sparc64/profil-counter.h
9703         (profil_counter): Rename to __profil_counter.
9704         [!__profil_counter] (profil_counter): Define as weak alias of
9705         __profil_counter.
9706         * sysdeps/posix/profil.c: Update comment referring to
9707         profil_counter.
9708         (__profil): Use __profil_counter instead of profil_counter.
9709         * sysdeps/posix/sprofil.c (profil_counter): Rename to
9710         __profil_counter.  Use __profil_counter_ushort and
9711         __profil_counter_uint in definitions.
9712         (__sprofil): Use __profil_counter_uint and __profil_counter_ushort
9713         instead of profil_counter_uint and profil_counter_ushort.
9715         [BZ #17722]
9716         * inet/inet_mkadr.c (inet_makeaddr): Rename to __inet_makeaddr and
9717         define as weak alias of __inet_makeaddr.
9718         * resolv/inet_addr.c (inet_addr): Rename to __inet_addr and define
9719         as weak alias of __inet_addr.
9720         * resolv/inet_pton.c (inet_pton): Rename to __inet_pton and define
9721         as weak alias of __inet_pton.  Use libc_hidden_weak.
9722         * include/arpa/inet.h (__inet_pton): Declare.  Use
9723         libc_hidden_proto.
9724         (inet_makeaddr): Don't use libc_hidden_proto.
9725         (__inet_makeaddr): Declare.  Use libc_hidden_proto.
9726         * resolv/res_init.c (__res_vinit): Use __inet_pton instead of
9727         inet_pton.  Use __inet_makeaddr instead of inet_makeaddr.
9728         * conform/Makefile (test-xfail-POSIX/pthread.h/linknamespace):
9729         Remove variable.
9730         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
9731         (test-xfail-POSIX/time.h/linknamespace): Likewise.
9733 2014-12-17  Steve Ellcey  <sellcey@imgtec.com>
9735         * inet/getnetgrent_r.c: Move while loop to be inside if statement.
9737 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
9739         * stdio-common/bug-vfprintf-nargs.c (do_test):
9740         Cast value to intptr_t to avoid format warning
9741         for usage with PRIdPTR printing macro.
9743 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
9745         * libio/tst-widetext.c (do_test):
9746         Use format type %td instead of %Zd for ptrdiff_t
9747         in order to avoid format warning.
9749 2014-12-17  Andreas Schwab  <schwab@suse.de>
9751         * nscd/mem.c (gc): Add size_t cast to match printf format.
9753 2014-12-16  Roland McGrath  <roland@hack.frob.com>
9755         * sysdeps/gnu/unwind-resume.c: #include <sysdep.h>.
9756         (init): Apply PTR_MANGLE to pointers before storing them.
9757         (_Unwind_Resume, __gcc_personality_v0): Apply PTR_DEMANGLE to pointers
9758         before using them.
9760 2014-12-16  Joseph Myers  <joseph@codesourcery.com>
9762         [BZ #17719]
9763         * sysdeps/x86_64/memrchr.S (memrchr): Rename to __memrchr and
9764         define as weak alias of __memrchr.
9765         (__memrchr): Do not define as strong alias of memrchr.
9766         * conform/Makefile (test-xfail-XPG4/libgen.h/linknamespace):
9767         Remove variable.
9768         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
9769         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
9770         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
9772         [BZ #17717]
9773         * inet/if_index.c (if_nametoindex): Rename to __if_nametoindex and
9774         define as weak alias of __if_nametoindex.  Use libc_hidden_weak.
9775         (if_indextoname): Rename to __if_indextoname and define as weak
9776         alias of __if_indextoname.  Use libc_hidden_weak.
9777         (if_freenameindex): Rename to __if_freenameindex and define as
9778         weak alias of __if_freenameindex.
9779         (if_nameindex): Rename to __if_nameindex and define as weak alias
9780         of __if_nameindex.
9781         * sysdeps/mach/hurd/if_index.c (if_nametoindex): Rename to
9782         __if_nametoindex and define as weak alias of __if_nametoindex.
9783         Use libc_hidden_weak.
9784         (if_freenameindex): Rename to __if_freenameindex and define as
9785         weak alias of __if_freenameindex.
9786         (if_nameindex): Rename to __if_nameindex and define as weak alias
9787         of __if_nameindex.
9788         (if_indextoname): Rename to __if_indextoname and define as weak
9789         alias of __if_indextoname.  Use libc_hidden_weak.
9790         * sysdeps/unix/sysv/linux/if_index.c (if_nametoindex): Rename to
9791         __if_nametoindex and define as weak alias of __if_nametoindex.
9792         Use libc_hidden_weak.
9793         (if_freenameindex): Rename to __if_freenameindex and define as
9794         weak alias of __if_freenameindex.  Use libc_hidden_weak.
9795         (if_nameindex_netlink): Use __if_freenameindex instead of
9796         if_freenameindex.
9797         (if_nameindex): Rename to __if_nameindex and define as weak alias
9798         of __if_nameindex.  Use libc_hidden_weak.
9799         (if_indextoname): Rename to __if_indextoname and define as weak
9800         alias of __if_indextoname.  Use libc_hidden_weak.
9801         * include/net/if.h [!_ISOMAC] (__if_nametoindex): Declare and use
9802         libc_hidden_proto.
9803         [!_ISOMAC] (__if_freenameindex): Likewise.
9804         * resolv/res_init.c (__res_vinit): Use __if_nametoindex instead of
9805         if_nametoindex.
9806         * conform/Makefile (test-xfail-XPG4/grp.h/linknamespace): Remove
9807         variable.
9808         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
9809         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
9810         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
9811         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
9812         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
9813         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
9814         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
9816         * conform/Makefile (test-xfail-UNIX98/semaphore.h/linknamespace):
9817         Remove variable.
9818         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
9819         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
9821 2014-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
9823         * resolv/res_send.c (__libc_res_nsend): Disable warning 'array
9824         subscript above bounds'
9826         * resolv/res_send.c (__libc_res_nsend): Fix check for nsmap
9827         bounds.
9829 2014-12-16  Arjun Shankar  <arjun.is@lostca.se>
9831         * libio/tst-fopenloc.c: Use test-skeleton.c.
9833         * stdlib/tst-bsearch.c: Use test-skeleton.c.
9834         (entry): Rename to ITEM.
9835         (do_test, comp): Adjust.
9837         * stdio-common/tst-fseek.c: Use test-skeleton.c.
9839 2014-12-16  Torvald Riegel  <triegel@redhat.com>
9841         * string/tester.c: Include <libc-internal.h>.
9842         (test_memset): Ignore -Wmemset-transposed-args.
9844 2014-12-16  Torvald Riegel  <triegel@redhat.com>
9846         * misc/tst-mntent2.c (do_test): Fix warning.
9848 2014-12-16  Torvald Riegel  <triegel@redhat.com>
9850         * elf/tst-unique4lib.cc(a): Mark as used.
9852 2014-12-16  Florian Weimer  <fweimer@redhat.com>
9854         [BZ #17630]
9855         * resolv/nss_dns/dns-network.c (getanswer_r): Iterate over alias
9856         names.
9858 2014-12-16  Allan McRae  <allan@archlinux.org>
9860         * stdio-common/Makefile (tests): Re-add bug26.
9862 2014-12-15  Ondřej Bílka  <neleai@seznam.cz>
9864         [BZ #17657]
9865         * locale/programs/ld-ctype.c (find_translit2, read_widestring): Return
9866         static array.
9868 2014-12-15  Bernard Ogden  <bernie.ogden@linaro.org>
9870         * nptl/lowlevellock.c (__lll_lock_wait_private): Add comments.
9871         (__lll_lock_wait): Likewise.
9872         (__lll_timedlock_wait): Likewise.
9873         (__lll_timedwait_tid): Likewise.
9874         * nptl/lowlevelrobustlock.c (__lll_robust_lock_wait): Likewise.
9875         (__lll_robust_timedlock_wait): Likewise.
9876         * sysdeps/nptl/lowlevellock.h (lll_trylock): Likewise.
9877         (lll_cond_trylock): Likewise.
9878         (__lll_lock): Likewise.
9879         (__lll_robust_lock): Likewise.
9880         (__lll_cond_lock): Likewise.
9881         (lll_robust_cond_lock): Likewise.
9882         (__lll_timedlock): Likewise.
9883         (__lll_robust_timedlock): Likewise.
9884         (__lll_unlock): Likewise.
9885         (__lll_robust_unlock): Likewise.
9886         (lll_wait_tid): Likewise.
9887         (lll_timedwait_tid): Likewise.
9889 2014-12-15  Torvald Riegel  <triegel@redhat.com>
9891         * nptl/tst-sem4.c (do_test): Start with a fresh semaphore state.
9893 2014-12-15  Torvald Riegel  <triegel@redhat.com>
9895         * nptl/tst-mutex5.c (do_test): Do not skip tests if elision is enabled.
9897 2014-12-15  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
9899         * stdio-common/test-vfprintf.c: Include <libc-internal.h>.
9900         * stdio-common/tst-sprintf.c: Likewise.
9902 2014-12-15  Torvald Riegel  <triegel@redhat.com>
9904         * sysdeps/unix/sysv/linux/s390/pthread_once.c: Remove file.
9906 2014-12-15  Jeff Law  <law@redhat.com>
9908         [BZ #16617]
9909         * stdio-common/vfprintf.c (vfprintf): Allocate large specs array
9910         on the heap.  (CVE-2012-3406)
9911         * stdio-common/bug23-2.c, stdio-common/bug23-3.c: New file.
9912         * stdio-common/bug23-4.c: New file.  Test case by Joseph Myers.
9913         * stdio-common/Makefile (tests): Add bug23-2, bug23-3, bug23-4.
9915 2014-12-15  Will Newton  <will.newton@linaro.org>
9917         * manual/install.texi: Bump required version of texinfo
9918         to 4.7 from 4.5.
9919         * INSTALL: Regenerated.
9920         * configure.ac: Check for makeinfo version 4.7 and above.
9921         * configure: Regenerated.
9923 2014-12-12  Roland McGrath  <roland@hack.frob.com>
9925         * sysdeps/posix/shm-directory.h (SHM_GET_NAME): Take new argument
9926         PREFIX, string constant to insert between directory and name.
9927         * sysdeps/posix/shm_open.c: Update caller.
9928         * sysdeps/posix/shm_unlink.c: Likewise.
9929         * nptl/semaphoreP.h (struct mountpoint_info): Type removed.
9930         (__where_is_shmfs, mountpoint, __namedsem_once): Declarations removed.
9931         (SEM_SHM_PREFIX): New macro.
9932         * sysdeps/posix/Makefile (librt-routines): Add shm-directory only if
9933         [$(have-thread-library) = no].
9934         * nptl/Makefile (libpthread-routines): Add shm-directory.
9935         * nptl/Versions (GLIBC_PRIVATE): Add __shm_directory.
9936         * sysdeps/nptl/shm-directory.h: New file.
9937         * sysdeps/posix/shm-directory.c
9938         [IS_IN (libpthread)] (__shm_directory): Add hidden_def.
9939         * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
9940         * nptl/sem_open.c (check_add_mapping): Use munmap function rather than
9941         INTERNAL_SYSCALL.
9942         (__where_is_shmfs): Function removed.
9943         (mountpoint, defaultmount, defaultdir, __namedsem_once):
9944         Variables removed.
9945         (sem_open): Use __libc_close function rather than INTERNAL_SYSCALL.
9946         Use SHM_GET_NAME.
9947         * nptl/sem_unlink.c: Prototypify.  Use SHM_GET_NAME.
9949         * sysdeps/nptl/bits/libc-lockP.h [IS_IN (libpthread)]
9950         (PTFAVAIL, __libc_ptf_call, __libc_ptf_call_always): Define as
9951         unconditional for use inside libpthread.
9952         [IS_IN (libpthread)]: Include <nptl/pthreadP.h>.
9954 2014-12-12  Roland McGrath  <roland@hack.frob.com>
9956         * nptl/pthread_getaffinity.c: New file.
9957         * nptl/pthread_setaffinity.c: New file.
9958         * nptl/pthread_getname.c: New file.
9959         * nptl/pthread_setname.c: New file.
9961         * nptl/pthread_create.c (START_THREAD_DEFN)
9962         [! __ASSUME_SET_ROBUST_LIST]: Add missing & in lll_futex_wake argument.
9964 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
9965             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9967         * resolv/res_send.c (send_vc): Disable warning resplen may
9968         be used uninitialized.
9970 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
9972         * nptl/tst-mutex6.c
9973         (ATTR_NULL): New define checks ATTR against NULL.
9974         (do_test): Use !ATTR_NULL instead of ATTR != NULL.
9975         * nptl/tst-mutexpp6.c (ATTR_NULL): New define.
9977 2014-12-11  James Lemke  <jwlemke@codesourcery.com>
9979         [BZ #17581]
9980         * malloc/hooks.c
9981         (mem2mem_check): Revert my previous change.
9982         (malloc_check_get_size): Revert my previous change.
9983         (mem2chunk_check): Revert my previous change.
9985 2014-12-11  Roland McGrath  <roland@hack.frob.com>
9987         * sysdeps/posix/shm-directory.c: New file.
9988         * sysdeps/posix/shm-directory.h: New file.
9989         * sysdeps/posix/Makefile [($(subdir) = rt] (librt-routines): Add it.
9990         * sysdeps/posix/shm_open.c: Use SHM_GET_NAME.
9991         Use O_NOFOLLOW and O_CLOEXEC if available.  Transmute EISDIR to EINVAL.
9992         * sysdeps/posix/shm_unlink.c: Use SHM_GET_NAME.
9993         Transmute EPERM to EACCES.
9994         * sysdeps/unix/sysv/linux/shm-directory.c: New file, most code taken
9995         from ...
9996         * sysdeps/unix/sysv/linux/shm_open.c: ... here.  File removed.
9997         * sysdeps/unix/sysv/linux/shm_unlink.c: File removed.
9999 2014-12-11  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
10001         * sysdeps/sh/jmpbuf_unwind.h (_jmpbuf_sp): Declare SP as void
10002         pointer and cast to uintptr_t.
10003         * sysdeps/sh/nptl/tls.h (TLS_INIT_TP): Use NULL instead of 0.
10004         * sysdeps/unix/sysv/linux/sh/lowlevellock.h (lll_futex_timed_wait):
10005         Add cast to avoid warning.
10006         * sysdeps/unix/sysv/linux/sh/register-dump.h: Use 0 instead of NULL.
10008 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
10010         * nptl/semaphore.h: Move to ...
10011         * sysdeps/pthread/semaphore.h: ... here.
10012         * Makefile (installed-headers): Change nptl/semaphore.h to
10013         sysdeps/pthread/semaphore.h.
10015 2014-12-11  Roland McGrath  <roland@hack.frob.com>
10017         * misc/tst-error1.c (do_test): Ignore -Wformat-security for
10018         generated error format strings.
10020         * stdio-common/tstdiomisc.c (t2): Ignore -Wformat and
10021         -Wformat-extra-args warnings for scanf formats.
10022         * stdio-common/scanf4.c (main): Ignore -Wformat-zero-length around
10023         test of zero-length format (duh).
10024         * stdio-common/scanf7.c (main): Ignore -Wformat warnings for
10025         corner-case scanf format test.
10026         * stdio-common/test-vfprintf.c (do_test): Ignore -Wformat-security for
10027         generated fprintf format string.
10028         * stdio-common/tst-sprintf.c (do_test): Ignore -Wformat warnings for
10029         corner-case sprintf format tests.
10030         * stdio-common/tst-printf.c: Ignore -Wformat throughout.
10031         * stdio-common/tst-printfsz.c (main): Ignore -Wformat and
10032         -Wformat-extra-args warnings throughout.
10033         * stdio-common/Makefile (CFLAGS-tstdiomisc.c): Variable removed.
10034         (CFLAGS-scanf4.c): Likewise.
10035         (CFLAGS-scanf7.c): Likewise.
10036         (CFLAGS-tst-sprintf.c): Likewise.
10037         (CFLAGS-tst-printf.c): Likewise.
10038         (CFLAGS-tst-printfsz.c): Likewise.
10040 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
10042         * include/cpio.h: New file.
10043         * include/fmtmsg.h: Likewise.
10045         * tst-mbswcs1.c (show): Use %zu format instead of %Zd.  Cast
10046         corresponding format argument to size_t.
10047         * tst-mbswcs2.c (show): Likewise.  Use %td format for ptrdiff_t
10048         arguments.
10049         * tst-mbswcs3.c (show): Use %zu format instead of %Zd.  Cast
10050         corresponding format argument to size_t.
10051         * tst-mbswcs4.c (show): Likewise.  Use %td format for ptrdiff_t
10052         arguments.
10053         * tst-mbswcs5.c (show): Use %zu format instead of %Zd.  Cast
10054         corresponding format argument to size_t.
10055         * tst-trans.c (do_test): Use %lc format for wint_t arguments.
10056         * Makefile (CFLAGS-tst-mbswcs1.c): Remove variable.
10057         (CFLAGS-tst-mbswcs2.c): Likewise.
10058         (CFLAGS-tst-mbswcs3.c): Likewise.
10059         (CFLAGS-tst-mbswcs4.c): Likewise.
10060         (CFLAGS-tst-mbswcs5.c): Likewise.
10061         (CFLAGS-tst-trans.c): Likewise
10063 2014-12-11  Roland McGrath  <roland@hack.frob.com>
10065         * posix/regexbug1.c (main): Use "%s" format with regerror results,
10066         rather than assuming they won't contain any '%'s.
10068 2014-12-11  Chris Metcalf  <cmetcalf@ezchip.com>
10070         * sysdeps/tile/tilegx/memset.c (__memcpy): Add
10071         inhibit_loop_to_libcall to avoid recursive calls.
10072         * sysdeps/tile/tilegx/memcpy.c (__memcpy): Likewise.
10073         * sysdeps/tile/tilepro/memcpy.c (__memcpy): Likewise.
10075 2014-12-11  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
10077         * include/sys/socket.h (__sendmmsg): Add __USE_GNU guards on function
10078         prototype.
10080 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
10082         * sysdeps/mips/dl-trampoline.c: Modify switch expression to have
10083         integer value instead of boolean.
10085 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
10087         * malloc/malloc.c: Fix powerof2 check.
10089 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
10091         * locale/programs/locfile.h (maybe_swap_uint32):
10092         Remove inline and add unused attribute.
10094 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
10096         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
10097         Truncating assembler expression to a .long expression.
10099 2014-12-11  Andreas Schwab  <schwab@suse.de>
10101         * elf/rtld.c (struct map_args): Constify str member.
10102         (do_preload): Constify fname argument.
10104 2014-12-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10106         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Remove overflow warnings for
10107         constants definition.
10109 2014-12-11  Andreas Schwab  <schwab@suse.de>
10111         [BZ #16657]
10112         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Use
10113         FORCE_ELISION instead of DO_ELISION.
10114         * sysdeps/unix/sysv/linux/x86/force-elision.h (DO_ELISION):
10115         Remove.
10116         * sysdeps/unix/sysv/linux/s390/force-elision.h (DO_ELISION):
10117         Likewise.
10119         * iconvdata/gconv-modules: Remove duplicate entry.
10121 2014-12-11  Will Newton  <will.newton@linaro.org>
10123         Merge gettext 0.19.3 into intl/.
10125         This involves a number of cosmetic changes to comments
10126         and ANSI function definitions and prototypes throughout
10127         all the files. The gettext copyright header is used but
10128         with the date ranges taken from the glibc copy.
10130         * NEWS: Add gettext merge to 2.21.
10131         * intl/bindtextdom.c: Switch to gettext copyright.
10132         Use ANSI definitions and prototypes.
10133         Use gl_* locking primitives rather than __libc_* ones.
10134         Use __builtin_expect rather than __glibc_likely/unlikely.
10135         * intl/dcgettext.c: Switch to gettext copyright.
10136         Use ANSI definitions and prototypes.
10137         * intl/dcigettext.c: Switch to gettext copyright.
10138         Use ANSI definitions and prototypes.
10139         (INTDIV0_RAISES_SIGFPE): New define.
10140         Use gl_* locking primitives rather than __libc_* ones.
10141         Include eval-plural.h instead of plural-eval.c.
10142         Use __builtin_expect rather than __glibc_likely/unlikely.
10143         * intl/dcngettext.c: Switch to gettext copyright.
10144         Use ANSI definitions and prototypes.
10145         * intl/dgettext.c: Likewise.
10146         * intl/dngettext.c: Likewise.
10147         * intl/plural-eval.c: Renamed to...
10148         * intl/eval-plural.h: ...this.
10149         * intl/explodename.c: Switch to gettext copyright.
10150         Use ANSI definitions and prototypes.
10151         (_nl_explode_name): Use strchr instead of __rawmemchr.
10152         * intl/finddomain.c: Switch to gettext copyright.
10153         Use ANSI definitions and prototypes.
10154         Use gl_* locking primitives rather than __libc_* ones.
10155         (_nl_find_domain): Use malloc rather than alloca for
10156         allocation of temporary locale name.
10157         * intl/gettext.c: Switch to gettext copyright.
10158         Use ANSI definitions and prototypes.
10159         * intl/gettextP.h: Switch to gettext copyright.
10160         Use ANSI definitions and prototypes.
10161         Use gl_* locking primitives rather than __libc_* ones.
10162         * intl/gmo.h: Switch to gettext copyright.
10163         (struct sysdep_string): Move struct segment_pair outside of
10164         struct definition.
10165         * intl/hash-string.c: Use ANSI definitions and prototypes.
10166         * intl/hash-string.h: Switch to gettext copyright.
10167         Use ANSI definitions and prototypes.
10168         * intl/l10nflist.c: Switch to gettext copyright.
10169         Use ANSI definitions and prototypes.
10170         (_nl_normalize_codeset): Avoid integer overflow.
10171         * intl/loadinfo.h: Switch to gettext copyright.
10172         Use ANSI definitions and prototypes.
10173         (LIBINTL_DLL_EXPORTED): New define.
10174         (PATH_SEPARATOR): New define.
10175         * intl/loadmsgcat.c: Switch to gettext copyright.
10176         * intl/localealias.c: Switch to gettext copyright.
10177         Use ANSI definitions and prototypes.
10178         (_nl_expand_alias): Use PATH_SEPARATOR.
10179         * intl/ngettext.c: Switch to gettext copyright.
10180         Use ANSI definitions and prototypes.
10181         * intl/plural-exp.c: Likewise.
10182         * intl/plural-exp.h: Switch to gettext copyright.
10183         Use ANSI definitions and prototypes.
10184         (struct expression): Move definition of enum operator outside
10185         of struct definition.
10186         * intl/plural.c: Regenerate.
10187         * intl/plural.y: Switch to gettext copyright.
10188         Use ANSI definitions and prototypes.
10189         Port to bison 3.0.
10190         * intl/textdomain.c: Switch to gettext copyright.
10191         Use ANSI definitions and prototypes.
10192         Use gl_* locking primitives rather than __libc_* ones.
10194 2014-12-10  Steve Ellcey  <sellcey@imgtec.com>
10196         * debug/warning-nop.c: Add used atrribute.
10198 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
10200         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: New file.
10202         * sysdeps/unix/sysv/linux/mips/mips64/Makefile
10203         [$(subdir) == signal] (CFLAGS-sigaction.c): New variable.
10204         [$(subdir) == nptl] (CFLAGS-sigaction.c): Likewise.
10206 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
10207             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10209         [BZ #17634]
10210         * wcsmbs/wcschr.c [!WCSCHR] (wcschr): Define as __wcschr.
10211         Undefine after defining function.  Define as weak alias of
10212         __wcschr.  Use libc_hidden_weak.
10213         * include/wchar.h (__wcschr): Declare.  Use libc_hidden_proto.
10214         * sysdeps/i386/i686/multiarch/wcschr-c.c [IS_IN (libc) && SHARED]
10215         (libc_hidden_def): Also define __GI___wcschr alias.
10216         * sysdeps/i386/i686/multiarch/wcschr.S (wcschr): Rename to
10217         __wcschr and define as weak alias of __wcschr.
10218         * sysdeps/powerpc/power6/wcschr.c [!WCSCHR] (WCSCHR): Define as
10219         __wcschr.
10220         [!WCSCHR] (DEFAULT_WCSCHR): Define.
10221         [DEFAULT_WCSCHR] (__wcschr): Use libc_hidden_def.
10222         [DEFAULT_WCSCHR] (wcschr): Define as weak alias of __wcschr.  Use
10223         libc_hidden_weak.  Do not use libc_hidden_def.
10224         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c
10225         [IS_IN (libc) && SHARED] (libc_hidden_def): Also define
10226         __GI___wcschr alias.
10227         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c
10228         [IS_IN (libc)] (wcschr): Define as macro expanding to
10229         __redirect_wcschr.
10230         [IS_IN (libc)] (__wcschr_ppc): Use __redirect_wcschr in typeof.
10231         [IS_IN (libc)] (__wcschr_power6): Likewise.
10232         [IS_IN (libc)] (__wcschr_power7): Likewise.
10233         [IS_IN (libc)] (__libc_wcschr): New.  Define with libc_ifunc
10234         instead of wcschr.
10235         [IS_IN (libc)] (wcschr): Undefine and define as weak alias of
10236         __libc_wcschr.
10237         [!IS_IN (libc)] (libc_hidden_def): Do not undefine and redefine.
10238         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c (wcschr): Rename to
10239         __wcschr and define as weak alias of __wcschr.  Use
10240         libc_hidden_builtin_def.
10241         * sysdeps/x86_64/wcschr.S (wcschr): Rename to __wcschr and define
10242         as weak alias of __wcschr.  Use libc_hidden_weak.
10243         * time/alt_digit.c (_nl_get_walt_digit): Use __wcschr instead of
10244         wcschr.
10245         * time/era.c (_nl_init_era_entries): Likewise.
10246         * conform/Makefile (test-xfail-ISO/time.h/linknamespace): Remove
10247         variable.
10248         (test-xfail-XPG3/time.h/linknamespace): Likewise.
10249         (test-xfail-XPG4/time.h/linknamespace): Likewise.
10251 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
10253         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Use %ld
10254         format for long int variable.
10256 2014-12-10  Anders Kaseorg  <andersk@MIT.EDU>
10258         [BZ #10672]
10259         * manual/search.texi: (Array Sort Function): Remove claim how to make
10260         qsort stable.
10262 2014-12-10  Andreas Schwab  <schwab@suse.de>
10264         [BZ #12847]
10265         * sysdeps/nptl/fork.c (fresetlockfiles): Skip files with
10266         user-controlled locks.
10268 2014-12-10  Richard Earnshaw  <rearnsha@arm.com>
10270         * sysdeps/aarch64/strchrnul.S (vrepmask): Use a call-clobbered
10271         register.
10273 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
10275         * configure.ac (--disable-werror): New configure option.
10276         (enable_werror): New AC_SUBST.
10277         * configure: Regenerated.
10278         * config.make.in (enable-werror): New variable.
10279         * Makeconfig [$(enable-werror) = yes] (+gccwarn): Add -Werror
10280         -Wno-error=undef.
10281         (+gccwarn-c): Do not use -Werror=implicit-function-declaration.
10282         * manual/install.texi (Configuring and compiling): Document
10283         --disable-werror.
10284         * INSTALL: Regenerated.
10285         * debug/Makefile (CFLAGS-tst-chk1.c): Add -Wno-error.
10286         (CFLAGS-tst-chk2.c): Likewise.
10287         (CFLAGS-tst-chk3.c): Likewise.
10288         (CFLAGS-tst-chk4.cc): Likewise.
10289         (CFLAGS-tst-chk5.cc): Likewise.
10290         (CFLAGS-tst-chk6.cc): Likewise.
10291         (CFLAGS-tst-lfschk1.c): Likewise.
10292         (CFLAGS-tst-lfschk2.c): Likewise.
10293         (CFLAGS-tst-lfschk3.c): Likewise.
10294         (CFLAGS-tst-lfschk4.cc): Likewise.
10295         (CFLAGS-tst-lfschk5.cc): Likewise.
10296         (CFLAGS-tst-lfschk6.cc): Likewise.
10298         * stdio-common/tst-printfsz.c: Include <libc-internal.h>.
10299         (main): Disable -Wdeprecated-declarations around calls to
10300         register_printf_function.
10302         * stdio-common/tst-unlockedio.c: Include <libc-internal.h>.
10303         (do_test): Disable -Wdiv-by-zero around some calls to
10304         fwrite_unlocked and fread_unlocked.
10306         * include/libc-internal.h (DIAG_PUSH_NEEDS_COMMENT): New macro.
10307         (DIAG_POP_NEEDS_COMMENT): Likewise.
10308         (_DIAG_STR1): Likewise.
10309         (_DIAG_STR): Likewise.
10310         (DIAG_IGNORE_NEEDS_COMMENT): Likewise.
10311         * stdio-common/bug21.c: Include <libc-internal.h>.
10312         (do_test): Disable -Wformat around call to sscanf.
10313         * stdio-common/scanf14.c: Include <libc-internal.h>.
10314         (main): Disable -Wformat around some calls to scanf functions.
10316 2014-12-09  Torvald Riegel  <triegel@redhat.com>
10318         * sysdeps/unix/sysv/linux/sh/pthread_once.S: Remove file.
10320 2014-12-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10322         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix wide-character
10323         stack variable alignment.
10325 2014-12-06  Joseph Myers  <joseph@codesourcery.com>
10327         [BZ #17682]
10328         * resource/Versions (libc): Add __getrlimit at GLIBC_PRIVATE.
10329         * resource/getrlimit.c (__getrlimit): Use libc_hidden_def.
10330         * sysdeps/mach/hurd/getrlimit.c (__getrlimit): Likewise.
10331         * include/sys/resource.h (__getrlimit): Use libc_hidden_proto.
10332         * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Use
10333         __getrlimit instead of getrlimit.
10334         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Use
10335         __gettimeofday instead of gettimeofday.
10336         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
10337         Likewise.
10338         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
10339         Likewise.
10340         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
10341         * conform/Makefile (test-xfail-POSIX2008/aio.h/linknamespace):
10342         Remove variable.
10343         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
10344         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
10346 2014-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10348         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix buffer overrun
10349         for wide-character tests.
10351 2014-12-04  Roland McGrath  <roland@hack.frob.com>
10353         * io/openat64.c: #include <libc-internal.h>
10354         (__openat64): Prototypify.  Use ignore_value on MODE.
10355         * io/openat.c: Likewise.
10356         * misc/reboot.c: #include <libc-internal.h>
10357         (reboot): Prototypify.  Use ignore_value on HOWTO.
10358         * misc/ptrace.c: #include <libc-internal.h>
10359         (ptrace): Prototypify.  Use ignore_value for va_arg'd parameters.
10361 2014-12-04  Joseph Myers  <joseph@codesourcery.com>
10363         * conform/list-header-symbols.pl (%extra_syms): Add h_errno for
10364         XPG4, UNIX98 and XOPEN2K.
10365         * conform/Makefile (test-xfail-XOPEN2K/grp.h/linknamespace):
10366         Remove variable.
10367         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
10369 2014-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
10371         * libio/fileops.c: Use ISO C style for function definitions.
10372         * libio/iofopen.c: Likewise.
10373         * libio/wfileops.c: Likewise.
10375         [BZ #17653]
10376         * libio/fileops.c (_IO_new_file_underflow): Unset cached
10377         offset on EOF.
10378         * libio/wfileops.c (_IO_wfile_underflow): Likewise.
10379         * libio/tst-ftell-active-handler.c (fgets_func_t): New type.
10380         (fgets_func): Function pointer to fgets and fgetws.
10381         (do_ftell_test): Add test to verify ftell value after read
10382         EOF.
10383         (do_test): Set fgets_func.
10385         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Add
10386         O_TRUNC flag for w and w+ modes.
10387         (do_rewind_test): Likewise.
10388         (do_ftell_test): Likewise.
10389         (do_write_test): Likewise.
10391         [BZ #17647]
10392         * libio/fileops.c (do_ftell): Seek only when there are
10393         unflushed writes.
10394         * libio/wfileops.c (do_ftell_wide): Likewise.
10395         * libio/tst-ftell-active-handler.c (do_ftruncate_test): New
10396         test case.
10397         (do_one_test): Call it.
10399 2014-12-03  Joseph Myers  <joseph@codesourcery.com>
10401         * conform/list-header-symbols.pl (%extra_syms): Add getdate_err
10402         for XPG4, UNIX98, XOPEN2K and XOPEN2K8.
10403         * conform/Makefile (test-xfail-XOPEN2K/pthread.h/linknamespace):
10404         Remove variable.
10405         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
10406         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
10407         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
10409 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
10411         * conform/Makefile (test-xfail-XOPEN2K/aio.h/linknamespace):
10412         Remove variable.
10413         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
10415         [BZ #17668]
10416         * inet/ifaddrs.c (getifaddrs): Rename to __getifaddrs and define
10417         as weak alias of __getifaddrs.  Use libc_hidden_weak.
10418         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
10419         __freeifaddrs.  Use libc_hidden_weak.
10420         * sysdeps/gnu/ifaddrs.c (getifaddrs): Rename to __getifaddrs and
10421         define as weak alias of __getifaddrs.  Use libc_hidden_weak.
10422         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
10423         __freeifaddrs.  Use libc_hidden_weak.
10424         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs): Rename to
10425         __getifaddrs and define as weak alias of __getifaddrs.  Use
10426         libc_hidden_weak.
10427         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
10428         __freeifaddrs.  Use libc_hidden_weak.
10429         * conform/Makefile (test-xfail-XOPEN2K/net/if.h/linknamespace):
10430         Remove variable.
10431         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
10432         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
10434 2014-12-02  Petar Jovanovic  <petar.jovanovic@rt-rk.com>
10436         [BZ #17601]
10437         * sysdeps/mips/start.S (__start): Use indirect jump to call
10438         __libc_start_main.
10440 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
10442         * nptl/tst-stack4.c (dso_process): Use int not uintptr_t for t.
10444         * nptl/tst-mutex1.c: Include <stdbool.h>.
10445         [!ATTR] (ATTR_NULL): New macro.
10446         (do_test): Test !ATTR_NULL instead of ATTR != NULL.
10447         * nptl/tst-mutexpi1.c (ATTR_NULL): New macro.
10448         * nptl/tst-mutexpp1.c (ATTR_NULL): New macro.
10450         * posix/tst-getopt_long1.c (do_test): Cast elements of argv array
10451         to char *.
10453         [BZ #17665]
10454         * posix/unistd.h [__USE_MISC || (__USE_XOPEN && !__USE_UNIX98)]:
10455         Change conditional to [__USE_MISC].
10457         [BZ #17664]
10458         * misc/mntent_r.c (__getmntent_r): Use __fgets_unlocked instead of
10459         fgets_unlocked.
10460         * resolv/res_hconf.c [IS_IN (libc)] (fgets_unlocked): Define to
10461         __fgets_unlocked.
10462         * resolv/res_init.c (__res_vinit): Use __fgets_unlocked instead of
10463         fgets_unlocked.
10464         * conform/Makefile (test-xfail-XPG4/sys/statvfs.h/linknamespace):
10465         Remove variable.
10466         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
10467         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
10468         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
10469         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
10470         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
10471         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
10472         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
10473         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
10474         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
10476         * elf/tst-unique4lib.cc (b): Mark with __attribute__ ((used)).
10478 2014-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10480         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
10481         Remove strpbrk objects.
10482         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10483         (__libc_ifunc_impl_list): Remove strpbrk implementation.
10484         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: Remove file.
10485         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Remove file.
10486         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: Remove file.
10487         * sysdeps/powerpc/powerpc64/strpbrk.S: New file.
10489         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
10490         Remove strcspn objects.
10491         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10492         (__libc_ifunc_impl_list): Remove strcspn implementation.
10493         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: Remove file.
10494         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Remove file.
10495         * sysdeps/powerpc/powerpc64/power7/strcspn.S: Remove file.
10496         * sysdeps/powerpc/powerpc64/strcspn.S: New file.
10498         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
10499         Remove strspn objetcs.
10500         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10501         (__libc_ifunc_impl_list): Remove strspn implementation.
10502         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: Remove file.
10503         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
10504         * sysdeps/powerpc/powerpc64/power7/strspn.S: Remove file.
10505         * sysdeps/powerpc/powerpc64/strspn.S: New file.
10507 2014-12-01  James Lemke  <jwlemke@codesourcery.com>
10509         [BZ #17581]
10510         * malloc/hooks.c
10511         (mem2mem_check): Add a terminator to the chain of checking blocks.
10512         (malloc_check_get_size): Use it here.
10513         (mem2chunk_check): Ditto.
10515 2014-12-01  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
10517         * sysdeps/powerpc/powerpc64/strtok.S: New file.
10518         * sysdeps/powerpc/powerpc64/strtok_r.S: New file.
10520 2014-11-29  Carlos O'Donell  <carlos@redhat.com>
10522         * bits/ioctl-types.h: Indent preprocessor directives correctly.
10524         * nptl/nptl-init.c: Include libc-internal.h.
10525         (__pthread_initialize_minimal_internal): Use ROUND_UP.
10527         * elf/ldconfig.c (search_dir): Expand comment.
10529 2014-11-29  Joseph Myers  <joseph@codesourcery.com>
10531         * conform/Makefile (linknamespace-symlist-stdlibs-base): New
10532         variable.
10533         (linknamespace-symlist-stdlibs-tests): Likewise.
10534         (tests-special): Append $(linknamespace-symlist-stdlibs-tests)
10535         instead of $(objpfx)symlist-stdlibs.
10536         (linknamespace-libs-isoc): New variable.
10537         (linknamespace-libs): Use $(linknamespace-libs-isoc).
10538         (linknamespace-libs-ISO): New variable.
10539         (linknamespace-libs-ISO99): Likewise.
10540         (linknamespace-libs-ISO11): Likewise.
10541         (linknamespace-libs-XPG3): Likewise.
10542         (linknamespace-libs-XPG4): Likewise.
10543         (linknamespace-libs-POSIX): Likewise.
10544         (linknamespace-libs-UNIX98): Likewise.
10545         (linknamespace-libs-XOPEN2K): Likewise.
10546         (linknamespace-libs-POSIX2008): Likewise.
10547         (linknamespace-libs-XOPEN2K8): Likewise.
10548         ($(objpfx)symlist-stdlibs): Replace by
10549         $(linknamespace-symlist-stdlibs-tests).  Use
10550         $(linknamespace-libs-$*) as set of libraries.
10551         ($(linknamespace-header-tests)): Update dependencies.  Use
10552         $(objpfx)symlist-stdlibs-$$std for --libsyms argument.
10553         (test-xfail-XPG4/sys/mman.h/linknamespace): Remove.
10554         * conform/linknamespace.pl: Remove comment about considering
10555         definitions of symbols from irrelevant libraries.
10557 2014-11-28  H.J. Lu  <hongjiu.lu@intel.com>
10559         [BZ #13862]
10560         * elf/dl-tls.c: Include <atomic.h>.
10561         (oom): Remove #ifdef SHARED/#endif.
10562         (_dl_static_dtv, _dl_initial_dtv): Moved before ...
10563         (_dl_resize_dtv): This.  Extracted from _dl_update_slotinfo.
10564         (_dl_allocate_tls_init): Resize DTV if the current DTV isn't
10565         big enough.
10566         (_dl_update_slotinfo): Call _dl_resize_dtv to resize DTV.
10567         * nptl/Makefile (tests): Add tst-stack4.
10568         (modules-names): Add tst-stack4mod.
10569         ($(objpfx)tst-stack4): New.
10570         (tst-stack4mod.sos): Likewise.
10571         ($(objpfx)tst-stack4.out): Likewise.
10572         ($(tst-stack4mod.sos)): Likewise.
10573         (clean): Likewise.
10574         * nptl/tst-stack4.c: New file.
10575         * nptl/tst-stack4mod.c: Likewise.
10577 2014-11-27  J. Brown  <jb999@gmx.de>
10579         * sysdeps/x86/bits/string.h: Add recent CPUs.
10581 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
10583         * misc/tst-pselect.c (do_test): Use sigprocmask instead of
10584         sigblock.
10586         * libio/bug-ungetwc1.c (do_test): Verify results of getwc and
10587         feof.
10589         * dlfcn/failtestmod.c (constr): Do not store result of dlsym in a
10590         variable.
10592 2014-11-27  Stefan Liebler  <stli@linux.vnet.ibm.com>
10594         * nscd/connections.c: Include libc-internal.h because of macro
10595         usage ignore_value.
10597 2014-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
10599         * string/bits/string3.h (__warn_memset_zero_len): Don't
10600         declare for gcc newer than 5.0.
10601         (memset): Don't test for zero-length __LEN for gcc newer than
10602         5.0.
10604 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
10606         * stdio-common/tst-fmemopen.c (do_test): Cast st_size values to
10607         size_t for %zu format.
10609         * nss/tst-nss-test1.c (do_test): Use %td printf format for pointer
10610         difference, not %ju.
10612 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
10614         * include/libc-internal.h (ignore_value): New macro.
10615         * nscd/connections.c (restart): Wrap calls to setuid and setgid
10616         with ignore_value.
10618         * sysdeps/mips/__longjmp.c (____longjmp): Use prototype
10619         definition.
10621         * nptl/tst-cancel-self-cancelstate.c (do_test): Cast argument of
10622         pthread_cleanup_push to void *.
10624         * sysdeps/unix/sysv/linux/arm/libc-do-syscall.S (_FORTIFY_SOURCE):
10625         Undefine.
10627         [BZ #16619]
10628         [BZ #16740]
10629         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Use 1LL << 52
10630         instead of 1L << 52.
10632         * libio/bug-rewind.c (do_test): Check fwscanf return values.
10633         * libio/bug-rewind2.c (do_test): Likewise.
10635         * debug/test-stpcpy_chk-ifunc.c: Remove file.
10636         * debug/test-strcpy_chk-ifunc.c: Likewise.
10637         * wcsmbs/test-wcschr-ifunc.c: Likewise.
10638         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
10639         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
10640         * wcsmbs/test-wcslen-ifunc.c: Likewise.
10641         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
10642         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
10643         * Rules [$(multi-arch) = no] (tests): Do not filter out
10644         $(tests-ifunc).
10645         [$(multi-arch) = no] (xtests): Do not filter out $(xtests-ifunc).
10646         * debug/Makefile (tests-ifunc): Remove variable.
10647         (tests): Do not add $(tests-ifunc).
10648         * wcsmbs/Makefile (tests-ifunc): Remove variable.
10649         (tests): Do not add $(tests-ifunc).
10650         * benchtests/bench-string.h (TEST_IFUNC): Remove macro.
10651         [TEST_IFUNC]: Remove conditionals.
10652         * string/test-string.h (TEST_IFUNC): Remove macro.
10653         [TEST_IFUNC]: Remove conditionals.
10655         * string/test-strchr.c [!WIDE] (L): New macro.
10656         [WIDE] (L): Likewise.
10657         (check1): Use CHAR instead of char.  Use L on string and character
10658         constants.
10660 2014-11-26  Adhemerval Zanella  <azanella@linux.ibm.com>
10662         * csu/tst-atomic.c (do_test): Add atomic_exchange_and_add_{acq,rel}
10663         tests.
10664         * sysdeps/powerpc/bits/atomic.h
10665         (__arch_atomic_exchange_and_add_32_acq): Add definition.
10666         (__arch_atomic_exchange_and_add_32_rel): Likewise.
10667         (atomic_exchange_and_add_acq): Likewise.
10668         (atomic_exchange_and_add_rel): Likewise.
10669         * sysdeps/powerpc/powerpc32/bits/atomic.h
10670         (__arch_atomic_exchange_and_add_64_acq): Add definition.
10671         (__arch_atomic_exchange_and_add_64_rel): Likewise.
10672         * sysdeps/powerpc/powerpc64/bits/atomic.h
10673         (__arch_atomic_exchange_and_add_64_acq): Add definition.
10674         (__arch_atomic_exchange_and_add_64_rel): Likewise.
10676 2014-11-26  Torvald Riegel  <triegel@redhat.com>
10678         * nptl/tpp.c (__init_sched_fifo_prio, __pthread_tpp_change_priority):
10679         Change synchronization of __sched_fifo_min_prio and
10680         __sched_fifo_max_prio.
10681         * nptl/pthread_mutexattr_getprioceiling.c
10682         (pthread_mutexattr_getprioceiling): Likewise.
10683         * nptl/pthread_mutexattr_setprioceiling.c
10684         (pthread_mutexattr_setprioceiling): Likewise.
10685         * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
10686         * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
10687         Likewise.
10689 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
10691         * setjmp/jmpbug.c (test): Make foo volatile and cast it to
10692         void.
10694 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
10696         * stdio-common/tst-printf-round.c (test_hex_in_one_mode): Make
10697         third argument const.
10699 2014-11-25  Paul Eggert  <eggert@cs.ucla.edu>
10701         fnmatch: work around GCC compiler warning bug with uninit var
10702         * posix/fnmatch_loop.c (FCT): Use a scalar not a one-item array.
10703         This works around a bug with x86-64 GCC 4.9.2 and earlier
10704         where 'gcc -O2 -Wmaybe-uninitialized' incorrectly complains
10705         "../locale/weightwc.h:93:7: warning: '*((void *)&str+4)' may be
10706         used uninitialized in this function [-Wmaybe-uninitialized]".
10708 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
10710         * posix/bug-regex31.c (main): Return RES not 0.
10712 2014-11-25  Anton Blanchard <anton@samba.org>
10714         * sysdeps/powerpc/bits/atomic.h
10715         (__arch_compare_and_exchange_bool_64_rel): Load from mem.
10717 2014-11-24  Sterling Augustine  <saugustine@google.com>
10719         * sysdeps/x86_64/start.S (_start): Use ENTRY and END macros.
10721 2014-11-24  Ryan Cumming  <etaoins@gmail.com>
10723         [BZ #17608]
10724         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_TAI.
10726 2014-11-24  Joseph Myers  <joseph@codesourcery.com>
10728         [BZ #17633]
10729         * stdio-common/perror.c (perror): Call __fileno instead of fileno.
10730         * conform/Makefile (test-xfail-ISO/stdio.h/linknamespace): Remove
10731         variable.
10732         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
10733         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
10735 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
10737         * string/strncpy.c (strncpy): Improve performance by using memset.
10739 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
10741         * string/strcpy.c (strcpy):
10742         Improve performance by using strlen and memcpy.
10744 2014-11-24  Leonhard Holz  <leonhard.holz@web.de>
10746         * string/strcoll_l.c (get_next_seq): __always_inline.
10747         * string/strcoll_l.c (do_compare): __always_inline.
10749 2014-11-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
10751         * include/bits/stdlib-float.h: Use IS_IN only if _ISOMAC is
10752         defined.
10753         * include/mqueue.h: Likewise.
10754         * include/stdlib.h: Likewise.
10756         * stdlib/isomac.c (fmt): Replace NOT_IN_libc with IN_MODULE.
10757         (get_null_defines): Adjust.
10758         * sunrpc/Makefile: Adjust comment.
10759         * Makerules (CPPFLAGS-nonlib): Remove NOT_IN_libc.
10760         * elf/Makefile (CPPFLAGS-sotruss-lib): Likewise.
10761         (CFLAGS-interp.c): Likewise.
10762         (CFLAGS-ldconfig.c): Likewise.
10763         (CPPFLAGS-.os): Likewise.
10764         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
10765         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
10766         * extra-modules.mk (extra-modules.mk): Likewise.
10767         * iconv/Makefile (CPPFLAGS-iconvprogs): Likewise.
10768         * locale/Makefile (CPPFLAGS-locale_programs): Likewise.
10769         * malloc/Makefile (CPPFLAGS-memusagestat): Likewise.
10770         * nscd/Makefile (CPPFLAGS-nscd): Likewise.
10771         * nss/Makefile (CPPFLAGS-nss_test1): Likewise.
10772         * stdlib/Makefile (CFLAGS-tst-putenvmod.c): Likewise.
10773         * sysdeps/gnu/Makefile ($(objpfx)errlist-compat.c): Likewise.
10774         * sysdeps/unix/sysv/linux/Makefile (CPPFLAGS-lddlibc4): Likewise.
10775         * iconvdata/Makefile (CPPFLAGS): Likewise.
10776         (cpp-srcs-left): Add libof for all iconvdata routines.
10777         * bits/stdio-lock.h: Replace NOT_IN_libc with IS_IN.
10778         * include/assert.h: Likewise.
10779         * include/ctype.h: Likewise.
10780         * include/errno.h: Likewise.
10781         * include/libc-symbols.h: Likewise.
10782         * include/math.h: Likewise.
10783         * include/netdb.h: Likewise.
10784         * include/resolv.h: Likewise.
10785         * include/stdio.h: Likewise.
10786         * include/stdlib.h: Likewise.
10787         * include/string.h: Likewise.
10788         * include/sys/stat.h: Likewise.
10789         * include/wctype.h: Likewise.
10790         * intl/l10nflist.c: Likewise.
10791         * libidn/idn-stub.c: Likewise.
10792         * libio/libioP.h: Likewise.
10793         * nptl/libc_multiple_threads.c: Likewise.
10794         * nptl/pthreadP.h: Likewise.
10795         * posix/regex_internal.h: Likewise.
10796         * resolv/res_hconf.c: Likewise.
10797         * sysdeps/arm/armv7/multiarch/memcpy.S: Likewise.
10798         * sysdeps/arm/memmove.S: Likewise.
10799         * sysdeps/arm/sysdep.h: Likewise.
10800         * sysdeps/generic/_itoa.h: Likewise.
10801         * sysdeps/generic/symbol-hacks.h: Likewise.
10802         * sysdeps/gnu/errlist.awk: Likewise.
10803         * sysdeps/gnu/errlist.c: Likewise.
10804         * sysdeps/i386/i586/memcpy.S: Likewise.
10805         * sysdeps/i386/i586/memset.S: Likewise.
10806         * sysdeps/i386/i686/memcpy.S: Likewise.
10807         * sysdeps/i386/i686/memmove.S: Likewise.
10808         * sysdeps/i386/i686/mempcpy.S: Likewise.
10809         * sysdeps/i386/i686/memset.S: Likewise.
10810         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
10811         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
10812         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: Likewise.
10813         * sysdeps/i386/i686/multiarch/memchr-sse2.S: Likewise.
10814         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
10815         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
10816         * sysdeps/i386/i686/multiarch/memcmp-ssse3.S: Likewise.
10817         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
10818         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
10819         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
10820         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
10821         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
10822         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
10823         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
10824         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
10825         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
10826         * sysdeps/i386/i686/multiarch/memrchr-c.c: Likewise.
10827         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: Likewise.
10828         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: Likewise.
10829         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
10830         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
10831         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
10832         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
10833         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
10834         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
10835         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
10836         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: Likewise.
10837         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
10838         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Likewise.
10839         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
10840         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
10841         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
10842         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
10843         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
10844         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
10845         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
10846         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
10847         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
10848         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
10849         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
10850         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
10851         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
10852         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
10853         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
10854         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
10855         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
10856         * sysdeps/i386/i686/multiarch/wcschr-c.c: Likewise.
10857         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: Likewise.
10858         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
10859         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
10860         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
10861         * sysdeps/i386/i686/multiarch/wcscpy-c.c: Likewise.
10862         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Likewise.
10863         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
10864         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
10865         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: Likewise.
10866         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
10867         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: Likewise.
10868         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: Likewise.
10869         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
10870         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
10871         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
10872         * sysdeps/ia64/fpu/libm-symbols.h: Likewise.
10873         * sysdeps/nptl/bits/libc-lock.h: Likewise.
10874         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
10875         * sysdeps/nptl/bits/stdio-lock.h: Likewise.
10876         * sysdeps/posix/closedir.c: Likewise.
10877         * sysdeps/posix/opendir.c: Likewise.
10878         * sysdeps/posix/readdir.c: Likewise.
10879         * sysdeps/posix/rewinddir.c: Likewise.
10880         * sysdeps/powerpc/novmx-sigjmp.c: Likewise.
10881         * sysdeps/powerpc/powerpc32/__longjmp.S: Likewise.
10882         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
10883         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
10884         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
10885         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Likewise.
10886         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Likewise.
10887         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: Likewise.
10888         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
10889         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: Likewise.
10890         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
10891         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
10892         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
10893         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: Likewise.
10894         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: Likewise.
10895         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: Likewise.
10896         * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
10897         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
10898         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: Likewise.
10899         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: Likewise.
10900         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
10901         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: Likewise.
10902         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: Likewise.
10903         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
10904         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: Likewise.
10905         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: Likewise.
10906         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: Likewise.
10907         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
10908         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
10909         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: Likewise.
10910         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
10911         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: Likewise.
10912         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
10913         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: Likewise.
10914         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
10915         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Likewise.
10916         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
10917         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
10918         * sysdeps/powerpc/powerpc64/__longjmp.S: Likewise.
10919         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: Likewise.
10920         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: Likewise.
10921         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: Likewise.
10922         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
10923         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
10924         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
10925         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Likewise.
10926         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: Likewise.
10927         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
10928         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: Likewise.
10929         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: Likewise.
10930         * sysdeps/powerpc/powerpc64/multiarch/memset.c: Likewise.
10931         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
10932         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
10933         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
10934         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
10935         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Likewise.
10936         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: Likewise.
10937         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
10938         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
10939         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: Likewise.
10940         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
10941         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
10942         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
10943         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
10944         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Likewise.
10945         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
10946         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Likewise.
10947         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Likewise.
10948         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: Likewise.
10949         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: Likewise.
10950         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
10951         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
10952         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: Likewise.
10953         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
10954         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
10955         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Likewise.
10956         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: Likewise.
10957         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
10958         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
10959         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: Likewise.
10960         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
10961         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
10962         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
10963         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Likewise.
10964         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
10965         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Likewise.
10966         * sysdeps/s390/s390-32/multiarch/memcmp.S: Likewise.
10967         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
10968         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
10969         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
10970         * sysdeps/s390/s390-64/multiarch/memcmp.S: Likewise.
10971         * sysdeps/s390/s390-64/multiarch/memcpy.S: Likewise.
10972         * sysdeps/s390/s390-64/multiarch/memset.S: Likewise.
10973         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
10974         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
10975         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: Likewise.
10976         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
10977         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
10978         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Likewise.
10979         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: Likewise.
10980         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
10981         * sysdeps/unix/alpha/sysdep.S: Likewise.
10982         * sysdeps/unix/alpha/sysdep.h: Likewise.
10983         * sysdeps/unix/make-syscalls.sh: Likewise.
10984         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
10985         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
10986         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
10987         * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
10988         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
10989         * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
10990         * sysdeps/unix/sysv/linux/getpid.c: Likewise.
10991         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
10992         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
10993         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Likewise.
10994         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
10995         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
10996         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
10997         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
10998         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
10999         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
11000         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
11001         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
11002         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
11003         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
11004         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
11005         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
11006         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
11007         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
11008         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
11009         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
11010         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
11011         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
11012         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
11013         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: Likewise.
11014         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
11015         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
11016         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
11017         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
11018         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
11019         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
11020         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
11021         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
11022         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
11023         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
11024         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
11025         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
11026         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
11027         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
11028         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
11029         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
11030         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
11031         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
11032         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
11033         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
11034         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
11035         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
11036         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
11037         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
11038         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
11039         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
11040         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
11041         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
11042         * sysdeps/wordsize-32/symbol-hacks.h: Likewise.
11043         * sysdeps/x86_64/memcpy.S: Likewise.
11044         * sysdeps/x86_64/memmove.c: Likewise.
11045         * sysdeps/x86_64/memset.S: Likewise.
11046         * sysdeps/x86_64/multiarch/init-arch.h: Likewise.
11047         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
11048         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
11049         * sysdeps/x86_64/multiarch/memcmp.S: Likewise.
11050         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
11051         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
11052         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
11053         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
11054         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
11055         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
11056         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
11057         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
11058         * sysdeps/x86_64/multiarch/memset-avx2.S: Likewise.
11059         * sysdeps/x86_64/multiarch/memset.S: Likewise.
11060         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
11061         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Likewise.
11062         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
11063         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
11064         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
11065         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
11066         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Likewise.
11067         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
11068         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
11069         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
11070         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
11071         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
11072         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
11073         * sysdeps/x86_64/multiarch/wcscpy-c.c: Likewise.
11074         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
11075         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
11076         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Likewise.
11077         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
11078         * sysdeps/x86_64/strcmp.S: Likewise.
11080         * extra-lib.mk (CPPFLAGS-$(lib)): Remove IS_IN_$(lib).
11082         * elf/Makefile (CPPFLAGS-.os): Remove IS_IN_rtld.
11083         * elf/dl-open.c: Use IS_IN (rtld) instead if IS_IN_rtld.
11084         * elf/rtld-Rules: Likewise.
11085         * elf/setup-vdso.h: Likewise.
11086         * include/assert.h: Likewise.
11087         * include/bits/stdlib-float.h: Likewise.
11088         * include/errno.h: Likewise.
11089         * include/sys/stat.h: Likewise.
11090         * include/unistd.h: Likewise.
11091         * sysdeps/aarch64/setjmp.S: Likewise.
11092         * sysdeps/alpha/setjmp.S: Likewise.
11093         * sysdeps/arm/__longjmp.S: Likewise.
11094         * sysdeps/arm/aeabi_unwind_cpp_pr1.c: Likewise.
11095         * sysdeps/arm/setjmp.S: Likewise.
11096         * sysdeps/arm/sysdep.h: Likewise.
11097         * sysdeps/generic/_itoa.h: Likewise.
11098         * sysdeps/generic/dl-sysdep.h: Likewise.
11099         * sysdeps/generic/ldsodefs.h: Likewise.
11100         * sysdeps/i386/dl-tls.h: Likewise.
11101         * sysdeps/i386/setjmp.S: Likewise.
11102         * sysdeps/m68k/setjmp.c: Likewise.
11103         * sysdeps/mach/hurd/dl-execstack.c: Likewise.
11104         * sysdeps/mach/hurd/opendir.c: Likewise.
11105         * sysdeps/posix/getcwd.c: Likewise.
11106         * sysdeps/posix/opendir.c: Likewise.
11107         * sysdeps/posix/profil.c: Likewise.
11108         * sysdeps/powerpc/dl-procinfo.h: Likewise.
11109         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
11110         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
11111         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
11112         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
11113         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Likewise.
11114         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
11115         * sysdeps/s390/dl-tls.h: Likewise.
11116         * sysdeps/s390/s390-32/setjmp.S: Likewise.
11117         * sysdeps/s390/s390-64/setjmp.S: Likewise.
11118         * sysdeps/sh/sh3/setjmp.S: Likewise.
11119         * sysdeps/sh/sh4/setjmp.S: Likewise.
11120         * sysdeps/unix/alpha/sysdep.h: Likewise.
11121         * sysdeps/unix/arm/sysdep.S: Likewise.
11122         * sysdeps/unix/i386/sysdep.S: Likewise.
11123         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
11124         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
11125         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
11126         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
11127         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
11128         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
11129         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
11130         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
11131         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
11132         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
11133         * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
11134         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
11135         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
11136         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
11137         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
11138         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
11139         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
11140         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
11141         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
11142         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
11143         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
11144         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
11145         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
11146         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
11147         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
11148         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
11149         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
11150         * sysdeps/unix/x86_64/sysdep.S: Likewise.
11151         * sysdeps/x86_64/setjmp.S: Likewise.
11153         * include/math.h: Use IS_IN instead of IS_IN_libm.
11154         * sysdeps/alpha/fpu/s_copysign.c: Likewise.
11155         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
11156         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
11157         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
11158         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
11159         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
11160         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
11161         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
11162         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
11163         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
11164         * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Likewise.
11165         * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
11166         * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Likewise.
11167         * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
11168         * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
11169         * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Likewise.
11170         * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
11171         * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
11172         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
11173         * sysdeps/ieee754/ldbl-opt/s_copysign.c: Likewise.
11174         * sysdeps/ieee754/ldbl-opt/s_finite.c: Likewise.
11175         * sysdeps/ieee754/ldbl-opt/s_frexp.c: Likewise.
11176         * sysdeps/ieee754/ldbl-opt/s_isinf.c: Likewise.
11177         * sysdeps/ieee754/ldbl-opt/s_isnan.c: Likewise.
11178         * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Likewise.
11179         * sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
11180         * sysdeps/ieee754/ldbl-opt/s_modf.c: Likewise.
11181         * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
11182         * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
11183         * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
11184         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Likewise.
11185         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
11186         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
11187         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
11188         Likewise.
11189         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
11190         Likewise.
11191         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c:
11192         Likewise.
11193         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c:
11194         Likewise.
11195         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c:
11196         Likewise.
11197         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
11198         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Likewise.
11199         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
11200         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
11201         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
11202         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
11203         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
11204         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
11205         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
11206         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
11207         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Likewise.
11208         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
11209         * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S: Likewise.
11210         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
11211         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
11212         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
11213         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
11214         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
11215         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
11216         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
11217         * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
11218         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
11219         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
11220         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
11221         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: Likewise.
11222         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
11223         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S: Likewise.
11225         * nptl/lowlevellock.c: Use IS_IN instead of IS_IN_libpthread.
11226         * nptl/pthreadP.h: Likewise.
11227         * nptl_db/structs.def: Likewise.
11228         * sysdeps/arm/sysdep.h: Likewise.
11229         * sysdeps/nptl/bits/libc-lock.h: Likewise.
11230         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
11231         * sysdeps/sparc/sparc32/lowlevellock.c: Likewise.
11232         * sysdeps/unix/alpha/sysdep.h: Likewise.
11233         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
11234         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
11235         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
11236         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
11237         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
11238         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
11239         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
11240         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
11241         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
11242         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
11243         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
11244         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
11245         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
11246         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
11247         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
11248         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
11249         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
11250         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
11251         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
11252         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
11253         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
11254         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
11255         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
11256         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
11257         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
11258         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
11260         * include/mqueue.h: Use IS_IN instead of IS_IN_librt.
11261         * nptl/pthreadP.h: Likewise.
11262         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
11263         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
11264         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
11265         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
11266         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
11267         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
11268         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
11269         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
11270         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
11271         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
11272         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
11273         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
11274         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
11275         Likewise.
11276         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
11277         Likewise.
11278         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
11279         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
11280         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
11281         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
11282         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
11283         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
11284         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
11285         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
11287         * dlfcn/dladdr.c: Use IS_IN.
11288         * dlfcn/dladdr1.c: Likewise.
11289         * dlfcn/dlclose.c: Likewise.
11290         * dlfcn/dlerror.c: Likewise.
11291         * dlfcn/dlinfo.c: Likewise.
11292         * dlfcn/dlmopen.c: Likewise.
11293         * dlfcn/dlopen.c: Likewise.
11294         * dlfcn/dlsym.c: Likewise.
11295         * dlfcn/dlvsym.c: Likewise.
11297         * include/ifaddrs.h: Use IS_IN.
11298         * inet/check_pf.c: Likewise.
11299         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
11300         * nscd/Makefile (CPPFLAGS-nscd): Remove IS_IN_nscd.
11302         * elf/Makefile (CFLAGS-ldconfig.c): Remove definition of
11303         IS_IN_ldconfig.
11304         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Use IS_IN.
11305         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h: Likewise.
11307         * include/shlib-compat.h [!NOT_IN_libc]: Remove.
11308         * nss/nss_files/files-parse.c (IS_IN_libc): Replace with
11309         IS_IN (libc).
11311         * elf/Makefile (libof-sotruss-lib): Set as extramodules.
11313         * elf/Makefile (CPPFLAGS-.os): Remove IN_LIB.
11314         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
11315         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
11316         * include/libc-symbols.h (IS_IN_LIB): New macro.
11317         * include/errno.h: Use IS_IN_LIB instead of IN_LIB.
11318         * include/netdb.h: Likewise.
11319         * include/stap-probe.h: Remove all uses of IN_LIB.
11321         * Makeconfig (module-cppflags-real): Define MODULE_NAME
11322         instead of IN_MODULE.
11323         * include/libc-symbols.h (IN_MODULE): Define using
11324         MODULE_NAME.
11325         (PASTE_NAME, PASTE_NAME1): New macros.
11326         * include/stap-probe.h (LIBC_PROBE_1): Use MODULE_NAME instead
11327         of IN_LIB.
11328         (STAP_PROBE_ASM): Likewise.
11330 2014-11-23  Samuel Thibault  <samuel.thibault@ens-lyon.org>
11332         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Call
11333         __mach_init in dlopened libc.
11335 2014-11-22  Mike Frysinger  <vapier@gentoo.org>
11337         * sysdeps/arm/preconfigure.ac: Delete EABI check.
11338         * sysdeps/arm/preconfigure: Regenerate.
11340 2014-11-21  Roland McGrath  <roland@hack.frob.com>
11342         * nptl/pthread_create.c (__pthread_create_2_1): Set
11343         ATTR_FLAG_POLICY_SET and/or ATTR_FLAG_SCHED_SET in PD->flags
11344         when copying values from IATTR into PD.
11346 2014-11-21  Will Newton  <will.newton@linaro.org>
11347             Andrew Pinski  <andrew.pinski@caviumnetworks.com>
11349         * sysdeps/aarch64/dl-machine.h (elf_machine_load_address):
11350         Refactor inline-asm.  Also add comment.
11352         * sysdeps/aarch64/bits/link.h (la_aarch64_gnu_pltenter): Use
11353         ElfW macro instead of hardcoded Elf64 types.
11354         (la_aarch64_gnu_pltenter): Likewise.
11355         * sysdeps/aarch64/dl-machine.h
11356         (elf_machine_runtime_setup): Use ElfW(Addr).
11358         * elf/elf.h (R_AARCH64_P32_ABS32, R_AARCH64_P32_COPY,
11359         R_AARCH64_P32_GLOB_DAT, R_AARCH64_P32_JUMP_SLOT,
11360         R_AARCH64_P32_RELATIVE, R_AARCH64_P32_TLS_DTPMOD,
11361         R_AARCH64_P32_TLS_DTPREL, R_AARCH64_P32_TLS_TPREL,
11362         R_AARCH64_P32_TLSDESC, R_AARCH64_P32_IRELATIVE): Define.
11363         (R_AARCH64_TLS_DTPMOD64): Rename to ..
11364         (R_AARCH64_TLS_DTPMOD): This.
11365         (R_AARCH64_TLS_DTPREL64): Rename to ...
11366         (R_AARCH64_TLS_DTPREL): This.
11367         (R_AARCH64_TLS_TPREL64): Rename to ...
11368         (R_AARCH64_TLS_TPREL): This.
11369         * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Update
11370         R_AARCH64_TLS_DTPMOD64, R_AARCH64_TLS_DTPREL64, and
11371         R_AARCH64_TLS_TPREL64.
11372         (elf_machine_rela): Likewise.
11374 2014-11-21  Torvald Riegel  <triegel@redhat.com>
11376         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS): Fix value
11377         by setting it to 0.  64b atomics are not supported currently.
11379 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
11381         [BZ #16469]
11382         * resolv/res_query.c (__libc_res_nsearch): Skip leading dot in
11383         search domain names.
11385 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
11387         [BZ #16469]
11388         * NEWS: Update.
11389         * resolv/res_query.c (__libc_res_nquerydomain): Retain
11390         trailing dot.
11391         * posix/tst-getaddrinfo5.c: New.
11392         * posix/Makefile (tests): Add it.
11394 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
11396         [BZ #14498]
11397         * NEWS: Fixed.
11398         * nss/nss_db/db-XXX.c (_nss_db_get##name##_r): Update hidx
11399         after parsing line but before break_if_match.
11400         * nss/nss_files/files-service (DB_LOOKUP): Don't "continue;"
11401         if there is a protocol mismatch.
11403 2014-11-21  Ma Shimiao <mashimiao.fnst@cn.fujitsu.com>
11405         * manual/sysinfo.texi (addmntent): It is actually MT-Safe,
11406         because the potential race is on the user-supplied stream.
11408 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
11410         * sysdeps/posix/ctermid.c (ctermid): Return a pointer to a
11411         string literal if not passed a buffer.
11412         * manual/job.texi (ctermid): Update reasoning, note deviation
11413         from posix, suggest mtasurace when not passed a buffer, for
11414         future non-preliminary safety notes.
11416 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
11418         * manual/users.texi (cuserid): Fix MT-Safety note for the case
11419         of not passing it a buffer.
11420         Reported by Peng Haitao.
11422 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
11424         * manual/Makefile ($(objpfx)stamp-summary): Require
11425         check-safety.sh to pass.
11426         * manual/check-safety.sh: Wish for verification that every
11427         @deftypefn and @deftypefun is followed by a @safety remark.
11429 2014-11-20  Roland McGrath  <roland@hack.frob.com>
11431         * nptl/unwind.c (unwind_cleanup): Use __libc_fatal.
11433         * nptl/pthread_setcanceltype.c [!SIGCANCEL]: Return ENOTSUP early for
11434         PTHREAD_CANCEL_ASYNCHRONOUS.
11435         * nptl/pthread_cancel.c [!SIGCANCEL]: Just abort rather than trying to
11436         send SIGCANCEL.
11438         * nptl/default-sched.h: New file.
11439         * sysdeps/unix/sysv/linux/default-sched.h: New file.
11440         * nptl/pthread_create.c: Include it.
11441         (__pthread_create_2_1): Use collect_default_sched instead of making
11442         Linux syscalls here directly.
11444 2014-11-20  Torvald Riegel  <triegel@redhat.com>
11446         * nptl/pthread_once.c (clear_once_control, __pthread_once_slow,
11447         __pthread_once): Use C11 atomics.
11449 2014-11-20  Torvald Riegel  <triegel@redhat.com>
11451         * csu/tst-atomic.c (do_test): Add tests for C11-like atomics.
11453 2014-11-20  Torvald Riegel  <triegel@redhat.com>
11455         * include/atomic.h (__atomic_link_error, __atomic_check_size,
11456         atomic_thread_fence_acquire, atomic_thread_fence_release,
11457         atomic_thread_fence_seq_cst, atomic_load_relaxed,
11458         atomic_load_acquire, atomic_store_relaxed, atomic_store_release,
11459         atomic_compare_exchange_weak_relaxed,
11460         atomic_compare_exchange_weak_acquire,
11461         atomic_compare_exchange_weak_release,
11462         atomic_exchange_acquire, atomic_exchange_release,
11463         atomic_fetch_add_relaxed, atomic_fetch_add_acquire,
11464         atomic_fetch_add_release, atomic_fetch_add_acq_rel,
11465         atomic_fetch_and_acquire,
11466         atomic_fetch_or_relaxed, atomic_fetch_or_acquire): New.
11468 2014-11-20  Torvald Riegel  <triegel@redhat.com>
11470         * sysdeps/aarch64/bits/atomic.h (__HAVE_64B_ATOMICS,
11471         USE_ATOMIC_COMPILER_BUILTINS): Define.
11472         * sysdeps/alpha/bits/atomic.h (__HAVE_64B_ATOMICS,
11473         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
11474         * sysdeps/arm/bits/atomic.h (__HAVE_64B_ATOMICS,
11475         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
11476         * sysdeps/i386/i486/bits/atomic.h (__HAVE_64B_ATOMICS,
11477         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
11478         * sysdeps/ia64/bits/atomic.h (__HAVE_64B_ATOMICS,
11479         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
11480         * sysdeps/m68k/coldfire/bits/atomic.h (__HAVE_64B_ATOMICS,
11481         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
11482         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (__HAVE_64B_ATOMICS,
11483         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
11484         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS,
11485         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
11486         * sysdeps/mips/bits/atomic.h (__HAVE_64B_ATOMICS,
11487         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
11488         * sysdeps/powerpc/powerpc32/bits/atomic.h (__HAVE_64B_ATOMICS,
11489         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
11490         * sysdeps/powerpc/powerpc64/bits/atomic.h (__HAVE_64B_ATOMICS,
11491         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
11492         * sysdeps/s390/bits/atomic.h (__HAVE_64B_ATOMICS,
11493         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
11494         * sysdeps/sparc/sparc32/bits/atomic.h (__HAVE_64B_ATOMICS,
11495         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
11496         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (__HAVE_64B_ATOMICS,
11497         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
11498         * sysdeps/sparc/sparc64/bits/atomic.h (__HAVE_64B_ATOMICS,
11499         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
11500         * sysdeps/tile/tilegx/bits/atomic.h (__HAVE_64B_ATOMICS,
11501         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
11502         * sysdeps/tile/tilepro/bits/atomic.h (__HAVE_64B_ATOMICS,
11503         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
11504         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (__HAVE_64B_ATOMICS,
11505         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
11506         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
11507         (__HAVE_64B_ATOMICS, USE_ATOMIC_COMPILER_BUILTINS): Likewise.
11508         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (__HAVE_64B_ATOMICS,
11509         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
11510         * sysdeps/x86_64/bits/atomic.h (__HAVE_64B_ATOMICS,
11511         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
11513 2014-11-19  Roland McGrath  <roland@hack.frob.com>
11515         * nptl/pthread_create.c (__pthread_create_2_1): Don't try to validate
11516         the sched_priority value here.  It was already checked when the user
11517         called pthread_attr_setschedparam.
11519         * nptl/tst-bad-schedattr.c: New file.
11520         * nptl/Makefile (tests): Add it.
11522 2014-11-19  Carlos O'Donell  <carlos@redhat.com>
11523             Florian Weimer  <fweimer@redhat.com>
11524             Joseph Myers  <joseph@codesourcery.com>
11525             Adam Conrad  <adconrad@0c3.net>
11526             Andreas Schwab  <schwab@suse.de>
11527             Brooks  <bmoses@google.com>
11529         [BZ #17625]
11530         * wordexp-test.c (__dso_handle): Add prototype.
11531         (__register_atfork): Likewise.
11532         (__app_register_atfork): New function.
11533         (registered_forks): New global.
11534         (register_fork): New function.
11535         (test_case): Add 3 new tests for WRDE_CMDSUB.
11536         (main): Call __app_register_atfork.
11537         (testit): If WRDE_NOCMD set registered_forks to zero, run test, and if
11538         fork count is non-zero fail the test.
11539         * posix/wordexp.c (exec_comm): Return WRDE_CMDSUB if WRDE_NOCMD flag
11540         is set.
11541         (parse_dollars): Remove check for WRDE_NOCMD.
11542         (parse_dquote): Likewise.
11544 2014-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
11546         * Makeconfig (built-modules): List non-library modules to be
11547         built.
11548         (module-cppflags): Include libc-modules.h for
11549         everything except shlib-versions.v.i.
11550         (CPPFLAGS): Use it.
11551         (before-compile): Add libc-modules.h.
11552         ($(common-objpfx)libc-modules.h,
11553         $(common-objpfx)libc-modules.stmp): New targets.
11554         (common-generated): Add libc-modules.h and libc-modules.stmp.
11555         ($(common-objpfx)Versions.v.i): Depend on libc-modules.h.
11556         * include/libc-symbols.h: Don't include libc-modules.h.
11557         * include/libc-modules.h: Remove file.
11558         * scripts/gen-libc-modules.awk: New script to generate
11559         libc-modules.h.
11560         * sysdeps/unix/Makefile ($(common-objpfx)sysd-syscalls):
11561         Depend on libc-modules.stmp.
11563         * include/shlib-compat.h (_SHLIB_COMPAT): Use IS_IN.
11565         * Makeconfig (in-module): Get value of libof set for the
11566         translation unit.
11567         (CPPFLAGS): Use $(in-module).
11568         * Makerules: Don't suffix routine names for nonlib.
11569         * include/libc-modules.h: New file.
11570         * include/libc-symbols.h: Include libc-modules.h
11571         (IS_IN): New macro to replace IS_IN_* macros.
11572         * elf/Makefile: Set libof-* for each routine.
11573         * elf/rtld-Rules: Likewise.
11574         * extra-modules.mk: Likewise.
11575         * iconv/Makefile: Likewise.
11576         * iconvdata/Makefile: Likewise.
11577         * locale/Makefile: Likewise.
11578         * malloc/Makefile: Likewise.
11579         * nss/Makefile: Likewise.
11580         * sysdeps/gnu/Makefile: Likewise.
11581         * sysdeps/ieee754/ldbl-opt/Makefile: Likewise.
11582         * sysdeps/unix/sysv/linux/Makefile: Likewise.
11583         * sysdeps/s390/s390-64/Makefile: Likewise.
11584         * nscd/Makefile: Set libof-* for each routine.  Set CFLAGS and
11585         CPPFLAGS for nscd instead of nonlib.
11587 2014-11-18  Roland McGrath  <roland@hack.frob.com>
11589         * nptl/createthread.c: New file.
11591         * nptl/createthread.c: Moved ...
11592         * sysdeps/unix/sysv/linux/createthread.c: ... here.
11594         * nptl/createthread.c: Add proper top-line comment.
11595         (do_clone): Folded into ...
11596         (create_thread): ... here.  Take new arguments STOPPED_START and
11597         THREAD_RAN.  Always set PD->stopped_start to something here.  Don't
11598         increment __nptl_threads, do event-reporting logic, do
11599         CHECK_THREAD_SYSINFO, or set THREAD_SELF->header.multiple_threads
11600         here.  Set *THREAD_RAN after ARCH_CLONE call succeeds.  Don't do any
11601         resource cleanup if sched_setaffinity or sched_setscheduler fails,
11602         just send SIGCANCEL.
11603         * nptl/pthread_create.c: Forward-declare create_thread before
11604         including createthread.c.
11605         (start_thread): Use new macro START_THREAD_DEFN to replace defining
11606         declaration, and new macro START_THREAD_SELF to replace argument.
11607         Remove return statement.
11608         (report_thread_creation): New function.
11609         (__pthread_create_2_1): Use it.  Do TD_CREATE reporting,
11610         synchronization logic, and __nptl_nthreads increment here, around
11611         calling create_thread.  Do CHECK_THREAD_SYSINFO and initialize
11612         PD->parent_cancelhandling here, before create_thread.  When
11613         create_thread fails, do __nptl_nthreads decrement, setxid_futex wake,
11614         __deallocate_stack, and ENOMEM translation here.
11616 2014-11-18  Joseph Myers  <joseph@codesourcery.com>
11618         [BZ #17616]
11619         * sysdeps/ieee754/dbl-64/mpa.c (mpone): Rename to __mpone.
11620         (mptwo): Rename to __mptwo.
11621         (__inv): Use __mptwo instead of mptwo.
11622         * sysdeps/ieee754/dbl-64/mpa.h (mpone): Rename to __mpone.
11623         (mptwo): Rename to __mptwo.
11624         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __mpone instead
11625         of mpone and __mptwo instead of mptwo.
11626         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Use __mpone
11627         instead of mpone.
11628         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
11629         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Likewise.
11630         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use __mpone instead
11631         of mpone and __mptwo instead of mptwo.
11632         (__mpranred): Use __mpone instead of mpone.
11633         * conform/Makefile (test-xfail-ISO/math.h/linknamespace): Remove
11634         variable.
11635         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
11636         (test-xfail-ISO99/math.h/linknamespace): Likewise.
11637         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
11638         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
11639         (test-xfail-ISO11/math.h/linknamespace): Likewise.
11640         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
11641         (test-xfail-XPG3/math.h/linknamespace): Likewise.
11642         (test-xfail-XPG4/math.h/linknamespace): Likewise.
11643         (test-xfail-POSIX/math.h/linknamespace): Likewise.
11644         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
11645         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
11646         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
11647         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
11648         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
11649         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
11650         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
11651         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
11652         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
11653         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
11655 2014-11-18  Tom de Vries  <tom@codesoucery.com>
11657         * manual/signal.texi (Primitives Interrupted by Signals): In section,
11658         replace BSD Handler xref with BSD Signal Handling.
11660 2014-11-17  Richard Henderson  <rth@redhat.com>
11662         * sysdeps/alpha/soft-fp/local-soft-fp.h (_FP_UNPACK_RAW_2): Remove.
11663         (_FP_PACK_RAW_2): Remove.
11664         (AXP_DECL_RETURN_Q): Rename from FP_DECL_RETURN, use _FP_UNION_Q.
11665         (AXP_RETURN_Q): Rename from FP_RETURN, use _FP_UNION_Q.
11666         (AXP_UNPACK_RAW_Q, AXP_UNPACK_SEMIRAW_Q, AXP_UNPACK_Q): New.
11667         (AXP_PACK_RAW_Q, AXP_PACK_SEMIRAW_Q, AXP_PACK_Q): New.
11668         * sysdeps/alpha/soft-fp/ots_add.c (_OtsAddX): Update to match.
11669         * sysdeps/alpha/soft-fp/ots_cmp.c (internal_equality): Likewise.
11670         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Likewise.
11671         * sysdeps/alpha/soft-fp/ots_cvtqux.c (_OtsCvtQUX): Likewise.
11672         * sysdeps/alpha/soft-fp/ots_cvtqx.c (_OtsCvtQX): Likewise.
11673         * sysdeps/alpha/soft-fp/ots_cvttx.c (_OtsConvertFloatTX): Likewise.
11674         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Likewise.
11675         * sysdeps/alpha/soft-fp/ots_cvtxt.c (_OtsConvertFloatXT): Likewise.
11676         * sysdeps/alpha/soft-fp/ots_div.c (_OtsDivX): Likewise.
11677         * sysdeps/alpha/soft-fp/ots_mul.c (_OtsMulX): Likewise.
11678         * sysdeps/alpha/soft-fp/ots_nintxq.c (_OtsNintXQ): Likewise.
11679         * sysdeps/alpha/soft-fp/ots_sub.c (_OtsSubX): Likewise.
11681 2014-11-14  Roland McGrath  <roland@hack.frob.com>
11683         * signal/signal.h [__USE_MISC]
11684         (struct sigvec): Remove type.
11685         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): Remove macros.
11686         (sigvec): Remove declaration.
11687         * sysdeps/posix/sigvec.c: Moved ...
11688         * signal/sigvec.c: ... here, replacing old file.
11689         (struct sigvec): New type, copied from old signal.h definition.
11690         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): New macros, likewise copied.
11691         (__sigvec): Convert definition to prototype.
11692         (sigvec): Replace weak_alias with compat_symbol.
11693         * signal/Versions (libc: GLIBC_2.21): New version set.
11694         * include/signal.h: Remove __sigvec declaration.
11695         * sysdeps/unix/bsd/sigvec.c: Remove file.
11696         * sysdeps/unix/bsd/syscalls.list: Remove sigvec.
11697         * manual/signal.texi (BSD Handler): Remove subsection.
11698         Move siginterrupt up to ...
11699         (BSD Signal Handling): ... here.  Mark it as XPG rather than BSD.
11700         (Blocking in BSD): Fold subsection into its parent.
11701         * NEWS: Mention sigvec removal.
11703 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
11705         * sysdeps/x86_64/fpu/dla.h [__FMA4__ && __GNUC_PREREQ (4, 6)]
11706         (DLA_FMS): Make definition conditional only on [__FMA4__].
11707         [__FMA4__ && !__GNUC_PREREQ (4, 6)] (DLA_FMS): Remove conditional
11708         definition.
11710         * sysdeps/arm/sysdep.h [PROF && __GNUC_PREREQ(4,4)] (CALL_MCOUNT):
11711         Make definition conditional only on [PROF].
11712         [PROF && !__GNUC_PREREQ(4,4)] (CALL_MCOUNT): Remove conditional
11713         definition.
11714         [__GNUC_PREREQ(4,4)] (mcount): Make definition unconditional.
11715         [!__GNUC_PREREQ(4,4)] (mcount): Remove conditional definition.
11717         * signal/signal.h (__sigpause): Only declare if [__USE_XOPEN &&
11718         !__GNUC__].
11719         * include/signal.h (__sigpause): Move declaration above call to
11720         libc_hidden_proto.
11721         * conform/Makefile (test-xfail-ISO/signal.h/linknamespace): Remove
11722         variable.
11723         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
11724         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
11726 2014-11-14  David S. Miller  <davem@davemloft.net>
11728         * sysdeps/sparc/sparc64/rtld-memcpy.c (NO_MEMPCPY_STPCPY_REDIRECT):
11729         Define before including <string/memcpy.c> and <string/mempcpy.c>.
11731 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
11733         * configure.ac (libc_cv_compiler_ok): Require GCC 4.6 or later.
11734         * configure: Regenerated.
11735         * manual/install.texi (Tools for Compilation): Document a
11736         requirement of GCC 4.6 or later and that GCC 4.9 is the newest
11737         compiler verified to work.
11738         * INSTALL: Regenerated.
11740         * include/string.h [NO_MEMPCPY_STPCPY_REDIRECT] (mempcpy): Do not
11741         redeclare with asm name.
11742         [NO_MEMPCPY_STPCPY_REDIRECT] (stpcpy): Likewise.
11743         * string/mempcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Define before
11744         including <string.h>.
11745         * string/stpcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
11746         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c
11747         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
11748         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c
11749         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
11750         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
11751         [SHARED && !NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
11753 2014-11-13  Joseph Myers  <joseph@codesourcery.com>
11755         * stdlib/strtol.c (__strtol): Use prototype definition.
11757         [BZ #17594]
11758         * stdlib/strtol.c (SYM__): New macro.
11759         (SYM__1): Likewise.
11760         (__strtol): Likewise.
11761         (strtol): Rename to __strtol and define as weak alias of
11762         __strtol.  Use libc_hidden_weak.
11764 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
11766         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START):
11767         Use numbered labels in inline assembly.
11769 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
11771         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp):
11772         Add setjmp LIBC_PROBE.
11773         * sysdeps/s390/s390-64/setjmp.S (__sigsetjmp):
11774         Likewise.
11775         * sysdeps/s390/s390-32/__longjmp.c (__longjmp):
11776         Add longjmp, longjmp_target LIBC_PROBE.
11777         * sysdeps/s390/s390-64/__longjmp.c (__longjmp):
11778         Likewise.
11780 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
11782         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
11783         Gate the definition of refsym additionally with !RTLD_BOOTSTRAP
11784         to get rid of unused variable warning.
11786 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
11788         * sysdeps/s390/s390-32/backtrace.c (__backtrace):
11789         Check for unwind_backtrace ==  NULL only in SHARED case.
11790         (__backchain_backtrace): Compile only in SHARED case.
11791         * sysdeps/s390/s390-64/backtrace.c (__backtrace):
11792         Likewise.
11793         (__backchain_backtrace): Declare as static.
11795 2014-11-12  Roland McGrath  <roland@hack.frob.com>
11797         * nptl/createthread.c [!TLS_MULTIPLE_THREADS_IN_TCB]
11798         (__libc_multiple_threads_ptr): Variable moved ...
11799         * nptl/nptl-init.c [!TLS_MULTIPLE_THREADS_IN_TCB]: ... here.
11801 2014-11-12  Joseph Myers  <joseph@codesourcery.com>
11803         * conform/GlibcConform.pm: New file.
11804         * conform/conformtest.pl: Use GlibcConform module.
11805         * conform/linknamespace.pl: New file.
11806         * conform/list-header-symbols.pl: Likewise.
11807         * conform/Makefile (linknamespace-symlists-base): New variable.
11808         (linknamespace-symlists-tests): Likewise.
11809         (linknamespace-header-base): Likewise.
11810         (linknamespace-header-tests): Likewise.
11811         (tests-special): Add new tests.
11812         ($(linknamespace-symlists-tests)): New rule.
11813         (linknamespace-libs): New variable.
11814         ($(objpfx)symlist-stdlibs): New rule.
11815         ($(linknamespace-header-tests)): Likewise.
11816         (test-xfail-XPG3/varargs.h/linknamespace): New variable.
11817         (test-xfail-XPG4/varargs.h/linknamespace): Likewise.
11818         (test-xfail-UNIX98/varargs.h/linknamespace): Likewise.
11819         (test-xfail-XPG4/ndbm.h/linknamespace): Likewise.
11820         (test-xfail-UNIX98/ndbm.h/linknamespace): Likewise.
11821         (test-xfail-XOPEN2K/ndbm.h/linknamespace): Likewise.
11822         (test-xfail-XOPEN2K8/ndbm.h/linknamespace): Likewise.
11823         (test-xfail-ISO/math.h/linknamespace): Likewise.
11824         (test-xfail-ISO/signal.h/linknamespace): Likewise.
11825         (test-xfail-ISO/stdio.h/linknamespace): Likewise.
11826         (test-xfail-ISO/time.h/linknamespace): Likewise.
11827         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
11828         (test-xfail-ISO99/ctype.h/linknamespace): Likewise.
11829         (test-xfail-ISO99/math.h/linknamespace): Likewise.
11830         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
11831         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
11832         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
11833         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
11834         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
11835         (test-xfail-ISO11/math.h/linknamespace): Likewise.
11836         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
11837         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
11838         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
11839         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
11840         (test-xfail-XPG3/fnmatch.h/linknamespace): Likewise.
11841         (test-xfail-XPG3/glob.h/linknamespace): Likewise.
11842         (test-xfail-XPG3/math.h/linknamespace): Likewise.
11843         (test-xfail-XPG3/regex.h/linknamespace): Likewise.
11844         (test-xfail-XPG3/search.h/linknamespace): Likewise.
11845         (test-xfail-XPG3/stdio.h/linknamespace): Likewise.
11846         (test-xfail-XPG3/time.h/linknamespace): Likewise.
11847         (test-xfail-XPG3/unistd.h/linknamespace): Likewise.
11848         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
11849         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
11850         (test-xfail-XPG4/fmtmsg.h/linknamespace): Likewise.
11851         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
11852         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
11853         (test-xfail-XPG4/grp.h/linknamespace): Likewise.
11854         (test-xfail-XPG4/libgen.h/linknamespace): Likewise.
11855         (test-xfail-XPG4/math.h/linknamespace): Likewise.
11856         (test-xfail-XPG4/netdb.h/linknamespace): Likewise.
11857         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
11858         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
11859         (test-xfail-XPG4/search.h/linknamespace): Likewise.
11860         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
11861         (test-xfail-XPG4/stdlib.h/linknamespace): Likewise.
11862         (test-xfail-XPG4/sys/mman.h/linknamespace): Likewise.
11863         (test-xfail-XPG4/sys/statvfs.h/linknamespace): Likewise.
11864         (test-xfail-XPG4/syslog.h/linknamespace): Likewise.
11865         (test-xfail-XPG4/time.h/linknamespace): Likewise.
11866         (test-xfail-XPG4/unistd.h/linknamespace): Likewise.
11867         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
11868         (test-xfail-POSIX/aio.h/linknamespace): Likewise.
11869         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
11870         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
11871         (test-xfail-POSIX/math.h/linknamespace): Likewise.
11872         (test-xfail-POSIX/mqueue.h/linknamespace): Likewise.
11873         (test-xfail-POSIX/pthread.h/linknamespace): Likewise.
11874         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
11875         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
11876         (test-xfail-POSIX/semaphore.h/linknamespace): Likewise.
11877         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
11878         (test-xfail-POSIX/time.h/linknamespace): Likewise.
11879         (test-xfail-POSIX/unistd.h/linknamespace): Likewise.
11880         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
11881         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
11882         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
11883         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
11884         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
11885         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
11886         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
11887         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
11888         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
11889         (test-xfail-UNIX98/mqueue.h/linknamespace): Likewise.
11890         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
11891         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
11892         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
11893         (test-xfail-UNIX98/regex.h/linknamespace): Likewise.
11894         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
11895         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
11896         (test-xfail-UNIX98/semaphore.h/linknamespace): Likewise.
11897         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
11898         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
11899         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
11900         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
11901         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
11902         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
11903         (test-xfail-UNIX98/unistd.h/linknamespace): Likewise.
11904         (test-xfail-UNIX98/wchar.h/linknamespace): Likewise.
11905         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
11906         (test-xfail-XOPEN2K/aio.h/linknamespace): Likewise.
11907         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
11908         (test-xfail-XOPEN2K/fcntl.h/linknamespace): Likewise.
11909         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
11910         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
11911         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
11912         (test-xfail-XOPEN2K/grp.h/linknamespace): Likewise.
11913         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
11914         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
11915         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
11916         (test-xfail-XOPEN2K/net/if.h/linknamespace): Likewise.
11917         (test-xfail-XOPEN2K/netdb.h/linknamespace): Likewise.
11918         (test-xfail-XOPEN2K/pthread.h/linknamespace): Likewise.
11919         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
11920         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
11921         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
11922         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
11923         (test-xfail-XOPEN2K/signal.h/linknamespace): Likewise.
11924         (test-xfail-XOPEN2K/spawn.h/linknamespace): Likewise.
11925         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
11926         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
11927         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
11928         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
11929         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
11930         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
11931         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
11932         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
11933         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
11934         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
11935         (test-xfail-POSIX2008/aio.h/linknamespace): Likewise.
11936         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
11937         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
11938         (test-xfail-POSIX2008/dirent.h/linknamespace): Likewise.
11939         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
11940         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
11941         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
11942         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
11943         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
11944         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
11945         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
11946         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
11947         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
11948         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
11949         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
11950         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
11951         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
11952         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
11953         (test-xfail-POSIX2008/unistd.h/linknamespace): Likewise.
11954         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
11955         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
11956         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
11957         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
11958         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
11959         (test-xfail-XOPEN2K8/grp.h/linknamespace): Likewise.
11960         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
11961         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
11962         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
11963         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
11964         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
11965         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
11966         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
11967         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
11968         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
11969         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
11970         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
11971         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
11972         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
11973         (test-xfail-XOPEN2K8/syslog.h/linknamespace): Likewise.
11974         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
11975         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
11976         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
11978         [BZ #17589]
11979         * intl/localealias.c [_LIBC] (FGETS): Use __fgets_unlocked instead
11980         of fgets_unlocked.
11982         [BZ #17585]
11983         * string/memmem.c [!_LIBC] (__memmem): Define to memmem.
11984         (memmem): Rename to __memmem and define as weak alias of
11985         __memmem.  Use libc_hidden_weak.
11986         (__memmem): Use libc_hidden_def.
11987         * include/string.h (__memmem): Declare.  Use libc_hidden_proto.
11988         * locale/findlocale.c (valid_locale_name): Use __memmem instead of
11989         memmem.
11991         [BZ #17582]
11992         * libio/iofgets.c [weak_alias && !_IO_MTSAFE_IO]
11993         (__fgets_unlocked): Add alias of _IO_fgets.  Use libc_hidden_def.
11994         * libio/iofgets_u.c (fgets_unlocked): Rename to __fgets_unlocked
11995         and define as weak alias of __fgets_unlocked.  Use
11996         libc_hidden_weak.
11997         (__fgets_unlocked): Use libc_hidden_def.
11998         * include/stdio.h (__fgets_unlocked): Declare.  Use
11999         libc_hidden_proto.
12000         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Use
12001         __fgets_unlocked instead of fgets_unlocked.
12002         * sysdeps/unix/sysv/linux/alpha/getsysstats.c
12003         (GET_NPROCS_CONF_PARSER): Likewise.
12004         * sysdeps/unix/sysv/linux/sparc/getsysstats.c
12005         (GET_NPROCS_CONF_PARSER): Likewise.
12007         [BZ #17574]
12008         * wcsmbs/wmemset.c (wmemset): Rename to __wmemset and define as
12009         weak alias of __wmemset.  Use libc_hidden_weak.
12010         (__wmemset): Use libc_hidden_def.
12011         * include/wchar.h (__wmemset): Declare.  Use libc_hidden_proto.
12012         * stdio-common/printf_fp.c (___printf_fp): Call __wmemset instead
12013         of wmemset.
12015         [BZ #17573]
12016         * include/string.h [NOT_IN_libc || !SHARED] (mempcpy): Declare
12017         with asm name __mempcpy.
12018         [NOT_IN_libc || !SHARED] (stpcpy): Declare with asm name __stpcpy.
12020         [BZ #17572]
12021         * sysdeps/x86_64/rawmemchr.S (rawmemchr): Rename to __rawmemchr
12022         and define as weak alias of __rawmemchr.
12023         (__rawmemchr): Do not define as strong alias of rawmemchr.
12025         [BZ #17571]
12026         * stdlib/msort.c (qsort_r): Rename to __qsort_r and define as weak
12027         alias of __qsort_r.
12028         (qsort): Call __qsort_r instead of qsort_r.
12029         * include/stdlib.h (qsort_r): Do not call libc_hidden_proto.
12030         (__qsort_r): Declare.  Call libc_hidden_proto.
12031         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Call __qsort_r
12032         instead of qsort_r.
12033         * nscd/gai.c (__qsort_r): Define to qsort_r.
12034         * posix/tst-rfc3484.c (__qsort_r): Likewise.
12035         * posix/tst-rfc3484-2.c (__qsort_r): Likewise.
12036         * posix/tst-rfc3484-3.c (__qsort_r): Likewise.
12038         [BZ #17570]
12039         * malloc/malloc.c (malloc_info): Rename to __malloc_info and
12040         define as weak alias of __malloc_info.
12042         [BZ #17584]
12043         * dirent/rewinddir.c (rewinddir): Rename to __rewinddir and define
12044         as weak alias of __rewinddir.  Don't use libc_hidden_def.
12045         (__rewinddir): Use libc_hidden_def.
12046         * sysdeps/mach/hurd/rewinddir.c: Rename to __rewinddir and define
12047         as weak alias of __rewinddir.  Don't use libc_hidden_def.
12048         (__rewinddir): Use libc_hidden_def.
12049         * sysdeps/posix/rewinddir.c: Rename to __rewinddir and define as
12050         weak alias of __rewinddir.  Don't use libc_hidden_def.
12051         (__rewinddir): Use libc_hidden_def.
12052         * include/dirent.h (rewinddir): Don't use libc_hidden_proto.
12053         (__rewinddir): Use libc_hidden_proto.
12054         * sysdeps/posix/getcwd.c [!_LIBC] (__rewinddir): Define to
12055         rewinddir.
12056         (__getcwd): Use __rewinddir instead of rewinddir.
12058         [BZ #17583]
12059         * libio/fileno.c (fileno): Rename to __fileno and define as weak
12060         alias of __fileno.  Use libc_hidden_weak.
12061         (__fileno): Use libc_hidden_def.
12062         [weak_alias] (fileno_unlocked): Define as weak alias of __fileno.
12063         * libio/ftello.c (ftello): Rename to __ftello and define as weak
12064         alias of __ftello.
12065         [__OFF_T_MATCHES_OFF64_T] (ftello64): Define as weak alias of
12066         __ftello.
12067         * libio/iofread.c [weak_alias && !_IO_MTSAFE_IO]
12068         (__fread_unlocked): Define as strong alias of _IO_fread.  Use
12069         libc_hidden_def.
12070         (fread_unlocked): Don't use libc_hidden_ver.
12071         * libio/iofread_u.c (fread_unlocked): Rename to __fread_unlocked
12072         and define as weak alias of __fread_unlocked.  Don't use
12073         libc_hidden_def.
12074         (__fread_unlocked): Use libc_hidden_def.
12075         * include/stdio.h (__fileno): Declare.  Use libc_hidden_proto.
12076         (ftello): Don't use libc_hidden_proto.
12077         (__ftello): Declare.  Use libc_hidden_proto.
12078         (fread_unlocked): Don't use libc_hidden_proto.
12079         (__fread_unlocked): Declare.  Use libc_hidden_proto.
12080         * time/tzfile.c (__tzfile_read): Use __fileno, __fread_unlocked
12081         and __ftello instead of fileno, fread_unlocked and ftello.
12083 2012-11-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
12085         * sysdeps/s390/s390-32/bcopy.S (__bcopy): Use GOT instead of
12086         GOT12.
12087         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
12088         Likewise.
12089         (_dl_start_user): Likewise.
12090         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp): Likewise.
12092 2014-11-12  Carlos O'Donell  <carlos@redhat.com>
12093             Siddhesh Poyarekar  <siddhesh@redhat.com>
12095         * sysdeps/s390/s390-32/dl-machine.h (_dl_start_user):
12096         Move argv and envp down instead of moving argc up.
12097         * sysdeps/s390/s390-32/dl-sysdep.h: New file.
12099 2014-11-12  Leonhard Holz  <leonhard.holz@web.de>
12101         [BZ #17506]
12102         * test-skeleton.c (main): Return successful if one of
12103         EXPECTED_SIGNAL or EXPECTED_STATUS is met when both given.
12104         * string/tst-strcoll-overflow.c: Define expected status.
12106 2014-11-12  Tatiana Udalova  <t.udalova@samsung.com>
12108         [BZ #17475]
12109         * locale/iso-639.def: Define Bhili and Tulu language codes.
12111 2014-11-11  Alan Hayward  <alan.hayward@arm.com>
12113         * sysdeps/unix/sysv/linux/aarch64/bits/ipc.h: New file.
12115 2014-11-10  Renlin Li  <Renlin.Li@arm.com>
12117         [BZ #17555]
12118         * sysdeps/aarch64/start.S (_start): Delete x29 overwritten assignment.
12120 2014-11-10  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
12122         * configure.ac: Updated check of minimal required version to
12123         2.22.
12124         * manual/install.texi (Tools for Compilation): Updated version
12125         number.
12126         * configure: Regenerated.
12127         * INSTALL: Likewise.
12129 2014-11-07  Andreas Schwab  <schwab@linux-m68k.org>
12131         * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Remove
12132         __tls_get_addr.
12134 2014-11-07  Joseph Myers  <joseph@codesourcery.com>
12136         * include/sys/wait.h (__libc_waitpid): Remove declaration.
12137         * posix/waitpid.c (__libc_waitpid): Rename to __waitpid.
12138         (__waitpid): Don't define as alias.  Use libc_hidden_def not
12139         libc_hidden_weak.
12140         (waitpid): Define as alias of __waitpid.
12141         * sysdeps/unix/bsd/waitpid.c (__libc_waitpid): Rename to
12142         __waitpid.
12143         (__waitpid): Don't define as alias.  Use libc_hidden_def not
12144         libc_hidden_weak.
12145         (waitpid): Define as alias of __waitpid.
12146         * sysdeps/unix/sysv/linux/i386/syscalls.list (waitpid): Remove
12147         __libc_waitpid alias.
12148         * sysdeps/unix/sysv/linux/m68k/syscalls.list (waitpid): Likewise.
12149         * sysdeps/unix/sysv/linux/powerpc/syscalls.list (waitpid):
12150         Likewise.
12151         * sysdeps/unix/sysv/linux/sh/syscalls.list (waitpid): Likewise.
12152         * sysdeps/unix/sysv/linux/sparc/syscalls.list (waitpid): Likewise.
12153         * sysdeps/unix/sysv/linux/tile/waitpid.S (__libc_waitpid): Remove
12154         alias.
12155         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Rename to
12156         __waitpid.
12157         (__waitpid): Don't define as alias.  Use libc_hidden_def not
12158         libc_hidden_weak.
12159         (waitpid): Define as alias of __waitpid.
12161 2014-11-06  Carlos O'Donell  <carlos@redhat.com>
12163         * manual/llio.texi: Add comment that write safety has been
12164         fixed in Linux.
12166         * elf/Makefile (all-built-dso): Add $(common-objpfx)elf/ld.so.
12167         (localplt-build-dso): Add elf/ld.so.
12168         * sysdeps/unix/sysv/linux/i386/localplt.data: Add ___tls_get_addr
12169         i.e. 3 underscore version, __libc_memalign, malloc, calloc, realloc,
12170         and free for ld.so.
12171         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: Add
12172         __libc_memalign, malloc, calloc, realloc, and free for ld.so.
12173         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data:
12174         Likewise.
12175         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
12176         Likewise.
12177         * sysdeps/unix/sysv/linux/s390/localplt.data: Likewise.
12178         * sysdeps/generic/localplt.data: Add __tls_get_addr i.e. 2 underscore
12179         version, __libc_memalign, malloc, calloc, realloc and free for ld.so.
12180         * sysdeps/unix/sysv/linux/aarch64/localplt.data: Likewise.
12181         * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
12182         * sysdeps/unix/sysv/linux/alpha/localplt.data: Likewise.
12183         * sysdeps/unix/sysv/linux/ia64/localplt.data: Likewise.
12184         * sysdeps/unix/sysv/linux/m68k/localplt.data: Likewise.
12185         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
12186         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Likewise.
12187         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
12189 2014-11-05  Joseph Myers  <joseph@codesourcery.com>
12191         [BZ #14132]
12192         * include/libc-symbols.h (INTUSE): Remove macro.
12193         (INTDEF): Likewise.
12194         (INTVARDEF): Likewise.
12195         (_INTVARDEF): Likewise.
12196         (INTDEF2): Likewise.
12197         (INTVARDEF2): Likewise.
12198         * elf/rtld.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Use
12199         rtld_hidden_def instead of INTVARDEF.
12200         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]
12201         (_dl_starting_up_internal): Remove declaration.
12202         (_dl_starting_up): Use rtld_hidden_proto.
12203         * elf/dl-init.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Remove
12204         declaration.
12205         [!HAVE_INLINED_SYSCALLS] (_dl_starting_up_internal): Likewise.
12206         (_dl_init) [!HAVE_INLINED_SYSCALLS]: Don't use INTUSE with
12207         _dl_starting_up.
12208         * elf/dl-writev.h (_dl_writev): Likewise.
12209         * sysdeps/powerpc/powerpc64/dl-machine.h [!HAVE_INLINED_SYSCALLS]
12210         (DL_STARTING_UP_DEF): Use __GI__dl_starting_up instead of
12211         _dl_starting_up_internal.
12213 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12215         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
12216         test-skeleton.c.
12218 2014-11-05  Will Newton  <will.newton@linaro.org>
12220         * benchtests/Makefile: (bench-malloc): Add malloc thread
12221         scalability benchmark.
12222         * benchtests/bench-malloc-threads.c: New file.
12224 2014-11-05  Richard Earnshaw  <rearnsha@arm.com>
12226         * sysdeps/aarch64/strchrnul.S: New file.
12228 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12230         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Simplify
12231         definition.
12232         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
12233         Likwise.
12234         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
12235         Likewise.
12236         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
12237         Likewise.
12238         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
12239         Likewise.
12240         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
12241         Likewise.
12243 2014-11-05  Arjun Shankar  <arjun.is@lostca.se>
12245         * catgets/test-gencat.c: Use test-skeleton.c.
12246         * catgets/tst-catgets.c: Likewise.
12247         * csu/tst-empty.c: Likewise.
12248         * elf/tst-audit2.c: Likewise.
12249         * elf/tst-global1.c: Likewise.
12250         * elf/tst-pathopt.c: Likewise.
12251         * elf/tst-piemod1.c: Likewise.
12252         * elf/tst-tls10.c: Likewise.
12253         * elf/tst-tls11.c: Likewise.
12254         * elf/tst-tls12.c: Likewise.
12255         * gnulib/tst-gcc.c: Likewise.
12256         * iconvdata/tst-e2big.c: Likewise.
12257         * iconvdata/tst-loading.c: Likewise.
12258         * iconv/tst-iconv1.c: Likewise.
12259         * iconv/tst-iconv2.c: Likewise.
12260         * inet/test-inet6_opt.c: Likewise.
12261         * inet/tst-gethnm.c: Likewise.
12262         * inet/tst-network.c: Likewise.
12263         * inet/tst-ntoa.c: Likewise.
12264         * intl/tst-codeset.c: Likewise.
12265         * intl/tst-gettext2.c: Likewise.
12266         * intl/tst-gettext3.c: Likewise.
12267         * intl/tst-ngettext.c: Likewise.
12268         * intl/tst-translit.c: Likewise.
12269         * io/test-stat.c: Likewise.
12270         * libio/test-fmemopen.c: Likewise.
12271         * libio/tst-freopen.c: Likewise.
12272         * libio/tst-sscanf.c: Likewise.
12273         * libio/tst-ungetwc1.c: Likewise.
12274         * libio/tst-ungetwc2.c: Likewise.
12275         * libio/tst-widetext.c: Likewise.
12276         * localedata/tst-ctype.c: Likewise.
12277         * localedata/tst-digits.c: Likewise.
12278         * localedata/tst-leaks.c: Likewise.
12279         * localedata/tst-mbswcs1.c: Likewise.
12280         * localedata/tst-mbswcs2.c: Likewise.
12281         * localedata/tst-mbswcs3.c: Likewise.
12282         * localedata/tst-mbswcs4.c: Likewise.
12283         * localedata/tst-mbswcs5.c: Likewise.
12284         * localedata/tst-setlocale.c: Likewise.
12285         * localedata/tst-trans.c: Likewise.
12286         * localedata/tst-wctype.c: Likewise.
12287         * localedata/tst-xlocale1.c: Likewise.
12288         * login/tst-grantpt.c: Likewise.
12289         * malloc/tst-calloc.c: Likewise.
12290         * malloc/tst-malloc.c: Likewise.
12291         * malloc/tst-mallocstate.c: Likewise.
12292         * malloc/tst-mcheck.c: Likewise.
12293         * malloc/tst-mtrace.c: Likewise.
12294         * malloc/tst-obstack.c: Likewise.
12295         * math/atest-exp2.c: Likewise.
12296         * math/atest-exp.c: Likewise.
12297         * math/atest-sincos.c: Likewise.
12298         * math/test-matherr.c: Likewise.
12299         * math/test-misc.c: Likewise.
12300         * math/test-powl.c: Likewise.
12301         * math/tst-definitions.c: Likewise.
12302         * misc/tst-dirname.c: Likewise.
12303         * misc/tst-efgcvt.c: Likewise.
12304         * misc/tst-fdset.c: Likewise.
12305         * misc/tst-hsearch.c: Likewise.
12306         * misc/tst-mntent2.c: Likewise.
12307         * nptl/tst-sem7.c: Likewise.
12308         * nptl/tst-sem8.c: Likewise.
12309         * nptl/tst-sem9.c: Likewise.
12310         * nss/test-netdb.c: Likewise.
12311         * posix/tst-fnmatch.c: Likewise.
12312         * posix/tst-getlogin.c: Likewise.
12313         * posix/tst-gnuglob.c: Likewise.
12314         * posix/tst-mmap.c: Likewise.
12315         * pwd/tst-getpw.c: Likewise.
12316         * resolv/tst-inet_ntop.c: Likewise.
12317         * rt/tst-timer.c: Likewise.
12318         * stdio-common/test-fseek.c: Likewise.
12319         * stdio-common/test-popen.c: Likewise.
12320         * stdio-common/test-vfprintf.c: Likewise.
12321         * stdio-common/tst-cookie.c: Likewise.
12322         * stdio-common/tst-fileno.c: Likewise.
12323         * stdio-common/tst-gets.c: Likewise.
12324         * stdio-common/tst-obprintf.c: Likewise.
12325         * stdio-common/tst-perror.c: Likewise.
12326         * stdio-common/tst-sprintf2.c: Likewise.
12327         * stdio-common/tst-sprintf3.c: Likewise.
12328         * stdio-common/tst-sprintf.c: Likewise.
12329         * stdio-common/tst-swprintf.c: Likewise.
12330         * stdio-common/tst-tmpnam.c: Likewise.
12331         * stdio-common/tst-unbputc.c: Likewise.
12332         * stdio-common/tst-wc-printf.c: Likewise.
12333         * stdlib/tst-environ.c: Likewise.
12334         * stdlib/tst-fmtmsg.c: Likewise.
12335         * stdlib/tst-limits.c: Likewise.
12336         * stdlib/tst-rand48-2.c: Likewise.
12337         * stdlib/tst-rand48.c: Likewise.
12338         * stdlib/tst-random2.c: Likewise.
12339         * stdlib/tst-random.c: Likewise.
12340         * stdlib/tst-strtol.c: Likewise.
12341         * stdlib/tst-strtoll.c: Likewise.
12342         * stdlib/tst-tls-atexit.c: Likewise.
12343         * stdlib/tst-xpg-basename.c: Likewise.
12344         * string/test-ffs.c: Likewise.
12345         * string/tst-bswap.c: Likewise.
12346         * string/tst-inlcall.c: Likewise.
12347         * string/tst-strtok.c: Likewise.
12348         * string/tst-strxfrm.c: Likewise.
12349         * sysdeps/x86_64/tst-audit10.c: Likewise.
12350         * sysdeps/x86_64/tst-audit3.c: Likewise.
12351         * sysdeps/x86_64/tst-audit4.c: Likewise.
12352         * sysdeps/x86_64/tst-audit5.c: Likewise.
12353         * time/tst-ftime_l.c: Likewise.
12354         * time/tst-getdate.c: Likewise.
12355         * time/tst-mktime3.c: Likewise.
12356         * time/tst-mktime.c: Likewise.
12357         * time/tst-posixtz.c: Likewise.
12358         * time/tst-strptime2.c: Likewise.
12359         * time/tst-strptime3.c: Likewise.
12360         * wcsmbs/tst-btowc.c: Likewise.
12361         * wcsmbs/tst-mbrtowc.c: Likewise.
12362         * wcsmbs/tst-mbsrtowcs.c: Likewise.
12363         * wcsmbs/tst-wchar-h.c: Likewise.
12364         * wcsmbs/tst-wcpncpy.c: Likewise.
12365         * wcsmbs/tst-wcrtomb.c: Likewise.
12366         * wcsmbs/tst-wcsnlen.c: Likewise.
12367         * wcsmbs/tst-wcstof.c: Likewise.
12369 2014-11-04  Joseph Myers  <joseph@codesourcery.com>
12371         [BZ #14132]
12372         * elf/dl-profile.c (_dl_mcount): Use rtld_hidden_def instead of
12373         INTDEF.
12374         * sysdeps/generic/ldsodefs.h (_dl_mcount_internal): Remove
12375         declaration.
12376         (_dl_mcount): Use rtld_hidden_proto.
12377         * elf/dl-runtime.c (_dl_profile_fixup): Don't use INTUSE with
12378         _dl_mcount.
12379         * elf/rtld.c (_rtld_global_ro): Likewise.
12381         [BZ #14132]
12382         * elf/dl-init.c (_dl_init): Don't use INTDEF.
12383         * sysdeps/aarch64/dl-machine.h (RTLD_START): Use _dl_init instead
12384         of _dl_init_internal.
12385         * sysdeps/alpha/dl-machine.h (RTLD_START): Likewise.
12386         * sysdeps/arm/dl-machine.h (RTLD_START): Likewise.
12387         * sysdeps/hppa/dl-machine.h (RTLD_START): Likewise.
12388         * sysdeps/i386/dl-machine.h (RTLD_START): Likewise.
12389         * sysdeps/ia64/dl-machine.h (RTLD_START): Likewise.
12390         * sysdeps/m68k/dl-machine.h (RTLD_START): Likewise.
12391         * sysdeps/microblaze/dl-machine.h (RTLD_START): Likewise.
12392         * sysdeps/mips/dl-machine.h (RTLD_START): Likewise.
12393         * sysdeps/powerpc/powerpc32/dl-start.S (_start): Likewise.
12394         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START): Likewise.
12395         * sysdeps/s390/s390-64/dl-machine.h (RTLD_START): Likewise.
12396         * sysdeps/sh/dl-machine.h (RTLD_START): Likewise.
12397         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
12398         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
12399         * sysdeps/tile/dl-start.S (_start): Likewise.
12400         * sysdeps/x86_64/dl-machine.h (RTLD_START): Likewise.
12401         * sysdeps/x86_64/x32/dl-machine.h (RTLD_START): Likewise.
12403         [BZ #14132]
12404         * sysdeps/generic/ldsodefs.h (_dl_argv): Use rtld_hidden_proto.
12405         [IS_IN_rtld] (_dl_argv_internal): Do not declare.
12406         (rtld_progname): Make macro definition unconditional.
12407         * elf/rtld.c (_dl_argv): Use rtld_hidden_data_def instead of
12408         INTDEF.
12409         (dlmopen_doit): Do not use INTUSE with _dl_argv.
12410         (dl_main): Likewise.
12411         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
12412         * sysdeps/alpha/dl-machine.h (RTLD_START): Use __GI__dl_argv
12413         instead of _dl_argv_internal.
12414         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
12415         __GI__dl_argv instead of INTUSE(_dl_argv).
12416         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Use
12417         __GI__dl_argv instead of _dl_argv_internal.
12419         * soft-fp/op-common.h (_FP_TO_INT_ROUND): New macro.
12420         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_D): New
12421         macro.
12422         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_D): Likewise.
12423         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_E):
12424         New macro.
12425         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_E): Likewise.
12426         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_Q): New
12427         macro.
12428         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_Q): Likewise.
12429         * soft-fp/single.h (FP_TO_INT_ROUND_S): New macro.
12431 2014-11-04  Andreas Schwab  <schwab@suse.de>
12433         * posix/regex_internal.h: Don't include <locale/elem-hash.h>.
12435 2014-11-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12437         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Encode
12438         mtvsrd instruction in binary form.
12440 2014-11-03  Andreas Schwab  <schwab@suse.de>
12442         [BZ #17522]
12443         * libio/wfileops.c (_IO_wdo_write): If the file buffer has room
12444         for less than MB_LEN_MAX use a local buffer of that size.
12445         * libio/tst-fputws.c: New file.
12446         * libio/Makefile (tests): Add tst-fputws.
12448 2014-11-01  Jose E. Marchesi  <jose.marchesi@oracle.com>
12450         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu): fix
12451         the size of the fpu_fr.fpu_dregs[] array.
12453 2014-11-01  Joseph Myers  <joseph@codesourcery.com>
12455         * posix/nanosleep.c (__libc_nanosleep): Rename to __nanosleep.
12456         (__nanosleep): Do not define as alias.
12457         (nanosleep): Define as alias of __nanosleep.
12458         * sysdeps/unix/sysv/linux/syscalls.list (nanosleep): Remove
12459         __libc_nanosleep name.
12461 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
12463         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): Mention need to update
12464         install.texi in comment.
12466 2014-10-31  Torvald Riegel  <triegel@redhat.com>
12468         * sysdeps/powerpc/bits/atomic.h (atomic_write_barrier): Remove and...
12469         * sysdeps/powerpc/powerpc32/bits/atomic.h (atomic_write_barrier):
12470         ... add here and use lwsync or sync ...
12471         * sysdeps/powerpc/powerpc64/bits/atomic.h (atomic_write_barrier):
12472         ... and add here using lwsync.
12474 2014-10-31  Matthew Fortune  <matthew.fortune@imgtec.com>
12476         * elf/dl-machine-reject-phdr.h: New file.
12477         * elf/dl-load.c: #include that.
12478         (open_verify): Call elf_machine_reject_phdr_p and ignore the file
12479         if that returned true.
12481 2014-10-31  Roland McGrath  <roland@hack.frob.com>
12483         [BZ #17496]
12484         * Makerules: Move gnu/lib-names.h generation chunk up, to right after
12485         gen-as-const-headers chunk.  Add a big scare comment after the last
12486         safe place to touch before-compile.
12488 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
12490         * manual/install.texi (Tools for Compilation): Update autoconf
12491         version requirements.
12492         * INSTALL: Regenerated.
12494         * misc/pselect.c [!__pselect] (__libc_pselect): Remove alias.
12495         * sysdeps/unix/sysv/linux/pselect.c [__NR_pselect6]
12496         (__libc_pselect): Likewise.
12498         [BZ #14138]
12499         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Remove file.
12500         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
12501         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
12502         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
12504 2014-10-31  Torvald Riegel  <triegel@redhat.com>
12506         * sysdeps/sparc/sparc32/bits/atomic.h (atomic_write_barrier): Use
12507         correct barrier instruction.
12508         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_write_barrier):
12509         Likewise.
12510         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_write_barrier):
12511         Likewise.
12513 2014-10-30  Roland McGrath  <roland@hack.frob.com>
12515         * include/ctype.h: Include <ctype/ctype.h> first thing rather than
12516         after defining inlines.  Instead, just use parens to defeat macro
12517         expansion of __isctype in its declaration.
12519 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
12521         * include/sys/uio.h (__libc_readv): Remove declaration.
12522         (__libc_writev): Likewise.
12523         * misc/readv.c (__libc_readv): Rename to __readv.
12524         (__readv): Do not define as alias.
12525         (readv): Define as alias of __readv.
12526         * misc/writev.c (__libc_writev): Rename to __writev.
12527         (__writev): Do not define as alias.
12528         (writev): Define as alias of __writev.
12529         * sysdeps/posix/readv.c (__libc_readv): Rename to __readv.
12530         (__readv): Do not define as alias.
12531         (readv): Define unconditionally as alias of __readv.
12532         * sysdeps/posix/writev.c (__libc_writev): Rename to __writev.
12533         (__writev): Do not define as alias.
12534         (writev): Define unconditionally as alias of __writev.
12535         * sysdeps/unix/syscalls.list (readv): Do not define __libc_readv
12536         name.
12537         (writev): Do not define __libc_writev name.
12539 2014-10-30  Roland McGrath  <roland@hack.frob.com>
12541         * iconv/iconv_charmap.c (add_bytes): Make IN argument pointer to const.
12542         (convert_charseq): New function, broken out of ...
12543         (use_from_charmap): ... here.  Call it.
12544         (use_to_charmap): Use convert_charseq and free instead of duplicating
12545         its code with a variable-length stack struct.
12547 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
12549         * include/fcntl.h (__libc_creat): Remove declaration.
12550         * io/creat.c (__libc_creat): Rename to creat.
12551         (creat): Do not define as alias.
12552         * sysdeps/unix/sysv/linux/alpha/creat.c (creat64): Define as alias
12553         of creat instead of __libc_creat.
12554         * sysdeps/unix/sysv/linux/generic/creat.c (__libc_creat): Rename
12555         to creat.
12556         (creat): Do not define as alias.
12557         [__WORDSIZE == 64] (creat64): Define as alias of creat instead of
12558         __libc_creat.
12559         * sysdeps/unix/sysv/linux/syscalls.list (creat): Do not define
12560         __libc_creat name.
12561         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (creat):
12562         Likewise.
12564 2014-10-29  Carlos O'Donell  <carlos@redhat.com>
12566         * manual/llio.texi: Add comments discussing why write() may be
12567         considered MT-unsafe on Linux.
12569 2014-10-28  Carlos O'Donell  <carlos@redhat.com>
12571         * dl-load.c (local_strdup): Remove.
12572         (expand_dynamic_string_token): Use __strdup.
12573         (decompose_rpath): Likewise.
12574         (_dl_map_object): Likewise.
12576 2014-10-28  Joseph Myers  <joseph@codesourcery.com>
12578         [BZ #14132]
12579         * sysdeps/generic/unwind-dw2-fde.c
12580         (__register_frame_info_bases_internal): Do not declare.
12581         (__register_frame_info_table_bases_internal): Likewise.
12582         (__deregister_frame_info_bases_internal): Likewise.
12583         (__register_frame_info_bases): Declare and use hidden_proto before
12584         definition.  Use hidden_def instead of INTDEF.
12585         (__register_frame_info_table_bases): Likewise.
12586         (__deregister_frame_info_bases): Likewise.
12587         (__register_frame_info): Do not use INTUSE.
12588         (__register_frame): Likewise.
12589         (__register_frame_info_table): Likewise.
12590         (__register_frame_table): Likewise.
12591         (__deregister_frame_info): Likewise.
12592         (__deregister_frame): Likewise.
12594 2014-10-27  Gratian Crisan  <gratian.crisan@ni.com>
12596         * sysdeps/unix/sysv/linux/arm/kernel-features.h
12597         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_FUTEX_LOCK_PI): Do
12598         not undefine.
12599         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_REQUEUE_PI):
12600         Likewise.
12601         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_SET_ROBUST_LIST):
12602         Likewise.
12604 2014-10-27  Joseph Myers  <joseph@codesourcery.com>
12606         [BZ #14138]
12607         * sysdeps/unix/sysv/linux/arm/setfsgid.c: Remove file.
12608         * sysdeps/unix/sysv/linux/arm/setfsuid.c: Likewise.
12609         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
12610         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
12611         * sysdeps/unix/sysv/linux/m68k/setfsgid.c: Likewise.
12612         * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Likewise.
12613         * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: Likewise.
12614         * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: Likewise.
12615         * sysdeps/unix/sysv/linux/sh/setfsgid.c: Likewise.
12616         * sysdeps/unix/sysv/linux/sh/setfsuid.c: Likewise.
12617         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: Likewise.
12618         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: Likewise.
12619         * sysdeps/unix/sysv/linux/arm/syscalls.list (setfsgid): Add
12620         syscall.
12621         (setfsuid): Likewise.
12622         * sysdeps/unix/sysv/linux/i386/syscalls.list (setfsgid): Likewise.
12623         (setfsuid): Likewise.
12624         * sysdeps/unix/sysv/linux/m68k/syscalls.list (setfsgid): Likewise.
12625         (setfsuid): Likewise.
12626         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setfsgid):
12627         Likewise.
12628         (setfsuid): Likewise.
12629         * sysdeps/unix/sysv/linux/sh/syscalls.list (setfsgid): Likewise.
12630         (setfsuid): Likewise.
12631         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (setfsgid):
12632         Likewise.
12633         (setfsuid): Likewise.
12635 2014-10-27  Andreas Schwab  <schwab@suse.de>
12637         [BZ #17501]
12638         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Fix
12639         check for Slow_SSE4_2 feature bit.
12640         * sysdeps/i386/i686/multiarch/strcmp.S (STRCMP): Likewise.
12641         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
12642         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP, __strcascmp):
12643         Likewise.  Fix check for Fast_Unaligned_Load feature bit.
12645 2014-10-24  Roland McGrath  <roland@hack.frob.com>
12647         * configure.ac: Validate compiler version with a empirical test of
12648         __GNUC__ and __GNUC_MINOR__ predefined values, rather than by grepping
12649         $CC -v output.
12650         * configure: Regenerated.
12652         * inet/htons.c (htons): Prototypify.
12653         * inet/htonl.c (htonl): Likewise.
12655 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
12657         * string/strncat.c (strncat): Improve performance by using strlen.
12659 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
12661         * string/strcat.c (strcat): Improve performance by using strlen/strcpy.
12663 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
12665         * sysdeps/aarch64/fpu/fgetexcptflg.c (fegetexceptflag):
12666         Call libc_fetestexcept_aarch64.
12668 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
12670         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept):
12671         Call libc_feholdexcept_aarch64.
12673 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
12675         * sysdeps/aarch64/fpu/fegetround.c (fegetround):
12676         Call get_rounding_mode.
12678 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
12680         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
12681         Simplify logic.
12683 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
12685         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept):
12686         Simplify logic.
12688 2014-10-24  Joseph Myers  <joseph@codesourcery.com>
12690         [BZ #14138]
12691         * sysdeps/unix/sysv/linux/arm/getegid.c: Remove file.
12692         * sysdeps/unix/sysv/linux/arm/geteuid.c: Likewise.
12693         * sysdeps/unix/sysv/linux/arm/getgid.c: Likewise.
12694         * sysdeps/unix/sysv/linux/arm/getgroups.c: Likewise.
12695         * sysdeps/unix/sysv/linux/arm/getresgid.c: Likewise.
12696         * sysdeps/unix/sysv/linux/arm/getresuid.c: Likewise.
12697         * sysdeps/unix/sysv/linux/arm/getuid.c: Likewise.
12698         * sysdeps/unix/sysv/linux/i386/getegid.c: Likewise.
12699         * sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise.
12700         * sysdeps/unix/sysv/linux/i386/getgid.c: Likewise.
12701         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
12702         * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
12703         * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
12704         * sysdeps/unix/sysv/linux/i386/getuid.c: Likewise.
12705         * sysdeps/unix/sysv/linux/m68k/getegid.c: Likewise.
12706         * sysdeps/unix/sysv/linux/m68k/geteuid.c: Likewise.
12707         * sysdeps/unix/sysv/linux/m68k/getgid.c: Likewise.
12708         * sysdeps/unix/sysv/linux/m68k/getgroups.c: Likewise.
12709         * sysdeps/unix/sysv/linux/m68k/getresgid.c: Likewise.
12710         * sysdeps/unix/sysv/linux/m68k/getresuid.c: Likewise.
12711         * sysdeps/unix/sysv/linux/m68k/getuid.c: Likewise.
12712         * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: Likewise.
12713         * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: Likewise.
12714         * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: Likewise.
12715         * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: Likewise.
12716         * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: Likewise.
12717         * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: Likewise.
12718         * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: Likewise.
12719         * sysdeps/unix/sysv/linux/sh/getegid.c: Likewise.
12720         * sysdeps/unix/sysv/linux/sh/geteuid.c: Likewise.
12721         * sysdeps/unix/sysv/linux/sh/getgid.c: Likewise.
12722         * sysdeps/unix/sysv/linux/sh/getgroups.c: Likewise.
12723         * sysdeps/unix/sysv/linux/sh/getresgid.c: Likewise.
12724         * sysdeps/unix/sysv/linux/sh/getresuid.c: Likewise.
12725         * sysdeps/unix/sysv/linux/sh/getuid.c: Likewise.
12726         * sysdeps/unix/sysv/linux/sparc/sparc32/getegid.c: Likewise.
12727         * sysdeps/unix/sysv/linux/sparc/sparc32/geteuid.c: Likewise.
12728         * sysdeps/unix/sysv/linux/sparc/sparc32/getgid.c: Likewise.
12729         * sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: Likewise.
12730         * sysdeps/unix/sysv/linux/sparc/sparc32/getuid.c: Likewise.
12731         * sysdeps/unix/sysv/linux/arm/syscalls.list (getegid): Add
12732         syscall.
12733         (geteuid): Likewise.
12734         (getgid): Likewise.
12735         (getuid): Likewise.
12736         (getresgid): Likewise.
12737         (getresuid): Likewise.
12738         (getgroups): Likewise.
12739         * sysdeps/unix/sysv/linux/i386/syscalls.list (getegid): Likewise.
12740         (geteuid): Likewise.
12741         (getgid): Likewise.
12742         (getuid): Likewise.
12743         (getresgid): Likewise.
12744         (getresuid): Likewise.
12745         (getgroups): Likewise.
12746         * sysdeps/unix/sysv/linux/m68k/syscalls.list (getegid): Likewise.
12747         (geteuid): Likewise.
12748         (getgid): Likewise.
12749         (getuid): Likewise.
12750         (getresgid): Likewise.
12751         (getresuid): Likewise.
12752         (getgroups): Likewise.
12753         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (getegid):
12754         Likewise.
12755         (geteuid): Likewise.
12756         (getgid): Likewise.
12757         (getuid): Likewise.
12758         (getresgid): Likewise.
12759         (getresuid): Likewise.
12760         (getgroups): Likewise.
12761         * sysdeps/unix/sysv/linux/sh/syscalls.list (getegid): Likewise.
12762         (geteuid): Likewise.
12763         (getgid): Likewise.
12764         (getuid): Likewise.
12765         (getresgid): Likewise.
12766         (getresuid): Likewise.
12767         (getgroups): Likewise.
12768         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (getegid):
12769         Likewise.
12770         (geteuid): Likewise.
12771         (getgid): Likewise.
12772         (getuid): Likewise.
12773         (getgroups): Likewise.
12775         [BZ #14138]
12776         * sysdeps/unix/sysv/linux/i386/chown.c: Remove file.
12777         * sysdeps/unix/sysv/linux/i386/fchown.c: Likewise.
12778         * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
12779         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
12780         * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: Remove file.
12781         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Likewise.
12782         * sysdeps/unix/sysv/linux/sh/chown.c: Likewise.
12783         * sysdeps/unix/sysv/linux/sh/fchown.c: Likewise.
12784         * sysdeps/unix/sysv/linux/sh/lchown.c: Likewise.
12785         * sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: Likewise.
12786         * sysdeps/unix/sysv/linux/sparc/sparc32/fchown.c: Likewise.
12787         * sysdeps/unix/sysv/linux/sparc/sparc32/lchown.c: Likewise.
12788         * sysdeps/unix/sysv/linux/s390/s390-32/Versions (GLIBC_2.1): Add
12789         __chown.
12790         * sysdeps/unix/sysv/linux/i386/syscalls.list (chown): Add syscall.
12791         (lchown): Likewise.
12792         (fchown): Likewise.
12793         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (chown):
12794         Likewise.
12795         (lchown): Likewise.
12796         (fchown): Likewise.
12797         * sysdeps/unix/sysv/linux/sh/syscalls.list (chown): Likewise.
12798         (lchown): Likewise.
12799         (fchown): Likewise.
12800         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (chown):
12801         Likewise.
12802         (lchown): Likewise.
12803         (fchown): Likewise.
12805 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
12807         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept):
12808         Simplify logic.
12810 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
12812         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
12813         Cleanup logic.
12815 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
12817         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
12818         Remove unused include.
12820 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
12822         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Remove spaces.
12823         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Remove spaces.
12824         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Remove spaces.
12825         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Remove spaces.
12827 2014-10-23  Carlos O'Donell  <carlos@systemhalted.org>
12828             Helge Deller <deller@gmx.de>
12830         [BZ #17508]
12831         * sysdeps/unix/sysv/linux/hppa/bits/signum.h: Remove SIGEMT.
12832         Define SIGSTKFLT as 7. Define SIGSYS as 31. Define SIGXCPU as 12.
12833         Remove SIGLOST. Define SIGXFSZ as 30. Define __SIGRTMIN as 32.
12835 2014-10-23  Joseph Myers  <joseph@codesourcery.com>
12837         [BZ #14132]
12838         * sysdeps/powerpc/powerpc32/libgcc-compat.S (__ashldi3_v_glibc20):
12839         Remove macro definition.
12840         (__ashrdi3_v_glibc20): Likewise.
12841         (__lshrdi3_v_glibc20): Likewise.
12842         (__cmpdi2_v_glibc20): Likewise.
12843         (__ucmpdi2_v_glibc20): Likewise.
12844         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixdfdi_v_glibc20): Likewise.
12845         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
12846         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
12847         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
12848         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
12849         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdisf_v_glibc20): Likewise.
12851 2014-10-22  Roland McGrath  <roland@hack.frob.com>
12853         * inet/netgroup.h (struct name_list): Use C99 [] syntax rather than
12854         old GNU extension [0] syntax.
12855         * nscd/nscd_helper.c (open_socket): Use a flexible array member and
12856         alloca rather than an array member with variable length.
12857         * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
12858         * nscd/nscd.c (invalidate_db): New function, broken out of ...
12859         (parse_opt): ... here.  Likewise use alloca there.
12860         Validate the -i argument before checking for rootness.
12861         (send_shutdown): New function, broken out of ...
12862         (parse_opt): ... here.
12864 2014-10-22  Roland McGrath  <roland@hack.frob.com>
12866         * sysdeps/arm/__longjmp.S [NEED_HWCAP] [IS_IN_rtld]: Use LDST_PCREL
12867         macro to get at the _rt_local_ro field.
12868         [NEED_HWCAP] [!IS_IN_rtld]: Use LDR_GLOBAL to get at _rtld_global_ro
12869         ([PIC] case) or _dl_hwcap ([!PIC] case).
12870         * sysdeps/arm/setjmp.S: Likewise.
12872         * config.h.in (ARM_PCREL_MOVW_OK): New macro.
12873         * sysdeps/arm/configure.ac: New check to define it.
12874         * sysdeps/arm/configure: Regenerated.
12875         * sysdeps/arm/sysdep.h [__ASSEMBLER__]: Include <arm-features.h>.
12876         (LDST_INDEXED_NOINDEX, LDST_INDEXED_INDEX): New macros.
12877         (LDST_INDEXED, LDST_PC_INDEXED): New macros, differing definitions
12878         depending on [ARM_NO_INDEX_REGISTER] and [__thumb2__].
12879         (LDST_PCREL) [!__thumb2__ && ARCH_HAS_T2 && ARM_PCREL_MOVW_OK]:
12880         Use move/movt pair instead of a load.
12881         (LDST_GLOBAL): Macro removed.
12882         (LDR_GLOBAL): New macro replaces it.
12883         (LDR_HIDDEN): New macro.
12884         (PTR_MANGLE_LOAD): Use LDR_GLOBAL rather than LDST_GLOBAL.
12885         Use LDR_HIDDEN instead for __pointer_chk_guard_local.
12887         * setjmp/tst-setjmp-static.c: New file.
12888         * setjmp/Makefile (tests): Add it.
12889         (tests-static): New variable.
12891 2014-10-22  Maciej W. Rozycki  <macro@codesourcery.com>
12893         [BZ #17485]
12894         * sysdeps/unix/sysv/linux/mips/vfork.S (__libc_vfork): Define.
12896 2014-10-21  Joseph Myers  <joseph@codesourcery.com>
12898         [BZ #14132]
12899         * math/s_ldexpf.c (__ldexpf): Do not use INTDEF.
12901 2014-10-21  Roland McGrath  <roland@hack.frob.com>
12903         * nptl/version.c (__nptl_main): Call __libc_write, not __write.
12905 2014-10-20  Roland McGrath  <roland@hack.frob.com>
12907         * io/fts.c (dirent_not_directory): New function.
12908         (fts_build): Call it.
12910 2014-10-20  Roland McGrath  <roland@hack.frob.com>
12912         * nptl/version.c (__nptl_main): Use normal __write rather than
12913         INTERNAL_SYSCALL.
12914         (banner): Update copyright years.
12916         * nptl/pthread_rwlock_timedrdlock.c: #include <sys/time.h> before using
12917         gettimeofday.
12918         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
12919         * nptl/pthread_cond_timedwait.c: Likewise.
12920         * nptl/pthread_mutex_timedlock.c: Likewise.
12921         * nptl/sem_timedwait.c: Likewise.
12923         * sysdeps/nptl/bits/libc-lock.h
12924         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
12925         (__libc_lock_init_recursive): Return void, not 0.
12926         * sysdeps/nptl/bits/libc-lockP.h (__libc_lock_init): Likewise.
12927         (__libc_rwlock_init): Likewise.
12928         * sysdeps/nptl/bits/stdio-lock.h (_IO_lock_init): Likewise.
12930 2014-10-20  Torvald Riegel  <triegel@redhat.com>
12932         [BZ #15215]
12933         * nptl/pthread_once.c (__pthread_once): Split out fast path to ...
12934         (__pthread_once_slow): ... here.
12935         * sysdeps/unix/sysv/linux/i386/pthread_once.S: Remove file.
12936         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Remove file.
12938 2014-10-20  Torvald Riegel  <triegel@redhat.com>
12940         [BZ #15215]
12941         * nptl/pthreadP.h (__PTHREAD_ONCE_INPROGRESS, __PTHREAD_ONCE_DONE,
12942         __PTHREAD_ONCE_FORK_GEN_INCR): New.
12943         * sysdeps/nptl/fork.c (__libc_fork): Use them.
12944         * nptl/pthread_once.c (__pthread_once): Likewise.
12945         Update comments.
12947 2014-10-20  Joseph Myers  <joseph@codesourcery.com>
12949         [BZ #14138]
12950         * sysdeps/unix/syscalls.list (readv): Use __libc_readv as strong
12951         name.
12952         (writev): Use __libc_writev as strong name.
12953         * sysdeps/unix/sysv/linux/readv.c: Remove file.
12954         * sysdeps/unix/sysv/linux/writev.c: Likewise.
12956 2014-10-17  Roland McGrath  <roland@hack.frob.com>
12958         * nptl/createthread.c (TLS_DEFINE_INIT_TP, TLS_VALUE): Macros removed.
12960         * sysdeps/i386/nptl/tls.h
12961         (THREAD_SELF_SYSINFO, THREAD_SYSINFO): Macros removed.
12962         [NEED_DL_SYSINFO] (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO):
12963         New macros.
12964         * sysdeps/ia64/nptl/tls.h [NEED_DL_SYSINFO]
12965         (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO): New macros.
12966         * nptl/allocatestack.c (allocate_stack) [NEED_DL_SYSINFO]:
12967         Call SETUP_THREAD_SYSINFO instead of doing an assignment.
12968         * nptl/createthread.c (create_thread) [NEED_DL_SYSINFO]:
12969         Call CHECK_THREAD_SYSINFO instead of doing an assert.
12971         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
12972         Conditionalize FUTEX_PRIVATE_FLAG and FUTEX_CLOCK_REALTIME probes
12973         on [__NR_futex].
12974         * nptl/pthread_mutex_init.c (prio_inherit_missing): New function,
12975         broken out of ...
12976         (__pthread_mutex_init): ... here.  Call it.
12977         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full):
12978         Conditionalize PI cases on [__NR_futex].
12979         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
12980         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
12981         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
12983         * nptl/nptl-init.c (sighandler_setxid, __xidcmd): Make definitions
12984         conditional on [SIGSETXID].
12985         (sigcancel_handler): Make definition conditional on [SIGCANCEL].
12986         (__pthread_initialize_minimal_internal): Set up SIGCANCEL only if it
12987         is defined.  Likewise for SIGSETXID.
12988         * nptl/allocatestack.c (setxid_mark_thread, setxid_unmark_thread):
12989         Conditionalize definitions on [SIGSETXID].
12990         (setxid_signal_thread, __nptl_setxid_error, __nptl_setxid): Likewise.
12991         * nptl/pthread_create.c (start_thread): Conditionalize SIGCANCEL
12992         unblocking on [SIGCANCEL].
12994         * nptl/nptl-init.c (__nptl_set_robust): Conditionalize body on
12995         [__NR_set_robust_list].
12997 2014-10-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
12999         * string/strcoll_l.c (get_next_seq): Fix up formatting.
13000         (do_compare): Likewise.
13002 2014-10-17  Leonhard Holz  <leonhard.holz@web.de>
13004         [BZ #15884]
13005         * string/strcoll_l.c: Don't include stdio.h.
13006         (coll_seq): Remove members idxarr and rulearr.
13007         (get_next_seq_cached): Remove function.
13008         (get_next_seq): Likewise.
13009         (get_next_seq_nocache): Rename to get_next_seq.
13010         (do_compare): Remove function.
13011         (do_compare_nocache): Rename to do_compare.
13012         (STRCOLL): Remove weight and rules cache.
13014 2014-10-16  Roland McGrath  <roland@hack.frob.com>
13016         * sysdeps/arm/soft-fp/sfp-machine.h: Filed moved ...
13017         * sysdeps/arm/sfp-machine.h: ... to here.
13018         * sysdeps/arm/Implies: Remove arm/soft-fp.
13020 2014-10-14  Joseph Myers  <joseph@codesourcery.com>
13022         * conform/data/sys/utsname.h-data (*_t): Allow.
13023         * conform/data/sys/wait.h-data [POSIX] (uid_t): Do not define.
13024         [POSIX] (WEXITED): Do not expect constant.
13025         [POSIX] (WSTOPPED): Likewise.
13026         [POSIX] (WNOHANG): Likewise.
13027         [POSIX] (WNOWAIT): Likewise.
13028         [POSIX] (siginfo_t): Do not expect type or elements.
13029         [POSIX] (pid_t): Do not expect type.
13030         [POSIX] (signal.h): Do not allow header.
13031         [POSIX] (sys/resource.h): Likewise.
13032         [POSIX] (si_*): Do not allow pattern.
13033         [POSIX] (W*): Likewise.
13034         [POSIX] (P_*): Likewise.
13035         [POSIX] (BUS_*): Likewise.
13036         [POSIX] (CLD_*): Likewise.
13037         [POSIX] (FPE_*): Likewise.
13038         [POSIX] (ILL_*): Likewise.
13039         [POSIX] (POLL_*): Likewise.
13040         [POSIX] (SEGV_*): Likewise.
13041         [POSIX] (SI_*): Likewise.
13042         [POSIX] (TRAP_*): Likewise.
13043         * conform/Makefile (test-xfail-POSIX/sys/wait.h/conform): New
13044         variable.
13046 2014-10-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
13048         [BZ #12926]
13049         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Avoid
13050         infinite loop when __recvmsg returns 0.
13052 2014-10-10  Joseph Myers  <joseph@codesourcery.com>
13054         * CANCEL-FCT-WAIVE: Remove file.
13055         * CANCEL-FILE-WAIVE: Likewise.
13057         [BZ #14132]
13058         * elf/dl-sysdep.c (__libc_enable_secure): Use rtld_hidden_data_def
13059         instead of INTVARDEF.
13060         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
13061         * sysdeps/mach/hurd/dl-sysdep.c (__libc_enable_secure): Use
13062         rtld_hidden_data_def instead of INTVARDEF.
13063         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
13064         * elf/dl-deps.c (expand_dst): Likewise.
13065         * elf/dl-load.c (_dl_dst_count): Likewise.
13066         (_dl_dst_substitute): Likewise.
13067         (decompose_rpath): Likewise.
13068         (_dl_init_paths): Likewise.
13069         (open_path): Likewise.
13070         (_dl_map_object): Likewise.
13071         * elf/rtld.c (dl_main): Likewise.
13072         (process_dl_audit): Likewise.
13073         (process_envvars): Likewise.
13074         * include/unistd.h [IS_IN_rtld] (__libc_enable_secure_internal):
13075         Remove declaration.
13076         (__libc_enable_secure): Use rtld_hidden_proto.
13078 2014-10-09  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
13080         * elf/dl-load.c
13081         (add_path): New function broken out of _dl_rtld_di_serinfo.
13082         (_dl_rtld_di_serinfo): Remove that nested function.  Update call sites.
13084 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
13086         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_D): Use
13087         parentheses around macro arguments.
13088         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_DP): Likewise.
13089         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_D): Likewise.
13090         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_DP): Likewise.
13091         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_D): Likewise.
13092         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_DP): Likewise.
13093         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_D): Likewise.
13094         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
13095         [_FP_W_TYPE_SIZE < 64] (FP_PACK_D): Likewise.
13096         [_FP_W_TYPE_SIZE < 64] (FP_PACK_DP): Likewise.
13097         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_D): Likewise.
13098         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_DP): Likewise.
13099         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_D): Likewise.
13100         [_FP_W_TYPE_SIZE < 64] (FP_CMP_D): Likewise.
13101         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_D): Likewise.
13102         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_D): Likewise.
13103         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_D): Likewise.
13104         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_D): Likewise.
13105         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_D): Likewise.
13106         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_DP): Likewise.
13107         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_D): Likewise.
13108         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_DP): Likewise.
13109         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_D): Likewise.
13110         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_DP): Likewise.
13111         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_D): Likewise.
13112         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
13113         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_D): Likewise.
13114         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_DP): Likewise.
13115         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_D): Likewise.
13116         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_DP): Likewise.
13117         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_D): Likewise.
13118         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_D): Likewise.
13119         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_D): Likewise.
13120         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_D): Likewise.
13121         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_D): Likewise.
13122         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_D): Likewise.
13123         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_E):
13124         Likewise.
13125         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_EP): Likewise.
13126         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_E): Likewise.
13127         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
13128         [_FP_W_TYPE_SIZE < 64] (FP_PACK_E): Likewise.
13129         [_FP_W_TYPE_SIZE < 64] (FP_PACK_EP): Likewise.
13130         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_E): Likewise.
13131         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_EP): Likewise.
13132         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_E): Likewise.
13133         [_FP_W_TYPE_SIZE < 64] (FP_CMP_E): Likewise.
13134         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_E): Likewise.
13135         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_E): Likewise.
13136         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_E): Likewise.
13137         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_E): Likewise.
13138         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_E): Likewise.
13139         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_EP): Likewise.
13140         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_E): Likewise.
13141         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
13142         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_E): Likewise.
13143         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_EP): Likewise.
13144         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_E): Likewise.
13145         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_EP): Likewise.
13146         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_E): Likewise.
13147         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_E): Likewise.
13148         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_E): Likewise.
13149         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_E): Likewise.
13150         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_E): Likewise.
13151         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_E): Likewise.
13152         * soft-fp/op-1.h (_FP_FRAC_SRST_1): Likewise.
13153         (_FP_FRAC_SRS_1): Likewise.
13154         (_FP_FRAC_CLZ_1): Likewise.
13155         (_FP_MUL_MEAT_1_imm): Likewise.
13156         (_FP_MUL_MEAT_1_wide): Likewise.
13157         (_FP_MUL_MEAT_1_hard): Likewise.
13158         (_FP_SQRT_MEAT_1): Likewise.
13159         (_FP_FRAC_ASSEMBLE_1): Likewise.
13160         (_FP_FRAC_DISASSEMBLE_1): Likewise.
13161         * soft-fp/op-2.h (_FP_FRAC_CLZ_2): Likewise.
13162         (__FP_CLZ_2): Likewise.
13163         (_FP_MUL_MEAT_2_wide): Likewise.
13164         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
13165         (_FP_MUL_MEAT_2_gmp): Likewise.
13166         (_FP_MUL_MEAT_2_120_240_double): Likewise.
13167         (_FP_SQRT_MEAT_2): Likewise.
13168         (_FP_FRAC_ASSEMBLE_2): Likewise.
13169         (_FP_FRAC_DISASSEMBLE_2): Likewise.
13170         * soft-fp/op-4.h (_FP_FRAC_SRS_4): Likewise.
13171         (_FP_FRAC_CLZ_4): Likewise.
13172         (_FP_MUL_MEAT_4_wide): Likewise.
13173         (_FP_MUL_MEAT_4_gmp): Likewise.
13174         (_FP_SQRT_MEAT_4): Likewise.
13175         (_FP_FRAC_ASSEMBLE_4): Likewise.
13176         (_FP_FRAC_DISASSEMBLE_4): Likewise.
13177         * soft-fp/op-common.h (_FP_CMP): Likewise.
13178         (_FP_CMP_EQ): Likewise.
13179         (_FP_CMP_UNORD): Likewise.
13180         (_FP_TO_INT): Likewise.
13181         (_FP_FROM_INT): Likewise.
13182         [!__FP_CLZ] (__FP_CLZ): Likewise.
13183         (_FP_DIV_HELP_imm): Likewise.
13184         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_Q):
13185         Likewise.
13186         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_QP): Likewise.
13187         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_Q): Likewise.
13188         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_QP): Likewise.
13189         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_Q): Likewise.
13190         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_QP): Likewise.
13191         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
13192         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
13193         [_FP_W_TYPE_SIZE < 64] (FP_PACK_Q): Likewise.
13194         [_FP_W_TYPE_SIZE < 64] (FP_PACK_QP): Likewise.
13195         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_Q): Likewise.
13196         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_QP): Likewise.
13197         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_Q): Likewise.
13198         [_FP_W_TYPE_SIZE < 64] (FP_CMP_Q): Likewise.
13199         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_Q): Likewise.
13200         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_Q): Likewise.
13201         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_Q): Likewise.
13202         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_Q): Likewise.
13203         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_Q): Likewise.
13204         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_QP): Likewise.
13205         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_Q): Likewise.
13206         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_QP): Likewise.
13207         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_Q): Likewise.
13208         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_QP): Likewise.
13209         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
13210         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
13211         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_Q): Likewise.
13212         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_QP): Likewise.
13213         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_Q): Likewise.
13214         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_QP): Likewise.
13215         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_Q): Likewise.
13216         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_Q): Likewise.
13217         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_Q): Likewise.
13218         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_Q): Likewise.
13219         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_Q): Likewise.
13220         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_Q): Likewise.
13221         * soft-fp/single.h (FP_UNPACK_RAW_S): Likewise.
13222         (FP_UNPACK_RAW_SP): Likewise.
13223         (FP_PACK_RAW_S): Likewise.
13224         (FP_PACK_RAW_SP): Likewise.
13225         (FP_UNPACK_S): Likewise.
13226         (FP_UNPACK_SP): Likewise.
13227         (FP_UNPACK_SEMIRAW_S): Likewise.
13228         (FP_UNPACK_SEMIRAW_SP): Likewise.
13229         (FP_PACK_S): Likewise.
13230         (FP_PACK_SP): Likewise.
13231         (FP_PACK_SEMIRAW_S): Likewise.
13232         (FP_PACK_SEMIRAW_SP): Likewise.
13233         (_FP_SQRT_MEAT_S): Likewise.
13234         (FP_CMP_S): Likewise.
13235         (FP_CMP_EQ_S): Likewise.
13236         (FP_CMP_UNORD_S): Likewise.
13237         (FP_TO_INT_S): Likewise.
13238         (FP_FROM_INT_S): Likewise.
13240         * soft-fp/op-common.h (_FP_TO_INT): Handle rsigned == 2.
13242         * soft-fp/soft-fp.h (FP_EX_INVALID_SNAN): New macro.
13243         (FP_EX_INVALID_IMZ): Likewise.
13244         (FP_EX_INVALID_IMZ_FMA): Likewise.
13245         (FP_EX_INVALID_ISI): Likewise.
13246         (FP_EX_INVALID_ZDZ): Likewise.
13247         (FP_EX_INVALID_IDI): Likewise.
13248         (FP_EX_INVALID_SQRT): Likewise.
13249         (FP_EX_INVALID_CVI): Likewise.
13250         (FP_EX_INVALID_VC): Likewise.
13251         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Specify more precise
13252         "invalid" exceptions.
13253         (_FP_CHECK_SIGNAN_SEMIRAW): Likewise.
13254         (_FP_ADD_INTERNAL): Likewise.
13255         (_FP_MUL): Likewise.
13256         (_FP_FMA): Likewise.
13257         (_FP_DIV): Likewise.
13258         (_FP_CMP_CHECK_NAN): Likewise.
13259         (_FP_SQRT): Likewise.
13260         (_FP_TO_INT): Likewise.
13261         (FP_EXTEND): Likewise.
13263 2014-10-09  Allan McRae  <allan@archlinux.org>
13265         * po/fr.po: Update French translation from translation project.
13267 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
13269         [BZ #14132]
13270         * stdlib/cxa_atexit.c (__cxa_atexit): Use libc_hidden_def instead
13271         of INTDEF.
13272         * include/stdlib.h (__cxa_atexit_internal): Remove declaration.
13273         (__cxa_atexit): Use libc_hidden_proto.
13274         [!NOT_IN_libc] (__cxa_atexit): Remove macro definition.
13276         [BZ #14132]
13277         * include/wctype.h [!_ISOMAC] (__iswalpha_l_internal): Remove
13278         declaration.
13279         [!_ISOMAC] (__iswdigit_l_internal): Likewise.
13280         [!_ISOMAC] (__iswspace_l_internal): Likewise.
13281         [!_ISOMAC] (__iswxdigit_l_internal): Likewise.
13282         [!_ISOMAC] (__iswctype_internal): Likewise.
13283         * stdio-common/siglist.c (_sys_siglist_internal): Remove alias.
13284         * sysdeps/unix/syscalls.list (chown): Remove __chown_internal
13285         alias.
13286         (fcntl): Remove __fcntl_internal alias.
13287         * sysdeps/unix/sysv/linux/hppa/syscalls.list (connect): Remove
13288         __connect_internal alias.
13289         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (connect):
13290         Likewise.
13292         * soft-fp/soft-fp.h (FP_DENORM_ZERO): New macro.
13293         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Check
13294         FP_DENORM_ZERO.
13295         (_FP_CHECK_FLUSH_ZERO): New macro.
13296         (_FP_ADD_INTERNAL): Call _FP_CHECK_FLUSH_ZERO.
13297         (_FP_CMP): Likewise.
13298         (_FP_CMP_EQ): Likewise.
13299         (_FP_TO_INT): Do not set inexact for subnormal arguments if
13300         FP_DENORM_ZERO.
13301         (FP_EXTEND): Call _FP_CHECK_FLUSH_ZERO.
13302         (FP_TRUNC): Likewise.
13304         * soft-fp/op-common.h (_FP_TO_INT): Ensure maximum exponent is
13305         treated as invalid conversion, not as normal exponent.
13307         * soft-fp/op-common.h (_FP_CMP_CHECK_NAN): New macro.
13308         (_FP_CMP): Add extra argument EX.  Call _FP_CMP_CHECK_NAN.
13309         (_FP_CMP_EQ): Likewise.
13310         (_FP_CMP_UNORD): Likewise.
13311         * soft-fp/double.h (FP_CMP_D): Add extra argument EX.
13312         (FP_CMP_EQ_D): Likewise.
13313         (FP_CMP_UNORD_D): Likewise.
13314         * soft-fp/extended.h (FP_CMP_E): Likewise.
13315         (FP_CMP_EQ_E): Likewise.
13316         (FP_CMP_UNORD_E): Likewise.
13317         * soft-fp/quad.h (FP_CMP_Q): Likewise.
13318         (FP_CMP_EQ_Q): Likewise.
13319         (FP_CMP_UNORD_Q): Likewise.
13320         * soft-fp/single.h (FP_CMP_S): Likewise.
13321         (FP_CMP_EQ_S): Likewise.
13322         (FP_CMP_UNORD_S): Likewise.
13323         * soft-fp/eqdf2.c (__eqdf2): Update call to FP_CMP_EQ_D.
13324         * soft-fp/eqsf2.c (__eqsf2): Update call to FP_CMP_EQ_S.
13325         * soft-fp/eqtf2.c (__eqtf2): Update call to FP_CMP_EQ_Q.
13326         * soft-fp/gedf2.c (__gedf2): Update call to FP_CMP_D.
13327         * soft-fp/gesf2.c (__gesf2): Update call to FP_CMP_S.
13328         * soft-fp/getf2.c (__getf2): Update call to FP_CMP_Q.
13329         * soft-fp/ledf2.c (__ledf2): Update call to FP_CMP_D.
13330         * soft-fp/lesf2.c (__lesf2): Update call to FP_CMP_S.
13331         * soft-fp/letf2.c (__letf2): Update call to FP_CMP_Q.
13332         * soft-fp/unorddf2.c (__unorddf2): Update call to FP_CMP_UNORD_D.
13333         * soft-fp/unordsf2.c (__unordsf2): Update call to FP_CMP_UNORD_S.
13334         * soft-fp/unordtf2.c (__unordtf2): Update call to FP_CMP_UNORD_Q.
13335         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Update call
13336         to FP_CMP_Q.
13337         * sysdeps/sparc/sparc32/soft-fp/q_cmp.c (_Q_cmp): Update call to
13338         FP_CMP_Q.
13339         * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c (_Q_cmpe): Likewise.
13340         * sysdeps/sparc/sparc32/soft-fp/q_feq.c (_Q_feq): Update call to
13341         FP_CMP_EQ_Q.
13342         * sysdeps/sparc/sparc32/soft-fp/q_fge.c (_Q_fge): Update call to
13343         FP_CMP_Q.
13344         * sysdeps/sparc/sparc32/soft-fp/q_fgt.c (_Q_fgt): Likewise.
13345         * sysdeps/sparc/sparc32/soft-fp/q_fle.c (_Q_fle): Likewise.
13346         * sysdeps/sparc/sparc32/soft-fp/q_flt.c (_Q_flt): Likewise.
13347         * sysdeps/sparc/sparc32/soft-fp/q_fne.c (_Q_fne): Update call to
13348         FP_CMP_EQ_Q.
13349         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c (_Qp_cmp): Update call to
13350         FP_CMP_Q.
13351         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c (_Qp_cmpe): Likewise.
13352         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c (_Qp_feq): Update call to
13353         FP_CMP_EQ_Q.
13354         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c (_Qp_fge): Update call to
13355         FP_CMP_Q.
13356         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c (_Qp_fgt): Likewise.
13357         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c (_Qp_fle): Likewise.
13358         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c (_Qp_flt): Likewise.
13359         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c (_Qp_fne): Update call to
13360         FP_CMP_EQ_Q.
13362         * soft-fp/op-common.h (FP_EXTEND): When a subnormal input produces
13363         a subnormal result, set the underflow exception if trapping on
13364         underflow is enabled.
13365         * soft-fp/soft-fp.h (FP_INIT_TRAPPING_EXCEPTIONS): New macro.
13366         (FP_INIT_EXCEPTIONS): Default to FP_INIT_TRAPPING_EXCEPTIONS.
13367         [FP_NO_EXACT_UNDERFLOW] (FP_TRAPPING_EXCEPTIONS): Undefine and
13368         redefine to 0.
13369         * soft-fp/extenddftf2.c (FP_NO_EXACT_UNDERFLOW): Define.
13370         * soft-fp/extendsfdf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
13371         * soft-fp/extendsftf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
13372         * soft-fp/extendxftf2.c (__extendxftf2): Use
13373         FP_INIT_TRAPPING_EXCEPTIONS instead of FP_INIT_ROUNDMODE.
13375         * soft-fp/soft-fp.h (FP_CLEAR_EXCEPTIONS): Remove macro.
13376         * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Define FP_NO_EXCEPTIONS.
13377         (_Q_itoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
13378         FP_HANDLE_EXCEPTIONS.
13379         * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Define FP_NO_EXCEPTIONS.
13380         (_Q_lltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
13381         FP_HANDLE_EXCEPTIONS.
13382         * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Define FP_NO_EXCEPTIONS.
13383         (_Q_ulltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
13384         FP_HANDLE_EXCEPTIONS.
13385         * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Define FP_NO_EXCEPTIONS.
13386         (_Q_utoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
13387         FP_HANDLE_EXCEPTIONS.
13389 2014-10-08  Joseph Myers  <joseph@codesourcery.com>
13391         [BZ #14132]
13392         * sysdeps/unix/sysv/linux/include/sys/timex.h: New file.
13393         * sysdeps/unix/sysv/linux/adjtime.c [!ADJTIMEX] (ADJTIMEX): Do not
13394         use INTUSE.
13395         [!ADJTIMEX] (INTUSE(__adjtimex)): Remove declaration.
13396         * sysdeps/unix/sysv/linux/alpha/adjtime.c (__adjtimex_internal):
13397         Remove alias.
13398         (__adjtimex): Define using libc_hidden_ver.
13399         * sysdeps/unix/sysv/linux/ntp_gettime.c (INTUSE(__adjtimex)):
13400         Remove declaration.
13401         (ntp_gettime): Call __adjtimex directly.
13402         * sysdeps/unix/sysv/linux/ntp_gettimex.c (INTUSE(__adjtimex)):
13403         Remove declaration.
13404         (ntp_gettimex): Call __adjtimex directly.
13405         * sysdeps/unix/sysv/linux/syscalls.list (adjtimex): Remove
13406         __adjtimex_internal alias.
13408 2014-10-08  Roland McGrath  <roland@hack.frob.com>
13410         [BZ #17460]
13411         * nscd/nscd.c (more_help): Rewrite list of tables collection
13412         using xstrdup and asprintf.
13414         * nscd/nscd_conf.c: Remove local xstrdup declaration.
13416 2014-10-08  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
13417             Roland McGrath  <roland@hack.frob.com>
13419         * elf/dl-lookup.c (enter_unique_sym): New function, broken out of ...
13420         (do_lookup_unique): ... local function 'enter' here; update callers.
13422 2014-10-06  Joseph Myers  <joseph@codesourcery.com>
13424         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Condition
13425         compat_symbol calls on [SHARED].
13426         * sysdeps/unix/sysv/linux/powerpc/lchown.S: Remove file.
13427         * sysdeps/unix/sysv/linux/i386/syscalls.list (oldsetrlimit):
13428         Remove.
13429         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
13430         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list
13431         (oldsetrlimit): Remove.
13432         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
13433         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
13434         (lchown): New syscall entry.
13435         (oldsetrlimit): Remove.
13436         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
13437         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list
13438         (oldsetrlimit): Remove.
13439         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
13441         [BZ #14138]
13442         * sysdeps/unix/sysv/linux/arm/fchown.c: Remove file.
13443         * sysdeps/unix/sysv/linux/arm/lchown.c: Likewise.
13444         * sysdeps/unix/sysv/linux/m68k/fchown.c: Likewise.
13445         * sysdeps/unix/sysv/linux/m68k/lchown.c: Likewise.
13446         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
13447         * sysdeps/unix/sysv/linux/arm/syscalls.list (lchown): Add syscall.
13448         (fchown): Likewise.
13449         * sysdeps/unix/sysv/linux/m68k/syscalls.list (lchown): Likewise.
13450         (fchown): Likewise.
13451         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (chown):
13452         Likewise.
13454 2014-10-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13456         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Remove file.
13457         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c
13458         (pthread_spin_unlock): Use __ARCH_REL_INSTR instead of
13459         __lll_rel_instr and __ARCH_ACQ_INSTR instead of __lll_acq_instr.
13460         * sysdeps/unix/sysv/linux/powerpc/sem_post.c (__new_sem_post):
13461         Likewise.
13462         (__old_sem_post): Likewise.
13464 2014-10-06  Chris Metcalf  <cmetcalf@tilera.com>
13466         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Define
13467         INLINE_VSYSCALL, INTERNAL_VSYSCALL, and
13468         HAVE_CLOCK_GETTIME_VSYSCALL macros.
13469         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (__gettimeofday):
13470         Use INLINE_VSYSCALL macro.
13471         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso: Add declaration of
13472         __vdso_clock_gettime.
13473         * sysdeps/unix/sysv/linux/tile/init-first.c
13474         (_libc_vdso_platform_setup): Set new __vdso_clock_gettime global.
13475         * sysdeps/unix/sysv/linux/tile/Versions (GLIBC_PRIVATE): Add
13476         __vdso_clock_gettime.
13478         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Fix code
13479         to set up frame more cleanly.
13481         * sysdeps/tile/memcmp.c: New file.
13483         * sysdeps/unix/sysv/linux/tile/sysconf.c: New file.
13485         * sysdeps/tile/tilegx/string-endian.h (STRSHIFT): New macro.
13486         * sysdeps/tile/tilegx/strcasestr.c: New file.
13487         * sysdeps/tile/tilegx/strnlen.c: New file.
13488         * sysdeps/tile/tilegx/strstr.c: New file.
13490         * sysdeps/tile/tilegx/string-endian.h (copy_byte): Optimize.
13492 2014-10-06  Arjun Shankar  <arjun.is@lostca.se>
13494         * nptl/tst-setuid3.c: Write errors to stdout.
13496 2014-10-01  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
13498         * elf/dl-deps.c
13499         (preload): New functions broken out of _dl_map_object_deps.
13500         (_dl_map_object_deps):  Remove a nested function. Update call sites.
13502 2014-10-01  Joseph Myers  <joseph@codesourcery.com>
13504         [BZ #14138]
13505         * sysdeps/unix/sysv/linux/execve.c: Remove file.
13506         * sysdeps/unix/sysv/linux/syscalls.list (execve): Add syscall.
13508 2014-10-01  Steve Ellcey  <sellcey@mips.com>
13510         * sysdeps/mips/strcmp.S: New.
13512 2014-09-30  Joseph Myers  <joseph@codesourcery.com>
13514         [BZ #14138]
13515         * sysdeps/unix/sysv/linux/syscalls.list (fchownat): New syscall.
13516         (linkat): Likewise.
13517         (mkdirat): Likewise.
13518         (readlinkat): Likewise.
13519         (renameat): Likewise.
13520         (symlinkat): Likewise.
13521         (unlinkat): Likewise.
13522         * sysdeps/unix/sysv/linux/fchownat.c: Remove file.
13523         * sysdeps/unix/sysv/linux/linkat.c: Likewise.
13524         * sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
13525         * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
13526         * sysdeps/unix/sysv/linux/renameat.c: Likewise.
13527         * sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
13528         * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
13530 2014-09-30  Will Newton  <will.newton@linaro.org>
13532         * math/math.h: Define long double math functions if
13533         _LIBC_TEST is defined.
13534         * stdlib/tst-strtod-round.c: Define _LIBC_TEST.
13536         * localedata/Makefile: Move assignment to tests-special
13537         into an ifdef testing run-built-tests.
13538         * timezone/Makefile: Likewise.
13540 2014-09-29  Joseph Myers  <joseph@codesourcery.com>
13542         * sysdeps/x86/Makefile ($(objpfx)tst-ld-sse-use.out): Run script
13543         with $(BASH) not $(SHELL).
13545 2014-09-29  Carlos O'Donell  <carlos@redhat.com>
13546             Matthew LeGendre  <legendre1@llnl.gov>
13548         [BZ #17411]
13549         * elf/dl-reloc.c (_dl_relocate_object): Allocate correct amount for
13550         l_reloc_result.
13552 2014-09-29  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
13554         * stdio-common/printf_fp.c
13555         (hack_digit): New function, broken out of ...
13556         (__printf_fp): ... local function here.  Update call sites.
13557         hack_digit now takes an additional parameter that is a pointer
13558         to a struct of the referenced locals.  Those locals moved inside
13559         the struct and references updated.
13561 2014-09-29  H.J. Lu  <hongjiu.lu@intel.com>
13563         * aclocal.m4: Require autoconf 2.69.
13564         * configure: Regenerated.
13565         * sysdeps/aarch64/configure: Likewise.
13566         * sysdeps/alpha/configure: Likewise.
13567         * sysdeps/arm/armv7/configure: Likewise.
13568         * sysdeps/arm/configure: Likewise.
13569         * sysdeps/ia64/configure: Likewise.
13570         * sysdeps/mach/configure: Likewise.
13571         * sysdeps/mips/configure: Likewise.
13572         * sysdeps/s390/configure: Likewise.
13573         * sysdeps/unix/sysv/linux/mips/configure: Likewise.
13574         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise.
13576         * sysdeps/alpha/configure.ac: Avoid empty lines at the end of
13577         file.
13578         * sysdeps/ia64/configure.ac: Likewise.
13580 2014-09-26  Joseph Myers  <joseph@codesourcery.com>
13582         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not
13583         specify symbol version for ld.so.  Do not include entry for
13584         libpthread.
13585         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
13586         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
13587         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
13589         [BZ #14171]
13590         * Makeconfig [$(build-shared) = yes]
13591         ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in
13592         makefiles.
13593         [$(build-shared) = yes && $(soversions.mk-done) = t]
13594         ($(common-objpfx)gnu/lib-names.h): Remove rule.
13595         [$(build-shared) = yes && $(soversions.mk-done) = t]
13596         ($(common-objpfx)gnu/lib-names.stmp): Likewise.  Split and moved
13597         to Makerules.
13598         [$(build-shared) = yes && $(soversions.mk-done) = t]
13599         (before-compile): Don't append $(common-objpfx)gnu/lib-names.h
13600         here.
13601         [$(build-shared) = yes && $(soversions.mk-done) = t]
13602         (common-generated): Don't append gnu/lib-names.h and
13603         gnu/lib-names.stmp here.
13604         * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t]
13605         (lib-names-h-abi): New variable.
13606         [$(build-shared) = yes && $(soversions.mk-done) = t]
13607         (lib-names-stmp-abi): Likewise.
13608         [$(build-shared) = yes && $(soversions.mk-done) = t &&
13609         abi-variants] (before-compile): Append
13610         $(common-objpfx)$(lib-names-h-abi).
13611         [$(build-shared) = yes && $(soversions.mk-done) = t &&
13612         abi-variants] (common-generated): Append gnu/lib-names.h.
13613         [$(build-shared) = yes && $(soversions.mk-done) = t &&
13614         abi-variants] (install-others-nosubdir): Depend on
13615         $(inst_includedir)/$(lib-names-h-abi).
13616         [$(build-shared) = yes && $(soversions.mk-done) = t &&
13617         abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule.
13618         [$(build-shared) = yes && $(soversions.mk-done) = t]
13619         ($(common-objpfx)$(lib-names-h-abi)): New rule.
13620         [$(build-shared) = yes && $(soversions.mk-done) = t]
13621         ($(common-objpfx)$(lib-names-stmp-abi)): Likewise.
13622         [$(build-shared) = yes && $(soversions.mk-done) = t]
13623         (common-generated): Append $(lib-names-h-abi) and
13624         $(lib-names-stmp-abi).
13625         * scripts/lib-names.awk: Do not handle multi being set.
13626         * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname):
13627         Remove variable.
13628         (abi-lp64_be-ld-soname): Likewise.
13629         * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname):
13630         Likewise.
13631         (abi-hard-ld-soname): Likewise.
13632         * sysdeps/unix/sysv/linux/i386/shlib-versions: New file.
13633         * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname):
13634         Remove variable.
13635         (abi-o32_hard-ld-soname): Likewise.
13636         (abi-o32_soft_2008-ld-soname): Likewise.
13637         (abi-o32_hard_2008-ld-soname): Likewise.
13638         (abi-n32_soft-ld-soname): Likewise.
13639         (abi-n32_hard-ld-soname): Likewise.
13640         (abi-n32_soft_2008-ld-soname): Likewise.
13641         (abi-n32_hard_2008-ld-soname): Likewise.
13642         (abi-n64_soft-ld-soname): Likewise.
13643         (abi-n64_hard-ld-soname): Likewise.
13644         (abi-n64_soft_2008-ld-soname): Likewise.
13645         (abi-n64_hard_2008-ld-soname): Likewise.
13646         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname):
13647         Likewise.
13648         (abi-64-v2-ld-soname): Likewise.
13649         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add
13650         ld.so entries.
13651         * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove
13652         variable.
13653         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so
13654         entry.
13655         * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove
13656         variable.
13657         (abi-64-ld-soname): Likewise.
13658         (abi-x32-ld-soname): Likewise.
13659         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so
13660         entry.
13661         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
13663 2014-09-23  Joseph Myers  <joseph@codesourcery.com>
13665         [BZ #14138]
13666         * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
13667         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
13668         * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
13669         * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
13670         * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
13671         * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
13672         * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
13673         syscall entry for GLIBC_2.2 symbol version.
13674         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
13675         Likewise.
13676         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
13677         (setrlimit): Likewise.
13678         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
13679         Likewise.
13681 2014-09-23  Will Newton  <will.newton@linaro.org>
13683         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
13684         _LINUX_ARM_SYSDEP_H include guard too.
13685         * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
13686         define.
13688 2014-09-20  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
13690         * sysdeps/unix/sysv/linux/eventfd.c:
13691         Make first argument unsigned.
13692         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
13693         * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
13695 2014-09-20  Ondřej Bílka  <neleai@seznam.cz>
13697         * socket/recvmmsg.c (recvmmsg): Drop const argument.
13698         * socket/sys/socket.h: Likewise
13699         * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
13701 2014-09-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
13703         * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
13705 2014-09-17  Arjun Shankar  <arjun.is@lostca.se>
13707         * time/tst-ftime.c: New test.
13708         * time/Makefile (tests): Add tst-ftime.
13710 2014-09-17  Joseph Myers  <joseph@codesourcery.com>
13712         * soft-fp/extended.h: Fix comment formatting.
13713         * soft-fp/op-1.h: Likewise.
13714         * soft-fp/op-2.h: Likewise.
13715         * soft-fp/op-4.h: Likewise.
13716         * soft-fp/op-8.h: Likewise.
13717         * soft-fp/op-common.h: Likewise.
13718         * soft-fp/soft-fp.h: Likewise.
13720         * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
13722 2014-09-16  Joseph Myers  <joseph@codesourcery.com>
13724         [BZ #6652]
13725         * Makeconfig (soversions-default-setname): Remove variable.
13726         ($(common-objpfx)soversions.i): Don't pass default_setname to
13727         soversions.awk.
13728         * Makerules ($(common-objpfx)abi-versions.h): Don't pass
13729         oldest_abi to abi-versions.awk.
13730         * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
13731         * config.make.in (oldest-abi): Remove variable.
13732         * configure.ac (--enable-oldest-abi): Remove configure option.
13733         * configure: Regenerated.
13734         * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
13735         text.
13736         * scripts/abi-versions.awk: Do not handle oldest_abi variable.
13737         * scripts/soversions.awk: Do not handle default_setname variable.
13738         * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
13739         variable.
13740         * sysdeps/mach/hurd/configure: Regenerated.
13741         * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
13742         variable.
13743         * sysdeps/unix/sysv/linux/configure: Regenerated.
13745 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
13747         * elf/Makefile (CFLAGS-interp.c): Remove.
13748         ($(elf-objpfx)runtime-linker.h): Generate header with linker
13749         path string.
13750         * elf/interp.c: Include generated runtime-linker.h
13752         * Makerules (lib%.so): Don't include $(+interp) in
13753         prerequisites.
13754         * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
13755         * dlfcn/eval.c: Remove file.
13757         * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
13758         macros.
13760         [BZ #17266]
13761         * misc/sys/cdefs.h: Define __extern_always_inline for clang
13762         4.2 and newer.
13764         [BZ #17370]
13765         * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
13767 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
13768             Jakub Jelinek  <jakub@redhat.com>
13770         [BZ #17266]
13771         * libio/stdio.h: Check definition of __fortify_function
13772         instead of __extern_always_inline to include bits/stdio2.h.
13773         * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
13774         check if __extern_always_inline is defined.
13775         [__USE_MISC || __USE_XOPEN]: Likewise.
13776         [__USE_ISOC99] Likewise.
13777         * misc/sys/cdefs.h (__fortify_function): Define only if
13778         __extern_always_inline is defined.
13779         [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
13780         __extern_always_inline and __extern_inline only for g++-4.3
13781         and newer or a compatible gcc.
13783 2014-09-15  Andreas Schwab  <schwab@linux-m68k.org>
13785         [BZ #17371]
13786         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
13787         last change to handle zero prefix length.
13789 2014-09-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
13791         * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
13792         _SC_REGEX_VERSION.
13794         * posix/getconf.c (vars): Add _POSIX_IPV6 and
13795         _POSIX_RAW_SOCKETS.
13797 2014-09-13  Allan McRae  <allan@archlinux.org>
13799         * po/ru.po: Update Russian translation from translation project.
13801 2014-09-12  Roland McGrath  <roland@hack.frob.com>
13803         * locale/programs/locale.c (show_locale_vars): Inline local function
13804         into its sole call site.  Clean up some style nits.
13805         (print_item): New function, broken out of ...
13806         (show_info): ... local function here.  Clean up style nits.
13808         * locale/programs/ld-ctype.c (set_one_default): New function, broken
13809         out of ...
13810         (set_class_defaults): ... local function set_default here.
13811         Define set_default as a macro locally to pass constant parameters.
13812         (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
13813         rather than a shared local.
13815         * stdlib/rpmatch.c (try): New function, broken out of ...
13816         (rpmatch): ... local function here.  Also, prototypify definition.
13818 2014-09-12  Joseph Myers  <joseph@codesourcery.com>
13820         * scripts/soversions.awk: Do not handle configuration names.
13821         * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
13822         vendor and os variables to soversions.awk.
13823         * configure.ac: Do not modify gnu-* host_os.
13824         * configure: Regenerated
13825         * shlib-versions: Remove first column with configuration names.
13826         * nptl/shlib-versions: Likewise.
13827         * nptl_db/shlib-versions: Likewise.
13828         * sysdeps/hppa/shlib-versions: Likewise.
13829         * sysdeps/m68k/shlib-versions: Likewise.
13830         * sysdeps/mach/hurd/shlib-versions: Likewise.
13831         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
13832         * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
13833         * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
13834         * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
13835         * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
13836         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
13837         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
13838         * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
13839         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
13840         Likewise.
13841         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
13842         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
13843         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
13844         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
13845         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
13846         * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
13847         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
13848         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
13850         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
13851         (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
13852         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
13853         Regenerated.
13854         * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
13855         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
13856         Condition symbol version definitions on [HAVE_ELFV2_ABI].
13858         * shlib-versions: Remove OS-specific entries.  Moved to files in
13859         sysdeps.
13860         * sysdeps/mach/hurd/shlib-versions: New file.
13861         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
13863         * nptl/shlib-versions: Remove architecture-specific entries.
13864         Moved to files in sysdeps.
13865         * shlib-versions: Likewise.
13866         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
13867         file.
13868         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
13869         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
13870         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
13871         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
13873         * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
13874         (UDP_NO_CHECK6_RX): Likewise.
13876 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
13878         * sysdeps/posix/sysconf.c (__sysconf): Spell
13879         _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
13881 2014-08-12  Florian Weimer  <fweimer@redhat.com>
13883         * iconv/gconv_open.c (__gconv_open): Remove transliteration module
13884         loading.
13885         * iconv/Versions (__gconv_transliterate): Export for use from
13886         gconv modules.
13887         * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
13888         (struct __gconv_trans_data, __gconv_trans_fct,
13889         __gconv_trans_context_fct, __gconv_trans_query_fct,
13890         __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
13891         definitions.
13892         (struct __gconv_step_data): Remove __trans member.
13893         (__gconv_transliterate): Declaration moved from gconv_int.h.  No
13894         longer hidden.  Remove unused trans_data argument.
13895         * iconv/gconv_int.h (struct trans_struct): Remove definition.
13896         (__gconv_translit_find): Remove declaration.
13897         (__gconv_transliterate): Declaration moved to gconv.h.  Add hidden
13898         prototype.
13899         * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
13900         * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
13901         trans_data argument.  Add hidden definition.
13902         (__gconv_translit_find): Remove.
13903         * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
13904         __gconv_transliterate directly if __GCONV_TRANSLIT is set.
13905         * iconv/skeleton.c: Remove transliteration initialization.
13906         * libio/fileops.c (_IO_new_file_fopen): Adjust struct
13907         __gconv_step_data initialization.
13908         * libio/iofwide.c (__libio_translit_): Remove.
13909         (_IO_fwide): Adjust struct __gconv_step_data initialization.
13910         * wcsmbs/btowc.c (__btowc): Likewise.
13911         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
13912         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
13913         * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
13914         * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
13915         * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
13916         * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
13917         * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
13918         * wcsmbs/wctob.c (wctob): Likewise.
13920 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
13922         [BZ #16194]
13923         * sysdeps/x86/tst-xmmymm.sh: Rename file to...
13924         * sysdeps/x86/tst-ld-sse-use.sh: ... this.  Check for zmm
13925         register usage.
13926         * sysdeps/x86/Makefile: Adjust.
13928 2014-09-11  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
13929             Roland McGrath  <roland@hack.frob.com>
13931         * locale/weight.h: Add include guard.
13932         (findidx): Make static rather than auto; take new parameters
13933         TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
13934         * locale/weightwc.h: Likewise.
13935         * posix/fnmatch_loop.c
13936         (FCT): Change type of EXTRA from int32_t to wint_t.
13937         Don't include either header inside the function.
13938         Call FINDIDX rather than findidx, and pass new arguments.
13939         #undef FINDIDX at the end of the file.
13940         * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
13941         FINDIDX before including fnmatch_loop.c for the non-wide version.
13942         [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
13943         #include <locale/weightwc.h>, and define FINDIDX to findidxwc
13944         for the wide version.
13945         * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
13946         (build_equiv_class) [_LIBC]: Don't #include it inside the function.
13947         Pass new arguments to findidx.
13948         * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
13949         [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
13950         Don't #include it inside the function.  Pass new arguments to findidx.
13951         * posix/regex_internal.h
13952         [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
13953         (re_string_elem_size_at): Don't #include it inside the function.
13954         Pass new arguments to findidx.
13955         * string/strcoll_l.c: #include WEIGHT_H at top level.
13956         (get_next_seq): Don't #include it inside the function.
13957         Pass new arguments to findidx.
13958         (get_next_seq_nocache): Likewise.
13959         * string/strxfrm_l.c: #include WEIGHT_H at top level.
13960         (STRXFRM): Don't #include it inside the function.
13961         Pass new arguments to findidx.
13963 2014-09-11  Florian Weimer  <fweimer@redhat.com>
13965         [BZ #17344]
13966         * malloc/malloc.c (unlink): Turn asserts into a call to
13967         malloc_printerr.
13969 2014-09-11  Tim Lammens  <tim.lammens@gmail.com>
13971         [BZ #17370]
13972         * libio/wfileops (do_ftell_wide): Free OUT.
13974 2014-09-10  Chris Metcalf  <cmetcalf@tilera.com>
13976         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
13978 2014-09-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
13980         [BZ #17363]
13981         * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
13982         group if the current group is empty.
13984 2014-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13986         * benchtests/bench-memset.c (test_main): Add more test from size
13987         from 32 to 512 bytes.
13988         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
13989         Add POWER8 memset object.
13990         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13991         (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
13992         * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
13993         implementation.
13994         * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
13995         Likewise.
13996         * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
13997         multiarch POWER8 memset optimization.
13998         * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
13999         POWER8 memset optimization.
14001         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
14002         Remove bzero multiarch objects.
14003         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
14004         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
14005         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
14006         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
14007         Remove define.
14008         [__bzero]: Redefine to specific name.
14009         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
14010         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
14011         * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
14012         define.
14013         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
14014         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
14016 2014-09-10  Florian Weimer  <fweimer@redhat.com>
14018         * Makeconfig (gccwarn-c): Turn implicit-function-declaration
14019         warnings into errors.
14021         * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
14022         __cxa_thread_atexit_impl prototype.
14024 2014-09-09  Steve Ellcey  <sellcey@mips.com>
14026         * sysdeps/mips/preconfigure: Put code inside mips* case statement.
14027         Fix capitalization of error message.
14029 2014-09-09  Steve Ellcey  <sellcey@mips.com>
14031         * sysdeps/mips/preconfigure: Modify ABI tests.
14033 2014-09-07  Carlos O'Donell  <carlos@systemhalted.org>
14035         * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
14037 2014-09-07  Roland McGrath  <roland@hack.frob.com>
14038             Carlos O'Donell  <carlos@systemhalted.org>
14040         * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
14041         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
14042         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
14043         * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
14044         * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
14045         * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
14046         * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
14047         * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
14048         * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
14049         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
14050         * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
14051         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
14052         * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
14053         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
14054         * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
14055         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
14056         * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
14057         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
14058         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
14059         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
14060         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
14061         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
14062         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
14063         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
14064         * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
14065         * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
14066         * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
14067         * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
14068         Deconditionalize the code that was previously under [RESET_PID].
14069         * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
14070         * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
14071         * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
14072         * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
14073         include sysdep.h.
14075 2014-09-08  Allan McRae  <allan@archlinux.org>
14077         * version.h (RELEASE): Set to "development".
14078         (VERSION): Set to "2.20.90"
14080 2014-09-07  Allan McRae  <allan@archlinux.org
14082         * version.h (RELEASE): Set to "stable".
14083         (VERSION): Set to "2.20"
14084         * include/features.h (__GLIBC_MINOR__): Set to 20.
14086         * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
14087         Liebler.
14089         * po/ko.po: Update Korean translation from translation project.
14091 2014-09-06  Chris Metcalf  <cmetcalf@tilera.com>
14093         [BZ #17354]
14094         * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
14095         macro for handling signed relocations.
14097 2014-09-03  Florian Weimer  <fweimer@redhat.com>
14099         [BZ #17325]
14100         * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
14101         * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
14102         assert.
14103         * iconvdata/ibm933.c (BODY): Fix check for sentinel.
14104         * iconvdata/ibm935.c (BODY): Likewise.
14105         * iconvdata/ibm937.c (BODY): Likewise.
14106         * iconvdata/ibm939.c (BODY): Likewise.
14107         * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
14108         assert.
14109         * iconvdata/Makefile (iconv-test.out): Pass module list to test
14110         script.
14111         * iconvdata/run-iconv-test.sh: New test loop for checking for
14112         decoder crashers.
14114 2014-09-02  Khem Raj  <raj.khem@gmail.com>
14116         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
14117         libm_hidden_ver.
14119 2014-09-01  Allan McRae  <allan@archlinux.org>
14121         * po/eo.po: Update Esperanto translation from translation project.
14123         * po/ca.po: Update Catalan translation from translation project.
14125 2014-08-28  Samuel Thibault  <samuel.thibault@ens-lyon.org>
14127         * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
14128         __proc_dostop call.
14130 2014-08-27  Mark Wielaard  <mjw@redhat.com>
14132         [BZ #17319]
14133         * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
14134         to call set_thread_area instead of hand written asm.
14135         (__NR_set_thread_area): Removed define.
14136         (TLS_FLAG_WRITABLE): Likewise.
14137         (__ASSUME_SET_THREAD_AREA): Remove check.
14138         (TLS_EBX_ARG): Remove define.
14139         (TLS_LOAD_EBX): Likewise.
14141 2014-08-27  Samuel Thibault  <samuel.thibault@ens-lyon.org>
14143         Simplify atomicity of socket creation in bind.
14145         * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
14146         looking up the name after linking the file.
14148 2014-08-27  Allan McRae  <allan@archlinux.org>
14150         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
14152 2014-08-26  Florian Weimer  <fweimer@redhat.com>
14154         [BZ #17187]
14155         * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
14156         trans_compare, open_translit, __gconv_translit_find):
14157         Remove module loading code.
14159 2014-08-26  Allan McRae  <allan@archlinux.org>
14161         * po/vi.po: Update Vietnamese translation from translation project.
14163         * po/uk.po: Update Ukrainian translation from translation project.
14165         * po/fr.po: Update French translation from translation project.
14167         * po/ru.po: Update Russian translation from translation project.
14169         * po/pl.po: Update Polish translation from translation project.
14171         * po/cs.po: Update Czech translation from translation project.
14173         * po/de.po: Update German translation from translation project.
14175         * po/bg.po: Update Bulgarian translation from translation project.
14177         * po/sv.po: Update Sweedish translation from translation project.
14179         * po/nl.po: Update Dutch translation from translation project.
14181         * po/es.po: Update Spanish translation from translation project.
14183 2014-08-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
14185         * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
14187         * catgets/Makefile (CPPFLAGS-gencat): Remove.
14188         * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
14189         (CPPFLAGS-iconvconfig): Likewise.
14190         * timezone/Makefile (CPPFLAGS-zic): Likewise.
14192         * include/libc-symbols.h: Remove unnecessary check for
14193         NOT_IN_libc.
14194         * nptl/pthreadP.h: Likewise.
14195         * sysdeps/aarch64/setjmp.S: Likewise.
14196         * sysdeps/alpha/setjmp.S: Likewise.
14197         * sysdeps/arm/sysdep.h: Likewise.
14198         * sysdeps/i386/setjmp.S: Likewise.
14199         * sysdeps/m68k/setjmp.c: Likewise.
14200         * sysdeps/posix/getcwd.c: Likewise.
14201         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
14202         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
14203         * sysdeps/s390/s390-32/setjmp.S: Likewise.
14204         * sysdeps/s390/s390-64/setjmp.S: Likewise.
14205         * sysdeps/sh/sh3/setjmp.S: Likewise.
14206         * sysdeps/sh/sh4/setjmp.S: Likewise.
14207         * sysdeps/unix/alpha/sysdep.h: Likewise.
14208         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
14209         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
14210         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
14211         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
14212         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
14213         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
14214         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
14215         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
14216         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
14217         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
14218         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
14219         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
14220         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
14221         * sysdeps/x86_64/setjmp.S: Likewise.
14223 2014-08-13  Joseph Myers  <joseph@codesourcery.com>
14225         [BZ #17263]
14226         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
14227         <stdint.h>.
14228         (__get_clockfreq): Use uint64_t instead of hp_timing_t in
14229         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
14231 2014-08-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
14233         * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
14235         [BZ #17262]
14236         * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
14237         and __x86_64__ when disabling x87 inline functions.
14239 2014-08-12  H.J. Lu  <hongjiu.lu@intel.com>
14241         [BZ #17259]
14242         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
14243         asm statement with __cpuid_count.
14245 2014-08-12  Mike Frysinger  <vapier@gentoo.org>
14247         * configure.ac: Change __ehdr_start code to dereference the struct.
14248         Run readelf on the output to look for relocations.
14249         * configure: Regenerated.
14251 2014-08-12  Joseph Myers  <joseph@codesourcery.com>
14253         [BZ #17261]
14254         * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
14255         value to 0.
14256         (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
14258 2014-08-12  Roland McGrath  <roland@hack.frob.com>
14260         * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
14262 2014-08-12  Bernard Ogden  <bernie.ogden@linaro.org>
14264         [BZ #16892]
14265         * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
14266         atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
14268 2014-08-12  Sean Anderson  <seanga2@gmail.com>
14270         * malloc/malloc.c: Fix typo in comment.
14272 2014-08-09  Allan McRae  <allan@archlinux.org>
14274         * Regenerate libc.po.
14276 2014-08-08  Mike Frysinger  <vapier@gentoo.org>
14278         * intl/tst-gettext2.sh: Check every lang file for creation.
14280 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
14282         * sysdeps/aarch64/fpu/math_private.h
14283         (libc_feholdsetround_noex_aarch64_ctx): New function.
14285 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
14287         * sysdeps/arm/armv6/strcpy.S (strcpy):
14288         Fix performance issue in misaligned cases.
14290 2014-08-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14292         * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
14293         Move definition from termios.h.
14294         (struct termio): Likewise.
14295         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
14296         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
14297         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
14298         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
14299         Likewise.
14300         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
14301         Move definition to ioctl-types.h
14302         (struct termio): Likewise.
14303         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
14304         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
14305         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
14306         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
14307         Likewise.
14309 2014-08-05  Richard Henderson  <rth@redhat.com>
14311         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
14312         exceptions.
14313         * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
14314         Add fraiseexcpt.
14315         * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
14316         Use __feraiseexcept.
14317         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
14318         Protect libm symbols with IS_IN_libm.
14320         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
14322 2014-08-04  Bernard Ogden  <bernie.ogden@linaro.org>
14324         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
14326 2014-08-04  Will Newton  <will.newton@linaro.org>
14328         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
14329         file.
14331 2014-08-04  Mike Frysinger  <vapier@gentoo.org>
14333         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
14334         variants for each function.
14336 2014-08-04  Roland McGrath  <roland@hack.frob.com>
14338         * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
14339         appended ...
14340         * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
14341         * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
14342         appended ...
14343         * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
14344         * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
14345         * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
14346         * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
14347         * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
14348         * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
14349         * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
14350         * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
14351         * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
14352         * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
14353         * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
14354         * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
14355         * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
14356         * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
14357         * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
14358         * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
14359         * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
14360         * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
14361         * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
14362         * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
14363         * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
14364         * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
14365         * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
14366         * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
14367         * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
14368         * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
14369         * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
14370         * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
14371         * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
14372         * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
14373         * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
14374         * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
14375         * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
14376         * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
14377         * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
14378         * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
14379         * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
14380         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
14381         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
14382         * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
14383         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
14384         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
14385         * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
14386         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
14387         * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
14388         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
14389         * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
14390         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
14391         * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
14392         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
14393         * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
14394         * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
14395         * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
14396         Update #include.
14397         * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
14398         * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
14400 2014-08-04  Roland McGrath  <roland@hack.frob.com>
14402         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
14403         * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
14404         * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
14405         * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
14406         * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
14407         * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
14409 2014-08-04  Roland McGrath  <roland@hack.frob.com>
14411         * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
14412         * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
14413         * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
14414         * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
14416 2014-08-04  Roland McGrath  <roland@hack.frob.com>
14418         * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
14419         * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
14420         (__libc_vfork): Define function under this name.
14421         (__vfork): Define as an alias.
14422         * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
14423         * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
14425 2014-08-04  Roland McGrath  <roland@hack.frob.com>
14427         * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
14428         that was previously under [RESET_PID].
14429         * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
14431 2014-08-04  Andreas Schwab  <schwab@suse.de>
14433         * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
14435 2014-08-03  Mike Frysinger  <vapier@gentoo.org>
14437         * stdlib/tst-setcontext.c (test_stack): Fix coding style.
14438         (main): Likewise.
14440 2014-08-01  Roland McGrath  <roland@hack.frob.com>
14442         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
14444 2014-08-01  Richard Henderon  <rth@redhat.com>
14446         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
14447         feclearexcept; use math_opt_barrier instead of open-coded asm; fix
14448         typo in exact zero test.
14449         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
14450         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
14451         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
14453 2014-08-01  Roland McGrath  <roland@hack.frob.com>
14455         * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
14456         (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
14457         * sysdeps/arm/sysdep.h: ... here.
14458         [!__ASSEMBLER__]: Include <stdint.h>.
14460 2014-08-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
14462         * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
14463         (HAVE_WCTYPE_H): Likewise.
14464         (HAVE_ISWCTYPE): Likewise.
14465         (ENABLE_NLS): Likewise.
14466         * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
14467         && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
14469         * posix/regex_internal.c: Check if DEBUG is defined and is
14470         set.
14472         * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
14473         (HAVE_MBSRTOWCS): Likewise.
14474         * posix/fnmatch.c: Include string.h unconditionally.
14476 2014-08-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
14478         * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
14479         reversal.
14481 2014-07-31  Roland McGrath  <roland@hack.frob.com>
14483         * sysdeps/generic/safe-fatal.h: New file.
14484         * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
14485         * nptl/forward.c: Include it.
14486         (__pthread_unwind): Use __safe_fatal as default action, rather
14487         than a bogus use of INTERNAL_SYSCALL that could never work.
14489         * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
14490         * configure.ac (libc_cv_builtin_trap): New test.
14491         * configure: Regenerated.
14492         * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
14493         (ABORT_INSTRUCTION): Define using __builtin_trap.
14495         * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
14496         * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
14497         * sysdeps/nptl/nptl-signals.h: New file.
14498         * nptl/pthreadP.h: Include <nptl-signals.h>.
14500 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
14502         * sysdeps/s390/s390-64/utf16-utf32-z9.c
14503         (ONE_DIRECTION): Define.
14504         * sysdeps/s390/s390-64/utf8-utf16-z9.c
14505         (ONE_DIRECTION): Define.
14506         * sysdeps/s390/s390-64/utf8-utf32-z9.c
14507         (ONE_DIRECTION): Define.
14509 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
14511         * sysdeps/s390/Makefile: Delete file.
14512         * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
14513         * sysdeps/s390/__longjmp.c: Delete file.
14514         * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
14515         Remove fields __flags and __reserved.
14516         * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
14517         and add versioning.
14518         * sysdeps/s390/rtld-__longjmp.c: Delete file.
14519         * sysdeps/s390/rtld-global-offsets.sym: Likewise.
14520         * sysdeps/s390/rtld-setjmp.S: Likewise.
14521         * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
14522         * sysdeps/s390/s390-32/__longjmp.c: ... here.
14523         * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
14524         * sysdeps/s390/s390-32/setjmp.S: ... here.
14525         Add versioning.
14526         (__sigsetjmp): Remove setting __flags field.
14527         * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
14528         * sysdeps/s390/s390-64/__longjmp.c: ... here.
14529         * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
14530         * sysdeps/s390/s390-64/setjmp.S: ... here.
14531         Add versioning.
14532         (__sigsetjmp): Remove setting __flags field.
14533         * sysdeps/s390/setjmp.S: Delete file.
14534         * sysdeps/s390/sigjmp.c: Likewise.
14535         * sysdeps/s390/v1-longjmp.c: Likewise.
14536         * sysdeps/s390/v1-setjmp.h: Likewise.
14537         * sysdeps/s390/v1-sigjmp.c: Likewise.
14538         * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
14539         Remove v1-longjmp_chk.
14540         * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
14541         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
14542         Include debug/longjmp_chk.c and add versioning.
14543         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
14544         Include nptl/pt-longjmp.c and add versioning.
14545         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
14546         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
14547         Include __longjmp.c.
14548         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
14549         Move to ...
14550         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
14551         (__getcontext): Remove setting __flags field.
14552         Add versioning.
14553         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
14554         Don't restore upper high grps.
14555         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
14556         Likewise.
14557         (__swapcontext): Remove setting uc_flags field.
14558         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
14559         Delete file.
14560         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
14561         Include __longjmp.c.
14562         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
14563         Move to ...
14564         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
14565         (__getcontext): Remove setting __flags field.
14566         Add versioning.
14567         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
14568         (__swapcontext): Remove setting uc_flags field.
14569         * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
14570         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
14571         Remove fields uc_high_gprs and __reserved.
14572         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
14573         New file with reverted content.
14574         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
14575         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
14576         Regenerated.
14577         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
14578         Regenerated.
14580 2014-07-31  Andreas Schwab  <schwab@suse.de>
14582         * config.h.in (HAVE_IFUNC): Define to 0.
14583         * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
14584         definedness.
14586 2014-07-30  Ling Ma  <ling.ml@alibaba-inc.com>
14588         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
14589         memmove-avx-unaligned, memcpy-avx-unaligned and
14590         mempcpy-avx-unaligned.
14591         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
14592         Add tests for AVX memcpy functions.
14593         * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
14594         * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
14595         memcpy_chk.
14596         * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
14597         * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
14598         memmove_chk.
14599         * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
14600         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
14601         mempcpy_chk.
14602         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
14603         * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
14604         * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
14606 2013-07-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14608         [BZ #17213]
14609         * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
14610         powerpc64le.
14612 2014-07-29  Jeff Layton  <jlayton@poochiereds.net>
14614         [BZ #16839]
14615         * manual/llio.texi: Add section about open file description locks.
14616         * manual/examples/ofdlocks.c: Example of open file description
14617         lock usage.
14618         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
14619         F_OFD_SETLK, and F_OFD_SETLKW.
14621 2014-07-23  Allan McRae  <allan@archlinux.org>
14623         * po/es.po: Update Spanish translation from translation project.
14625 2014-07-18  Andreas Schwab  <schwab@linux-m68k.org>
14627         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
14629 2014-07-17  Maciej W. Rozycki  <macro@codesourcery.com>
14631         [BZ #17078]
14632         * sysdeps/arm/dl-machine.h (elf_machine_rela)
14633         [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
14634         (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
14636 2014-07-17  Joseph Myers  <joseph@codesourcery.com>
14638         [BZ #17088]
14639         * math/fesetenv.c (__fesetenv)
14640         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
14641         * math/feupdateenv.c (__feupdateenv)
14642         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
14644         * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
14645         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
14646         (__ASSUME_SOCKETCALL): Do not define.
14648         * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
14649         * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
14650         (__ASSUME_SOCKETCALL): Do not define.
14651         (__ASSUME_ST_INO_64_BIT): Define unconditionally.
14652         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
14653         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
14654         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
14655         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
14656         [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
14657         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
14658         [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
14660         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
14661         * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
14662         (__ASSUME_SOCKETCALL): Do not define.
14663         (__ASSUME_IPC64): Define unconditionally.
14664         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
14665         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
14666         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
14667         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
14668         [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
14669         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
14670         [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
14671         Likewise.
14673         * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
14674         * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
14675         (__ASSUME_SOCKETCALL): Do not define.
14676         (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
14677         (__ASSUME_FUTEX_LOCK_PI): Likewise.
14678         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
14679         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
14680         (__ASSUME_REQUEUE_PI): Define unconditionally.
14681         [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
14682         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
14683         [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
14684         [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
14685         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
14686         [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
14688         * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
14689         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
14690         (__ASSUME_SOCKETCALL): Do not define.
14691         [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
14692         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
14693         [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
14694         [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
14695         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
14696         [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
14698         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
14699         * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
14700         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
14701         [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
14702         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
14703         [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
14704         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
14705         [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
14706         (__ASSUME_GETCPU_SYSCALL): Likewise.
14708         * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
14709         * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR.  Remove
14710         cases for individual architectures.
14711         * sysdeps/gnu/configure: Regenerated.
14712         * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
14713         LIBC_SLIBDIR_RTLDDIR.
14714         * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
14715         * sysdeps/unix/sysv/linux/mips/configure.ac: Use
14716         LIBC_SLIBDIR_RTLDDIR.
14717         * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
14718         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
14719         LIBC_SLIBDIR_RTLDDIR.
14720         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
14721         Regenerated.
14722         * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
14723         * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
14724         file.
14725         * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
14726         * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
14727         file.
14728         * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
14729         * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
14730         * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
14731         * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
14733         * sysdeps/aarch64/shlib-versions: Move to ...
14734         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
14735         * sysdeps/alpha/shlib-versions: Move to ...
14736         * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
14737         * sysdeps/arm/shlib-versions: Move to ...
14738         * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
14739         * sysdeps/hppa/shlib-versions: Move all contents except for
14740         libgcc_s entry to ...
14741         * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here.  Merge in
14742         entry from ...
14743         * sysdeps/hppa/nptl/shlib-versions: ... here.  Remove file.
14744         * sysdeps/ia64/shlib-versions: Move to ...
14745         * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here.  Merge in
14746         entry from ...
14747         * sysdeps/ia64/nptl/shlib-versions: ... here.  Remove file.
14748         * sysdeps/m68k/coldfire/shlib-versions: Move to ...
14749         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
14750         * sysdeps/microblaze/shlib-versions: Move to ...
14751         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
14752         * sysdeps/mips/shlib-versions: Move to ...
14753         * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here.  Merge in
14754         entry from ...
14755         * sysdeps/mips/nptl/shlib-versions: ... here.  Remove file.
14756         * sysdeps/tile/shlib-versions: Move to ...
14757         * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
14758         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
14759         from ...
14760         * sysdeps/x86_64/64/shlib-versions: ... here.  Remove file.
14761         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
14762         entry from ...
14763         * sysdeps/x86_64/x32/shlib-versions: ... here.  Remove file.
14765 2014-07-17  Will Newton  <will.newton@linaro.org>
14767         * sysdeps/arm/bits/atomic.h
14768         (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
14769         (__arch_compare_and_exchange_bool_16_int): Likewise.
14770         (__arch_compare_and_exchange_bool_64_int): Likewise.
14772         * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
14773         into an #else block.
14775 2014-07-16  Roland McGrath  <roland@hack.frob.com>
14777         * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
14778         just Linux configurations.  Test empirically that the compiler sets
14779         __ARM_EABI__, rather than using the tuple to decide.
14780         * sysdeps/arm/preconfigure: Regenerated.
14781         * sysdeps/unix/sysv/linux/arm/configure: File removed.
14782         * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
14783         contents appended ...
14784         * sysdeps/arm/configure.ac: ... here.
14785         * sysdeps/arm/configure: Regenerated.
14787 2014-07-15  Roland McGrath  <roland@hack.frob.com>
14789         * nptl/pthread_kill.c: New file.
14790         * nptl/pthread_sigmask.c: New file.
14791         * nptl/pthread_sigqueue.c: New file.
14793         * sysdeps/nptl/lowlevellock.h: New file.
14794         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
14795         * sysdeps/nptl/lowlevellock-futex.h: New file.
14797         * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
14798         Remove dead declarations.
14800 2014-07-14  H.J. Lu  <hongjiu.lu@intel.com>
14802         * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
14803         * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
14804         config-cflags-avx2.
14805         * sysdeps/x86_64/configure.ac: Likewise.
14806         * sysdeps/i386/configure: Regenerated.
14807         * sysdeps/x86_64/configure: Likewise.
14808         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
14809         memset-avx2 only if config-cflags-avx2 is yes.
14810         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
14811         Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
14812         defined.
14813         * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
14814         only if HAVE_AVX2_SUPPORT is defined.
14815         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
14817 2014-07-14  Alan Modra  <amodra@gmail.com>
14819         [BZ #17153]
14820         * elf/elf.h (DT_PPC64_NUM): Correct value.
14821         * NEWS: Add to fixed bug list.
14823 2014-07-13  Jim Meyering  <meyering@fb.com>
14825         [BZ 17150]
14826         regex: don't deref NULL upon heap allocation failure
14827         * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
14828         failure in one more place.
14829         To trigger the segfault, configure grep -with-included-regex,
14830         build it, and run these commands:
14831         ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
14833 2014-07-13  Andreas Schwab  <schwab@linux-m68k.org>
14835         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
14837 2014-07-11  Richard Henderson  <rth@redhat.com>
14839         * sysdeps/aarch64/libm-test-ulps: Update.
14841 2014-07-10  Florian Weimer  <fweimer@redhat.com>
14843         [BZ #17135]
14844         * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
14845         * nptl/allocatestack.c (__nptl_setxid_error): New function.
14846         (__nptl_setxid): Initialize error member.  Call
14847         __nptl_setxid_error.
14848         * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
14849         * nptl/descr.h (struct xid_command): Add error member.
14850         * nptl/tst-setuid3.c: New file.
14851         * nptl/Makefile (tests): Add it.
14853 2014-07-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14855         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
14856         New define.
14857         (__lll_trylock): Use __lll_base_trylock.
14858         (__lll_cond_trylock): Likewise.
14860 2014-07-10  Roland McGrath  <roland@hack.frob.com>
14862         * nptl/pthread_create.c (start_thread): Use atomic_or and
14863         lll_futex_wake directly rather than lll_robust_dead.
14864         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
14865         (lll_robust_dead): Macro removed.
14866         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
14867         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
14868         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
14869         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
14870         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
14871         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
14872         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
14873         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
14874         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
14875         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
14876         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
14877         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
14878         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
14879         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
14880         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
14882         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
14883         Use atomic_compare_and_exchange_val_acq directly rather than
14884         lll_robust_trylock.
14885         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
14886         (__lll_robust_trylock, lll_robust_trylock): Removed.
14887         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
14888         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
14889         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
14890         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
14891         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
14892         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
14893         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
14894         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
14895         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
14896         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
14897         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
14898         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
14899         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
14900         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
14902 2014-07-02  Florian Weimer  <fweimer@redhat.com>
14904         * manual/locale.texi (Locale Names): New section documenting
14905         locale name syntax.  Adjust menu and node chaining accordingly.
14906         (Choosing Locale): Reference Locale Names, Locale Categories.
14907         Mention setting LC_ALL=C.  Reflect that name syntax is now
14908         documented.
14909         (Locale Categories): New section title.  Reference Locale Names.
14910         LC_ALL is an environment variable, but not a category.
14911         (Setting the Locale): Remove "locale -a" invocation and LOCPATH
14912         description, now in Locale Name.  Reference that section.  Locale
14913         name syntax is now documented.
14915 2014-07-02  Florian Weimer  <fweimer@redhat.com>
14917         [BZ #17137]
14918         * locale/findlocale.c (name_present, valid_locale_name): New
14919         functions.
14920         (_nl_find_locale): Use the loc_name variable to store name
14921         candidates.  Call name_present and valid_locale_name to check and
14922         validate locale names.  Return an error if the locale is invalid.
14924 2014-07-02  Florian Weimer  <fweimer@redhat.com>
14926         * locale/setlocale.c (setlocale): Use strdup for allocating
14927         composite name copy.
14929 2014-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
14931         Sync up with gnulib.
14932         * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
14933         [!_LIBC && ENABLE_NLS]: Include gettext.h.
14934         [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
14935         and _GL_ARG_NONNULL.
14936         [USE_UNLOCKED_IO]: Include unlocked-io.h.
14937         [!_LIBC]: Include code for Windows and Cygwin.
14938         [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
14939         Include prototype for int strerror_r.
14940         [!_LIBC] (is_open): New function.
14941         (flush_stdout): New function.
14942         (print_errno_message): Use it.
14943         (error): Likewise.
14944         (error_at_line): Likewise.
14945         (error_tail) Add function attribute macros.  Use
14946         __builtin_expect.
14948         * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
14950         * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
14952         * io/ftw.c: Include sys/param.h unconditionally.
14954         * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
14956         [BZ #17125]
14957         * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
14958         libc_freeres_ptr.
14959         (freecache): New function to free CACHE on exit.
14961         * sunrpc/xdr.c (xdr_string): Add comment about SIZE
14962         initialization.
14964 2014-07-09  David S. Miller  <davem@davemloft.net>
14966         * sysdeps/sparc/fpu/libm-test-ulps: Update.
14968         * sysdeps/sparc/nptl/internaltypes.h: Delete.
14969         * sysdeps/sparc/nptl/sparc-nptl.h: New file.
14970         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
14971         * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
14972         * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
14973         * sysdeps/sparc/nptl/sem_init.c: Likewise.
14974         * sysdeps/sparc/nptl/sem_post.c: Likewise.
14975         * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
14976         * sysdeps/sparc/nptl/sem_wait.c: Likewise.
14977         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
14978         * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
14979         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
14980         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
14982 2014-07-09  Andreas Schwab  <schwab@suse.de>
14984         * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
14985         output.
14986         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
14987         (do_test): Likewise.
14989         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
14991 2014-07-09  Will Newton  <will.newton@linaro.org>
14993         * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
14994         * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
14995         * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
14996         * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
14997         * sysdeps/hppa/start.S (_start): Likewise.
14999 2014-07-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
15001         * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
15003         * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
15004         defined.
15006 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
15008         * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
15009         after checking that it is non-NULL.
15011         * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
15013 2014-07-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15015         * sysdeps/powerpc/memmove.c: Remove file.
15016         * sysdeps/powerpc/powerpc32/power4/memcopy.h
15017         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
15018         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
15019         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
15020         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
15021         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
15022         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
15023         string memmove instead of removed powerpc one.
15025         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
15026         [weak_alias]: Fix compiler warning due trailing data.
15027         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
15028         [weak_alias]: Likewise.
15029         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
15030         warnigs due missing definition of __strcpy_power7 and __strlen_power7.
15032         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
15033         (__libc_ifunc_impl_list): Add memmove functions.
15035 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
15037         * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
15038         Remove code.
15039         * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
15040         Likewise
15041         * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
15042         Likewise
15043         * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
15044         Likewise
15045         * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
15046         Likewise
15047         * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
15048         Likewise
15049         * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
15050         Likewise
15051         * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
15052         Likewise
15053         * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
15054         Likewise
15055         * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
15056         Likewise
15057         * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
15058         Likewise
15059         * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
15060         Likewise
15061         * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
15062         Likewise
15063         * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
15064         Likewise
15065         * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
15066         Likewise
15067         * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
15068         Likewise
15069         * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
15070         Likewise
15072 2014-07-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15074         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
15075         to avoid alignment traps in non-cacheable memory.
15076         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
15078         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
15079         multiarch objects.
15080         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
15081         file: multiarch power7 memmove.
15082         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
15083         multiarch default memmove.
15084         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
15085         multiarch memove for powerpc32/power4.
15087         * string/bcopy.c: Use full path to include memmove.c.
15088         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
15089         multiarch objects.
15090         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
15091         bcopy for powerpc64.
15092         * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
15093         bcopy for powerpc64.
15094         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
15095         and memmove implementations.
15096         * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
15097         optimized multiarch memmove for POWER7/powerpc64.
15098         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
15099         default multiarch memmove for powerpc64.
15100         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
15101         multiarch for powerpc64.
15102         * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
15103         for POWER7/powerpc64.
15104         * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
15105         memmove for POWER7/powerpc64.
15107         * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
15108         glibc default one.
15110         * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
15111         __ELF_NATIVE_CLASS equal to 64.
15113 2014-07-07  Roland McGrath  <roland@hack.frob.com>
15115         * sysdeps/nptl/lowlevellock.h: File removed.
15117         * NEWS: NPTL is no longer an add-on!
15118         * nptl/internaltypes.h: Moved ...
15119         * sysdeps/nptl/internaltypes.h: ... here.
15120         * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
15121         * sysdeps/nptl/fork.c: Likewise.
15122         * sysdeps/nptl/gai_misc.h: Likewise.
15123         * sysdeps/nptl/librt-cancellation.c: Likewise.
15124         * sysdeps/nptl/jmp-unwind.c: Likewise.
15125         * sysdeps/nptl/setxid.h: Likewise.
15126         * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
15127         * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
15128         * sysdeps/unix/sysv/linux/arm/Implies: New file.
15129         * sysdeps/unix/sysv/linux/hppa/Implies: New file.
15130         * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
15131         * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
15132         * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
15133         * sysdeps/unix/sysv/linux/m68k/Implies: New file.
15134         * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
15135         * sysdeps/unix/sysv/linux/mips/Implies: New file.
15136         * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
15137         * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
15138         * sysdeps/unix/sysv/linux/sh/Implies: New file.
15139         * sysdeps/unix/sysv/linux/sparc/Implies: New file.
15140         * sysdeps/unix/sysv/linux/tile/Implies: New file.
15141         * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
15142         * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
15143         * nptl/Makeconfig: Moved ...
15144         * sysdeps/nptl/Makeconfig: ... here.
15145         * nptl/configure: File removed.
15146         * nptl/ANNOUNCE: File removed.
15147         * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
15148         * sysdeps/unix/sysv/linux/configure: Regenerated.
15150         * nptl/Makefile (routines): Add libc_pthread_init,
15151         libc_multiple_threads, register-atfork and unregister-atfork.
15152         (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
15153         (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
15154         lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
15155         pthread-pi-defines.sym, structsem.sym.
15156         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
15157         (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
15158         [$(subdir) = nptl] (tests): Add tst-setgetname.
15159         * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
15160         * sysdeps/unix/sysv/linux/sigaction.c: Just include
15161         <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
15162         [!LIBC_SIGACTION]: Remove aliases.
15163         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
15164         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
15165         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
15166         * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
15167         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
15168         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
15169         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
15170         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
15171         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
15172         * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
15173         (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
15174         __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
15175         __libc_allocate_rtsig_private.
15176         * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
15177         * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
15178         * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
15179         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
15180         * sysdeps/unix/sysv/linux/sleep.c: Likewise.
15181         * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
15182         * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
15183         * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
15184         * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
15185         * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
15186         * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
15187         * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
15188         * nptl/internaltypes.h: ... here.
15189         * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
15190         * sysdeps/nptl/jmp-unwind.c: ... here.
15191         * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
15192         * nptl/libc-lowlevellock.c: ... here.
15193         * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
15194         * nptl/libc_multiple_threads.c: ... here.
15195         * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
15196         * nptl/libc_pthread_init.c: ... here.
15197         * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
15198         * nptl/lowlevelbarrier.sym: ... here.
15199         * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
15200         * nptl/lowlevelcond.sym: ... here.
15201         * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
15202         * nptl/lowlevellock.c: ... here.
15203         * nptl/lowlevellock.h: Moved ...
15204         * sysdeps/nptl/lowlevellock.h: ... here.
15205         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
15206         * nptl/lowlevelrobustlock.c: ... here.
15207         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
15208         * nptl/lowlevelrobustlock.sym: ... here.
15209         * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
15210         * nptl/lowlevelrwlock.sym: ... here.
15211         * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
15212         * nptl/pt-fork.c: ... here.
15213         * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
15214         * nptl/pthread-pi-defines.sym: ... here.
15215         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
15216         * nptl/pthread_attr_getaffinity.c: ... here.
15217         * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
15218         * nptl/pthread_attr_setaffinity.c: ... here.
15219         * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
15220         * nptl/pthread_mutex_cond_lock.c: ... here.
15221         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
15222         Update #include.
15223         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
15224         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
15225         * nptl/pthread_once.c: ... here, replacing old file.
15226         * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
15227         * nptl/pthread_yield.c: ... here.
15228         * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
15229         * nptl/register-atfork.c: ... here.
15230         * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
15231         * nptl/sem_post.c: ... here.
15232         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
15233         * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
15234         * nptl/sem_timedwait.c: ... here.
15235         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
15236         * nptl/sem_trywait.c: ... here.
15237         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
15238         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
15239         * nptl/sem_wait.c: ... here.
15240         * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
15241         * nptl/structsem.sym: ... here.
15242         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
15243         * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
15244         * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
15245         * nptl/unregister-atfork.c: ... here.
15246         * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
15247         * nptl/unwindbuf.sym: ... here.
15248         * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
15249         * sysdeps/nptl/fork.c: ... here.
15250         * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
15251         * sysdeps/nptl/fork.h: ... here.
15252         * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
15253         * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
15254         * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
15255         * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
15256         * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
15257         * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
15258         * sysdeps/unix/sysv/linux/getpid.c: ... here.
15259         * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
15260         * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
15261         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
15262         * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
15263         * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
15264         * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
15265         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
15266         * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
15267         * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
15268         * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
15269         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
15270         * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
15271         * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
15272         * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
15273         * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
15274         * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
15275         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
15276         * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
15277         * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
15278         * sysdeps/unix/sysv/linux/raise.c: ... here.
15279         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
15280         * sysdeps/unix/sysv/linux/timer_create.c: ... here.
15281         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
15282         * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
15283         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
15284         * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
15285         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
15286         * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
15287         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
15288         * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
15289         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
15290         * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
15291         * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
15292         * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
15293         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
15295 2014-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
15297         * sysdeps/generic/memcopy.h: Add comment for
15298         MEMCPY_OK_FOR_FWD_MEMMOVE.
15300 2014-07-04  Will Newton  <will.newton@linaro.org>
15302         * string/memchr.c: Merge from gnulib.
15303         [_LIBC]: Remove conditionals.
15304         (__ptr_t): Remove define.
15305         (LONG_MAX_32_BITS): Likewise.
15306         (LONG_MAX): Likewise.
15307         (MEMCHR): Use ANSI prototype and optimize algorithm.
15309         * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
15311 2014-07-03  Roland McGrath  <roland@hack.frob.com>
15313         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
15314         (lll_futex_timed_wait_bitset): Fix syscall argument count.
15316         * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
15317         Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
15318         in a bare environment with no <stdlib.h> installed.
15319         * sysdeps/nptl/configure: Regenerated.
15321         * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
15323         * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
15324         AC_EGREP_CPP for kernel header checks, so they only succeed if
15325         including <linux/version.h> actually works right.
15326         * sysdeps/unix/sysv/linux/configure: Regenerated.
15328         * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
15329         value so it's not diagnosed as unused.
15331         * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
15332         thing) with "ifeq ($(subdir),rt)".
15334 2014-07-03  Richard Henderson  <rth@redhat.com>
15336         * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
15337         * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
15338         include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
15340         * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
15341         (math_force_eval): New.
15343         * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
15344         * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
15346         * sysdeps/alpha/fpu/s_round.c: Remove file.
15347         * sysdeps/alpha/fpu/s_roundf.c: Remove file.
15349         * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
15350         (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
15351         * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
15352         (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
15353         (_dl_start, print_statistics): Likewise.
15354         * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
15355         HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
15357         * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
15358         * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
15359         * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
15360         * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
15361         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
15362         (HP_SMALL_TIMING_AVAIL): Define.
15363         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
15364         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
15365         (HP_SMALL_TIMING_AVAIL): Define.
15366         * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
15367         * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
15369         * sysdeps/aarch64/hp-timing.h: New file.
15371         * sysdeps/generic/hp-timing.h: Remove dead comment.
15372         * sysdeps/generic/hp-timing-common.h: New file.
15373         * sysdeps/alpha/hp-timing.h: Include it.
15374         (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
15375         * sysdeps/i386/i686/hp-timing.h: Likewise.
15376         * sysdeps/ia64/hp-timing.h: Likewise.
15377         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
15378         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
15379         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
15380         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
15381         * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
15382         (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
15383         (hp_timing_t): New.
15385         * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
15386         * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
15387         (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
15388         * elf/rtld.c (_dl_start_final): Likewise.
15389         * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
15390         * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
15391         * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
15392         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
15393         * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
15394         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
15395         (HP_TIMING_DIFF_INIT): Remove.
15396         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
15397         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
15398         (HP_TIMING_DIFF_INIT): Remove.
15399         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
15400         * sysdeps/i386/i686/hp-timing.c: Remove file.
15401         * sysdeps/x86_64/hp-timing.c: Remove file.
15402         * sysdeps/ia64/hp-timing.c: Remove file.
15403         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
15404         * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
15405         * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
15406         * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
15408         * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
15409         * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
15410         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
15411         * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
15412         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
15413         (HP_TIMING_ACCUM): Remove.
15414         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
15415         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
15416         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
15418         * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
15419         * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
15420         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
15421         * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
15422         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
15423         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
15424         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
15425         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
15427         * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
15429 2014-07-03  Maciej W. Rozycki  <macro@codesourcery.com>
15431         * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
15433 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
15435         Sync up with gettext.
15436         * intl/loadmsgcat.c: Define O_BINARY if not defined.
15437         [_MSC_VER]: Include malloc.h
15438         [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
15439         (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
15440         (_nl_load_domain): Open DOMAIN_FILE in binary mode.  Don't use
15441         TEMP_FAILURE_RETRY.  Cast return of alloca.
15442         [!_LIBC] Call gl_rwlock_init.
15443         [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
15445 2014-07-02  Roland McGrath  <roland@hack.frob.com>
15447         * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
15448         before checking its value.
15450 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
15452         * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
15454         * debug/memcpy_chk.c: Don't include pagecopy.h.
15455         * debug/mempcpy_chk.c: Likewise.
15456         * string/memcpy.c: Likewise.
15457         * string/memmove.c: Likewise.
15458         * sysdeps/powerpc/memmove.c: Likewise.
15459         * sysdeps/generic/memcopy.h: Include pagecopy.h.  Move
15460         definition of PAGE_COPY_FWD_MAYBE here...
15461         * sysdeps/generic/pagecopy.h: ... from here.
15462         * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
15464 2014-07-02  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
15465             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15467         * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
15468         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
15469         optimizations.
15470         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
15471         (__libc_ifunc_impl_list): Likewise.
15472         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
15473         multiarch strcat for PPC64.
15474         * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
15475         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
15477 2014-07-02  Roland McGrath  <roland@hack.frob.com>
15479         * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
15481 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
15483         * intl/loadmsgcat.c: Remove declaration of
15484         get_sysdep_segment_value.
15485         (get_sysdep_segment_value): Use ISO C style.
15486         (_nl_load_domain): Use ISO C style.  Get rid of redundant
15487         semicolon.  Fix typo and formatting in comment.
15488         (_nl_unload_domain): Use ISO C style.
15490         * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
15492 2014-07-02  Will Newton  <will.newton@linaro.org>
15494         * malloc/obstack.c: Merge from gnulib master.
15495         [HAVE_CONFIG_H]: Remove conditional code.
15496         [!_LIBC]: Include config.h.
15497         [!ELIDE_CODE]: Don't include inttypes.h, include
15498         stdint.h unconditionally.
15499         (print_and_abort): Mark as _Noreturn.
15500         (_obstack_allocated_p): Mark as __attribute_pure__.
15501         (obstack_free): Rename to __obstack_free.
15502         [!__attribute__]: Remove conditional code.
15503         * malloc/obstack.h: Merge from gnulib master.
15504         [__cplusplus]: Move conditional down.
15505         [!__attribute_pure__]: Define __attribute_pure__ here
15506         if it is not already defined.
15507         (_obstack_memory_used): Mark as __attribute_pure__.
15508         [!__obstack_free]: Define as obstack_free.
15509         [__GNUC__]: Remove check for ancient NeXT gcc.
15511 2014-07-02  Will Newton  <will.newton@linaro.org>
15512             Paul Eggert  <eggert@cs.ucla.edu>
15514         * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
15516 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
15518         * resolv/gethnamaddr.c: Add comment warning that the file is
15519         not maintained.
15521 2014-07-01  Carlos O'Donell  <carlos@redhat.com>
15523         * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
15524         entries.
15526         * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
15527         entry for aio_cancel and aio_cancel64.
15528         * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
15529         * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
15530         * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
15531         * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
15532         * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
15533         * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
15534         * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
15535         * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
15536         * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
15537         * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
15538         * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
15539         * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
15540         * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
15542 2014-07-01  Roland McGrath  <roland@hack.frob.com>
15544         * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
15545         * nptl/pthread_mutex_lock.c: Likewise.
15546         * nptl/pthread_mutex_timedlock.c: Likewise.
15547         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
15549 2014-07-01  Richard henderson  <rth@redhat.com>
15551         * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
15552         (__isnan, __isnanl): Remove.
15553         * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
15555         * sysdeps/alpha/fpu/libm-test-ulps: Update.
15557 2014-07-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
15559         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
15561 2014-07-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
15563         * resolv/nss_dns/dns-host.c (getanswer_r)
15564         [MULTI_PTRS_ARE_ALIASES]: Remove code.
15566 2014-07-01  Joseph Myers  <joseph@codesourcery.com>
15568         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
15569         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
15570         undefine.
15571         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
15572         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
15574 2014-07-01  Roland McGrath <roland@hack.frob.com>
15576         * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
15577         * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
15579         * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
15580         * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
15582         * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
15583         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
15584         ... here.
15585         * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
15586         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
15588         * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
15589         * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
15590         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
15591         * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
15593         * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
15594         * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
15595         * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
15596         * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
15597         * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
15598         Moved ...
15599         * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
15600         ... here.
15601         * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
15602         * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
15603         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
15604         * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
15605         * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
15606         * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
15607         * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
15608         * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
15609         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
15610         * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
15611         * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
15612         * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
15613         * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
15614         * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
15615         * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
15616         * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
15617         * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
15618         * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
15619         * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
15620         * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
15621         ... here.
15622         * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
15623         * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
15624         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
15625         * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
15626         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
15627         * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
15628         * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
15629         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
15631 2014-07-01  David Holsgrove  <david.holsgrove@xilinx.com>
15633         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
15634         * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
15635         * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
15636         Add sysdep.
15638 2014-06-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15640         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15642 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
15644         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
15645         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
15647         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
15649         * sysdeps/arm/libm-test-ulps: Regenerated.
15651 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
15652             Roland McGrath <roland@hack.frob.com>
15654         * test-skeleton.c (signal_handler): Kill the whole process group
15655         before killing the child individually.
15656         (main): Report any failure on `setpgid'.
15658 2014-06-30  Roland McGrath  <roland@hack.frob.com>
15660         * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
15661         from _TLS_H to _ARM_NPTL_TLS_H.
15662         (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
15663         * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
15665 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
15667         [BZ #16539]
15668         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
15669         (__expm1l): Return argument unchanged when small but not
15670         subnormal.
15672         * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
15673         include macro name.
15674         (_FP_UNPACK_RAW_1_P): Likewise.
15675         (_FP_PACK_RAW_1): Likewise.
15676         (_FP_PACK_RAW_1_P): Likewise.
15677         (_FP_MUL_MEAT_1_wide): Likewise.
15678         (_FP_MUL_MEAT_DW_1_hard): Likewise.
15679         (_FP_MUL_MEAT_1_hard): Likewise.
15680         (_FP_DIV_MEAT_1_imm): Likewise.
15681         (_FP_DIV_MEAT_1_udiv_norm): Likewise.
15682         (_FP_DIV_MEAT_1_udiv): Likewise.
15683         * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
15684         (_FP_UNPACK_RAW_2): Likewise.
15685         (_FP_UNPACK_RAW_2_P): Likewise.
15686         (_FP_PACK_RAW_2): Likewise.
15687         (_FP_PACK_RAW_2_P): Likewise.
15688         (_FP_MUL_MEAT_DW_2_wide): Likewise.
15689         (_FP_MUL_MEAT_2_wide): Likewise.
15690         (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
15691         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
15692         (_FP_MUL_MEAT_DW_2_gmp): Likewise.
15693         (_FP_MUL_MEAT_2_gmp): Likewise.
15694         (_FP_DIV_MEAT_2_udiv): Likewise.
15695         * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
15696         (_FP_FRAC_SRL_4): Likewise.
15697         (_FP_FRAC_SRST_4): Likewise.
15698         (_FP_FRAC_SRS_4): Likewise.
15699         (_FP_UNPACK_RAW_4): Likewise.
15700         (_FP_UNPACK_RAW_4_P): Likewise.
15701         (_FP_PACK_RAW_4): Likewise.
15702         (_FP_PACK_RAW_4_P): Likewise.
15703         (_FP_MUL_MEAT_DW_4_wide): Likewise.
15704         (_FP_MUL_MEAT_4_wide): Likewise.
15705         (_FP_MUL_MEAT_4_gmp): Likewise.
15706         (umul_ppppmnnn): Likewise.
15707         (_FP_DIV_MEAT_4_udiv): Likewise.
15708         (__FP_FRAC_ADD_4): Likewise.
15709         (__FP_FRAC_SUB_3): Likewise.
15710         (__FP_FRAC_SUB_4): Likewise.
15711         (__FP_FRAC_DEC_3): Likewise.
15712         (__FP_FRAC_DEC_4): Likewise.
15713         (__FP_FRAC_ADDI_4): Likewise.
15714         * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
15715         (_FP_FRAC_SRL_8): Likewise.
15716         (_FP_FRAC_SRS_8): Likewise.
15718         * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
15719         include macro name.
15720         (FP_UNPACK_RAW_EP): Likewise.
15721         (FP_PACK_RAW_E): Likewise.
15722         (FP_PACK_RAW_EP): Likewise.
15723         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
15724         (_FP_ISSIGNAN): Likewise.
15725         (_FP_ADD_INTERNAL): Likewise.
15726         (_FP_FMA): Likewise.
15727         (_FP_CMP): Likewise.
15728         (_FP_SQRT): Likewise.
15729         (_FP_TO_INT): Likewise.
15730         (_FP_FROM_INT): Likewise.
15731         (FP_EXTEND): Likewise.
15732         (_FP_DIV_MEAT_N_loop): Likewise.
15734 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
15736         * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
15737         throughout.
15739 2014-06-29  Joseph Myers  <joseph@codesourcery.com>
15741         [BZ #17097]
15742         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
15743         result with correct sign in case of exponents that produce
15744         overflow except for X very close to 1.
15746 2014-06-28  Paul Eggert  <eggert@cs.ucla.edu>
15748         mktime: merge #if/#ifdef usage from glibc
15749         * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
15750         as that works with both Glibc's and Gnulib's style.
15751         See thread starting at Siddhesh Poyarekar's bug report at:
15752         http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
15754 2014-06-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
15756         * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
15757         * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
15758         * sysdeps/tile/tilegx/memmove.c: Remove file.
15760 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
15762         * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
15763         abi-name definition.
15764         * scripts/soversions.awk: Do not handle or generate ABI lines.
15765         * shlib-versions: Remove ABI entries.
15766         * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
15767         * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
15769 2014-06-27  Roland McGrath  <roland@hack.frob.com>
15771         * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
15772         * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
15773         * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
15774         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
15775         * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
15776         * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
15777         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
15778         Moved ...
15779         * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
15780         ... here.
15781         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
15782         * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
15783         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
15784         * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
15785         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
15786         * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
15787         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
15788         * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
15789         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
15790         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
15791         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
15792         * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
15793         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
15794         Moved ...
15795         * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
15796         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
15797         * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
15798         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
15799         * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
15800         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
15801         Moved ...
15802         * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
15803         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
15804         Moved ...
15805         * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
15806         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
15807         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
15808         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
15809         Moved ...
15810         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
15811         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
15812         * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
15813         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
15814         * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
15815         * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
15816         * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
15817         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
15818         Moved ...
15819         * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
15820         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
15821         * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
15822         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
15823         Moved ...
15824         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
15825         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
15826         Moved ...
15827         * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
15828         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
15829         * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
15830         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
15831         Moved ...
15832         * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
15833         ... here.
15834         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
15835         Identical file removed.
15836         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
15837         Moved ...
15838         * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
15839         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
15840         Identical file removed.
15841         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
15842         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
15843         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
15844         Moved ...
15845         * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
15846         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
15847         Identical file removed.
15848         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
15849         * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
15850         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
15851         Identical file removed.
15852         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
15853         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
15854         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
15855         Identical file removed.
15856         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
15857         * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
15858         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
15859         Identical file removed.
15860         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
15861         Moved ...
15862         * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
15863         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
15864         Identical file removed.
15865         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
15866         Moved ...
15867         * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
15868         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
15869         * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
15870         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
15871         Identical file removed.
15872         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
15873         Moved ...
15874         * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
15875         ... here.
15876         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
15877         Identical file removed.
15878         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
15879         Moved ...
15880         * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
15881         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
15882         Identical file removed.
15883         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
15884         Moved ...
15885         * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
15886         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
15887         * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
15888         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
15889         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
15890         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
15891         Moved ...
15892         * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
15893         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
15894         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
15896         * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
15897         SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
15898         * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
15899         * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
15900         * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
15902 2014-06-27  Arjun Shankar  <arjun.is@lostca.se>
15904         [BZ #17092]
15905         * nscd/nscd.c (monitor_child): Return exit status of child
15906         instead of return value from wait syscall.
15908 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
15910         * configure.ac (libc_commonpagesize): Remove variable.
15911         (libc_relro_required): Likewise.
15912         (libc_cv_z_relro): Remove configure test.
15913         * configure: Regenerated.
15914         * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
15915         variable.
15916         (libc_relro_required): Likewise.
15917         * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
15918         (libc_relro_required): Likewise.
15919         * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
15920         (libc_relro_required): Likewise.
15921         * sysdeps/arm/preconfigure: Regenerated.
15922         * sysdeps/ia64/preconfigure: Remove file.
15923         * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
15924         variable.
15925         (libc_relro_required): Likewise.
15927         [BZ #16561]
15928         [BZ #16562]
15929         * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
15930         (__ieee754_yn): Set FE_TONEAREST mode internally and then
15931         recompute overflowing results in original rounding mode.
15932         * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
15933         (__ieee754_ynf): Set FE_TONEAREST mode internally and then
15934         recompute overflowing results in original rounding mode.
15935         * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
15936         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
15937         recompute overflowing results in original rounding mode.
15938         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
15939         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
15940         recompute overflowing results in original rounding mode.
15941         * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
15942         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
15943         recompute overflowing results in original rounding mode.
15944         * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
15945         (libc_feholdsetround_ctx): New macro.
15946         * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
15947         * sysdeps/i386/fpu/libm-test-ulps: Update.
15948         * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
15950 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
15952         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
15953         [__PIC__] (PSEUDO): Use name of _nocancel entry point in
15954         corresponding .cpsetup call.
15956 2014-06-26  Roland McGrath  <roland@hack.frob.com>
15958         * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
15959         * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
15960         * sysdeps/arm/Makefile [$(subdir) = csu]
15961         (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
15962         (static-only-routines): Add aeabi_read_tp here.
15963         (shared-only-routines): Add libc-aeabi_read_tp here.
15964         (CFLAGS-libc-start.c): Add -fexceptions here.
15965         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
15966         (sysdep_routines, static-only-routines, shared-only-routines):
15967         Don't add to these here.
15968         (CFLAGS-libc-start.c): Likewise.
15970         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
15971         * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
15972         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
15973         * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
15974         * sysdeps/arm/Makefile [$(subdir) = rt]
15975         (librt-sysdep_routines, librt-shared-only-routines):
15976         Append rt-aeabi_unwind_cpp_pr1 here.
15977         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
15978         (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
15979         * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
15980         (libpthread-sysdep_routines, libpthread-shared-only-routines):
15981         Append nptl-aeabi_unwind_cpp_pr1 here.
15982         (tests): Filter out tst-cleanupx4 here.
15983         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
15984         (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
15985         Don't do those here.
15987 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
15989         * scripts/list-sources.sh: Do not handle ports specially.
15991 2014-06-26  Roland McGrath  <roland@hack.frob.com>
15993         * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
15994         * sysdeps/arm/feupdateenv.c: Likewise.
15996         * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
15998 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
16000         * manual/texinfo.tex: Update to version 2014-05-05.10 with
16001         trailing whitespace removed.
16002         * scripts/config.guess: Update to version 2014-03-23.
16003         * scripts/config.sub: Update to version 2014-05-01
16004         * scripts/install-sh: Update to version 2013-12-25.23.
16005         * scripts/move-if-change: Update from gnulib.
16007 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
16009         * debug/memmove_chk.c: Remove pagecopy.h include.
16011 2014-06-26  Paul Eggert  <eggert@cs.ucla.edu>
16013         * time/mktime.c (leapyear): Remove inline keyword.  The code is now
16014         identical to gnulib mktime.
16016 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
16018         * configure.ac: Do not test for machine being rs6000.  Do not test
16019         for powerpc*-*soft.
16020         * configure: Regenerated.
16022         [BZ #11505]
16023         * configure.ac (libc_cv_asm_cfi_directives): Remove configure
16024         test.
16025         * configure: Regenerated.
16026         * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
16027         * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
16028         Remove configure test.
16029         * sysdeps/arm/configure: Regenerated.
16030         * sysdeps/nptl/configure.ac: Do not check
16031         libc_cv_asm_cfi_directives.
16032         * sysdeps/nptl/configure: Regenerated.
16033         * sysdeps/x86_64/nptl/configure.ac: Remove file.
16034         * sysdeps/x86_64/nptl/configure: Remove generated file.
16035         * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
16036         unconditional.
16037         [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
16039 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
16041         * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
16042         * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
16043         (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
16044         it is defined.
16046         * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
16047         instead of whether it is defined.
16048         * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
16049         * sysdeps/hppa/dl-machine.h: Likewise.
16050         * sysdeps/ia64/dl-machine.h: Likewise.
16051         * sysdeps/m68k/dl-machine.h: Likewise.
16052         * sysdeps/microblaze/dl-machine.h: Likewise.
16053         * sysdeps/mips/dl-machine.: Likewise.
16054         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
16055         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
16056         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
16057         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
16058         * sysdeps/sh/dl-machine.h: Likewise.
16059         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
16060         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
16061         * sysdeps/tile/dl-machine.h: Likewise.
16062         * sysdeps/x86_64/dl-machine.h: Likewise.
16064         * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
16065         code.
16066         (verify_persistent_db): Likewise.
16068 2014-06-26  Roland McGrath  <roland@hack.frob.com>
16070         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
16071         * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
16072         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
16073         * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
16074         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
16075         Moved ...
16076         * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
16077         ... here.
16078         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
16079         * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
16080         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
16081         Identical file removed.
16082         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
16083         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
16084         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
16085         * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
16086         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
16087         * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
16088         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
16089         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
16090         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
16091         * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
16092         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
16093         Moved ...
16094         * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
16095         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
16096         * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
16097         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
16098         * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
16099         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
16100         Moved ...
16101         * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
16102         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
16103         * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
16104         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
16105         * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
16106         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
16107         Identical file removed.
16108         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
16109         * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
16110         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
16111         * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
16112         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
16113         Moved ...
16114         * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
16115         ... here.
16116         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
16117         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
16118         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
16119         * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
16120         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
16121         * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
16122         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
16123         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
16124         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
16125         * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
16126         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
16127         Moved ...
16128         * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
16129         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
16130         Moved ...
16131         * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
16132         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
16133         * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
16134         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
16135         Moved ...
16136         * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
16137         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
16138         * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
16140         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
16141         folded into ...
16142         * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
16143         * sysdeps/unix/sysv/linux/s390/Versions
16144         (libpthread: GLIBC_2.19): New version set.
16145         * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
16146         * sysdeps/unix/sysv/linux/s390/s390-64/Versions
16147         (librt: GLIBC_2.3.3): New version set.
16148         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
16149         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
16150         * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
16151         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
16152         * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
16153         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
16154         * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
16155         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
16156         * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
16157         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
16158         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
16159         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
16160         * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
16161         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
16162         * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
16163         * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
16164         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
16165         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
16166         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
16167         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
16168         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
16169         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
16170         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
16171         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
16172         * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
16173         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
16174         * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
16175         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
16176         * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
16177         * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
16178         * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
16179         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
16180         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
16181         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
16182         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
16183         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
16184         * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
16185         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
16186         * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
16187         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
16188         * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
16189         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
16190         * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
16191         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
16192         * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
16194         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
16195         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
16196         (__libc_vfork): Define the function under this name.
16197         [!NOT_IN_libc] (__vfork): Make this an alias.
16198         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
16199         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
16200         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
16201         (__libc_vfork): Define the function under this name.
16202         [!NOT_IN_libc] (__vfork): Make this an alias.
16203         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
16204         * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
16205         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
16206         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
16207         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
16208         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
16210         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
16211         code that was previously under [RESET_PID].
16212         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
16213         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
16214         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
16216         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
16217         * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
16218         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
16219         * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
16220         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
16221         * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
16222         * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
16223         * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
16224         * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
16225         * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
16226         * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
16227         Moved ...
16228         * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
16229         * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
16230         * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
16231         * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
16232         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
16233         * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
16234         * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
16235         * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
16236         * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
16237         * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
16238         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
16239         * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
16240         * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
16241         * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
16242         * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
16243         * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
16244         * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
16245         * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
16246         * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
16247         * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
16248         * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
16249         * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
16250         * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
16251         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
16252         * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
16253         * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
16254         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
16255         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
16256         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
16258 2014-06-25  Roland McGrath  <roland@hack.frob.com>
16260         * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
16261         that was previously under [RESET_PID].
16262         * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
16264 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
16266         * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
16267         not undefine and redefine.
16268         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
16269         [O_CLOEXEC]: Make code unconditional.
16270         (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
16271         * sysdeps/unix/sysv/linux/shm_open.c: Do not include
16272         <kernel-features.h>.
16273         [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
16274         conditional variable definition.
16275         (shm_open) [O_CLOEXEC]: Make code unconditional.
16276         (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
16277         code.
16279         * configure.ac (USE_REGPARMS): Don't define here.
16280         * configure: Regenerated.
16281         * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
16282         * sysdeps/i386/configure: Regenerated.
16284         * nptl/createthread.c: Don't include kernel-features.h.
16285         * nptl/pthread_cancel.c: Likewise.
16286         * nptl/pthread_condattr_setclock.c: Likewise.
16287         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
16288         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
16289         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
16290         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
16291         * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
16292         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
16293         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
16294         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
16295         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
16296         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
16297         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
16298         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
16299         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
16300         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
16301         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
16302         * nscd/gai.c: Likewise.
16303         * nss/nss_db/db-open.c: Likewise.
16304         * sysdeps/generic/ldsodefs.h: Likewise.
16305         * sysdeps/sh/nptl/tls.h: Likewise.
16306         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
16307         * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
16308         * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
16309         * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
16310         * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
16311         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
16312         * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
16313         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
16314         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
16315         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
16316         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
16317         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
16318         * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
16319         * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
16320         * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
16321         * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
16322         * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
16323         * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
16324         * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
16325         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
16326         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
16327         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
16328         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
16329         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
16330         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
16331         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
16332         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
16333         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
16334         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
16335         * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
16336         * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
16337         * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
16338         * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
16339         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
16340         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
16341         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
16342         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
16343         * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
16344         * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
16345         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
16346         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
16347         * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
16348         * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
16349         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
16350         * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
16351         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
16352         * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
16353         * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
16354         * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
16355         * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
16356         * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
16357         * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
16358         * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
16359         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
16360         * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
16361         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
16362         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
16363         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
16364         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
16365         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
16366         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
16367         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
16368         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
16369         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
16370         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
16371         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
16372         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
16373         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
16374         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
16375         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
16376         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
16377         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
16378         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
16379         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
16380         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
16381         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
16382         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
16383         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
16384         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
16385         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
16386         * sysdeps/unix/sysv/linux/pread.c: Likewise.
16387         * sysdeps/unix/sysv/linux/pread64.c: Likewise.
16388         * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
16389         * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
16390         * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
16391         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
16392         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
16393         * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
16394         * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
16395         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
16396         * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
16397         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
16398         * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
16399         * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
16400         * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
16401         * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
16402         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
16403         * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
16404         * sysdeps/unix/sysv/linux/syslog.c: Likewise.
16405         * sysdeps/unix/sysv/linux/system.c: Likewise.
16406         * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
16407         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
16408         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
16409         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
16410         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
16411         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
16412         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
16414         * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
16415         * configure: Regenerated.
16416         * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
16418         * configure.ac (base_machine): Do not set specially for particular
16419         machines here.
16420         * configure: Regenerated.
16421         * sysdeps/powerpc/preconfigure: Move machine and base_machine
16422         settings from configure.ac.
16423         * sysdeps/i386/preconfigure: New file.
16424         * sysdeps/s390/preconfigure: Likewise.
16425         * sysdeps/sh/preconfigure: Likewise.
16426         * sysdeps/sparc/preconfigure: Likewise.
16428 2014-06-25  Roland McGrath  <roland@hack.frob.com>
16430         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
16431         * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
16432         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
16433         * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
16434         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
16435         * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
16436         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
16437         * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
16438         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
16439         * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
16440         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
16441         * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
16442         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
16443         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
16444         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
16445         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
16446         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
16447         * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
16448         * sysdeps/sparc/sparc64/Makefile: ... appended here.
16450         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
16451         * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
16452         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
16453         * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
16454         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
16455         * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
16456         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
16457         * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
16458         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
16459         * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
16460         * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
16461         * sysdeps/sparc/sparc32/sem_post.c: ... here.
16462         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
16463         * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
16464         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
16465         * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
16466         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
16467         * sysdeps/sparc/sparc32/sem_wait.c: ... here.
16468         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
16469         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
16470         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
16471         * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
16472         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
16473         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
16474         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
16475         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
16476         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
16477         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
16478         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
16479         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
16480         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
16481         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
16482         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
16483         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
16484         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
16485         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
16486         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
16487         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
16489         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
16490         * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
16491         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
16492         * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
16493         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
16494         Moved ...
16495         * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
16496         ... here.
16497         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
16498         * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
16499         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
16500         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
16501         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
16502         Moved ...
16503         * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
16504         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
16505         * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
16506         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
16507         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
16508         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
16509         * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
16510         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
16511         Moved ...
16512         * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
16513         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
16514         Moved ...
16515         * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
16516         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
16517         * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
16518         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
16519         Moved ...
16520         * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
16521         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
16522         * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
16523         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
16524         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
16525         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
16526         * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
16527         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
16528         * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
16529         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
16530         Moved ...
16531         * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
16532         ... here.
16533         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
16534         * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
16535         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
16536         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
16537         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
16538         Moved ...
16539         * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
16540         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
16541         * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
16542         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
16543         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
16544         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
16545         * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
16546         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
16547         Moved ...
16548         * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
16549         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
16550         Moved ...
16551         * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
16552         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
16553         * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
16554         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
16555         Moved ...
16556         * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
16557         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
16558         * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
16559         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
16560         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
16562 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
16564         * timezone/checktab.awk: Update from tzcode 2014e.
16565         * timezone/private.h: Likewise.
16566         * timezone/tzfile.h: Likewise.
16567         * timezone/zdump.c: Likewise.
16568         * timezone/zic.c: Likewise.
16570         * sysdeps/unix/sysv/linux/kernel-features.h
16571         (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
16572         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
16573         [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
16574         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
16575         Remove conditional code.
16577 2014-06-25  Will Newton  <will.newton@linaro.org>
16579         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
16580         (_dl_arm_cap_flags): Add HWCAP2 values.
16581         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
16582         (_DL_HWCAP_COUNT): Increase to 37.
16583         (_DL_HWCAP_LAST): New define.
16584         (_DL_HWCAP2_LAST): New define.
16585         (_dl_procinfo): Add support for printing
16586         AT_HWCAP2 entries.
16587         (_dl_string_hwcap): Use _dl_hwcap_string.
16589 2014-06-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16591         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16593 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
16595         * README: Do not mention ports directory.
16597         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
16598         Remove macro.
16599         * sysdeps/unix/sysv/linux/futimes.c: Do not include
16600         <kernel-features.h>.
16601         [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
16602         conditional variable definition.
16603         (__futimes): Update comment.
16604         (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
16605         (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
16607         [BZ #16560]
16608         * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
16609         arguments close to 0.
16610         * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
16611         Likewise.
16612         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
16613         Likewise.
16614         * math/auto-libm-test-in: Add more tests of exp10.
16615         * math/auto-libm-test-out: Regenerated.
16616         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
16618         * sysdeps/unix/sysv/linux/kernel-features.h
16619         (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
16620         * sysdeps/unix/sysv/linux/readv.c: Do not include
16621         <kernel-features.h>.
16622         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
16623         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
16624         (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
16625         unconditional.
16626         (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
16627         conditional code.
16628         * sysdeps/unix/sysv/linux/writev.c: Do not include
16629         <kernel-features.h>.
16630         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
16631         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
16632         (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
16633         unconditional.
16634         (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
16635         conditional code.
16637 2014-06-25  Will Newton  <will.newton@linaro.org>
16639         * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
16640         comment changes throughout the file.  Remove checks
16641         for HAVE_*_H definitions that are not required.
16642         (__gen_tempname): Call abort if an unknown kind value is
16643         passed.
16645 2014-06-25  Andreas Schwab  <schwab@suse.de>
16647         [BZ #17086]
16648         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
16649         scalbln, scalblnf, scalblnl in libc.
16651 2014-06-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
16653         [BZ #17086]
16654         * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
16655         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
16656         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
16658 2014-06-24  Roland McGrath  <roland@hack.frob.com>
16660         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
16661         * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
16662         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
16663         * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
16664         Update #include.
16665         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
16666         * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
16667         Update #include.
16668         * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
16669         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
16670         * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
16671         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
16672         * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
16673         * sysdeps/x86/bits/pthreadtypes.h: ... here.
16674         * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
16675         * sysdeps/x86/bits/semaphore.h: ... here.
16676         * sysdeps/x86/nptl/elide.h: Moved ...
16677         * sysdeps/x86/elide.h: ... here.
16678         * sysdeps/x86_64/nptl/Implies: File removed.
16679         * sysdeps/i386/nptl/Implies: File removed.
16681 2014-06-24  Joseph Myers  <joseph@codesourcery.com>
16683         [BZ #16539]
16684         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
16685         return the argument for normal arguments with exponent below -64.
16686         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
16687         Likewise.
16688         * math/auto-libm-test-in: Add another test of expm1.
16689         * math/auto-libm-test-out: Regenerated.
16691         [BZ #16287]
16692         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
16693         calling __erfcl for arguments at least 16.
16694         * math/auto-libm-test-in: Add more tests of erf.
16695         * math/auto-libm-test-out: Regenerated.
16697         * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
16698         individual architectures.
16699         * sysdeps/unix/sysv/linux/configure: Regenerated.
16700         * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
16701         * sysdeps/unix/sysv/linux/i386/configure: New generated file.
16702         * sysdeps/unix/sysv/linux/powerpc/configure.ac
16703         (ldd_rewrite_script): Define variable.
16704         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
16705         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
16706         file.
16707         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
16708         generated file.
16709         * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
16710         * sysdeps/unix/sysv/linux/s390/configure: New generated file.
16711         * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
16712         * sysdeps/unix/sysv/linux/sh/configure: New generated file.
16713         * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
16714         * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
16715         * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
16716         * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
16718 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
16720         [BZ #17084]
16721         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
16722         Rename member __data.d to __data.__elision_data.
16724 2014-06-24  Wilco  <wdijkstr@arm.com>
16726         * NEWS: Add 16918 to fixed bug list.
16728 2014-06-24  Wilco  <wdijkstr@arm.com>
16730         * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
16732 2014-06-24  Wilco  <wdijkstr@arm.com>
16734         * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
16735         * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
16736         (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
16737         (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
16738         (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
16739         * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
16740         * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
16741         Use _FPU_MASK_RM.
16743 2014-06-24  Wilco  <wdijkstr@arm.com>
16745         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
16747 2014-06-24  Wilco  <wdijkstr@arm.com>
16749         * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
16750         * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
16751         * sysdeps/arm/fesetround.c (fesetround): Remove space.
16752         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
16754 2014-06-24  Wilco  <wdijkstr@arm.com>
16756         [BZ #16918]
16757         * sysdeps/arm/feupdateenv.c (feupdateenv):
16758         Rewrite to reduce FPSCR accesses and fix return value.
16760 2014-06-24  Wilco  <wdijkstr@arm.com>
16762         * sysdeps/arm/fclrexcpt.c (feclearexcept):
16763         Optimize to avoid unnecessary FPSCR writes.
16764         * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
16765         * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
16766         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
16767         * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
16769 2014-06-24  Wilco  <wdijkstr@arm.com>
16771         * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
16772         * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
16773         * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
16774         * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
16775         Call libc_fetestexcept_vfp.
16776         * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
16777         * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
16778         __SOFTFP__ ifdef so that they can be built for softfp.
16780 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
16782         * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
16783         argument type signed char.
16785         * Makerules (check-abi): Dump diff of symlist if the test
16786         fails.
16788 2014-06-23  Roland McGrath  <roland@hack.frob.com>
16790         * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
16791         using abort.
16793         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
16794         Remove unused variable ST.
16796 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
16798         [BZ #16354]
16799         [BZ #17061]
16800         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
16801         small arguments before calling __expm1.
16802         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
16803         small arguments before calling __expm1f.
16804         * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
16805         small arguments before calling __expm1l.
16806         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
16807         Likewise.
16808         * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
16809         * math/auto-libm-test-in: Add more cosh tests.  Do not allow
16810         spurious underflow for some cosh tests.
16811         * math/auto-libm-test-out: Regenerated.
16812         * sysdeps/i386/fpu/libm-test-ulps: Update.
16814         [BZ #17050]
16815         * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
16816         (__ieee754_y1): Set errno if return value overflows.
16817         * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
16818         (__ieee754_y1f): Set errno if return value overflows.
16819         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
16820         (__ieee754_y1l): Set errno if return value overflows.
16821         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
16822         (__ieee754_y1l): Set errno if return value overflows.
16823         * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
16824         * math/auto-libm-test-out: Regenerated.
16826         * math/gen-auto-libm-tests.c: Document use of
16827         ignore-zero-inf-sign.
16828         (input_flag_type): Add value flag_ignore_zero_inf_sign.
16829         (input_flags): Add ignore-zero-inf-sign.
16830         (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
16831         * math/gen-libm-test.pl (generate_testfile): Handle
16832         ignore-zero-inf-sign.
16833         * math/auto-libm-test-in: Mark some cpow tests with
16834         ignore-zero-inf-sign and some with xfail-rounding.
16835         * math/auto-libm-test-out: Regenerated.
16836         * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
16837         * sysdeps/i386/fpu/libm-test-ulps: Update.
16838         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16840         [BZ #16315]
16841         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
16842         overflowing or underflowing operations take place with sign of
16843         result.
16844         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
16845         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
16846         * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
16847         (__ieee754_pow): Recompute overflowing and underflowing results in
16848         original rounding mode.
16849         * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
16850         (__powl_helper): Allow negative argument X and scale negated value
16851         as needed.  Avoid passing value outside [-1, 1] to f2xm1.
16852         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
16853         overflowing or underflowing operations take place with sign of
16854         result.
16855         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
16856         Include <math.h>.
16857         * math/auto-libm-test-in: Add more tests of pow.
16858         * math/auto-libm-test-out: Regenerated.
16859         * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
16860         (pow_tonearest_test_data): Remove.
16861         (pow_test_tonearest): Likewise.
16862         (pow_towardzero_test_data): Likewise.
16863         (pow_test_towardzero): Likewise.
16864         (pow_downward_test_data): Likewise.
16865         (pow_test_downward): Likewise.
16866         (pow_upward_test_data): Likewise.
16867         (pow_test_upward): Likewise.
16868         (main): Don't call removed functions.
16869         * sysdeps/i386/fpu/libm-test-ulps: Update.
16870         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16872 2014-06-23  Roland McGrath  <roland@hack.frob.com>
16874         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
16875         Moved ...
16876         * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
16877         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
16878         Moved ...
16879         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
16880         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
16881         Moved ...
16882         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
16883         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
16884         Moved ...
16885         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
16886         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
16887         File removed.
16888         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
16889         File removed.
16890         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
16891         File removed.
16892         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
16893         File removed.
16894         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
16895         File removed.
16896         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
16897         File removed.
16898         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
16899         File removed.
16900         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
16901         File removed.
16902         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
16903         File removed.
16904         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
16905         File removed.
16906         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
16907         File removed.
16908         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
16909         File removed.
16910         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
16911         Moved ...
16912         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
16913         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
16914         Moved ...
16915         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
16916         ... here.
16917         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
16918         Moved ...
16919         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
16920         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
16921         Moved ...
16922         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
16923         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
16924         Moved ...
16925         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
16926         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
16927         Moved ...
16928         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
16929         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
16930         Moved ...
16931         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
16932         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
16933         Moved ...
16934         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
16935         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
16936         Moved ...
16937         * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
16938         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
16939         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
16940         ... here.
16941         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
16942         Moved ...
16943         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
16944         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
16945         Moved ...
16946         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
16947         ... here.
16948         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
16949         Moved ...
16950         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
16951         ... here.
16952         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
16953         Moved ...
16954         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
16955         ... here.
16956         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
16957         Moved ...
16958         * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
16959         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
16960         Moved ...
16961         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
16962         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
16963         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
16964         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
16965         Moved ...
16966         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
16967         ... here.
16968         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
16969         Moved ...
16970         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
16971         ... here.
16972         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
16973         Moved ...
16974         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
16975         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
16976         Moved ...
16977         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
16978         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
16979         Moved ...
16980         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
16981         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
16982         Moved ...
16983         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
16984         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
16985         Moved ...
16986         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
16987         ... here.
16988         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
16989         Moved ...
16990         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
16991         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
16992         Moved ...
16993         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
16994         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
16995         Moved ...
16996         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
16997         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
16998         Moved ...
16999         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
17000         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
17001         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
17002         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
17003         Moved ...
17004         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
17005         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
17006         Moved ...
17007         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
17008         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
17009         Moved ...
17010         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
17011         ... here.
17012         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
17013         Moved ...
17014         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
17015         ... here.
17016         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
17017         Moved ...
17018         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
17019         ... here.
17020         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
17021         Moved ...
17022         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
17023         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
17024         Moved ...
17025         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
17026         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
17027         Moved ...
17028         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
17029         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
17030         Moved ...
17031         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
17032         ... here.
17033         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
17034         Moved ...
17035         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
17036         ... here.
17037         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
17038         Moved ...
17039         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
17040         ... here.
17041         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
17042         Moved ...
17043         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
17044         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
17045         Moved ...
17046         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
17048 2014-06-23  Will Newton  <will.newton@linaro.org>
17049             Wilco  <wdijkstr@arm.com>
17051         * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
17052         implementation.  Include get-rounding-mode.h.
17053         [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
17054         [!libc_feholdsetround_noex_ctx]: Define
17055         libc_feholdsetround_noex_ctx.
17056         [!libc_feholdsetround_noexf_ctx]: Define
17057         libc_feholdsetround_noexf_ctx.
17058         [!libc_feholdsetround_noexl_ctx]: Define
17059         libc_feholdsetround_noexl_ctx.
17060         (libc_feholdsetround_ctx): New function.
17061         (libc_feresetround_ctx): New function.
17062         (libc_feholdsetround_noex_ctx): New function.
17063         (libc_feresetround_noex_ctx): New function.
17065 2014-06-23  Roland McGrath  <roland@hack.frob.com>
17067         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
17068         * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
17069         * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
17070         * sysdeps/mips/nptl/bits/semaphore.h: ... here.
17071         * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
17072         * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
17074         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
17075         * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
17076         * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
17077         * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
17078         * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
17079         * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
17080         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
17081         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
17082         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
17083         * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
17084         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
17085         Moved ...
17086         * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
17087         ... here.
17088         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
17089         * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
17090         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
17091         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
17092         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
17093         Moved ...
17094         * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
17095         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
17096         * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
17097         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
17098         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
17099         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
17100         * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
17101         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
17102         Moved ...
17103         * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
17104         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
17105         Moved ...
17106         * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
17107         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
17108         * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
17109         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
17110         Moved ...
17111         * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
17112         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
17113         * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
17114         * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
17115         * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
17116         * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
17117         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
17118         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
17119         * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
17120         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
17121         Moved ...
17122         * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
17123         ... here.
17124         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
17125         * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
17126         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
17127         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
17128         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
17129         * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
17130         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
17131         * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
17132         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
17133         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
17134         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
17135         * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
17136         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
17137         Moved ...
17138         * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
17139         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
17140         * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
17141         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
17142         * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
17143         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
17144         Moved ...
17145         * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
17146         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
17147         * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
17148         * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
17149         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
17151         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
17152         * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
17153         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
17154         * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
17155         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
17156         * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
17157         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
17158         * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
17159         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
17160         * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
17161         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
17162         * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
17163         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
17164         * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
17165         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
17166         * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
17167         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
17168         * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
17169         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
17170         * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
17171         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
17172         * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
17173         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
17174         * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
17175         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
17176         * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
17177         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
17178         * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
17180 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
17182         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
17183         (FALLOC_FL_COLLAPSE_RANGE): New macro.
17184         [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
17185         * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
17186         (IPV6_PMTUDISC_INTERFACE): Likewise.
17187         (IPV6_PMTUDISC_OMIT): Likewise.
17189 2014-06-23  Andreas Schwab  <schwab@suse.de>
17191         * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
17192         Remove unused errout label.
17194 2014-06-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17196         * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
17197         macro: hardware supports Vector Crypto instructions.
17199 2014-06-23  Will Newton  <will.newton@linaro.org>
17201         * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
17202         rather than __builtin_expect.
17204         * elf/dl-lookup.c (undefined_msg): Remove variable.
17205         (_dl_lookup_symbol_x): Replace undefined_msg with string
17206         literal.
17208         * elf/dl-lookup.c (do_lookup_unique): New function.
17209         (do_lookup_x): Move STB_GNU_UNIQUE handling code
17210         to a separate function.
17212 2014-06-23  Andreas Schwab  <schwab@suse.de>
17214         [BZ #17079]
17215         * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
17216         before reading the next line.
17218 2014-06-23  Will Newton  <will.newton@linaro.org>
17220         * test-skeleton.c (signal_handler): Use printf and %m
17221         rather than perror.  Use printf rather than fprintf to
17222         stderr.  Use puts rather than fputs to stderr.
17223         (main): Likewise.
17225 2014-06-22  Ludovic Courtès  <ludo@gnu.org>
17227         * nscd/nscd.c (thread_info_t): Remove typedef.
17228         (thread_info): Remove variable.
17230 2014-06-21  Allan McRae  <allan@archlinux.org>
17232         * NEWS: Mention CVE-2014-4043.
17234 2014-06-20  Roland McGrath  <roland@hack.frob.com>
17236         * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
17237         * nptl/smp.h: ... here.
17239         * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
17241         * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
17242         * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
17243         * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
17244         * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
17246         * nptl/allocatestack.c: Include <stack-aliasing.h>.
17247         * nptl/stack-aliasing.h: New file.
17248         * sysdeps/i386/i686/stack-aliasing.h: New file.
17249         * sysdeps/i386/i686/nptl/Makefile: File removed.
17250         * sysdeps/x86_64/stack-aliasing.h: New file.
17251         * sysdeps/x86_64/nptl/Makefile
17252         (CFLAGS-pthread_create.c): Variable removed.
17254         * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
17255         * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
17256         old file.
17257         * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
17258         * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
17259         old file.
17261 2014-06-21  Joseph Myers  <joseph@codesourcery.com>
17263         * sysdeps/unix/sysv/linux/arm/kernel-features.h
17264         (__ASSUME_SIGFRAME_V2): Remove macro.
17265         * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
17266         [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
17267         (__default_sa_restorer_v2): Rename to __default_sa_restorer.
17268         (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
17269         * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
17270         Declare as function.  Remove conditional macro definitions.
17271         (__default_rt_sa_restorer): Likewise.
17272         (__default_sa_restorer_v1): Remove declaration.
17273         (__default_sa_restorer_v2): Likewise.
17274         (__default_rt_sa_restorer_v1): Likewise.
17275         (__default_rt_sa_restorer_v2): Likewise.
17276         * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
17277         __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
17278         __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
17280 2014-06-20  Roland McGrath  <roland@hack.frob.com>
17282         * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
17283         (libpthread-routines): Add sysdep.
17284         * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
17285         * sysdeps/unix/sysv/linux/sparc/Versions
17286         (libpthread: GLIBC_2.3.3): New version set.
17287         * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
17288         * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
17289         * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
17290         * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
17291         * sysdeps/sparc/nptl/internaltypes.h: ... here.  Use #include_next.
17292         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
17293         Moved ...
17294         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
17295         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
17296         * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
17297         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
17298         * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
17299         * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
17300         * sysdeps/sparc/nptl/sem_init.c: ... here.
17301         * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
17302         * sysdeps/sparc/nptl/sem_post.c: ... here.
17303         * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
17304         * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
17305         * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
17306         * sysdeps/sparc/nptl/sem_wait.c: ... here.
17307         * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
17308         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
17309         * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
17310         (libpthread-routines): Add cpu_relax.
17311         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
17312         File removed.
17313         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
17314         (librt: GLIBC_2.3.3): New version set.
17315         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
17316         * sysdeps/sparc/sparc64/nptl/Makefile: New file.
17317         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
17318         (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
17319         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
17320         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
17321         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
17322         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
17323         Moved ...
17324         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
17325         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
17326         * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
17327         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
17328         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
17329         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
17330         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
17331         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
17332         * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
17333         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
17334         Moved ...
17335         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
17336         Update #include.
17337         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
17338         Moved ...
17339         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
17340         Update #include.
17341         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
17342         Moved ...
17343         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
17344         Update #include.
17345         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
17346         Moved ...
17347         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
17348         Update #include.
17349         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
17350         Moved ...
17351         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
17352         Update #include.
17353         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
17354         Moved ...
17355         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
17356         Update #include.
17357         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
17358         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
17359         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
17360         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
17361         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
17362         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
17363         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
17364         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
17365         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
17366         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
17367         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
17368         Moved ...
17369         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
17370         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
17371         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
17372         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
17373         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
17375 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
17377         * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
17378         * nptl/pthread_rwlock_timedrdlock.c: Likewise.
17379         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
17380         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
17381         * nscd/nscd.c: Likewise.
17382         * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
17383         * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
17384         * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
17385         * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
17387         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
17388         <kernel-features.h>.
17389         (init_mq_netlink): Remove conditional have_sock_cloexec
17390         definitions.  Remove code conditional on have_sock_cloexec < 0.
17391         (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
17392         (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
17393         * sysdeps/unix/sysv/linux/opensock.c: Do not include
17394         <kernel-features.h>.
17395         (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
17396         (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
17398 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
17400         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
17401         Add tests for memset_chk and memset.
17403         * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
17404         with AVX2_Usable.
17406 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
17408         [BZ #16046]
17409         * elf/tst-dl-iter-static.c: New file.
17410         * elf/Makefile (tests-static): Add tst-dl-iter-static.
17412         * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
17413         error.
17415 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
17417         * sysdeps/unix/sysv/linux/kernel-features.h
17418         (__ASSUME_F_GETOWN_EX): Remove macro.
17419         * sysdeps/unix/sysv/linux/fcntl.c: Do not include
17420         <kernel-features.h>.
17421         (miss_F_GETOWN_EX): Remove variable or macro.
17422         (do_fcntl): Do not check miss_F_GETOWN_EX.
17423         (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
17425         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
17426         Remove macro.
17427         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
17428         [!__ASSUME_AT_RANDOM]: Remove conditional code.
17429         (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
17431         * sysdeps/unix/sysv/linux/kernel-features.h
17432         (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
17433         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
17434         [ADJ_OFFSET_SS_READ]: Make code unconditional.
17435         (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
17437 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
17439         [BZ #17075]
17440         * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
17441         Fix calculation of the symbol's value.
17442         * sysdeps/arm/tst-armtlsdescloc.c: New file.
17443         * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
17444         * sysdeps/arm/tst-armtlsdescextnow.c: New file.
17445         * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
17446         * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
17447         * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
17448         * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
17449         `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
17450         (modules-names): Add `tst-armtlsdescmod',
17451         `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
17452         (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
17453         (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
17454         (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
17455         (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
17456         (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
17457         (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
17458         ($(objpfx)tst-armtlsdescloc): New dependency.
17459         ($(objpfx)tst-armtlsdescextnow): Likewise.
17460         ($(objpfx)tst-armtlsdescextlazy): Likewise.
17461         * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
17462         TLS scheme support.
17463         * sysdeps/arm/configure: Regenerate.
17465 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
17467         * include/fcntl.h (__atfct_seterrno): Remove prototype.
17468         (__atfct_seterrno_2): Likewise.
17469         * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
17470         <kernel-features.h>.
17471         (__ASSUME_ATFCTS): Do not undefine and redefine.
17472         * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
17473         (__have_atfcts): Remove conditional definition.
17474         (__fxstatat([__NR_fstatat64]: Make code unconditional.
17475         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
17476         unreachable if [__ASSUME_ATFCTS].
17477         * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
17478         not undefine and redefine.
17479         * sysdeps/unix/sysv/linux/faccessat.c: Do not include
17480         <kernel-features.h>.
17481         (faccessat) [__NR_faccessat]: Make code unconditional.
17482         (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
17483         * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
17484         <kernel-features.h>.
17485         (fchmodat) [__NR_fchmodat]: Make code unconditional.
17486         (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
17487         * sysdeps/unix/sysv/linux/fchownat.c: Do not include
17488         <kernel-features.h>.
17489         (fchownat) [__NR_fchownat]: Make code unconditional.
17490         (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
17491         * sysdeps/unix/sysv/linux/futimesat.c: Do not include
17492         <kernel-features.h>.
17493         (futimesat) [__NR_futimesat]: Make code unconditional.
17494         (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
17495         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
17496         <kernel-features.h>.
17497         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
17498         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
17499         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
17500         <kernel-features.h>.
17501         (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
17502         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
17503         * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
17504         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
17505         <kernel-features.h>.
17506         (__fxstatat) [__NR_fstatat64]: Make code unconditional.
17507         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
17508         * sysdeps/unix/sysv/linux/linkat.c: Do not include
17509         <kernel-features.h>.
17510         (linkat) [__NR_linkat]: Make code unconditional.
17511         (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
17512         * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
17513         * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
17514         <kernel-features.h>.
17515         (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
17516         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
17517         * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
17518         <kernel-features.h>.
17519         (mkdirat) [__NR_mkdirat]: Make code unconditional.
17520         (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
17521         * sysdeps/unix/sysv/linux/openat.c: Do not include
17522         <kernel-features.h>.
17523         [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
17524         [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
17525         (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
17526         (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
17527         * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
17528         * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
17529         <kernel-features.h>.
17530         (readlinkat) [__NR_readlinkat]: Make code unconditional.
17531         (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.  Return
17532         result of INLINE_SYSCALL directly, not via int variable.
17533         * sysdeps/unix/sysv/linux/renameat.c: Do not include
17534         <kernel-features.h>.
17535         [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
17536         (renameat) [__NR_renameat]: Make code unconditional.
17537         (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
17538         * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
17539         * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
17540         * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
17541         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
17542         (__ASSUME_ATFCTS): Do not undefine and redefine.
17543         * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
17544         <kernel-features.h>.
17545         (symlinkat) [__NR_symlinkat]: Make code unconditional.
17546         (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
17547         * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
17548         <kernel-features.h>.
17549         (unlinkat) [__NR_unlinkat]: Make code unconditional.
17550         (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
17551         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
17552         (__ASSUME_ATFCTS): Do not undefine and redefine.
17553         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
17554         <kernel-features.h>.
17555         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
17556         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
17557         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
17558         <kernel-features.h>.
17559         (__xmknodat) [__NR_mknodat]: Make code unconditional.
17560         (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
17562 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
17564         * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
17566 2014-06-20  Andreas Schwab  <schwab@linux-m68k.org>
17568         [BZ #17069]
17569         * posix/regcomp.c (parse_reg_exp): Deallocate partially
17570         constructed tree before returning error.
17571         * posix/bug-regexp36.c: Expand test case.
17573 2014-06-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
17575         [BZ #6803]
17576         * math/libm-test.inc (scalbln_test_date):
17577         Add errno expectations.
17578         * math/w_scalblnf.c: New File.
17579         Add wrapper which checks for setting errno to ERANGE.
17580         Add weak_alias for corresponding scalbln function.
17581         * math/w_scalbln.c: Likewise.
17582         * math/w_scalblnl.c: Likewise.
17583         * math/Makefile (libm-calls): Add w_scalbln.
17584         * sysdeps/ieee754/flt-32/s_scalblnf.c:
17585         Remove weak_alias for corresponding scalbln function.
17586         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
17587         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
17588         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
17589         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
17590         * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
17591         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
17592         * sysdeps/i386/fpu/s_scalbn.S: Likewise.
17593         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
17594         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
17595         * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
17596         Remove long_double_symbol for scalblnl function in libm, libc.
17597         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
17598         Add wrapper which checks for setting errno to ERANGE.
17599         Add long_double_symbol for scalblnl function in libm, libc.
17600         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
17601         Remove long_double_symbol for scalblnl in libm.
17602         * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
17603         Add wrapper which checks for setting errno to ERANGE.
17604         Add long_double_symbol for scalblnl function in libm.
17605         * sysdeps/ia64/fpu/w_scalblnf.c: New File.
17606         Do not use wrapper because of own implementation.
17608 2014-06-19  H.J. Lu  <hongjiu.lu@intel.com>
17610         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
17611         3 bytes for __pad1 for x32.
17612         (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
17614 2014-06-19  Ling Ma  <ling.ml@alibaba-inc.com>
17615             H.J. Lu  <hongjiu.lu@intel.com>
17617         * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
17618         * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
17619         * sysdeps/x86_64/multiarch/memset.S: Likewise.
17620         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
17621         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
17623 2014-06-19  Andreas Schwab  <schwab@linux-m68k.org>
17625         [BZ #17069]
17626         * posix/regcomp.c (parse_expression): Deallocate partially
17627         constructed tree before returning error.
17628         * posix/Makefile.c (tests): Add bug-regex36.
17629         (generated): Add bug-regex36.mtrace.
17630         (tests-special): Add $(objpfx)bug-regex36-mem.out
17631         (bug-regex36-ENV): New variable.
17632         ($(objpfx)bug-regex36-mem.out): New rule.
17633         * posix/bug-regex36.c: New file.
17635 2014-06-19  Will Newton  <will.newton@linaro.org>
17637         * malloc/malloc.c (systrim): If extra is zero then return
17638         early.
17640 2014-06-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
17642         * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
17644 2014-06-19  Richard Earnshaw  <rearnsha@arm.com>
17646         * sysdeps/aarch64/strchr.S: New file.
17648 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
17650         [BZ #17022]
17651         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
17652         from arguments -2 or below.
17653         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
17654         * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
17656 2014-06-18  Andreas Schwab  <schwab@suse.de>
17658         [BZ #17062]
17659         * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
17660         of a bracket expr not to run off the end of the string.
17661         * posix/Makefile (tests): Add tst-fnmatch3.
17662         * posix/tst-fnmatch3.c: New file.
17664 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
17666         * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
17667         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
17668         [$(cross-compiling) = no]: Likewise.
17669         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
17670         [$(cross-compiling) = no]: Likewise.
17672 2014-16-17  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
17674         [BZ #17031]
17675         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
17676         double, adjusted for any remainder from the high double.
17677         * math/libm-test.inc (nearbyint): Add tests.
17678         (rint): Likewise.
17680 2014-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17682         * nptl/sysdeps/powerpc/Makefile: Moved ...
17683         * sysdeps/powerpc/nptl/Makefile: ... here.
17684         * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
17685         * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
17686         * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
17687         * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
17688         * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
17689         * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
17690         * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
17691         * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
17692         * nptl/sysdeps/powerpc/tls.h: Moved ...
17693         * sysdeps/powerpc/nptl/tls.h: ... here.
17695 2014-06-16  Joseph Myers  <joseph@codesourcery.com>
17697         [BZ #16681]
17698         * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
17699         * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
17700         * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
17701         * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
17702         * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
17703         * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
17704         * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
17705         * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
17706         * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
17708 2014-06-17  Andreas Schwab  <schwab@linux-m68k.org>
17710         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
17712 2014-06-16  Andreas Schwab  <schwab@linux-m68k.org>
17714         * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
17715         defined operator.
17717         * scripts/cross-test-ssh.sh (timeoutfactor): Default to
17718         $TIMEOUTFACTOR.
17720 2014-06-16  Florian Weimer  <fweimer@redhat.com>
17722         [BZ #17058]
17723         * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
17724         non-executed part of the test.
17726 2014-06-16  Andreas Schwab  <schwab@suse.de>
17728         * string/bits/string2.h (strdup, strndup): Update feature guard.
17730 2014-06-14  David S. Miller  <davem@davemloft.net>
17732         * sysdeps/sparc/fpu/libm-test-ulps: Update.
17734 2014-06-14  Andreas Schwab  <schwab@linux-m68k.org>
17736         * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
17737         that was previously under [RESET_PID].
17738         * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
17740         * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
17741         * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
17742         * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
17743         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
17744         (__libc_vfork): New strong alias.
17745         * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
17747 2014-06-14 Andi Kleen  <ak@linux.intel.com>
17749         * sysdeps/generic/elide.h: New file.
17751 2014-06-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
17753         * Makefile (installed-headers): Adjust path of pthread.h header.
17755 2014-06-13  Roland McGrath  <roland@hack.frob.com>
17757         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
17758         * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
17759         * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
17760         * sysdeps/s390/nptl/bits/semaphore.h: ... here.
17762         * nptl/sysdeps/s390/Makefile: Moved ...
17763         * sysdeps/s390/nptl/Makefile: ... here.
17764         * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
17765         * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
17766         * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
17767         * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
17768         * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
17769         * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
17770         * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
17771         * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
17772         * nptl/sysdeps/s390/pthreaddef.h: Moved ...
17773         * sysdeps/s390/nptl/pthreaddef.h: ... here.
17774         * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
17775         * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
17776         * nptl/sysdeps/s390/tls.h: Moved ...
17777         * sysdeps/s390/nptl/tls.h: ... here.
17779         * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
17780         * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
17782 2014-06-13  David S. Miller  <davem@davemloft.net>
17784         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
17785         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
17786         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
17787         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
17788         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
17789         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
17790         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
17791         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
17792         * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
17793         * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
17794         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
17795         Remove RESET_PID cpp guards.
17796         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
17797         Remove RESET_PID cpp guards.
17798         * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
17800 2014-06-13  Andreas Schwab  <schwab@linux-m68k.org>
17802         * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
17803         __sp to uintptr_t.
17805 2014-06-13  Andi Kleen  <ak@linux.intel.com>
17807         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
17808         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
17809         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
17810         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
17811         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
17812         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
17813         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
17814         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
17815         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
17816         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
17817         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
17818         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
17819         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
17820         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
17821         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
17822         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
17823         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
17824         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
17825         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
17826         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
17828         * nptl/pthread_rwlock_rdlock.c: Include elide.h.
17829         (pthread_rwlock_rdlock): Add elision.
17830         * nptl/pthread_rwlock_wrlock.c: Include elide.h.
17831         (pthread_rwlock_wrlock): Add elision.
17832         * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
17833         (pthread_rwlock_trywrlock): Add elision.
17834         * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
17835         (pthread_rwlock_tryrdlock): Add elision.
17836         * nptl/pthread_rwlock_unlock.c: Include elide.h.
17837         (pthread_rwlock_tryrdlock): Add elision unlock.
17838         * nptl/sysdeps/pthread/pthread.h:
17839         (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
17840         (PTHREAD_RWLOCK_INITIALIZER,
17841         PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
17842         Handle new elision field.
17843         * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
17844         * sysdeps/arm/nptl/bits/pthreadtypes.h
17845         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
17846         * sysdeps/sh/nptl/bits/pthreadtypes.h
17847         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
17848         * sysdeps/tile/nptl/bits/pthreadtypes.h
17849         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
17850         * sysdeps/a/nptl/bits/pthreadtypes.h
17851         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
17852         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
17853         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
17854         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
17855         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
17856         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
17857         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
17858         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
17859         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
17860         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
17861         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
17862         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
17863         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
17864         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
17865         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
17866         * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
17867         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
17868         * sysdeps/unix/sysv/linux/x86/elision-conf.c:
17869         (elision_init): Set try_xbegin to zero when no RTM.
17870         * sysdeps/x86/nptl/bits/pthreadtypes.h
17871         (pthread_rwlock_t): Change __pad1 to __rwelision.
17872         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
17874 2014-06-13  Andi Kleen  <ak@linux.intel.com>
17876         * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
17877         Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
17878         * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
17879         Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
17881 2014-06-13  Meador Inge  <meadori@codesourcery.com>
17883         [BZ #16996]
17884         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
17885         that the cached result has been set before returning it.
17887 2014-06-12  Roland McGrath  <roland@hack.frob.com>
17889         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
17890         * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
17891         * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
17892         * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
17893         * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
17894         * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
17896         * nptl/sysdeps/sparc/Makefile: Moved ...
17897         * sysdeps/sparc/nptl/Makefile: ... here.
17898         * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
17899         * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
17900         * nptl/sysdeps/sparc/tls.h: Moved ...
17901         * sysdeps/sparc/nptl/tls.h: ... here.
17902         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
17903         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
17904         * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
17905         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
17906         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
17907         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
17908         * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
17909         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
17910         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
17911         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
17912         * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
17913         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
17914         * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
17915         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
17916         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
17917         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
17918         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
17919         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
17920         Update #include.
17921         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
17922         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
17923         Update #include.
17924         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
17925         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
17926         Update #include.
17927         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
17928         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
17929         Update #include.
17931         * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
17933         * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
17934         * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
17936         * sysdeps/pthread/posix-timer.h: Include <list.h>.
17937         (struct list_links): Type removed.
17938         (struct thread_node, struct timer_node): Replace struct list_links
17939         with struct list_head.
17940         (list_unlink_ip): Likewise.
17941         * sysdeps/pthread/timer_routines.c
17942         (timer_free_list, thread_free_list, thread_active_list): Likewise.
17943         (list_append, list_insbefore): Likewise.
17944         (list_init): Function removed.
17945         (thread_init, init_module): Use INIT_LIST_HEAD instead.
17946         * sysdeps/nptl/Makefile: Move tst-timer bits to ...
17947         * sysdeps/pthread/Makefile: ... here, new file.
17949         * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
17950         * sysdeps/nptl/Implies: ... here.
17951         * sysdeps/unix/sysv/linux/Implies: Add nptl.
17952         * nptl/sysdeps/pthread/list.h: Moved ...
17953         * include/list.h: ... here.
17954         * nptl/sysdeps/pthread/createthread.c: Moved ...
17955         * nptl/createthread.c: ... here.
17956         * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
17957         * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
17958         * nptl/pt-longjmp.c: ... here.
17959         * nptl/sysdeps/pthread/Makefile: Moved ...
17960         * sysdeps/nptl/Makefile: ... here.
17961         * nptl/sysdeps/pthread/Subdirs: Moved ...
17962         * sysdeps/nptl/Subdirs: ... here.
17963         * nptl/sysdeps/pthread/aio_misc.h: Moved ...
17964         * sysdeps/nptl/aio_misc.h: ... here.
17965         * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
17966         * sysdeps/nptl/bits/libc-lock.h: ... here.
17967         * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
17968         * sysdeps/nptl/bits/libc-lockP.h: ... here.
17969         * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
17970         * sysdeps/nptl/bits/stdio-lock.h: ... here.
17971         * nptl/sysdeps/pthread/configure: Moved ...
17972         * sysdeps/nptl/configure: ... here.
17973         * nptl/sysdeps/pthread/configure.ac: Moved ...
17974         * sysdeps/nptl/configure.ac: ... here.
17975         * nptl/sysdeps/pthread/gai_misc.h: Moved ...
17976         * sysdeps/nptl/gai_misc.h: ... here.
17977         * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
17978         * sysdeps/nptl/librt-cancellation.c: ... here.
17979         * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
17980         * sysdeps/nptl/malloc-machine.h: ... here.
17981         * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
17982         * sysdeps/nptl/pthread-functions.h: ... here.
17983         * nptl/sysdeps/pthread/pthread.h: Moved ...
17984         * sysdeps/nptl/pthread.h: ... here.
17985         * nptl/sysdeps/pthread/setxid.h: Moved ...
17986         * sysdeps/nptl/setxid.h: ... here.
17987         * nptl/sysdeps/pthread/sigfillset.c: Moved ...
17988         * sysdeps/nptl/sigfillset.c: ... here.
17989         * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
17990         * sysdeps/nptl/tcb-offsets.h: ... here.
17991         * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
17992         * sysdeps/nptl/tst-mqueue8x.c: ... here.
17993         * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
17994         * sysdeps/nptl/unwind-forcedunwind.c: ... here.
17995         * nptl/sysdeps/pthread/allocalim.h: Moved ...
17996         * sysdeps/pthread/allocalim.h: ... here.
17997         * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
17998         * sysdeps/pthread/bits/sigthread.h: ... here.
17999         * nptl/sysdeps/pthread/flockfile.c: Moved ...
18000         * sysdeps/pthread/flockfile.c: ... here.
18001         * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
18002         * sysdeps/pthread/ftrylockfile.c: ... here.
18003         * nptl/sysdeps/pthread/funlockfile.c: Moved ...
18004         * sysdeps/pthread/funlockfile.c: ... here.
18005         * nptl/sysdeps/pthread/posix-timer.h: Moved ...
18006         * sysdeps/pthread/posix-timer.h: ... here.
18007         * nptl/sysdeps/pthread/timer_create.c: Moved ...
18008         * sysdeps/pthread/timer_create.c: ... here.
18009         * nptl/sysdeps/pthread/timer_delete.c: Moved ...
18010         * sysdeps/pthread/timer_delete.c: ... here.
18011         * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
18012         * sysdeps/pthread/timer_getoverr.c: ... here.
18013         * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
18014         * sysdeps/pthread/timer_gettime.c: ... here.
18015         * nptl/sysdeps/pthread/timer_routines.c: Moved ...
18016         * sysdeps/pthread/timer_routines.c: ... here.
18017         * nptl/sysdeps/pthread/timer_settime.c: Moved ...
18018         * sysdeps/pthread/timer_settime.c: ... here.
18019         * nptl/sysdeps/pthread/tst-timer.c: Moved ...
18020         * sysdeps/pthread/tst-timer.c: ... here.
18021         * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
18022         * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
18024         * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
18025         * nptl/sysdeps/pthread/sigprocmask.c: File removed.
18027         * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
18028         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
18029         * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
18030         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
18031         Update #include target.
18032         * nptl/sysdeps/i386/i686/Makefile: Moved ...
18033         * sysdeps/i386/i686/nptl/Makefile: ... here.
18034         * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
18035         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
18036         Update #include target.
18037         * nptl/sysdeps/i386/i686/tls.h: Moved ...
18038         * sysdeps/i386/i686/nptl/tls.h: ... here.  Use #include_next.
18039         * nptl/sysdeps/i386/Makefile: Moved ...
18040         * sysdeps/i386/nptl/Makefile: ... here.
18041         * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
18042         * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
18043         * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
18044         * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
18045         * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
18046         * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
18047         * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
18048         * nptl/sysdeps/i386/pthreaddef.h: Moved ...
18049         * sysdeps/i386/nptl/pthreaddef.h: ... here.
18050         * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
18051         * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
18052         * nptl/sysdeps/i386/tls.h: Moved ...
18053         * sysdeps/i386/nptl/tls.h: ... here.
18055         * sysdeps/sh/Makefile [$(subdir) = csu]
18056         (gen-as-const-headers): Add tcb-offsets.sym.
18057         * nptl/sysdeps/sh/Makefile: File removed.
18058         * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
18059         * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
18060         * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
18061         * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
18062         * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
18063         * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
18064         * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
18065         * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
18066         * nptl/sysdeps/sh/pthreaddef.h: Moved ...
18067         * sysdeps/sh/nptl/pthreaddef.h: ... here.
18068         * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
18069         * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
18070         * nptl/sysdeps/sh/tls.h: Moved ...
18071         * sysdeps/sh/nptl/tls.h: ... here.
18072         * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
18073         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
18074         * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
18075         * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
18076         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
18077         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
18078         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
18079         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
18080         * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
18081         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
18082         * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
18083         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
18084         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
18085         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
18086         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
18087         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
18088         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
18089         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
18090         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
18091         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
18092         * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
18093         * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
18094         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
18095         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
18096         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
18097         Moved ...
18098         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
18099         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
18100         Moved ...
18101         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
18102         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
18103         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
18104         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
18105         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
18106         * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
18107         * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
18108         * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
18109         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
18110         * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
18111         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
18112         * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
18113         * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
18114         * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
18115         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
18116         * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
18117         * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
18118         * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
18119         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
18121 2014-06-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
18123         * posix/spawn_faction_addopen.c: Include string.h.
18125 2014-06-11  Roland McGrath  <roland@hack.frob.com>
18127         * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
18128         * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
18129         * nptl/sysdeps/x86_64/Makefile: Moved ...
18130         * sysdeps/x86_64/nptl/Makefile: ... here.
18131         * nptl/sysdeps/x86_64/configure: Moved ...
18132         * sysdeps/x86_64/nptl/configure: ... here.
18133         * nptl/sysdeps/x86_64/configure.ac: Moved ...
18134         * sysdeps/x86_64/nptl/configure.ac: ... here.
18135         * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
18136         * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
18137         * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
18138         * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
18139         * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
18140         * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
18141         * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
18142         * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
18143         * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
18144         * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
18145         * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
18146         * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
18147         * nptl/sysdeps/x86_64/tls.h: Moved ...
18148         * sysdeps/x86_64/nptl/tls.h: ... here.
18149         * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
18150         * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
18151         * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
18152         * sysdeps/x86_64/x32/nptl/tls.h: ... here.
18154         * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
18156 2014-06-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18158         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18160 2014-06-11  Joseph Myers  <joseph@codesourcery.com>
18162         * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
18163         type.
18164         [POSIX] (off_t): Likewise.
18165         * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
18166         [POSIX] (S_ISBLK): Require macro.
18167         [POSIX] (S_ISCHR): Likewise.
18168         [POSIX] (S_ISDIR): Likewise.
18169         [POSIX] (S_ISFIFO): Likewise.
18170         [POSIX] (S_ISREG): Likewise.
18171         [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
18172         optional-macro.
18173         * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
18174         type.
18175         [POSIX] (time_t): Likewise.
18176         [POSIX] (timer_t): Likewise.
18178 2014-06-11  Florian Weimer  <fweimer@redhat.com>
18180         [BZ #17048]
18181         * posix/spawn_int.h (struct __spawn_action): Make the path string
18182         non-const to support deallocation.
18183         * posix/spawn_faction_addopen.c
18184         (posix_spawn_file_actions_addopen): Make a copy of the pathname.
18185         * posix/spawn_faction_destroy.c
18186         (posix_spawn_file_actions_destroy): Adjust comment.  Deallocate
18187         path in all spawn_do_open actions.
18188         * posix/tst-spawn.c (do_test): Exercise the copy operation in
18189         posix_spawn_file_actions_addopen.
18191 2014-06-11  Chris Metcalf  <cmetcalf@tilera.com>
18193         * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
18194         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
18195         * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
18196         conditional code always true.
18197         (__libc_vfork): New alias.
18199 2014-06-11  Roland McGrath  <roland@hack.frob.com>
18201         * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
18202         * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
18204         * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
18206         * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
18207         * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
18209         * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
18210         * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
18212         * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
18213         * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
18215 2014-06-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
18217         * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
18218         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
18219         multiarch strcmp for PPC64.
18220         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
18221         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
18222         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
18223         multiarch optimizations.
18224         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
18225         (__libc_ifunc_impl_list): Likewise.
18227 2014-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
18229         * benchtests/scripts/validate_benchout.py: New script.
18230         * benchtests/Makefile (bench-func): Call it.
18231         * benchtests/scripts/benchout.schema.json: New file.
18233 2014-06-10  Chris Metcalf  <cmetcalf@tilera.com>
18235         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
18236         * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
18237         * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
18238         * sysdeps/tile/nptl/bits/semaphore.h: ... here.
18239         * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
18240         * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
18241         * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
18242         * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
18243         * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
18244         * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
18245         * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
18246         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
18247         * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
18248         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
18249         * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
18250         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
18251         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
18252         Moved ...
18253         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
18254         ... here.
18255         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
18256         Moved ...
18257         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
18258         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
18259         Moved ...
18260         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
18261         ... here.
18262         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
18263         Moved ...
18264         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
18265         ... here.
18266         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
18267         Moved ...
18268         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
18269         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
18270         Moved ...
18271         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
18272         ... here.
18273         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
18274         Moved ...
18275         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
18276         ... here.
18277         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
18278         Moved ...
18279         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
18280         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
18281         Moved ...
18282         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
18283         ... here.
18284         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
18285         Moved ...
18286         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
18287         ... here.
18288         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
18289         Moved ...
18290         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
18291         ... here.
18292         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
18293         Moved ...
18294         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
18295         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
18296         Moved ...
18297         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
18298         ... here.
18299         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
18300         Moved ...
18301         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
18302         ... here.
18303         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
18304         Moved ...
18305         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
18306         ... here.
18307         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
18308         Moved ...
18309         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
18310         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
18311         Moved ...
18312         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
18313         ... here.
18314         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
18315         Moved ...
18316         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
18317         ... here.
18318         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
18319         Moved ...
18320         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
18321         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
18322         Moved ...
18323         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
18324         ... here.
18325         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
18326         Moved ...
18327         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
18328         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
18329         Moved ...
18330         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
18331         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
18332         Moved ...
18333         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
18334         ... here.
18335         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
18336         Moved ...
18337         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
18338         ... here.
18339         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
18340         Moved ...
18341         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
18342         ... here.
18343         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
18344         Moved ...
18345         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
18346         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
18347         Moved ...
18348         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
18349         ... here.
18350         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
18351         Moved ...
18352         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
18353         ... here.
18354         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
18355         * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
18356         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
18357         * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
18358         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
18359         Moved ...
18360         * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
18361         ... here.
18362         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
18363         * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
18364         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
18365         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
18366         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
18367         * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
18368         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
18369         * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
18370         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
18371         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
18372         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
18373         * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
18374         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
18375         Moved ...
18376         * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
18377         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
18378         Moved ...
18379         * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
18380         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
18381         * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
18382         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
18383         Moved ...
18384         * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
18385         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
18386         * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
18387         * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
18388         * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
18389         * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
18390         * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
18392 2014-06-10  Wilco  <wdijkstr@arm.com>
18394         * math/test-fenv-return.c: New file.
18395         * math/Makefile: Add new test test-fenv-return.
18397 2014-06-10  Joseph Myers  <joseph@codesourcery.com>
18399         [BZ #17042]
18400         * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
18401         when x - 1 is zero.
18402         * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
18403         * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
18404         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
18405         0.0L for an argument of 1.0L.
18406         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
18407         Likewise.
18408         * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
18409         value when x - 1 is zero.
18410         * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
18411         * sysdeps/i386/fpu/libm-test-ulps: Update.
18412         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18414 2014-06-09  Bernard Ogden  <bernie.ogden@linaro.org>
18416         [BZ #15119]
18417         * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
18419 2014-06-09  Roland McGrath  <roland@hack.frob.com>
18421         * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
18422         * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
18424 2014-06-09  Roland McGrath  <roland@hack.frob.com>
18426         * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
18427         * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
18429         * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
18430         * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
18432         * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
18433         * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
18435         * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
18436         * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
18438         * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
18439         if not already defined.
18440         (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
18441         * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
18442         * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
18443         (TLS_INIT_TP): Use it.
18444         (TLS_DEFINE_INIT_TP): New macro.
18445         * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
18447 2014-06-09  Joseph Myers  <joseph@codesourcery.com>
18449         * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
18450         constant.
18451         [POSIX] (IXANY): Likewise.
18452         [POSIX] (OLCUC): Likewise.
18453         [POSIX || POSIX2008] (CBAUD): Do not allow.
18454         [POSIX || POSIX2008] (DEFECHO): Likewise.
18455         [POSIX || POSIX2008] (ECHOCTL): Likewise.
18456         [POSIX || POSIX2008] (ECHOKE): Likewise.
18457         [POSIX || POSIX2008] (ECHOPRT): Likewise.
18458         [POSIX || POSIX2008] (EXTA): Likewise.
18459         [POSIX || POSIX2008] (EXTB): Likewise.
18460         [POSIX || POSIX2008] (FLUSHO): Likewise.
18461         [POSIX || POSIX2008] (LOBLK): Likewise.
18462         [POSIX || POSIX2008] (PENDIN): Likewise.
18463         [POSIX || POSIX2008] (SWTCH): Likewise.
18464         [POSIX || POSIX2008] (VDISCARD): Likewise.
18465         [POSIX || POSIX2008] (VDSUSP): Likewise.
18466         [POSIX || POSIX2008] (VLNEXT): Likewise.
18467         [POSIX || POSIX2008] (VREPRINT): Likewise.
18468         [POSIX || POSIX2008] (VSTATUS): Likewise.
18469         [POSIX || POSIX2008] (VWERASE): Likewise.
18470         (B*): Change to B[0123456789]*.
18471         * conform/data/time.h-data [POSIX || UNIX98]
18472         (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
18473         [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
18474         [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
18475         [POSIX] (tm_*): Do not allow.
18477 2014-06-07  Joseph Myers  <joseph@codesourcery.com>
18479         * Makefile (install): Don't set LANGUAGE.
18480         * Makefile.in (install): Likewise.
18481         * assert/Makefile (test-assert-ENV): Remove variable.
18482         (test-assert-perr-ENV): Likewise.
18483         * elf/Makefile (neededtest4-ENV): Likewise.
18484         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
18485         [$(cross-compiling) = no]: Don't set LANGUAGE.
18486         * io/ftwtest-sh (LANG): Remove variable.
18487         * libio/Makefile (tst-widetext-ENV): Likewise.
18488         * manual/install.texi (Running make install): Don't refer to
18489         environment settings for make install.
18490         * INSTALL: Regenerated.
18491         * nptl/tst-tls6.sh: Don't set LANG.
18492         * posix/globtest.sh (LANG): Remove variable.
18493         * string/Makefile (tester-ENV): Likewise.
18494         (inl-tester-ENV): Likewise.
18495         (noinl-tester-ENV): Likewise.
18496         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
18497         [$(cross-compiling) = no]: Don't set LANGUAGE.
18498         * timezone/Makefile (build-testdata): Use $(built-program-cmd)
18499         without explicit environment settings.
18501 2014-06-06  Roland McGrath  <roland@hack.frob.com>
18503         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
18504         * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
18505         * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
18506         * sysdeps/sh/nptl/bits/semaphore.h: ... here.
18508 2014-06-06  Chris Metcalf  <cmetcalf@tilera.com>
18510         * crypt/crypt-private.h [DOS]: Add some includes taken from the
18511         other files in the crypt directory.
18512         * crypt/crypt.c: Remove duplicate includes.
18513         * crypt/crypt-entry.c: Likewise.
18514         * crypt/crypt_util.c: Likewise.
18516 2014-06-06  Joseph Myers  <joseph@codesourcery.com>
18518         * Makeconfig (run-program-env): New variable.
18519         (run-program-prefix-before-env): Likewise.
18520         (run-program-prefix-after-env): Likewise.
18521         (run-program-prefix): Define in terms of new variables.
18522         (built-program-cmd-before-env): New variable.
18523         (built-program-cmd-after-env): Likewise.
18524         (built-program-cmd): Define in terms of new variables.
18525         (test-program-prefix-before-env): New variable.
18526         (test-program-prefix-after-env): Likewise.
18527         (test-program-prefix): Define in terms of new variables.
18528         (test-program-cmd-before-env): New variable.
18529         (test-program-cmd-after-env): Likewise.
18530         (test-program-cmd): Define in terms of new variables.
18531         * Rules (make-test-out): Use $(run-program-env).
18532         * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
18533         (help): Do not mention environment variables.  Mention
18534         --timeoutfactor option.
18535         (timeoutfactor): New variable.
18536         (blacklist_exports): Remove function.
18537         (exports): Remove variable.
18538         (command): Do not include ${exports}.
18539         * manual/install.texi (Configuring and compiling): Do not mention
18540         test wrappers preserving environment variables.  Mention that last
18541         assignment to a variable must take precedence.
18542         * INSTALL: Regenerated.
18543         * benchtests/Makefile (run-bench): Use $(run-program-env).
18544         * catgets/Makefile ($(objpfx)test1.cat): Use
18545         $(built-program-cmd-before-env), $(run-program-env) and
18546         $(built-program-cmd-after-env).
18547         ($(objpfx)test2.cat): Do not specify environment variables
18548         explicitly.
18549         ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
18550         $(run-program-env) and $(built-program-cmd-after-env).
18551         ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
18552         $(run-program-env) and $(test-program-cmd-after-env).
18553         ($(objpfx)sample.SJIS.cat): Do not specify environment variables
18554         explicitly.
18555         * catgets/test-gencat.sh: Use test_program_cmd_before_env,
18556         run_program_env and test_program_cmd_after_env arguments.
18557         * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
18558         * elf/tst-pathopt.sh: Use run_program_env argument.
18559         * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
18560         $(test-wrapper-env) and $(run-program-env).
18561         * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
18562         run_program_env arguments.
18563         * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
18564         * intl/Makefile ($(objpfx)tst-gettext.out): Use
18565         $(test-program-prefix-before-env), $(run-program-env) and
18566         $(test-program-prefix-after-env).
18567         ($(objpfx)tst-gettext2.out): Likewise.
18568         * intl/tst-gettext.sh: Use test_program_prefix_before_env,
18569         run_program_env and test_program_prefix_after_env arguments.
18570         * intl/tst-gettext2.sh: Likewise.
18571         * intl/tst-gettext4.sh: Do not set environment variables
18572         explicitly.
18573         * intl/tst-gettext6.sh: Likewise.
18574         * intl/tst-translit.sh: Likewise.
18575         * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
18576         $(test-program-prefix-before-env), $(run-program-env) and
18577         $(test-program-prefix-after-env).
18578         * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
18579         run_program_env and test_program_prefix_after_env arguments.
18580         * math/Makefile (run-regen-ulps): Use $(run-program-env).
18581         * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
18582         * nptl/tst-tls6.sh: Use run_program_env argument.  Set LANG=C
18583         explicitly with each use of ${test_wrapper_env}.
18584         * posix/Makefile ($(objpfx)wordexp-tst.out): Use
18585         $(test-program-prefix-before-env), $(run-program-env) and
18586         $(test-program-prefix-after-env).
18587         * posix/tst-getconf.sh: Do not set environment variables
18588         explicitly.
18589         * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
18590         run_program_env and test_program_prefix_after_env arguments.
18591         * stdio-common/tst-printf.sh: Do not set environment variables
18592         explicitly.
18593         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
18594         $(test-program-prefix-before-env), $(run-program-env) and
18595         $(test-program-prefix-after-env).
18596         * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
18597         run_program_env and test_program_prefix_after_env arguments.
18598         Split $test calls into $test_pre and $test.
18599         * timezone/Makefile (build-testdata): Use
18600         $(built-program-cmd-before-env), $(run-program-env) and
18601         $(built-program-cmd-after-env).
18603 2014-06-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18605         * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
18606         strlen for non SHARED builds.
18608 2014-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
18610         * nptl/allocatestack.c (check_list): Inlined function...
18611         (__reclaim_stacks): ... here.
18613 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
18615         [BZ #15698]
18616         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
18617         memory overrun.
18619 2014-06-05  Joseph Myers  <joseph@codesourcery.com>
18621         * Rules (make-test-out): Include
18622         LOCPATH=$(common-objpfx)localedata in default environment.
18623         * debug/Makefile (tst-chk1-ENV): Remove variable.
18624         (tst-chk2-ENV): Likewise.
18625         (tst-chk3-ENV): Likewise.
18626         (tst-chk4-ENV): Likewise.
18627         (tst-chk5-ENV): Likewise.
18628         (tst-chk6-ENV): Likewise.
18629         (tst-lfschk1-ENV): Likewise.
18630         (tst-lfschk2-ENV): Likewise.
18631         (tst-lfschk3-ENV): Likewise.
18632         (tst-lfschk4-ENV): Likewise.
18633         (tst-lfschk5-ENV): Likewise.
18634         (tst-lfschk6-ENV): Likewise.
18635         * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
18636         (tst-iconv7-ENV): Likewise.
18637         * intl/Makefile (LOCPATH-ENV): Likewise.
18638         (tst-codeset-ENV): Likewise.
18639         (tst-gettext3-ENV): Likewise.
18640         (tst-gettext5-ENV): Likewise.
18641         * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
18642         (tst-fopenloc-ENV): Likewise.
18643         (tst-fgetws-ENV): Remove variable.
18644         (tst-ungetwc1-ENV): Likewise.
18645         (tst-ungetwc2-ENV): Likewise.
18646         (bug-ungetwc2-ENV): Likewise.
18647         (tst-swscanf-ENV): Likewise.
18648         (bug-ftell-ENV): Likewise.
18649         (tst-fgetwc-ENV): Likewise.
18650         (tst-fseek-ENV): Likewise.
18651         (tst-ftell-partial-wide-ENV): Likewise.
18652         (tst-ftell-active-handler-ENV): Likewise.
18653         (tst-ftell-append-ENV): Likewise.
18654         * posix/Makefile (tst-fnmatch-ENV): Likewise.
18655         (tst-regexloc-ENV): Likewise.
18656         (bug-regex1-ENV): Likewise.
18657         (tst-regex-ENV): Likewise.
18658         (tst-regex2-ENV): Likewise.
18659         (bug-regex5-ENV): Likewise.
18660         (bug-regex6-ENV): Likewise.
18661         (bug-regex17-ENV): Likewise.
18662         (bug-regex18-ENV): Likewise.
18663         (bug-regex19-ENV): Likewise.
18664         (bug-regex20-ENV): Likewise.
18665         (bug-regex22-ENV): Likewise.
18666         (bug-regex23-ENV): Likewise.
18667         (bug-regex25-ENV): Likewise.
18668         (bug-regex26-ENV): Likewise.
18669         (bug-regex30-ENV): Likewise.
18670         (bug-regex32-ENV): Likewise.
18671         (bug-regex33-ENV): Likewise.
18672         (bug-regex34-ENV): Likewise.
18673         (bug-regex35-ENV): Likewise.
18674         (tst-rxspencer-ENV): Likewise.
18675         (tst-rxspencer-no-utf8-ENV): Likewise.
18676         * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
18677         (tst-sscanf-ENV): Likewise.
18678         (tst-swprintf-ENV): Likewise.
18679         (tst-swscanf-ENV): Likewise.
18680         (test-vfprintf-ENV): Likewise.
18681         (scanf13-ENV): Likewise.
18682         (bug14-ENV): Likewise.
18683         (tst-grouping-ENV): Likewise.
18684         * stdlib/Makefile (tst-strtod-ENV): Likewise.
18685         (tst-strtod3-ENV): Likewise.
18686         (tst-strtod4-ENV): Likewise.
18687         (tst-strtod5-ENV): Likewise.
18688         (testmb2-ENV): Likewise./
18689         * string/Makefile (tst-strxfrm-ENV): Likewise.
18690         (tst-strxfrm2-ENV): Likewise.
18691         (bug-strcoll1-ENV): Likewise.
18692         (test-strcasecmp-ENV): Likewise.
18693         (test-strncasecmp-ENV): Likewise.
18694         * time/Makefile (tst-strptime-ENV): Likewise.
18695         (tst-ftime_l-ENV): Likewise.
18696         * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
18697         (tst-mbrtowc-ENV): Likewise.
18698         (tst-wcrtomb-ENV): Likewise.
18699         (tst-mbrtowc2-ENV): Likewise.
18700         (tst-c16c32-1-ENV): Likewise.
18701         (tst-mbsnrtowcs-ENV): Likewise.
18703 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
18705         * manual/resource.texi (How to get information about the memory
18706         subsystem?): Fix typo.
18707         Reported by Peon de la Parra Ivan <peon@keba.com>
18709 2014-06-03  Guo Yixuan  <culu.gyx@gmail.com>
18711         [BZ #16882]
18712         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
18713         (pthread_spin_lock): Branch out of spin loop to proper location.
18714         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
18715         (pthread_spin_lock): Likewise.
18717         * nptl/tst-spin4.c: New test.
18718         * nptl/Makefile (tests): Add tst-spin4.
18720 2014-06-03  Andreas Schwab  <schwab@suse.de>
18722         [BZ #15946]
18723         * resolv/res_send.c (send_dg): Reload file descriptor after
18724         calling reopen.
18726 2014-06-03  Stefan Liebler  <stli@linux.vnet.ibm.com>
18728         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
18730 2014-06-03  Richard Henderson  <rth@redhat.com>
18732         * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
18733         * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
18734         * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
18735         SAVE_PID and RESTORE_PID blocks from pt-vfork.S.  Map 0 to INT_MIN
18736         in the SAVE_PID block.
18737         (__libc_vfork): New alias.
18738         * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
18740         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
18741         child in registers, not on the stack.  Remove RESET_PID conditionals.
18742         * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
18744 2014-06-03  Marcus Shawcroft  <marcus.shawcroft@arm.com>
18746         * sysdeps/aarch64/libm-test-ulps: Regenerate.
18748 2014-06-03  Wilco  <wdijkstr@arm.com>
18750         * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
18751         (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
18752         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
18753         Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
18754         * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
18755         Likewise.
18757 2014-06-03  Wilco  <wdijkstr@arm.com>
18759         * sysdeps/aarch64/fpu/math_private.h
18760         (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
18761         (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
18762         (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
18763         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
18764         Fix declarations.
18766 2014-06-03  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
18768         * crypt/crypt-private.h: Include ufc-crypt.h.
18769         (__b64_from_24bit): Declare extern.
18770         * crypt/crypt_util.c(__b64_from_24bit): New function.
18771         (b64t): New static const variable.
18772         * crypt/md5-crypt.c (b64_from_24bit): Remove function.
18773         (b64t): Remove variable.
18774         (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
18775         * crypt/sha256-crypt.c: Include crypt-private.h.
18776         (b64t): Remove variable.
18777         (__sha256_crypt_r): Remove b64_from_24bit and replace
18778         with __b64_from_24bit.
18779         * crypt/sha512-crypt.c: Likewise.
18781 2014-06-02  Roland McGrath  <roland@hack.frob.com>
18783         * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
18784         * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
18785         Label the code __libc_vfork rather than __vfork.
18786         [!NOT_IN_libc] (vfork): Define as weak alias.
18787         [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
18788         * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
18789         * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
18791 2014-06-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
18793         * malloc/malloc.c (malloc_info): Fix format specifier for
18794         n_mmaps.
18796 2014-06-02  Wilco  <wdijkstr@arm.com>
18798         * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
18799         FPCR write.
18801 2014-06-02  Wilco  <wdijkstr@arm.com>
18803         [BZ #17009]
18804         * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
18805         Rewrite to reduce FPCR/FPSR accesses.
18807 2014-06-01  David S. Miller  <davem@davemloft.net>
18809         * sysdeps/sparc/fpu/libm-test-ulps: Update.
18811 2014-05-31  David S. Miller  <davem@davemloft.net>
18813         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
18814         to occur in round to nearest mode when |x| >= 2.0
18816 2014-05-30  Richard Henderson  <rth@twiddle.net>
18818         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
18819         (PSEUDO_RET_NOERRNO): Remove.
18820         (ret): Don't redefine.
18821         (ret_NOERRNO): Define in terms of ret.
18822         (ret_ERRVAL): Likewise.
18824         * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
18825         use of PSEUDO_RET; perform the error check directly.
18827 2014-05-30 Marko Myllynen  <myllynen@redhat.com>
18829         * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
18830         with __int128_t.
18832 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
18834         * malloc/malloc (malloc_info): Fix formatting.
18836 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
18837             Roland McGrath  <roland@hack.frob.com>
18839         * malloc/malloc (malloc_info): Also print mmapped statistics.
18841 2014-05-30  Roland McGrath  <roland@hack.frob.com>
18843         * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
18844         * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
18846 2014-05-30  Ondřej Bílka  <neleai@seznam.cz>
18848         * malloc/malloc.c (malloc_info): Inline mi_arena.
18850 2014-05-29  Richard Henderson  <rth@twiddle.net>
18852         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
18853         Remove comma before expanding ASM_ARGS_##nr.
18854         (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
18855         Make _x0 a strict output; make _x8 a strict input; adjust expansion
18856         of ASM_ARGS_##nr.
18857         (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
18858         (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
18859         (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
18860         (ASM_ARGS_1): Add leading comma.
18862         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
18863         (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
18864         to __errno_location.
18865         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
18866         Remove the expected plt for __errno_location.
18868         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
18869         [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
18870         call to __read_tp.
18872         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
18873         Always allocate 64 bytes of stack frame.  Use ldp/stp to create
18874         it and break it down.
18875         (DOCARGS_0, DOCARGS_1): Do nothing.
18876         (DOCARGS_2): Update to store into the new stack frame.
18877         (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
18878         (UNDOCARGS_1): Update to restore from the new stack frame.
18879         (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
18880         (UNDOCARGS_5, UNDOCARGS_6): Likewise.
18882         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
18883         (SINGLE_THREAD_P): New parameter for result regno.
18884         (PSEUDO): Update to match; use cbz instead of beq.
18886         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
18887         Use ENTRY to define the _nocancel entry point.  Share the syscall
18888         and syscall error check paths with the cancel path.
18889         (PSEUDO_END): New.
18891         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
18892         whitespace; tabs before and after asm mnemonics.
18894 2014-05-29  Eric Wong  <normalperson@yhbt.net>
18896         [BZ #15132]
18897         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
18898         Call fstat64 or stat64 internally, depending on arguments passed.
18899         Replace stat buffer argument with file descriptor argument.
18900         (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
18901         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
18902         Pass fd to __internal_statvfs instead of calling fstat64.
18903         * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
18904         Pass fd to __internal_statvfs64 instead of calling fstat64.
18905         * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
18906         Pass -1 to __internal_statvfs instead of calling stat64.
18907         * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
18908         Pass -1 to __internal_statvfs64 instead of calling stat64.
18910 2014-05-28  Roland McGrath  <roland@hack.frob.com>
18912         * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
18913         that was previously under [RESET_PID].
18914         * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
18916         * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
18917         * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
18919 2014-05-27  Roland McGrath  <roland@hack.frob.com>
18921         * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
18923         * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
18924         * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
18926 2014-05-27  Ondřej Bílka  <neleai@seznam.cz>
18928         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
18930 2014-05-27  Andreas Schwab  <schwab@suse.de>
18932         * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
18933         TLS_INIT_TP macro.
18934         * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
18935         * elf/rtld.c (init_tls, dl_main): Likewise.
18936         * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
18937         * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
18938         * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
18939         * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
18940         * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
18941         * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
18942         * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
18943         * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
18944         * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
18945         * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
18946         * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
18947         * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
18948         * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
18949         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
18950         * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
18951         * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
18952         * sysdeps/generic/tls.h: Update description.
18954 2014-05-27  Will Newton  <will.newton@linaro.org>
18956         [BZ #16990]
18957         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
18958         and restore r2 rather than just restoring.
18960 2014-05-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
18962         [BZ #16724]
18963         * libio/tst-ftell-append.c: New test case.
18964         * libio/Makefile (tests): Add test case.
18965         * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
18966         append mode.
18967         * libio/wfileops.c (do_ftell_wide): Likewise.
18969 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18971         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18973         * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
18974         ...
18975         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
18976         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
18977         * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
18978         * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
18979         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
18980         * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
18981         * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
18982         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
18983         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
18984         Moved ...
18985         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
18986         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
18987         Moved ...
18988         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
18989         * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
18990         * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
18991         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
18992         * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
18993         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
18994         ...
18995         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
18996         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
18997         Moved ...
18998         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
18999         here.
19000         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
19001         ...
19002         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
19003         * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
19004         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
19006         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
19007         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
19008         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
19009         * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
19011         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
19012         merge into ...
19013         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
19014         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
19015         ...
19016         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
19017         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
19018         ...
19019         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
19020         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
19021         Moved ...
19022         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
19023         here.
19024         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
19025         Moved ...
19026         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
19027         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
19028         Moved ...
19029         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
19031         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
19032         conditional [RESET_PID].
19033         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
19034         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
19035         removed.
19036         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
19037         removed.
19039         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
19040         <tcb-offsets.h>.
19041         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
19042         (__libc_vfork): New strong alias.
19043         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
19044         removed.
19045         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
19046         Removed.
19048         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
19049         <tcb-offsets.h>.
19050         (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
19051         (__libc_vfork): New strong alias.
19052         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
19053         removed.
19054         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
19055         removed.
19057 2014-05-26  Carlos O'Donell  <carlos@redhat.com>
19059         * malloc/malloc.c (mi_arena): New function.
19060         (malloc_info): Remove nested function mi_arena. Call non-nosted
19061         function mi_arena.
19063 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19065         * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
19066         by insrwi.
19067         * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
19068         * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
19069         * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
19070         * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
19071         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
19072         * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
19073         * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
19075 2014-05-26  Andreas Schwab  <schwab@suse.de>
19077         [BZ #16984]
19078         * locale/programs/repertoire.c (repertoire_read): Add slash
19079         between I18NPATH element and file name.
19080         * locale/programs/locfile.c (locfile_read): Likewise.
19082 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
19084         * nptl/pthread_mutexattr_settype.c
19085         (__pthread_mutexattr_settype):
19086         Disable lock elision for PTHREAD_MUTEX_NORMAL.
19088 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
19090         * nptl/tst-mutex5 (do_test):
19091         Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
19093 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
19095         * benchtests/README: Document 'init' directive.
19096         * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
19097         BENCH_INIT.
19098         * scripts/bench.py (gen_source): Define BENCH_INIT macro.
19099         (parse_file): Recognize 'init' directive.
19101 2014-05-26  Kyle McMartin  <kyle@redhat.com>
19103         [BZ #16796]
19104         * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
19105         alignment of struct pthread.
19107 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
19109         [BZ #16878]
19110         * nscd/netgroupcache.c (addgetnetgrentX): Look for
19111         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
19112         * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
19113         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
19115 2014-05-25  Richard Henderson  <rth@twiddle.net>
19117         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
19118         (SINGLE_THREAD_P_PIC): Remove.
19119         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
19120         (SINGLE_THREAD_P_PIC): Remove.
19122         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
19123         branch to syscall error ...
19124         (PSEUDO): ... here.
19125         [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
19126         from __local_syscall_error to .Lsyscall_error.
19127         [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
19128         (SYSCALL_ERROR): Update label name.
19130         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
19131         Do not use DOARGS/UNDOARGS.
19132         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
19133         (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
19134         (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
19135         (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
19136         (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
19138         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
19139         block comment.
19141         * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
19142         define if !NOT_IN_libc.
19143         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
19144         define with non-default symbol versions.
19146 2014-05-23  Richard Henderson  <rth@twiddle.net>
19148         * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
19149         (vfork, __vfork): Define via compat_symbol.
19151         * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
19152         [!HAVE_IFUNC] (vfork_compat): Remove.
19153         [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
19155 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
19157         [BZ #16978]
19158         * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
19159         * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
19160         variable.
19162 2014-05-23  Richard Henderson  <rth@twiddle.net>
19164         * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
19165         * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
19166         * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
19167         * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
19169         * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
19170         * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
19171         * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
19172         * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
19173         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
19174         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
19175         * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
19176         * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
19177         * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
19178         * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
19179         * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
19180         * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
19181         * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
19182         * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
19183         * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
19184         * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
19185         * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
19186         * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
19187         * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
19188         * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
19189         * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
19190         * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
19191         * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
19192         * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
19193         * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
19194         * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
19195         * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
19196         * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
19197         * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
19198         * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
19199         * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
19200         * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
19201         * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
19202         * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
19203         * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
19204         * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
19205         * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
19206         * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
19207         * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
19208         * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
19209         * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
19210         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
19211         * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
19212         * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
19213         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
19214         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
19215         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
19216         * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
19217         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
19218         * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
19219         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
19220         * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
19221         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
19222         * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
19223         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
19224         * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
19226         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
19227         * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
19228         * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here.  Restore PID
19229         before exiting on error.
19230         (__libc_vfork): New strong alias.
19231         * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
19232         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
19234         * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
19235         that was previously under [RESET_PID].
19236         * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
19238         * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
19240 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
19242         [BZ #16977]
19243         * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
19244         value when x - 1 is zero.
19245         * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
19246         * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
19247         * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
19248         0.0L for an argument of 1.0L.
19249         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
19250         Likewise.
19251         * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
19252         value when x - 1 is zero.
19253         * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
19254         * sysdeps/i386/fpu/libm-test-ulps: Update.
19255         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19257 2014-05-23  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
19259         * manual/filesys.texi (Scanning Directory Content): Fix prototype of
19260         alphasort and versionsort.
19262 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19264         * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
19265         macro.
19266         [copysignf]: Likewise.
19268 2014-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
19270         * crypt/md5-crypt.c: Fix formatting.
19272 2014-05-22  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
19274         * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
19275         (b64_from_24bit): New function.
19277 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19279         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
19280         libc_hidden_builtin_def to ifunc.
19281         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
19282         [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
19284 2014-05-21  Roland McGrath  <roland@hack.frob.com>
19286         * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
19287         * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
19289 2014-05-21  Joseph Myers  <joseph@codesourcery.com>
19291         * nscd/Depend (linuxthreads): Remove.
19292         (nptl): Add.
19293         * resolv/Depend (linuxthreads): Remove.
19294         * rt/Depend (linuxthreads): Remove.
19296         * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
19297         (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
19298         $(common-objpfx)elf/.
19299         (link-libc-before-gnulib): Likewise.
19300         (elfobjdir): Remove variable.
19301         * Makefile (install): Use $(elf-objpfx) instead of
19302         $(common-objpfx)elf/.
19303         * Makerules (link-libc-args): Use $(elf-objpfx) instead of
19304         $(elfobjdir)/.
19305         (link-libc-deps): Likewise.
19306         ($(common-objpfx)libc.so): Likewise.
19307         ($(common-objpfx)linkobj/libc.so): Likewise.
19308         [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
19309         instead of $(common-objpfx)elf/.
19310         (symbolic-link-list): Likewise.
19311         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
19312         [$(cross-compiling) = no]: Likewise.
19313         * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
19314         $(elfobjdir)/.
19315         (static-gnulib-arch): Likewise.
19316         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
19317         [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
19318         $(common-objpfx)elf/.
19320 2014-05-21  Richard Henderson  <rth@redhat.com>
19322         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
19323         (SINGLE_THREAD_P): Use the correct width load.  Fold
19324         into the ldr offset.
19326         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
19327         (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
19329 2014-05-20  Joseph Myers  <joseph@codesourcery.com>
19331         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
19332         (libgcc_s_resume): Use __attribute_used__.
19333         * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
19334         Likewise.
19336 2014-05-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19338         * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
19339         optimization when used with float constants.
19341         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19343 2014-05-20  Aurelien Jarno  <aurelien@aurel32.net>
19345         [BZ #16915]
19346         * locale/nl_langinfo_l.c: Make direct reference to every
19347         _nl_current_CATEGORY symbol.
19348         * localedata/Makefile (test-srcs): Add tst-langinfo-static.
19349         (tests-static): Add tst-langinfo-static.
19350         (tests-special): Add tst-langinfo-static.out.
19351         ($(objpfx)tst-langinfo.out): Redirect output.
19352         ($(objpfx)tst-langinfo-static.out): New.
19353         * localedata/tst-langinfo.sh: Send output to stdout.
19354         * localedata/tst-langinfo-static.c: New file.
19356         [BZ #16965]
19357         * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
19358         when the shift amount is modulo the limb size.
19360 2014-05-20  Richard Henderson  <rth@redhat.com>
19362         [BZ #16967]
19363         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
19364         Change type of sa_flags from unsigned int to int.
19366         [BZ #16966]
19367         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
19369         * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
19371 2014-05-20  Will Newton  <will.newton@linaro.org>
19373         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
19374         Test the return value of the system call in the nocancel case.
19376 2014-05-20  Will Newton  <will.newton@linaro.org>
19377             Yvan Roux  <yvan.roux@linaro.org>
19379         * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
19380         #include of asm/ptrace.h.
19381         (PTRACE_GET_THREAD_AREA): Remove #undef.
19382         (PTRACE_GETHBPREGS): Likewise.
19383         (PTRACE_SETHBPREGS): Likewise.
19384         (struct user_regs_struct): New structure.
19385         (struct user_fpsimd_struct): New structure.
19386         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
19387         #include of asm/ptrace.h and second #include of sys/user.h.
19388         (PTRACE_GET_THREAD_AREA): Remove #undef.
19389         (PTRACE_GETHBPREGS): Likewise.
19390         (PTRACE_SETHBPREGS): Likewise.
19391         (ELF_NGREG): Use new struct user_regs_struct.
19392         (elf_fpregset_t): Use new struct user_fpsimd_struct.
19394 2014-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19396         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
19397         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
19399 2014-05-17  Jose E. Marchesi  <jose.marchesi@oracle.com>
19401         [BZ #16958]
19402         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
19403         membar to avoid block loads/stores to overlap previous stores.
19405 2014-05-17  Richard Henderson  <rth@redhat.com>
19407         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
19408         Create the __##syscall_name##_nocancel entry point.
19409         * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
19410         Remove; let the sysdep-cancel.h code create it.
19412 2014-05-17  David S. Miller  <davem@davemloft.net>
19414         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
19415         Protect with __USE_GNU.
19416         (TIOCSET_TEMPT): Likewise.
19417         (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
19418         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
19419         these are already provided in bits/ioctl-types.h
19421 2014-05-16  Roland McGrath  <roland@hack.frob.com>
19423         * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
19424         * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
19426         * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
19427         Use wait4 regardless of [__NR_waitpid].
19429 2014-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
19431         PR libgcc/60166
19432         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
19433         (_FP_NANSIGN_Q): Set the quiet bit.
19435 2014-05-16  Joseph Myers  <joseph@codesourcery.com>
19437         * benchtests/Makefile
19438         ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
19439         not $(common-objpfx)math/libm.so.
19440         ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
19441         $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
19442         * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
19443         $(common-objpfx)dlfcn/libdl.so.
19444         ($(objpfx)tst-audit8): Depend on $(libm), not
19445         $(common-objpfx)math/libm.so.
19446         * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
19447         not $(common-objpfx)dlfcn/libdl.so.
19448         * math/Makefile
19449         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
19450         Depend on $(libm), not $(objpfx)libm.so.  Do not condition on
19451         [$(build-shared) = yes].
19452         ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
19453         $(common-objpfx)nptl/libpthread.so.
19454         * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
19455         $(common-objpfx)math/libm.so$(libm.so-version) or
19456         $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
19457         * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
19458         $(common-objpfx)dlfcn/libdl.so.
19459         * setjmp/Makefile (link-libm): Remove variable.
19460         ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
19461         * stdio-common/Makefile (link-libm): Remove variable.
19462         ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
19463         * stdlib/Makefile (link-libm): Remove variable.
19464         ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
19465         ($(objpfx)tst-strtod-round): Likewise.
19466         ($(objpfx)tst-tininess): Likewise.
19467         ($(objpfx)tst-strtod-underflow): Likewise.
19468         ($(objpfx)tst-strtod6): Likewise.
19469         ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
19470         $(libdl), not $(common-objpfx)nptl/libpthread.so and
19471         $(common-objpfx)dlfcn/libdl.so.
19473 2014-05-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19475         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
19476         BSD terminal modes definitions.
19478 2014-05-16  Roland McGrath  <roland@hack.frob.com>
19480         * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
19481         * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
19483         * sysdeps/unix/sysv/linux/arch-fork.h: New file.
19484         * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
19485         * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
19486         Don't do #include_next.
19487         * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
19488         * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
19489         Don't do #include_next.
19490         * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
19491         * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
19492         * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
19493         * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
19495 2014-05-16  Allan McRae  <allan@archlinux.org>
19497         * po/sv.po: Update Swedish translation from translation project.
19499         * timezone/Makefile ($(objpfx)tzselect): Use correct variable
19500         in sed expression.
19502 2014-05-16  Aurelien Jarno  <aurelien@aurel32.net>
19504         [BZ #16917]
19505         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
19506         errno if the TIOCGPTN ioctl fails with an error different than
19507         EINVAL.
19508         * login/tst-ptsname.c: New file.
19509         * login/Makefile (tests): Add tst-ptsname.
19511         [BZ #16943]
19512         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
19513         and prlimit64.
19515 2014-05-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
19517         [BZ #16849]
19518         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
19519         herrno to return EAI_AGAIN.
19521 2014-05-14  Roland McGrath  <roland@hack.frob.com>
19523         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
19524         * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
19525         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
19526         * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
19527         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
19528         * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
19529         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
19530         * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
19531         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
19532         * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
19533         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
19534         * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
19535         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
19536         * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
19537         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
19538         * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
19539         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
19540         * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
19541         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
19542         * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
19543         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
19544         * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
19545         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
19546         * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
19547         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
19548         * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
19549         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
19550         * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
19551         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
19552         * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
19553         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
19554         * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
19555         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
19556         * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
19557         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
19558         Moved ...
19559         * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
19560         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
19561         * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
19562         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
19563         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
19564         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
19565         * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
19566         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
19567         * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
19568         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
19569         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
19570         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
19571         * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
19572         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
19573         * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
19574         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
19575         * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
19576         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
19577         * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
19578         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
19579         * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
19580         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
19581         * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
19582         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
19583         * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
19584         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
19585         * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
19586         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
19587         Moved ...
19588         * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
19589         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
19590         * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
19591         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
19592         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
19593         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
19594         * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
19595         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
19596         * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
19597         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
19598         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
19599         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
19600         * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
19601         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
19602         * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
19603         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
19604         * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
19605         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
19606         * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
19607         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
19608         Moved ...
19609         * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
19610         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
19611         * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
19613         * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
19614         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
19615         (libpthread-sysdep_routines): Add elision-related stuff here instead.
19616         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
19617         * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
19618         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
19619         * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
19620         * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
19621         * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
19622         * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
19623         * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
19624         * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
19625         * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
19626         * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
19627         * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
19628         * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
19629         * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
19630         * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
19631         * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
19632         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
19633         * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
19634         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
19635         * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
19636         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
19637         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
19638         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
19639         * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
19640         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
19641         * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
19642         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
19643         * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
19645         * sysdeps/unix/sysv/linux/mips/fork.h: New file.
19646         * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
19648         * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
19649         * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
19650         * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
19651         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
19652         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
19653         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
19654         Moved ...
19655         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
19656         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
19657         Moved ...
19658         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
19659         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
19660         Moved ...
19661         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
19662         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
19663         Moved ...
19664         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
19665         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
19666         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
19667         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
19668         Moved ...
19669         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
19670         * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
19671         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
19672         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
19673         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
19674         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
19675         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
19676         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
19677         Moved ...
19678         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
19679         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
19680         Moved ...
19681         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
19682         ... here.
19683         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
19684         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
19685         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
19686         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
19687         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
19688         Moved ...
19689         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
19690         ... here.
19691         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
19692         Moved ...
19693         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
19694         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
19695         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
19696         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
19697         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
19698         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
19699         Moved ...
19700         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
19701         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
19702         Moved ...
19703         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
19704         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
19705         Moved ...
19706         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
19707         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
19708         Moved ...
19709         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
19710         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
19711         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
19712         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
19713         Moved ...
19714         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
19715         * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
19716         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
19717         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
19718         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
19719         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
19720         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
19721         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
19722         Moved ...
19723         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
19724         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
19725         Moved ...
19726         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
19727         ... here.
19728         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
19729         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
19730         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
19731         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
19732         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
19733         Moved ...
19734         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
19735         ... here.
19736         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
19737         Moved ...
19738         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
19739         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
19740         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
19741         * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
19742         * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
19743         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
19744         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
19745         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
19746         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
19747         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
19748         Moved ...
19749         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
19750         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
19751         Moved ...
19752         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
19753         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
19754         Moved ...
19755         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
19756         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
19757         Moved ...
19758         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
19759         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
19760         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
19761         * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
19762         * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
19763         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
19764         Moved ...
19765         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
19766         * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
19767         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
19768         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
19769         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
19770         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
19771         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
19772         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
19773         Moved ...
19774         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
19775         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
19776         Moved ...
19777         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
19778         ... here.
19779         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
19780         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
19781         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
19782         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
19783         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
19784         Moved ...
19785         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
19786         ... here.
19787         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
19788         Moved ...
19789         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
19790         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
19791         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
19792         * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
19793         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
19794         * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
19795         * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
19796         * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
19797         * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
19798         * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
19799         * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
19801         * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
19802         * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
19804         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
19805         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
19807         * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
19808         * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
19809         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
19810         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
19811         * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
19812         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
19813         * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
19814         * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
19815         * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
19816         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
19817         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
19818         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
19819         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
19820         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
19821         * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
19822         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
19823         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
19824         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
19825         Moved ...
19826         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
19827         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
19828         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
19829         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
19830         Moved ...
19831         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
19832         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
19833         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
19834         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
19835         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
19836         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
19837         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
19838         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
19839         Moved ...
19840         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
19841         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
19842         Moved ...
19843         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
19844         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
19845         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
19846         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
19847         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
19848         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
19849         * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
19850         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
19851         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
19852         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
19853         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
19854         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
19855         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
19856         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
19857         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
19858         * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
19859         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
19861         * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
19862         * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
19863         * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
19864         * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
19865         * sysdeps/unix/sysv/linux/i386/fork.h: New file.
19867         * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
19868         * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
19869         * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
19870         * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
19871         * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
19872         * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
19873         * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
19874         * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
19875         * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
19876         * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
19878         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
19879         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
19881         * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
19882         * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
19883         * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
19884         * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
19885         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
19886         * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
19887         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
19888         * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
19889         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
19890         * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
19891         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
19892         * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
19893         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
19894         * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
19895         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
19896         Update #include.
19897         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
19898         Likewise.
19899         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
19900         Likewise.
19901         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
19902         Likewise.
19903         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
19904         Likewise.
19905         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
19906         Likewise.
19907         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
19908         Likewise.
19909         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
19910         Likewise.
19911         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
19912         Likewise.
19913         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
19914         Likewise.
19915         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
19916         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
19917         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
19918         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
19919         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
19920         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
19921         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
19922         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
19923         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
19924         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
19925         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
19926         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
19927         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
19928         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c:  Likewise.
19929         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c:  Likewise.
19931         * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
19932         that was previously under [RESET_PID].
19933         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
19934         * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
19935         * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
19937         * sysdeps/i386/nptl/Implies: New file.
19938         * sysdeps/x86_64/nptl/Implies: New file.
19939         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
19940         * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
19941         * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
19942         * sysdeps/x86/nptl/bits/semaphore.h: ... here.
19944         * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
19945         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
19946         (__libc_vfork): New strong alias.
19947         * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
19948         * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
19950         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
19951         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
19952         (__libc_vfork): New strong alias.
19953         * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
19954         * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
19956         * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
19957         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
19958         (__libc_vfork): New strong alias.
19959         * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
19960         * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
19961         * nptl/pt-vfork.c: New file.
19962         * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
19963         (libpthread: GLIBC_2.20): New version set (empty).
19965 2014-05-14  Will Newton  <will.newton@linaro.org>
19967         * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
19968         rather than #if.
19970 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
19972         [BZ #16564]
19973         * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
19974         arguments with exponent 65 or above.
19975         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
19976         arguments 0x1p113L or above.
19977         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
19978         to arguments 0x1p107L or above.
19979         * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
19980         positive arguments with exponent 65 or above.
19981         * math/auto-libm-test-in: Add more tests of log1p.
19982         * math/auto-libm-test-out: Regenerated.
19984         [BZ #16928]
19985         * math/s_cacos.c (__cacos): Ensure zero real part of result from
19986         non-finite arguments is +0.
19987         * math/s_cacosf.c (__cacosf): Likewise.
19988         * math/s_cacosl.c (__cacosl): Likewise.
19989         * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
19990         * sysdeps/i386/fpu/libm-test-ulps: Update.
19991         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19993         [BZ #16927]
19994         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
19995         value.
19996         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
19997         * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
19998         * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
19999         for explicit high bit of mantissa when testing for argument equal
20000         to 1.
20001         * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
20002         * sysdeps/i386/fpu/libm-test-ulps: Update.
20003         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20005         [BZ #16516]
20006         * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
20007         (__erf): Scale by 16 instead of 8 in potentially underflowing
20008         case.  Ensure exception if result actually underflows.
20009         * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
20010         (__erff): Scale by 16 instead of 8 in potentially underflowing
20011         case.  Ensure exception if result actually underflows.
20012         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
20013         (efx8): Remove variable.
20014         (__erfl): Scale by 16 instead of 8 in potentially underflowing
20015         case.  Ensure exception if result actually underflows.
20016         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
20017         (efx8): Remove variable.
20018         (__erfl): Scale by 16 instead of 8 in potentially underflowing
20019         case.  Ensure exception if result actually underflows.
20020         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
20021         (efx8): Remove variable.
20022         (__erfl): Scale by 16 instead of 8 in potentially underflowing
20023         case.  Ensure exception if result actually underflows.
20024         * math/auto-libm-test-in: Add more tests of erf.
20025         * math/auto-libm-test-out: Regenerated.
20027 2014-05-14  Andreas Schwab  <schwab@suse.de>
20029         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
20030         Remove code conditionalized on USE___THREAD.
20032         * config.h.in (HAVE_PT_CHOWN): Define as 0.
20033         * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
20034         not definedness.
20036 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
20038         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
20039         Define unconditionally.
20040         (__ASSUME_O_CLOEXEC): Likewise.
20041         (__ASSUME_SOCK_CLOEXEC): Likewise.
20042         (__ASSUME_IN_NONBLOCK): Likewise.
20043         (__ASSUME_PIPE2): Likewise.
20044         (__ASSUME_EVENTFD2): Likewise.
20045         (__ASSUME_SIGNALFD4): Likewise.
20046         (__ASSUME_DUP3): Likewise.
20047         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
20048         (__ASSUME_DUP3): Do not define.
20049         (__ASSUME_EVENTFD2): Likewise.
20050         (__ASSUME_IN_NONBLOCK): Likewise.
20051         (__ASSUME_O_CLOEXEC): Likewise.
20052         (__ASSUME_PIPE2): Likewise.
20053         (__ASSUME_SIGNALFD4): Likewise.
20054         (__ASSUME_SOCK_CLOEXEC): Likewise.
20055         (__ASSUME_UTIMES): Undefine.
20056         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
20057         (__ASSUME_UTIMES): Do not define.
20058         (__ASSUME_O_CLOEXEC): Likewise.
20059         (__ASSUME_SOCK_CLOEXEC): Likewise.
20060         (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
20061         0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
20062         0x020621].
20063         (__ASSUME_PIPE2): Likewise.
20064         (__ASSUME_EVENTFD2): Likewise.
20065         (__ASSUME_SIGNALFD4): Likewise.
20066         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
20067         * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
20068         Do not define.
20069         (__ASSUME_EVENTFD2): Likewise.
20070         (__ASSUME_SIGNALFD4): Likewise.
20071         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
20072         (__ASSUME_32BITUIDS): Likewise.
20073         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
20074         (__ASSUME_IPC64): Likewise.
20075         (__ASSUME_ST_INO_64_BIT): Likewise.
20076         (__ASSUME_GETDENTS64_SYSCALL): Likewise.
20077         [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
20078         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
20079         (__ASSUME_UTIMES): Do not define.
20080         (__ASSUME_PSELECT): Likewise.
20081         (__ASSUME_PPOLL): Likewise.
20082         (__ASSUME_O_CLOEXEC): Likewise.
20083         (__ASSUME_SOCK_CLOEXEC): Likewise.
20084         (__ASSUME_IN_NONBLOCK): Likewise.
20085         (__ASSUME_PIPE2): Likewise.
20086         (__ASSUME_EVENTFD2): Likewise.
20087         (__ASSUME_SIGNALFD4): Likewise.
20088         (__ASSUME_DUP3): Likewise.
20089         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
20090         (__ASSUME_UTIMES): Likewise.
20091         (__ASSUME_O_CLOEXEC): Likewise.
20092         (__ASSUME_SOCK_CLOEXEC): Likewise.
20093         (__ASSUME_IN_NONBLOCK): Likewise.
20094         (__ASSUME_PIPE2): Likewise.
20095         (__ASSUME_EVENTFD2): Likewise.
20096         (__ASSUME_SIGNALFD4): Likewise.
20097         (__ASSUME_DUP3): Likewise.
20098         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
20099         (__ASSUME_UTIMES): Likewise.
20100         (__ASSUME_O_CLOEXEC): Likewise.
20101         (__ASSUME_SOCK_CLOEXEC): Likewise.
20102         (__ASSUME_IN_NONBLOCK): Likewise.
20103         (__ASSUME_PIPE2): Likewise.
20104         (__ASSUME_EVENTFD2): Likewise.
20105         (__ASSUME_SIGNALFD4): Likewise.
20106         (__ASSUME_DUP3): Likewise.
20107         * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
20108         Likewise.
20109         (__ASSUME_UTIMES): Likewise.
20110         (__ASSUME_EVENTFD2): Likewise.
20111         (__ASSUME_SIGNALFD4): Likewise.
20112         * sysdeps/unix/sysv/linux/tile/kernel-features.h
20113         (__ASSUME_O_CLOEXEC): Likewise.
20114         (__ASSUME_SOCK_CLOEXEC): Likewise.
20115         (__ASSUME_IN_NONBLOCK): Likewise.
20116         (__ASSUME_PIPE2): Likewise.
20117         (__ASSUME_EVENTFD2): Likewise.
20118         (__ASSUME_SIGNALFD4): Likewise.
20119         (__ASSUME_DUP3): Likewise.
20120         (__ASSUME_UTIMES): Undefine.
20122         * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
20123         feclearexcept.  Remove symbol versioning code.
20124         * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv.  Remove
20125         symbol versioning code.
20126         * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv.  Remove
20127         symbol versioning code.
20128         * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
20129         feupdateenv.  Remove symbol versioning code.
20130         * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
20131         fegetexceptflag.  Remove symbol versioning code.
20132         * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
20133         fesetexceptflag.  Remove symbol versioning code.
20134         * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
20135         GLIBC_2.2 and GLIBC_2.3.3 entries.  Change GLIBC_2.1 to GLIBC_2.4.
20136         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
20137         (__posix_fadvise64_l32): Remove prototype.
20138         [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
20139         code.
20141 2014-05-13  Roland McGrath  <roland@hack.frob.com>
20143         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
20144         * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
20145         * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
20146         * sysdeps/arm/nptl/bits/semaphore.h: ... here.
20148 2014-05-13  Sami Kerola  <kerolasa@iki.fi>
20150         * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
20151         current working directory
20153 2014-05-13  Roland McGrath  <roland@hack.frob.com>
20155         * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
20156         * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
20157         * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
20158         * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
20159         * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
20160         * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
20161         * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
20162         * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
20163         * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
20164         * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
20165         * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
20166         * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
20167         * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
20168         * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
20169         * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
20170         * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
20171         * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
20172         * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
20173         * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
20174         * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
20175         * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
20176         * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
20177         * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
20178         * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
20179         * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
20180         * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
20181         * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
20182         * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
20183         * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
20184         * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
20185         * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
20186         * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
20187         * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
20188         * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
20189         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
20190         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
20191         * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
20192         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
20193         * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
20194         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
20195         * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
20196         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
20198         * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
20199         * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
20201         * sysdeps/unix/sysv/linux/arm/Makefile
20202         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
20203         Add rt-aeabi_unwind_cpp_pr1.
20204         [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
20205         Add nptl-aeabi_unwind_cpp_pr1.
20206         [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
20207         * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
20208         * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
20209         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
20210         * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
20211         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
20213         * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
20214         * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
20215         * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
20216         * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
20218         * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
20219         Deconditionalize the code that was previously under [RESET_PID].
20220         * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
20222         * sysdeps/generic/exit-thread.h: New file.
20223         * sysdeps/unix/sysv/linux/exit-thread.h: New file.
20224         * include/unistd.h (__exit_thread): Remove declaration.
20225         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
20226         * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
20227         * csu/libc-start.c: Include <exit-thread.h>.
20228         (LIBC_START_MAIN): Pass no argument to __exit_thread.
20229         * nptl/pthread_create.c: Include <exit-thread.h>.
20230         (start_thread): Call __exit_thread in place of __exit_thread_inline.
20231         * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
20232         * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
20233         * nptl/sysdeps/s390/pthreaddef.h: Likewise.
20234         * nptl/sysdeps/sh/pthreaddef.h: Likewise.
20235         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
20236         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
20237         * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
20238         * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
20239         * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
20240         * sysdeps/arm/nptl/pthreaddef.h: Likewise.
20241         * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
20242         * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
20243         * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
20244         * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
20245         * sysdeps/mips/nptl/pthreaddef.h: Likewise.
20246         * sysdeps/tile/nptl/pthreaddef.h: Likewise.
20248 2014-05-13  Andreas Schwab  <schwab@suse.de>
20250         * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
20252 2014-05-12  Joseph Myers  <joseph@codesourcery.com>
20254         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
20255         (__ASSUME_UTIMES): Do not condition on kernel version.
20256         (__ASSUME_PSELECT): Define unconditionally.
20257         (__ASSUME_PPOLL): Likewise.
20258         (__ASSUME_ATFCTS): Likewise.
20259         (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
20260         (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
20261         (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
20262         (__ASSUME_UTIMENSAT): Define unconditionally.
20263         (__ASSUME_PRIVATE_FUTEX): Likewise.
20264         (__ASSUME_FALLOCATE): Likewise.
20265         (__ASSUME_O_CLOEXEC): Likewise.
20266         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
20267         (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
20268         (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
20269         (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
20270         (__ASSUME_IN_NONBLOCK): Likewise.
20271         (__ASSUME_PIPE2): Likewise.
20272         (__ASSUME_EVENTFD2): Likewise.
20273         (__ASSUME_SIGNALFD4): Likewise.
20274         (__ASSUME_DUP3): Likewise.
20275         [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
20276         (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
20277         (__ASSUME_AT_RANDOM): Likewise.
20278         (__ASSUME_PREADV): Likewise.
20279         (__ASSUME_PWRITEV): Likewise.
20280         (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
20281         (__ASSUME_F_GETOWN_EX): Define unconditionally.
20282         (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
20283         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
20284         [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
20285         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
20286         (__ASSUME_O_CLOEXEC): Define unconditionally.
20287         (__ASSUME_PSELECT): Do not undefine conditionally.
20288         (__ASSUME_PPOLL): Likewise.
20289         (__ASSUME_ATFCTS): Likewise.
20290         (__ASSUME_SET_ROBUST_LIST): Likewise.
20291         (__ASSUME_UTIMENSAT): Likewise.
20292         (__ASSUME_FDATASYNC): Define unconditionally.
20293         * sysdeps/unix/sysv/linux/arm/kernel-features.h
20294         (__ASSUME_SIGFRAME_V2): Likewise.
20295         )__ASSUME_EVENTFD2): Likewise.
20296         (__ASSUME_SIGNALFD4): Likewise.
20297         (__ASSUME_PSELECT): Do not undefine conditionally.
20298         (__ASSUME_PPOLL): Likewise.
20299         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
20300         (__ASSUME_PSELECT): Define unconditionally.
20301         (__ASSUME_PPOLL): Likewise.
20302         (__ASSUME_O_CLOEXEC): Likewise.
20303         (__ASSUME_SOCK_CLOEXEC): Likewise.
20304         (__ASSUME_IN_NONBLOCK): Likewise.
20305         (__ASSUME_PIPE2): Likewise.
20306         (__ASSUME_EVENTFD2): Likewise.
20307         (__ASSUME_SIGNALFD4): Likewise.
20308         (__ASSUME_DUP3): Likewise.
20309         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
20310         (__ASSUME_O_CLOEXEC): Likewise.
20311         (__ASSUME_SOCK_CLOEXEC): Likewise.
20312         (__ASSUME_IN_NONBLOCK): Likewise.
20313         (__ASSUME_PIPE2): Likewise.
20314         (__ASSUME_EVENTFD2): Likewise.
20315         (__ASSUME_SIGNALFD4): Likewise.
20316         (__ASSUME_DUP3): Likewise.
20317         * sysdeps/unix/sysv/linux/mips/kernel-features.h
20318         (__ASSUME_EVENTFD2): Likewise.
20319         (__ASSUME_SIGNALFD4): Likewise.
20320         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
20322 2014-05-12  Andreas Schwab  <schwab@suse.de>
20324         [BZ #16932]
20325         * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
20326         (_nss_nis_gethostbyname4_r): Return error if item length is larger
20327         than maximum RPC packet size.
20328         * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
20329         * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
20330         * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
20331         (_nss_nis_getservbyport_r): Likewise.
20333 2014-05-12  Will Newton  <will.newton@linaro.org>
20335         * malloc/Makefile (tests): Add tst-mallopt.
20336         * malloc/tst-mallopt.c: New file.
20338 2014-05-09  Roland McGrath  <roland@hack.frob.com>
20340         * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
20341         [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
20343 2014-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20345         * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
20346         (tst-tlsmod6.so): Likewise.
20348 2014-05-09  Roland McGrath  <roland@hack.frob.com>
20350         * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
20352 2014-05-09  Joseph Myers  <joseph@codesourcery.com>
20354         [BZ #16064]
20355         * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
20356         and <dl-procinfo.h>.
20357         (__fegetenv): Save SSE state in envp->__eip if supported.
20358         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
20359         envp->__eip if supported.
20360         * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
20361         and <dl-procinfo.h>.
20362         (__fesetenv): Always set __eip, __cs_selector, __opcode,
20363         __data_offset and __data_selector in environment to 0.  Set SSE
20364         state if supported.
20365         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
20366         test-fenv-sse.
20367         [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
20368         -mfpmath=sse.
20369         * sysdeps/x86/fpu/test-fenv-sse.c: New file.
20371 2014-05-09  Will Newton  <will.newton@linaro.org>
20373         * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
20374         and libc_relro_required for ARM.
20375         * sysdeps/arm/preconfigure: Regenerate.
20377 2014-05-09  Dominik Vogt  <vogt@linux.vnet.ibm.com>
20378             Stefan Liebler  <stli@linux.vnet.ibm.com>
20380         * config.make.in (enable-lock-elision): New Makefile variable.
20381         * configure.ac: Likewise.
20382         * configure: Regenerate.
20383         * sysdeps/s390/configure.ac:
20384         Add check for gcc transactions support.
20385         * sysdeps/s390/configure: Regenerate.
20386         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
20387         Build elision files if enabled.
20388         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
20389         Add lock elision support for s390.
20390         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
20391         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
20392         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
20393         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
20394         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
20395         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
20396         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
20397         Likewise.
20398         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
20399         Likewise.
20400         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
20401         Likewise.
20402         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
20403         Likewise.
20404         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
20405         (__lll_timedlock_elision, __lll_lock_elision)
20406         (__lll_unlock_elision, __lll_trylock_elision)
20407         (lll_timedlock_elision, lll_lock_elision)
20408         (lll_unlock_elision, lll_trylock_elision): Add.
20409         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
20410         (pthread_mutex_t): Add lock elision support for s390.
20412 2014-05-14  Wilco  <wdijkstr@arm.com>
20414         * sysdeps/arm/fclrexcpt.c: Cleanup.
20415         * sysdeps/arm/fedisblxcpt.c: Cleanup.
20416         * sysdeps/arm/feenablxcpt.c: Cleanup.
20417         * sysdeps/arm/fegetenv.c: Cleanup.
20418         * sysdeps/arm/fegetexcept.c: Cleanup.
20419         * sysdeps/arm/fegetround.c: Cleanup.
20420         * sysdeps/arm/feholdexcpt.c: Cleanup.
20421         * sysdeps/arm/fesetenv.c: Cleanup.
20422         * sysdeps/arm/fesetround.c: Cleanup.
20423         * sysdeps/arm/feupdateenv.c: Cleanup.
20424         * sysdeps/arm/fgetexcptflg.c: Cleanup.
20425         * sysdeps/arm/fraiseexcpt.c: Cleanup.
20426         * sysdeps/arm/fsetexcptflg.c: Cleanup.
20427         * sysdeps/arm/ftestexcept.c: Cleanup.
20428         * sysdeps/arm/get-rounding-mode.h: Cleanup.
20429         * sysdeps/arm/setfpucw.c: Cleanup.
20431 2014-05-09  Will Newton  <will.newton@linaro.org>
20433         * sysdeps/arm/armv7/strcmp.S: New file.
20434         * NEWS: Mention addition of ARMv7 optimized strcmp.
20436 2014-05-08  Roland McGrath  <roland@hack.frob.com>
20438         * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
20439         look for %.ac rather than %.in.
20441         * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
20442         * sysdeps/unix/sysv/linux/configure.ac: Likewise.
20443         * sysdeps/mach/hurd/configure: Regenerated.
20444         * sysdeps/unix/sysv/linux/configure: Regenerated.
20446         * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
20448 2014-05-07  Steve Ellcey  <sellcey@mips.com>
20450         [BZ# 16922]
20451         * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
20452         (LONG_SUB): Ditto.
20453         (PTR_SUB): Ditto.
20455 2014-05-07  Andreas Schwab  <schwab@suse.de>
20457         * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
20458         when skipping over non-matching result from nscd.
20460 2014-05-07  Ondřej Bílka  <neleai@seznam.cz>
20462         [BZ #16876]
20463         * nptl/sockperf.c (client): Check socket return value.
20465         [BZ #16877]
20466         * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
20467         nscd security class.
20469 2014-05-06  Roland McGrath  <roland@hack.frob.com>
20471         * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
20472         * sysdeps/arm/unwind.h: ... here.
20474 2014-05-06  Aurelien Jarno  <aurelien@aurel32.net>
20476         [BZ# 16916]
20477         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
20478         Define.
20480 2014-05-06  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
20482         * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
20483         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
20484         multiarch strncpy for PPC64.
20485         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
20486         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
20487         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
20488         multiarch optimizations.
20489         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
20490         (__libc_ifunc_impl_list): Likewise.
20491         * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
20492         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
20493         multiarch stpncpy for PPC64.
20494         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
20495         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
20497 2014-05-06  Andreas Schwab  <schwab@suse.de>
20499         [BZ #16912]
20500         * gmon/mcount.c (_MCOUNT_DECL): Use
20501         atomic_compare_and_exchange_bool_acq instead of
20502         catomic_compare_and_exchange_bool_acq.
20504 2014-05-05  Roland McGrath  <roland@hack.frob.com>
20506         * elf/Makefile (others, install-bin): Remove pldd.
20507         (pldd-modules): Variable removed.
20508         ($(objpfx)pldd): Target removed.
20509         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
20510         (others, install-bin): Append pldd here.
20511         ($(objpfx)pldd): New target.
20513         * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
20514         to 0, so the first #if test emitted later doesn't see it undefined.
20515         (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
20516         * sysdeps/gnu/errlist.c: Regenerated.
20518 2014-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20520         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
20521         [libc_hidden_builtin_def]: Define to empty value.
20522         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
20523         [libc_hidden_builtin_def]: Likewise.
20524         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
20525         [libc_hidden_builtin_def]: Likewise.
20526         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
20527         [libc_hidden_builtin_def]: Likewise.
20528         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
20529         __redirect_memcpy and define ifunc as default hidden symbol.
20530         * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
20531         * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
20533 2014-05-04  Adam Conrad  <adconrad@0c3.net>
20535         * locale/iso-4217.def: Reintroduce XDR currency.
20537 2014-05-04  Allan McRae  <allan@archlinux.org>
20539         * po/eo.po: Update Esperanto translation from translation project.
20541 2014-05-02  Carlos O'Donell  <carlos@redhat.com>
20543         * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
20544         and FEATURE_INDEX_MAX to 1.
20545         [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
20547 2014-05-01  Steve Ellcey  <sellcey@mips.com>
20549         * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
20550         * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
20551         * iconvdata/big5.c (ONE_DIRECTION): Define.
20552         * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
20553         * iconvdata/cp1255.c (ONE_DIRECTION): Define.
20554         * iconvdata/cp1258.c (ONE_DIRECTION): Define.
20555         * iconvdata/cp932.c (ONE_DIRECTION): Define.
20556         * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
20557         * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
20558         * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
20559         * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
20560         * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
20561         * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
20562         * iconvdata/gb18030.c (ONE_DIRECTION): Define.
20563         * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
20564         * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
20565         * iconvdata/gbk.c (ONE_DIRECTION): Define.
20566         * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
20567         * iconvdata/ibm930.c (ONE_DIRECTION): Define.
20568         * iconvdata/ibm932.c (ONE_DIRECTION): Define.
20569         * iconvdata/ibm933.c (ONE_DIRECTION): Define.
20570         * iconvdata/ibm935.c (ONE_DIRECTION): Define.
20571         * iconvdata/ibm937.c (ONE_DIRECTION): Define.
20572         * iconvdata/ibm939.c (ONE_DIRECTION): Define.
20573         * iconvdata/ibm943.c (ONE_DIRECTION): Define.
20574         * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
20575         * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
20576         * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
20577         * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
20578         * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
20579         * iconvdata/iso646.c (ONE_DIRECTION): Define.
20580         * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
20581         * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
20582         * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
20583         * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
20584         * iconvdata/johab.c (ONE_DIRECTION): Define.
20585         * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
20586         * iconvdata/sjis.c (ONE_DIRECTION): Define.
20587         * iconvdata/t.61.c (ONE_DIRECTION): Define.
20588         * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
20589         * iconvdata/tscii.c (ONE_DIRECTION): Define.
20590         * iconvdata/uhc.c (ONE_DIRECTION): Define.
20591         * iconvdata/unicode.c (ONE_DIRECTION): Define.
20592         * iconvdata/utf-16.c (ONE_DIRECTION): Define.
20593         * iconvdata/utf-32.c (ONE_DIRECTION): Define.
20594         * iconvdata/utf-7.c (ONE_DIRECTION): Define.
20596 2014-05-01  Roland McGrath  <roland@hack.frob.com>
20598         * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
20599         (_IO_JUMPS_OFFSET): Define to 0.
20601         * nptl/sysdeps/pthread/bits/libc-lock.h
20602         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
20603         (__libc_lock_define_initialized_recursive): Always define using
20604         initializer.  Modern compilers treat uninitialized (implicit zero) and
20605         explicit zero initializers the same (i.e. put the datum in bss).
20607 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
20609         * nscd/nscd-client.h: Include <string.h>.
20611 2014-05-01  David S. Miller  <davem@davemloft.net>
20613         [BZ #16885]
20614         * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
20615         multiple zero bytes exist at the end of a string.
20616         Reported by Aurelien Jarno <aurelien@aurel32.net>
20618         * string/test-strcmp.c (check): Add explicit test for situations where
20619         there are multiple zero bytes after the first.
20621 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
20623         [BZ #16890]
20624         * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
20625         when compiling wprintf.
20626         * stdio-common/tstdiomisc.c (t3): New function.
20627         (main): Call it.
20629 2014-05-01  Steve Ellcey  <sellcey@mips.com>
20631         * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
20632         * iconv/gconv_simple.c (ONE_DIRECTION): Define.
20633         * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
20634         * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
20636 2014-05-01  Steve Ellcey  <sellcey@mips.com>
20638         * stdlib/longlong.h: Updated from GCC.
20640 2014-05-01  Will Newton  <will.newton@linaro.org>
20641             Bernard Ogden  <bernie.ogden@linaro.org>
20643         * NEWS: Update fixed bug list.
20645         [BZ #15119]
20646         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
20648 2014-04-30  David S. Miller  <davem@davemloft.net>
20650         * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
20651         (libc_feholdexcept_setround_sparc_ctx): New function.
20652         (libc_fesetenv_sparc_ctx): Likewise.
20653         (libc_feupdateenv_sparc_ctx): Likewise.
20654         (libc_feholdsetround_sparc_ctx): Likewise.
20655         (libc_feholdexcept_setround_ctx): Define.
20656         (libc_feholdexcept_setroundf_ctx): Likewise.
20657         (libc_feholdexcept_setroundl_ctx): Likewise.
20658         (libc_fesetenv_ctx): Likewise.
20659         (libc_fesetenvf_ctx): Likewise.
20660         (libc_fesetenvl_ctx): Likewise.
20661         (libc_feupdateenv_ctx): Likewise.
20662         (libc_feupdateenvf_ctx): Likewise.
20663         (libc_feupdateenvl_ctx): Likewise.
20664         (libc_feresetround_ctx): Likewise.
20665         (libc_feresetroundf_ctx): Likewise.
20666         (libc_feresetroundl_ctx): Likewise.
20667         (libc_feholdsetround_ctx): Likewise.
20668         (libc_feholdsetroundf_ctx): Likewise.
20669         (libc_feholdsetroundl_ctx): Likewise.
20671         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
20672         with __USE_GNU instead of XOPEN cpp guards.
20674         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
20675         0.
20677         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
20678         with XOPEN cpp guards.
20680 2014-04-30  Julian Brown  <julian@codesourcery.com>
20682         [BZ #16888]
20683         * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
20684         handling.
20686 2014-04-30  Joseph Myers  <joseph@codesourcery.com>
20688         [BZ #9894]
20689         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
20690         Change to 2.6.32.
20691         (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
20692         * sysdeps/unix/sysv/linux/configure: Regenerated.
20693         * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
20694         * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
20695         * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
20696         * sysdeps/unix/sysv/linux/tile/configure: Likewise.
20697         * README: Update reference to required Linux kernel version.
20698         * manual/install.texi (Linux): Update reference to required Linux
20699         kernel headers version.
20700         * INSTALL: Regenerated.
20702         * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
20703         header inclusion.
20704         [POSIX] (limits.h): Likewise.
20705         [POSIX] (math.h): Likewise.
20706         [POSIX] (sys/wait.h): Likewise.
20707         * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
20708         function.
20709         [POSIX] (stddef.h): Do not allow header inclusion.
20711 2014-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20713         * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
20715 2014-04-30  Yang Yingliang  <yangyingliang@huawei.com>
20717         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
20718         Return immediately after lll_futex_wake.
20720 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
20722         [BZ #16791]
20723         * nscd/nscd-client.h (datahead_init_common): Initialize entire
20724         structure.
20725         (datahead_init_pos): Call datahead_init_common early.
20726         (datahead_init_neg): Likewise.
20728         * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
20729         datahead_init_neg): New functions.
20730         * nscd/aicache.c (addhstaiX): Use them.
20731         * nscd/grpcache.c (cache_addgr): Likewise.
20732         * nscd/hstcache.c (cache_addhst): Likewise.
20733         * nscd/initgrcache.c (addinitgroupsX): Likewise.
20734         * nscd/netgroupcache.c (do_notfound): Likewise.
20735         (addgetnetgrentX): Likewise.
20736         (addinnetgrX): Likewise.
20737         * nscd/pwdcache.c (cache_addpw): Likewise.
20738         * nscd/servicescache.c (cache_addserv): Likewise.
20740 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
20741             Atsushi Onoe  <atsushi@onoe.org>
20743         [BZ #14308]
20744         [BZ #12994]
20745         [BZ #13651]
20746         * resolv/res_query.c (__libc_res_nsearch): Return if at least
20747         one response is valid.
20748         * resolv/res_send.c (send_dg): Check for validity of other
20749         response if the current response is a referral.
20751 2014-04-29  Steve Ellcey  <sellcey@mips.com>
20753         * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
20755 2014-04-29  Stefan Liebler  <stli@linux.vnet.ibm.com>
20757         [BZ #16823]
20758         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
20759         Always divide by positive zero when computing -Inf result.
20760         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
20761         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
20763 2014-04-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20765         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
20766         FPSCR if value do not change.
20767         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
20768         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
20769         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
20770         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
20771         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
20772         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
20773         function.
20775 2014-05-29  Carlos O'Donell  <carlos@systemhalted.org>
20777         * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
20778         * sysdeps/unix/sysv/linux/hppa: Move directory from
20779         ports/systeps/unix/sysv/linux/hppa.
20780         * README: Update listing for hppa-*-linux-gnu.
20782 2014-04-28  Ondřej Bílka  <neleai@seznam.cz>
20784         [BZ #16754]
20785         * manual/stdio.texi (Hook functions): Fix types of stream hook
20786         functions.
20787         [BZ #16854]
20788         * socket/sys/socket.h: Fix typo in comment.
20790 2014-04-28  Wilco  <wdijkstr@arm.com>
20792         * sysdeps/arm/fenv_private.h: New file.
20793         * sysdeps/arm/math_private.h: New file.
20794         * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
20796 2014-04-25  H.J. Lu  <hongjiu.lu@intel.com>
20798         * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
20799         with __int128_t.
20800         (La_x86_64_retval): Likewise.
20802 2014-04-24  Ian Bolton  <ian.bolton@arm.com>
20804         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
20805         fpsr if value didn't change.
20806         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
20807         to fpcr if value didn't change.
20808         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
20809         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
20810         fpsr or fpcr if value didn't change.
20811         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
20812         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
20813         fpcr if value didn't change.
20814         * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
20815         to fpsr if value didn't change.
20817 2014-02-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
20819         * nptl/tst-sem3.c: Use test-skeleton.c
20820         (main): Rename to do_test.  Use return instead of
20821         exit.
20822         * nptl/tst-sem4.c: Use test-skeleton.c
20823         (main): Rename to do_test.
20825 2014-04-22  David S. Miller  <davem@davemloft.net>
20827         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
20828         (struct sigaction): New struct member __glibc_reserved0, change
20829         type of sa_flags to int.
20831 2014-04-22  Yufeng Zhang  <yufeng.zhang@arm.com>
20833         * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
20834         (COUNT_LEADING_ZEROS_0): Define for AArch64.
20836 2014-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
20838         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
20839         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
20841 2014-04-22  Will Newton  <will.newton@linaro.org>
20842             Venkataramanan Kumar  <venkataramanan.kumar@linaro.org>
20844         * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
20845         (__longjmp): Add longjmp and longjmp_target SystemTap
20846         probes.
20847         * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
20848         (__sigsetjmp): Add setjmp SystemTap probe.
20850 2014-04-17  Carlos O'Donell  <carlos@redhat.com>
20852         * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
20853         match manual order.
20855 2014-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20857         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
20859         * sysdeps/powerpc/fpu/fenv_private.h
20860         (libc_feholdexcept_setroundl_ctx): Define to
20861         libc_feholdexcept_setround_ppc_ctx.
20862         (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
20863         (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
20864         (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
20865         (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
20867 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
20869         * sysdeps/aarch64/math-tests.h: New file.
20871 2014-04-17  Sihai Yao  <sihai.ysh@alibaba-inc.com>
20873         * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
20874         New.
20875         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
20876         Check and set bit_AVX2_Usable.
20877         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
20878         macro.
20879         (bit_AVX2): Likewise.
20880         (index_AVX2_Usable): Likewise.
20881         (CPUID_AVX2): Likewise.
20882         (HAS_AVX2): Likewise.
20884 2014-04-17  Will Newton  <will.newton@linaro.org>
20886         * manual/setjmp.texi (System V contexts): Add note that
20887         calling setcontext on a context created by a call to a
20888         signal handler is undefined.  Update text to note that
20889         setcontext from a signal handler is possible but not
20890         recommended.
20892         [BZ #16629]
20893         * stdlib/tst-setcontext.c: Include signal.h.
20894         (main): Check that the signal stack before and
20895         after swapcontext is the same.
20897         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
20898         Re-implement to restore registers in user code and avoid
20899         rt_sigreturn system call.
20901 2014-04-17  Wilco  <wdijkstr@arm.com>
20903         * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
20904         * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
20905         * math/test-fenv.c: Skip exception trap tests on targets which only
20906         support non-stop mode.
20908 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
20909             Wilco Dijkstra  <wilco.dijkstra@arm.com>
20911         * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
20912         (libc_feholdsetround_aarch64_ctx)
20913         (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
20914         (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
20915         (libc_feresetround_ctx, libc_feresetroundf_ctx)
20916         (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
20917         (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
20918         (libc_feresetround_noexl_ctx): Define.
20920 2014-04-16  Richard Henderson  <rth@redhat.com>
20922         * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
20924         * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
20925         unwind tables.
20927         * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
20928         const from the non-libc, non-ldso copy.
20930         * sysdeps/alpha/libm-test-ulps: Regenerate.
20932 2014-04-16  Ian Bolton  <ian.bolton@arm.com>
20933             Wilco Dijkstra  <wilco.dijkstra@arm.com>
20935         * sysdeps/aarch64/fpu/math_private.h: New file.
20937 2014-04-16  Marcus Shawcroft  <marcus.shawcroft@arm.com>
20939         * sysdeps/aarch64/libm-test-ulps: Regenerate.
20941 2014-04-16  Igor Zamyatin  <igor.zamyatin@intel.com>
20943         [BZ #16275]
20944         * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
20945         (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
20946         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
20947         Intel MPX bound registers before _dl_profile_fixup.
20948         * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
20949         registers after _dl_profile_fixup.  Save and restore bound
20950         registers bnd0/bnd1 when calling _dl_call_pltexit.
20951         * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
20952         (LR_BND_OFFSET): Likewise.
20953         (LRV_BND0_OFFSET): Likewise.
20954         (LRV_BND1_OFFSET): Likewise.
20956 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
20958         * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
20959         to...
20960         * sysdeps/mach/hurd/i386/tls.h: ... here.
20961         (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
20962         pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
20963         fields.
20965 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
20967         * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
20969 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
20971         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
20973 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
20975         [BZ #14770]
20976         * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
20977         * sysdeps/s390/configure: Regenerate.
20979         [BZ #16824]
20980         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
20981         Set round-to-nearest internally to reduce error accumulation.
20983 2014-04-16  Alan Modra  <amodra@gmail.com>
20985         [BZ #16740]
20986         [BZ #16619]
20987         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
20988         * math/libm-test.inc (frexp_test_data): Add tests.
20989         * NEWS: Update fixed bug list.
20991 2014-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
20993         * benchtests/Makefile: Depend on libraries in build directory.
20994         (bench-math): Separate out math tests.
20995         (bench-pthread): Separate out pthread tests.
20996         (bench): Include math and pthread tests.
20998 2014-04-14  Carlos O'Donell  <carlos@redhat.com>
21000         [BZ #16831]
21001         * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
21002         _dl_debug_initialize.
21004         * configure.ac: Remove SELinux header check.
21005         * configure: Regenerate.
21006         * nscd/selinux.c (perms): Array of const char* to permission names.
21007         (nscd_request_avc_has_perm): Call security_deny_unknown to find
21008         default policy. Call string_to_security_class and string_to_av_perm to
21009         translate strings. Enforce default policy and call avs_has_perm with
21010         results of translated strings.
21012 2014-04-13  David S. Miller  <davem@davemloft.net>
21014         * sysdeps/sparc/fpu/libm-test-ulps: Update.
21016 2014-04-12  Allan McRae  <allan@archlinux.org>
21018         [BZ #16838]
21019         * manual/string.texi (Collation Functions): Fix qsort argument
21020         order in example.
21021         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
21023 2014-04-11  Chris Metcalf  <cmetcalf@tilera.com>
21025         * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
21026         Make the test a no-op if there are no exceptions defined.
21028 2014-04-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
21030         * elf/Makefile (tests): make tst-dlopen-aout conditional on
21031         enable-hardcoded-path-in-tests
21033 2014-04-11  Will Newton  <will.newton@linaro.org>
21035         * benchtests/Makefile (extra-objs): Add json-lib.o.
21036         (bench-func): Tidy up JSON output.
21037         * benchtests/bench-skeleton.c: Include json-lib.h.
21038         (main): Use JSON library functions to do output of
21039         benchmark results.
21040         * benchtests/bench-timing-type.c (main): Output the
21041         timing type simply, leaving formatting to the user.
21042         * benchtests/json-lib.c: New file.
21043         * benchtests/json-lib.h: Likewise.
21045 2014-04-11  Torvald Riegel  <triegel@redhat.com>
21047         [BZ #15215]
21048         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
21049         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here.  Add missing
21050         memory barriers.  Add comments.
21051         * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
21052         * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
21053         * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
21054         * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
21055         * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
21056         * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
21058 2014-04-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
21060         * sysdeps/s390/s390-32/configure.ac: Unify file with ...
21061         * sysdeps/s390/s390-64/configure.ac: ... this ...
21062         * sysdeps/s390/configure.ac: ... to here.
21063         * sysdeps/s390/s390-32/configure: Delete file.
21064         * sysdeps/s390/s390-64/configure: Delete file.
21065         * sysdeps/s390/configure: Regenerate.
21067 2014-04-11  Joseph Anthony Pasquale Holsten  <joseph@josephholsten.com>
21069         * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
21071 2014-04-11  Will Newton  <will.newton@linaro.org>
21073         * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
21074         to zero if it is not defined elsewhere.  (mtrim): Test
21075         the value of MALLOC_DEBUG with #if rather than #ifdef.
21077 2014-04-10 Torvald Riegel  <triegel@redhat.com>
21079         * benchtests/pthread_once-inputs: New file.
21080         * benchtests/pthread_once-source.c: New file.
21081         * benchtests/README: Update documentation.
21083 2014-04-09  Igor Zamyatin  <igor.zamyatin@intel.com>
21084             H.J. Lu  <hongjiu.lu@intel.com>
21086         [BZ #16275]
21087         * config.h.in (HAVE_MPX_SUPPORT): New #undef.
21088         * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
21089         * sysdeps/x86_64/configure: Regenerated.
21090         * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
21091         macro.
21092         (REGISTER_SAVE_RAX): Likewise.
21093         (REGISTER_SAVE_RCX): Likewise.
21094         (REGISTER_SAVE_RDX): Likewise.
21095         (REGISTER_SAVE_RSI): Likewise.
21096         (REGISTER_SAVE_RDI): Likewise.
21097         (REGISTER_SAVE_R8): Likewise.
21098         (REGISTER_SAVE_R9): Likewise.
21099         (REGISTER_SAVE_BND0): Likewise.
21100         (REGISTER_SAVE_BND1): Likewise.
21101         (REGISTER_SAVE_BND2): Likewise.
21102         (_dl_runtime_resolve): Use them.  Save and restore Intel MPX
21103         bound registers when calling _dl_fixup.
21105 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21107         * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
21108         * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
21109         of its definition.
21110         * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
21111         * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
21112         * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
21113         * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
21114         * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
21115         * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
21116         * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
21118 2014-04-09  Peter Brett  <peter@peter-b.co.uk>
21120         [BZ #15514]
21121         * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
21122         pathconf(_PC_NAME_MAX).
21124 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21126         * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
21127         Remove macro usage.
21128         (__PTHREAD_SPINS): Move definition to ...
21129         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
21130         (__PTHREAD_SPINS): ... here.
21131         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
21132         (__PTHREAD_SPIN): Likewise.
21133         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
21134         (__PTHREAD_SPIN): Likewise.
21135         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
21136         (__PTHREAD_SPIN): Likewise.
21137         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
21138         (__PTHREAD_SPIN): Likewise.
21139         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
21140         (__PTHREAD_SPIN): Likewise.
21141         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
21142         (__PTHREAD_SPIN): Likewise.
21143         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
21144         (__PTHREAD_SPIN): Likewise.
21145         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
21146         (__PTHREAD_SPIN): Likewise.
21147         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
21148         (__PTHREAD_SPIN): Likewise.
21149         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
21150         (__PTHREAD_SPIN): Likewise.
21151         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
21152         (__PTHREAD_SPIN): Likewise.
21153         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
21154         (__PTHREAD_SPIN): Likewise.
21156         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
21157         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
21158         * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
21159         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
21160         imply folder.
21161         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
21162         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
21163         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
21164         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
21165         correct imply path.
21166         * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
21167         strlen symbol for non multi-arch builds.
21168         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
21169         missing hidden_def and weak_alias.
21171 2014-04-08  Carlos O'Donell  <carlos@redhat.com>
21173         * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
21175 2014-04-07  Will Newton  <will.newton@linaro.org>
21177         * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
21178         and contents.  [!_LIBC] Remove #ifndef and contents.
21179         (basename): Use ANSI prototype.  [_LIBC] Remove #idef.
21180         * string/memccpy.c (__memccpy): Use ANSI prototype.
21181         * string/memfrob.c (memfrob): Likewise.
21182         * string/strcoll.c (STRCOLL): Likewise.
21183         * string/strlen.c (strlen): Likewise.
21184         * string/strtok.c (STRTOK): Likewise.
21185         * string/strcat.c: Remove unused #include of memcopy.h.
21186         (strcat): Use ANSI prototype.
21187         * string/strchr.c: Remove unused #include of memcopy.h.
21188         (strchr): Use ANSI prototype.
21189         * string/strcmp.c: Remove unused #include of memcopy.h.
21190         (strcmp): Use ANSI prototype.
21191         * string/strcpy.c: Remove unused #include of memcopy.h.
21192         (strcpy): Use ANSI prototype.
21194 2014-04-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21196         * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
21197         * config.make.in (config-extra-cppflags): Set it from
21198         libc_extra_cppflags.
21199         * configure.ac (libc_extra_cflags): Make it accumulate over
21200         configure fragments.
21201         (libc_extra_cppflags): New flag.
21202         * configure. Regenerate.
21203         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
21204         (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
21205         not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
21206         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
21208         [BZ #16815]
21209         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
21210         result for FE_DOWNWARD rounding mode.
21211         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
21212         Likewise.
21213         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21215 2014-04-04  Chris Metcalf  <cmetcalf@tilera.com>
21217         * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
21218         in function argument name.
21220 2014-04-03  David Svoboda  <svoboda@cert.org>
21222         [BZ #5666]
21223         * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
21224         explicitly.
21226 2014-04-03  Roland McGrath  <roland@hack.frob.com>
21228         * elf/dl-unmap-segments.h: New file.
21229         * sysdeps/generic/ldsodefs.h
21230         (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
21231         * elf/dl-close.c: Include <dl-unmap-segments.h>.
21232         * elf/dl-fptr.c: Likewise.
21233         (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
21234         * sysdeps/aarch64/tlsdesc.c: Likewise.
21235         * sysdeps/arm/tlsdesc.c: Likewise.
21236         * sysdeps/i386/tlsdesc.c: Likewise.
21237         * sysdeps/tile/dl-runtime.c: Likewise.
21238         * sysdeps/x86_64/tlsdesc.c: Likewise.
21239         * elf/dl-load.h: New file.
21240         * elf/dl-load.c: Include it.
21241         (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
21242         Macros moved to dl-load.h.
21243         (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
21244         (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
21245         Use _dl_unmap_segments in place of __munmap.
21246         Break out segment-mapping loop into ...
21247         * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
21249 2014-04-03  Will Newton  <will.newton@linaro.org>
21251         * elf/dl-lookup.c (do_lookup_x): Remove comment
21252         referring to nested function and move variable
21253         declarations down to before first use.
21255 2014-04-02  Joseph Myers  <joseph@codesourcery.com>
21257         [BZ #16799]
21258         [BZ #16800]
21259         * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
21260         with 0 numerator.
21261         * math/s_catanf.c (__catanf): Likewise.
21262         * math/s_catanh.c (__catanh): Likewise.
21263         * math/s_catanhf.c (__catanhf): Likewise.
21264         * math/s_catanhl.c (__catanhl): Likewise.
21265         * math/s_catanl.c (__catanl): Likewise.
21266         * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
21267         by positive zero when computing -Inf result.
21268         * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
21269         (catanh_test): Likewise.
21270         * sysdeps/i386/fpu/libm-test-ulps: Update.
21271         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21273         [BZ #16789]
21274         * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
21275         instead of using underflowing value in computing result.
21276         * math/s_clog10.c (__clog10): Likewise.
21277         * math/s_clog10f.c (__clog10f): Likewise.
21278         * math/s_clog10l.c (__clog10l): Likewise.
21279         * math/s_clogf.c (__clogf): Likewise.
21280         * math/s_clogl.c (__clogl): Likewise.
21281         * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
21282         (clog10_test): Likewise.
21283         * sysdeps/i386/fpu/libm-test-ulps: Update.
21284         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21286 2014-04-02  Alan Modra  <amodra@gmail.com>
21288         [BZ #16739]
21289         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
21290         output when value is near a power of two.  Use int64_t for lx and
21291         remove casts.  Use decimal rather than hex exponent constants.
21292         Don't use long double multiplication when double will suffice.
21293         * math/libm-test.inc (nextafter_test_data): Add tests.
21294         * NEWS: Add 16739 and 16786 to bug list.
21296         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
21298         * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
21300 2014-04-01  Will Newton  <will.newton@linaro.org>
21302         * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
21303         -fno-builtin.  (CFLAGS-bench-ffsll.c): Likewise.
21305 2014-04-01  Florian Weimer  <fweimer@redhat.com>
21307         [BZ #13347]
21308         * nptl/nptl-init.c (sighandler_setxid): Check system call result.
21309         * nptl/tst-setuid2.c: New file.
21310         * nptl/Makefile (xtests): Add tst-setuid2.
21312 2014-04-01  Alan Modra  <amodra@gmail.com>
21314         [BZ #16786]
21315         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
21317 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
21319         [BZ #6803]
21320         [BZ #6804]
21321         * math/w_scalb.c (__scalb): For non-SVID mode, check result and
21322         set errno as appropriate.
21323         * math/w_scalbf.c (__scalbf): Likewise.
21324         * math/w_scalbl.c (__scalbl): Likewise.
21325         * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
21326         ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
21327         * math/libm-test.inc (scalb_test_data): Add errno expectations.
21328         Add more NaN tests.
21330         [BZ #16349]
21331         * math/w_atan2.c: Include <errno.h>.
21332         (__atan2): Set errno for result underflowing to zero.
21333         * math/w_atan2f.c: Include <errno.h>.
21334         (__atan2f): Set errno for result underflowing to zero.
21335         * math/w_atan2l.c: Include <errno.h>.
21336         (__atan2l): Set errno for result underflowing to zero.
21337         * math/auto-libm-test-in: Don't allow missing errno for some atan2
21338         tests.
21339         * math/auto-libm-test-out: Regenerated.
21341 2014-03-31  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21343         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
21344         Encode instruction correctly in little endian.
21345         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
21346         Likewise.
21347         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
21348         Likewise.
21349         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
21350         Likewise.
21351         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
21352         Likewise.
21354 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
21356         [BZ #9894]
21357         * sysdeps/unix/sysv/linux/kernel-features.h
21358         [__sparc__ && !__arch64__ && !__sparc_v9__]
21359         (__ASSUME_SET_ROBUST_LIST): Do not define.
21360         [__sparc__ && !__arch64__ && !__sparc_v9__]
21361         (__ASSUME_FUTEX_LOCK_PI): Likewise.
21362         [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
21363         Likewise.
21364         * sysdeps/unix/sysv/linux/arm/kernel-features.h
21365         (__ASSUME_FUTEX_LOCK_PI): Undefine.
21366         (__ASSUME_REQUEUE_PI): Likewise.
21367         (__ASSUME_SET_ROBUST_LIST): Likewise.
21368         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
21369         [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
21370         Undefine.
21371         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
21372         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
21373         Likewise.
21374         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
21375         Likewise.
21376         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
21377         Likewise.
21378         * sysdeps/unix/sysv/linux/mips/kernel-features.h
21379         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
21380         Undefine.
21381         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
21382         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
21383         Likewise.
21385         [BZ #16648]
21386         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
21387         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
21388         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
21390 2014-03-31  Will Newton  <will.newton@linaro.org>
21392         * benchtests/Makefile (bench): Add ffs and ffsll to list
21393         of tests.
21394         * benchtests/ffs-inputs: New file.
21395         * benchtests/ffsll-inputs: Likewise.
21397 2014-03-29  Joseph Myers  <joseph@codesourcery.com>
21399         [BZ #16770]
21400         * math/e_scalb.c (__ieee754_scalb): Check second argument is not
21401         too large before casting to int.
21402         * math/e_scalbf.c (__ieee754_scalbf): Likewise.
21403         * math/e_scalbl.c (__ieee754_scalbl): Likewise.
21404         * math/libm-test.inc (scalb_test_data): Add more tests.
21406 2014-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
21408         * benchtests/Makefile (DETAILED_OPT): New make option.
21409         (bench-func): Run benchmark program with -d if DETAILED_OPT is
21410         set.
21411         * benchtests/bench-skeleton.c: Include stdbool.h.
21412         (main): Store and print timings per input.
21413         * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
21414         member to each argument value.
21415         (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
21416         (_print_arg_data): Initialize per-input timing to 0.
21418         * benchtests/Makefile (timing-type): New binary.
21419         (bench-clean): Also remove bench-timing-type.
21420         (bench): New target for timing-type.
21421         (bench-func): Print output in JSON format.
21422         * benchtests/bench-skeleton.c (main): Print output in JSON
21423         format.
21424         * benchtests/bench-timing-type.c: New file.
21425         * benchtests/bench-timing.h (TIMING_TYPE): New macro.
21426         (TIMING_PRINT_STATS): Remove.
21427         * benchtests/scripts/bench.py (_print_arg_data): Store variant
21428         name separately.
21430         * benchtests/bench-modf.c: Remove.
21431         * benchtests/modf-inputs: New inputs file.
21433 2014-03-28  Joseph Myers  <joseph@codesourcery.com>
21435         [BZ #16362]
21436         * math/s_clog10.c (M_PI_LOG10E): New macro.
21437         (__clog10): Use M_PI_LOG10E instead of M_PI when real and
21438         imaginary parts are 0.
21439         * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
21440         (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
21441         imaginary parts are 0.
21442         * math/s_clog10l.c (M_PI_LOG10El): New macro.
21443         (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
21444         imaginary parts are 0.
21445         * math/libm-test.inc (clog10_test_data): Update expected results
21446         for when real and imaginary parts are 0.
21448 2014-03-27  Paul Pluzhnikov  <ppluzhnikov@google.com>
21450         * elf/dl-load.c: Finish conversion of __builtin_expect into
21451         __glibc_{un}likely.
21453 2014-03-27  Joseph Myers  <joseph@codesourcery.com>
21455         [BZ #16348]
21456         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
21457         1+x for argument with exponent below -67.
21458         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
21459         Likewise.
21460         * math/auto-libm-test-in: Add more tests of exp.
21461         * math/auto-libm-test-out: Regenerated.
21463 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
21465         [BZ #16759]
21466         * inet/getnetgrent_r.c (get_nonempty_val): New function.
21467         (nscd_getnetgrent): Use it.
21469         [BZ #16760]
21470         * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
21471         of stpcpy.
21473 2014-03-27  Andi Kleen  <ak@linux.intel.com>
21475         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
21476         (lll_robust_lock, lll_cond_lock, lll_timedlock)
21477         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
21478         (lll_robust_unlock): Remove out of line section. Use cfi
21479         intrinsics.
21480         (LLL_STUB_UNWIND_INFO*): Remove.
21481         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
21482         (lll_robust_lock, lll_cond_lock, lll_timedlock)
21483         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
21484         (lll_robust_unlock): Remove out of line section. Use cfi
21485         intrinsics.
21486         (LLL_STUB_UNWIND_INFO*): Remove.
21488 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
21490         [BZ #16758]
21491         * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
21492         blank values.
21494 2014-03-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
21496         * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
21498 2014-03-26  Joseph Myers  <joseph@codesourcery.com>
21500         [BZ #16198]
21501         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
21502         fnstenv.
21503         * math/test-fenv-preserve.c: New file.
21504         * math/Makefile (tests): Add test-fenv-preserve.
21506 2014-03-26  Will Newton <will.newton@linaro.org>
21508         * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
21510 2014-03-25  Roland McGrath  <roland@hack.frob.com>
21512         * scripts/versionlist.awk: Partition the version sets and emit all
21513         GLIBC_* (sorted) before all others (sorted).
21515 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
21517         * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
21518         GLIBC_2.2.5 version.
21520 2014-03-25 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21522         * scripts/localplt.awk: Check for PLT generated by internal IFUNC
21523         calls.
21525         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
21526         previous change.
21528         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21530 2014-03-25  Andreas Schwab  <schwab@suse.de>
21532         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
21533         label to be used after in6ailist is initialized.
21535 2014-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21537         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
21538         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
21540 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
21542         [BZ #16357]
21543         [BZ #16599]
21544         * math/gen-auto-libm-tests.c (fp_format_desc): Add field
21545         min_plus_half.
21546         (fp_formats): Update initializers.
21547         (init_fp_formats): Initialize new field.
21548         (output_for_one_input_case): Allow underflow for results up to
21549         min_plus_half.
21550         * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
21551         * math/auto-libm-test-in: Don't mark some underflows from asin and
21552         atanh as spurious.
21553         * math/auto-libm-test-out: Regenerated.
21554         * sysdeps/i386/fpu/libm-test-ulps: Update.
21555         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21557 2014-03-25  Andreas Schwab  <schwab@suse.de>
21559         * libio/Makefile (tst-ftell-partial-wide-ENV)
21560         (tst-ftell-active-handler-ENV): Define.
21562 2014-03-25  Stefan Liebler <stli@linux.vnet.ibm.com>
21564         * NEWS: Add 16712, 16713, 16714 to fixed bug list.
21566 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
21568         * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
21570 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
21572         * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
21573         * sysdeps/x86_64/fpu/multiarch/e_exp.c
21574         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
21576 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
21578         [BZ #16634]
21579         * elf/dl-load.c (open_verify): Add mode parameter.
21580         Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
21581         (open_path): Change from boolean 'secure' to complete flag 'mode'
21582         (_dl_map_object): Adjust.
21583         * elf/Makefile (tests): Add tst-dlopen-aout.
21584         * elf/tst-dlopen-aout.c: New test.
21586 2014-03-24  Stefan Liebler <stli@linux.vnet.ibm.com>
21588         [BZ #16714]
21589         * sysdeps/unix/sysv/linux/s390/bits/stat.h
21590         (struct stat): Rename member pad0 to __glibc_reserved0.
21592         [BZ #16712]
21593         * sysdeps/s390/s390-32/bits/wordsize.h
21594         (__WORDSIZE32_SIZE_ULONG): New define.
21595         * sysdeps/s390/s390-64/bits/wordsize.h
21596         (__WORDSIZE32_SIZE_ULONG): Likewise.
21597         * sysdeps/generic/stdint.h (SIZE_MAX):
21598         Define as UL if __WORDSIZE32_SIZE_ULONG.
21600         [BZ #16713]
21601         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
21602         (__glibc_reserved0): New variable.
21603         (sa_flags): Change type to int.
21605         * posix/Makefile (before-compile): Use += before-compile instead
21606         of a :=.
21608         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
21609         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
21611 2014-03-20  Andreas Schwab  <schwab@suse.de>
21613         [BZ #16743]
21614         * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
21615         non-matching result from nscd.
21617 2014-03-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
21619         * scripts/bench.py: Moved to ...
21620         * benchtests/scripts/bench.py: ... here.
21621         * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
21623 2014-03-24  Andreas Schwab  <schwab@suse.de>
21625         [BZ #16002]
21626         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
21627         alloca_account and account alloca use for struct in6ailist.
21629 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
21631         [BZ #16284]
21632         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
21633         rounding mode to recompute results that overflow to infinity or
21634         underflow to zero.
21635         * math/auto-libm-test-in: Don't mark tests as expected to fail for
21636         bug 16284.
21637         * math/auto-libm-test-out: Regenerated.
21638         * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
21639         (ccosh_test): Likewise.
21640         (csin_test_data): Use plus_oflow.
21641         (csin_test): Use ALL_RM_TEST.
21642         (csinh_test_data): Use plus_oflow.
21643         (csinh_test): Use ALL_RM_TEST.
21644         * sysdeps/i386/fpu/libm-test-ulps: Update.
21645         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21647 2014-03-21  Joseph Myers  <joseph@codesourcery.com>
21649         * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
21650         * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
21651         * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
21653         [BZ #16731]
21654         * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
21655         when x - 1 is zero.
21656         * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
21657         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
21658         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
21659         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
21660         argument is 1.
21661         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
21662         * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
21663         zero.
21664         * math/libm-test.inc (log_test): Use ALL_RM_TEST.
21665         * sysdeps/i386/fpu/libm-test-ulps: Update.
21666         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21668 2014-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
21670         * scripts/bench.pl: Remove file.
21671         * scripts/bench.py: New benchmark script.
21672         * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
21673         * benchtests/README: Mention python dependency.
21674         * scripts/pylintrc: New file.
21675         * scripts/pylint: New file.
21677         * bits/mathdef.h: Use #ifdef instead of #if.
21678         * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
21679         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
21680         * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
21681         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
21682         * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
21683         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
21685 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21686             Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
21688         * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
21689         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
21690         and strpbrk-ppc64 objects.
21691         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
21692         (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
21693         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
21694         multiarch strpbrk for POWER7.
21695         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
21696         multiarch strpbrk for PPC64.
21697         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
21698         ifunc selector.
21699         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
21700         strpbrk for POWER7.
21702 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
21704         * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
21705         (atan_test): Likewise.
21706         (atanh_test_data): Use NO_TEST_INLINE for two tests.
21707         (atanh_test): Use ALL_RM_TEST.
21708         (atan2_test_data): Likewise.
21709         (cabs_test): Likewise.
21710         (cacosh_test): Likewise.
21711         (carg_test): Likewise.
21712         (casin_test): Likewise.
21713         (casinh_test): Likewise.
21714         (cbrt_test): Likewise.
21715         (csqrt_test): Likewise.
21716         (erf_test): Likewise.
21717         (erfc_test): Likewise.
21718         (pow10_test): Likewise.
21719         (exp2_test): Likewise.
21720         (hypot_test): Likewise.
21721         (j0_test): Likewise.
21722         (j1_test): Likewise.
21723         (lgamma_test): Likewise.
21724         (gamma_test): Likewise.
21725         (sincos_test): Likewise.
21726         (tanh_test): Likewise.
21727         (y0_test): Likewise.
21728         (y1_test): Likewise.
21729         * sysdeps/i386/fpu/libm-test-ulps: Update.
21730         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21732 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21734         * string/strcspn.c (strcspn): Using macro to redefine symbol name.
21735         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
21736         and strcspn-ppc64 objects.
21737         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
21738         (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
21739         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
21740         multiarch strcspn for POWER7.
21741         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
21742         multiarch strcspn for PPC64.
21743         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
21744         ifunc selector.
21745         * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
21746         strcspn for POWER7.
21748 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
21750         * math/gen-libm-test.pl (generate_testfile): Expect only function
21751         name as argument to AUTO_TESTS_* and pass results for all rounding
21752         modes to parse_args.
21753         (parse_auto_input): Separate inputs of automatic tests from
21754         outputs before storing in %auto_tests.
21755         * math/libm-test.inc (acos_test_data): Update call to
21756         AUTO_TESTS_f_f.
21757         (acos_test): Use ALL_RM_TEST.
21758         (acos_tonearest_test_data): Remove.
21759         (acos_test_tonearest): Likewise.
21760         (acos_towardzero_test_data): Likewise.
21761         (acos_test_towardzero): Likewise.
21762         (acos_downward_test_data): Likewise.
21763         (acos_test_downward): Likewise.
21764         (acos_upward_test_data): Likewise.
21765         (acos_test_upward): Likewise.
21766         (acosh_test_data): Update call to AUTO_TESTS_f_f.
21767         (asin_test_data): Likewise.
21768         (asin_test): Use ALL_RM_TEST.
21769         (asin_tonearest_test_data): Remove.
21770         (asin_test_tonearest): Likewise.
21771         (asin_towardzero_test_data): Likewise.
21772         (asin_test_towardzero): Likewise.
21773         (asin_downward_test_data): Likewise.
21774         (asin_test_downward): Likewise.
21775         (asin_upward_test_data): Likewise.
21776         (asin_test_upward): Likewise.
21777         (asinh_test_data): Update call to AUTO_TESTS_f_f.
21778         (atan_test_data): Likewise.
21779         (atanh_test_data): Likewise.
21780         (atan2_test_data): Update call to AUTO_TESTS_ff_f.
21781         (cabs_test_data): Update call to AUTO_TESTS_c_f.
21782         (carg_test_data): Likewise.
21783         (cbrt_test_data): Update call to AUTO_TESTS_f_f.
21784         (ccos_test_data): Update call to AUTO_TESTS_c_c.
21785         (ccosh_test_data): Likewise.
21786         (cexp_test_data): Likewise.
21787         (clog_test_data): Likewise.
21788         (clog10_test_data): Likewise.
21789         (cos_test_data): Update call to AUTO_TESTS_f_f.
21790         (cos_test): Use ALL_RM_TEST.
21791         (cos_tonearest_test_data): Remove.
21792         (cos_test_tonearest): Likewise.
21793         (cos_towardzero_test_data): Likewise.
21794         (cos_test_towardzero): Likewise.
21795         (cos_downward_test_data): Likewise.
21796         (cos_test_downward): Likewise.
21797         (cos_upward_test_data): Likewise.
21798         (cos_test_upward): Likewise.
21799         (cosh_test_data): Update call to AUTO_TESTS_f_f.
21800         (cosh_test): Use ALL_RM_TEST.
21801         (cosh_tonearest_test_data): Remove.
21802         (cosh_test_tonearest): Likewise.
21803         (cosh_towardzero_test_data): Likewise.
21804         (cosh_test_towardzero): Likewise.
21805         (cosh_downward_test_data): Likewise.
21806         (cosh_test_downward): Likewise.
21807         (cosh_upward_test_data): Likewise.
21808         (cosh_test_upward): Likewise.
21809         (cpow_test_data): Update call to AUTO_TESTS_cc_c.
21810         (csqrt_test_data): Update call to AUTO_TESTS_c_c.
21811         (ctan_test_data): Likewise.
21812         (ctan_test): Use ALL_RM_TEST.
21813         (ctan_tonearest_test_data): Remove.
21814         (ctan_test_tonearest): Likewise.
21815         (ctan_towardzero_test_data): Likewise.
21816         (ctan_test_towardzero): Likewise.
21817         (ctan_downward_test_data): Likewise.
21818         (ctan_test_downward): Likewise.
21819         (ctan_upward_test_data): Likewise.
21820         (ctan_test_upward): Likewise.
21821         (ctanh_test_data): Update call to AUTO_TESTS_c_c.
21822         (ctanh_test): Use ALL_RM_TEST.
21823         (ctanh_tonearest_test_data): Remove.
21824         (ctanh_test_tonearest): Likewise.
21825         (ctanh_towardzero_test_data): Likewise.
21826         (ctanh_test_towardzero): Likewise.
21827         (ctanh_downward_test_data): Likewise.
21828         (ctanh_test_downward): Likewise.
21829         (ctanh_upward_test_data): Likewise.
21830         (ctanh_test_upward): Likewise.
21831         (erf_test_data): Update call to AUTO_TESTS_f_f.
21832         (erfc_test_data): Likewise.
21833         (exp_test_data): Likewise.
21834         (exp_test): Use ALL_RM_TEST.
21835         (exp_tonearest_test_data): Remove.
21836         (exp_test_tonearest): Likewise.
21837         (exp_towardzero_test_data): Likewise.
21838         (exp_test_towardzero): Likewise.
21839         (exp_downward_test_data): Likewise.
21840         (exp_test_downward): Likewise.
21841         (exp_upward_test_data): Likewise.
21842         (exp_test_upward): Likewise.
21843         (exp10_test_data): Update call to AUTO_TESTS_f_f.
21844         (exp10_test): Use ALL_RM_TEST.
21845         (exp10_tonearest_test_data): Remove.
21846         (exp10_test_tonearest): Likewise.
21847         (exp10_towardzero_test_data): Likewise.
21848         (exp10_test_towardzero): Likewise.
21849         (exp10_downward_test_data): Likewise.
21850         (exp10_test_downward): Likewise.
21851         (exp10_upward_test_data): Likewise.
21852         (exp10_test_upward): Likewise.
21853         (exp2_test_data): Update call to AUTO_TESTS_f_f.
21854         (expm1_test_data): Likewise.
21855         (expm1_test): Use ALL_RM_TEST.
21856         (expm1_tonearest_test_data): Remove.
21857         (expm1_test_tonearest): Likewise.
21858         (expm1_towardzero_test_data): Likewise.
21859         (expm1_test_towardzero): Likewise.
21860         (expm1_downward_test_data): Likewise.
21861         (expm1_test_downward): Likewise.
21862         (expm1_upward_test_data): Likewise.
21863         (expm1_test_upward): Likewise.
21864         (fma_test_data): Update call to AUTO_TESTS_fff_f.
21865         (fma_test): Use ALL_RM_TEST.
21866         (fma_towardzero_test_data): Remove.
21867         (fma_test_towardzero): Likewise.
21868         (fma_downward_test_data): Likewise.
21869         (fma_test_downward): Likewise.
21870         (fma_upward_test_data): Likewise.
21871         (fma_test_upward): Likewise.
21872         (hypot_test_data): Update call to AUTO_TESTS_ff_f.
21873         (j0_test_data): Update call to AUTO_TESTS_f_f.
21874         (j1_test_data): Likewise.
21875         (jn_test_data): Update call to AUTO_TESTS_if_f.
21876         (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
21877         (log_test_data): Update call to AUTO_TESTS_f_f.
21878         (log10_test_data): Likewise.
21879         (log1p_test_data): Likewise.
21880         (log2_test_data): Likewise.
21881         (pow_test_data): Update call to AUTO_TESTS_ff_f.
21882         (pow_tonearest_test_data): Likewise.
21883         (sin_test_data): Update call to AUTO_TESTS_f_f.
21884         (sin_test): Use ALL_RM_TEST.
21885         (sin_tonearest_test_data): Remove.
21886         (sin_test_tonearest): Likewise.
21887         (sin_towardzero_test_data): Likewise.
21888         (sin_test_towardzero): Likewise.
21889         (sin_downward_test_data): Likewise.
21890         (sin_test_downward): Likewise.
21891         (sin_upward_test_data): Likewise.
21892         (sin_test_upward): Likewise.
21893         (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
21894         (sinh_test_data): Update call to AUTO_TESTS_f_f.
21895         (sinh_test): Use ALL_RM_TEST.
21896         (sinh_tonearest_test_data): Remove.
21897         (sinh_test_tonearest): Likewise.
21898         (sinh_towardzero_test_data): Likewise.
21899         (sinh_test_towardzero): Likewise.
21900         (sinh_downward_test_data): Likewise.
21901         (sinh_test_downward): Likewise.
21902         (sinh_upward_test_data): Likewise.
21903         (sinh_test_upward): Likewise.
21904         (sqrt_test_data): Update call to AUTO_TESTS_f_f.
21905         (sqrt_test): Use ALL_RM_TEST.
21906         (sqrt_tonearest_test_data): Remove.
21907         (sqrt_test_tonearest): Likewise.
21908         (sqrt_towardzero_test_data): Likewise.
21909         (sqrt_test_towardzero): Likewise.
21910         (sqrt_downward_test_data): Likewise.
21911         (sqrt_test_downward): Likewise.
21912         (sqrt_upward_test_data): Likewise.
21913         (sqrt_test_upward): Likewise.
21914         (tan_test_data): Update call to AUTO_TESTS_f_f.
21915         (tan_test): Use ALL_RM_TEST.
21916         (tan_tonearest_test_data): Remove.
21917         (tan_test_tonearest): Likewise.
21918         (tan_towardzero_test_data): Likewise.
21919         (tan_test_towardzero): Likewise.
21920         (tan_downward_test_data): Likewise.
21921         (tan_test_downward): Likewise.
21922         (tan_upward_test_data): Likewise.
21923         (tan_test_upward): Likewise.
21924         (tanh_test_data): Update call to AUTO_TESTS_f_f.
21925         (tgamma_test_data): Likewise.
21926         (y0_test_data): Likewise.
21927         (y1_test_data): Likewise.
21928         (yn_test_data): Update call to AUTO_TESTS_if_f.
21929         (main): Do not call removed functions.
21931 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
21933         * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
21934         (ldexp_test_data): Remove.
21935         (ldexp_test): Move to after scalbn_test.  Use ALL_RM_TEST with
21936         scalbn_test_data.
21937         (scalb_test): Use ALL_RM_TEST.
21939 2014-03-19  Andreas Schwab  <schwab@suse.de>
21941         * nscd/nscd.service: Also invalidate netgroup cache on reload.
21943 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
21945         [BZ #16649]
21946         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
21947         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
21948         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
21949         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
21950         (__ASSUME_PREADV): Undefine.
21951         (__ASSUME_PWRITEV): Likewise.
21953 2014-03-18  Roland McGrath  <roland@hack.frob.com>
21955         * bits/mman-linux.h: Add comment about non-Linux use.
21956         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
21957         bits/mman-linux.h resting place.
21959         * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
21960         * bits/mman-linux.h: ... here.
21962 2014-03-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21964         * conform/conformtest.pl: Add standard definition when calling C
21965         preprocessor on data files.
21966         (checknamespace): Remove unused variable.
21968 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
21970         * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
21971         minus_oflow, plus_uflow and minus_uflow in expected results.
21972         * math/libm-test.inc (scalbn_test_data): Add more tests of
21973         negative arguments.  Use plus_oflow, minus_oflow, plus_uflow and
21974         minus_uflow.
21975         (scalbn_test): Use ALL_RM_TEST.
21976         (scalbln_test_data): Add more tests of negative arguments.  Use
21977         plus_oflow, minus_oflow, plus_uflow and minus_uflow.
21978         (scalbln_test): Use ALL_RM_TEST.
21980 2014-03-18  Roland McGrath  <roland@hack.frob.com>
21982         * scripts/abilist.awk: Ignore symbols marked with .hidden.
21984 2014-03-18  Will Newton  <will.newton@linaro.org>
21986         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
21987         inaccurate comment.
21989 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
21991         * Makerules [!subdir] (check-abi): Exit with error status if a
21992         test failed.
21994 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
21996         * math/libm-test.inc (nearbyint_test_data): Include all tests used
21997         for rint.  Include results for all rounding modes.
21998         (nearbyint_test): Use ALL_RM_TEST.
21999         (rint_test_data): Include all tests used for nearbyint.
22001 2014-03-17  Will Newton  <will.newton@linaro.org>
22003         * nptl/sysdeps/pthread/pthread.h: Revert previous
22004         change.
22006         * sysdeps/generic/ldsodefs.h: Revert previous
22007         change.
22009         * libio/genops.c: Revert previous change.
22010         * libio/libioP.h: Likewise.
22011         * stdio-common/vfprintf.c: Likewise.
22013         * sysdeps/generic/math_private.h: Revert previous
22014         change.
22016         * sysdeps/generic/math_private.h: Check whether
22017         HAVE_RM_CTX is defined with #ifdef rather
22018         than #if.
22020         * argp/argp-fmtstream.h: Check whether
22021         __STRICT_ANSI__ is defined with #ifdef rather
22022         than #if.
22023         * argp/argp.h: Likewise.
22025         * libio/genops.c: Check whether
22026         _IO_JUMPS_OFFSET is defined with #ifdef rather
22027         than #if.
22028         * libio/libioP.h: Likewise.
22029         * stdio-common/vfprintf.c: Likewise.
22031         * sysdeps/generic/ldsodefs.h: Check whether
22032         HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
22033         than #if.
22035         * nptl/sysdeps/pthread/pthread.h: Check
22036         __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
22037         its value.
22039 2014-03-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
22041         * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
22042         setting O_APPEND.
22043         * libio/tst-ftell-active-handler.c (do_append_test): Add a
22044         test case.
22046         [BZ #16680]
22047         * libio/fileops.c (_IO_file_open): Seek to end of file but
22048         don't cache the offset.
22049         (get_file_offset): Remove function.
22050         (do_ftell): Use cached offset when available.
22051         * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
22052         don't cache the offset.
22053         * libio/tst-ftell-active-handler.c (do_rewind_test): New test
22054         case.
22055         (do_one_test): Call it.
22056         (do_ftell_test): Fix up expected old offset for a+ mode.
22057         * libio/wfileops.c (do_ftell_wide): Used cached offset when
22058         available.
22060         * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
22061         up test status with function return status.
22062         (do_write_test): Likewise.
22063         (do_append_test): Likewise.
22065         * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
22066         && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
22067         Remove.
22069 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
22071         * math/gen-libm-test.pl (parse_args): Handle results specified for
22072         each rounding mode separately.
22073         * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
22074         tests and results from lrint_tonearest_test_data,
22075         lrint_towardzero_test_data, lrint_downward_test_data and
22076         lrint_upward_test_data.
22077         (lrint_test): Use ALL_RM_TEST.
22078         (lrint_tonearest_test_data): Remove.
22079         (lrint_test_tonearest): Likewise.
22080         (lrint_towardzero_test_data): Likewise.
22081         (lrint_test_towardzero): Likewise.
22082         (lrint_downward_test_data): Likewise.
22083         (lrint_test_downward): Likewise.
22084         (lrint_upward_test_data): Likewise.
22085         (lrint_test_upward): Likewise.
22086         (llrint_test_data): Merge in per-rounding-mode tests and results
22087         from llrint_tonearest_test_data, llrint_towardzero_test_data,
22088         llrint_downward_test_data and llrint_upward_test_data.
22089         (llrint_test): Use ALL_RM_TEST.
22090         (llrint_tonearest_test_data): Remove.
22091         (llrint_test_tonearest): Likewise.
22092         (llrint_towardzero_test_data): Likewise.
22093         (llrint_test_towardzero): Likewise.
22094         (llrint_downward_test_data): Likewise.
22095         (llrint_test_downward): Likewise.
22096         (llrint_upward_test_data): Likewise.
22097         (llrint_test_upward): Likewise.
22098         (rint_test_data): Merge in per-rounding-mode tests and results
22099         from rint_tonearest_test_data, rint_towardzero_test_data,
22100         rint_downward_test_data and rint_upward_test_data.  Add
22101         per-rounding-mode results for tests not in those arrays.
22102         (rint_test): Use ALL_RM_TEST.
22103         (rint_tonearest_test_data): Remove.
22104         (rint_test_tonearest): Likewise.
22105         (rint_towardzero_test_data): Likewise.
22106         (rint_test_towardzero): Likewise.
22107         (rint_downward_test_data): Likewise.
22108         (rint_test_downward): Likewise.
22109         (rint_upward_test_data): Likewise.
22110         (rint_test_upward): Likewise.
22111         (main): Don't call removed functions.
22113 2014-03-14  Roland McGrath  <roland@hack.frob.com>
22115         * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
22116         "Compiled on ..." crapola.  It is anti-useful.
22118 2014-03-14  Joseph Myers  <joseph@codesourcery.com>
22120         * scripts/evaluate-test.sh: Handle fourth argument to determine
22121         whether test run should stop on failure.
22122         * Makeconfig (stop-on-test-failure): New variable.
22123         (evaluate-test): Pass fourth argument to evaluate-test.sh based on
22124         $(stop-on-test-failure).
22125         * Makefile (tests): Give a summary of results from testing and
22126         exit with failure status if they include an ERROR or FAIL.
22127         (xtests): Likewise.
22128         * manual/install.texi (Configuring and compiling): Mention
22129         stop-on-test-failure=y.
22130         * INSTALL: Regenerated.
22132 2014-03-14  Roland McGrath  <roland@hack.frob.com>
22134         * scripts/versionlist.awk: New file.
22135         * Makerules [$(build-shared) = yes]
22136         (postclean-generated): Add Versions.def, not Versions.def.v and
22137         Versions.def.v.i.
22138         ($(common-objpfx)Versions.def.v.i): Target removed.
22139         ($(common-objpfx)Versions.def): New target.
22140         ($(common-objpfx)Versions.all): Depend on that rather that
22141         $(common-objpfx)Versions.def.v.
22142         * Versions.def: File removed.
22144         * Makeconfig (+gccwarn): Add -Wundef.
22145         * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
22146         a dl-sysdep.h breaking its contract.
22147         [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
22148         * include/stackinfo.h: New file.
22149         * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
22150         * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
22151         * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
22152         * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
22153         * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
22154         * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
22155         * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
22156         * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
22157         * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
22158         * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
22159         * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
22160         * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
22161         * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
22162         * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
22163         * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
22165 2014-03-14  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22167         [BZ #16707]
22168         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
22169         implementation.
22170         * math/libm-test.inc (round_test_data): Add more tests.
22172         [BZ #16706]
22173         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
22174         implementation.
22175         * math/libm-test.inc (nearbyint_test_data): Add more tests.
22177         [BZ #16701]
22178         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
22179         implementation.
22180         * math/libm-test.inc (ceil_test_data): Add more tests.
22182         * math/libm-test.inc (trunc_test_data): Add more tests related to
22183         BZ#16414.
22185 2014-03-14  Roland McGrath  <roland@hack.frob.com>
22187         * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
22188         with #if rather than #ifdef.
22189         * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
22191 2014-03-14  H.J. Lu  <hongjiu.lu@intel.com>
22193         * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
22194         first.  Disable AVX-512 GCC support if assembler doesn't support
22195         it.
22196         * sysdeps/x86_64/configure: Regenerated.
22198 2014-03-13  Carlos O'Donell  <carlos@redhat.com>
22200         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
22201         [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
22202         (__old_pthread_attr_setstack): Likewise.
22203         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
22204         [!_STACK_GROWS_DOWN]: Likewise.
22206 2014-03-13  Mike Frysinger  <vapier@gentoo.org>
22208         * config.make.in (have-bash2): Delete.
22209         * configure.ac (libc_cv_have_bash2): Delete.
22210         * configure: Regenerate.
22211         * elf/Makefile (common-ldd-rewrite): Rename to ...
22212         (ldd-rewrite): ... this.  Move bash-ldd-rewrite content to end.
22213         (sh-ldd-rewrite): Delete.
22214         (bash-ldd-rewrite): Delete.
22215         (have-bash2): Delete checks.
22216         [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
22217         ldd-rewrite.
22219         * config.make.in (have-ksh): Delete.
22220         (KSH): Delete.
22221         * configure.ac (libc_cv_have_ksh): Delete.
22222         * configure: Regenerate.
22224         * elf/Makefile: Delete $(have-ksh) check.
22225         ($(objpfx)sotruss): Change KSH to BASH.
22226         * elf/sotruss.ksh: Rename to ...
22227         * elf/sotruss.sh: ... this.  Change @KSH@ to @BASH@.  Change
22228         function style to match POSIX.  Drop ksh vim mode setting.
22230         * manual/time.texi (Specifying the Time Zone with TZ): Change
22231         Tuesday to Thursday.
22233         * debug/tst-longjmp_chk2.c: Update header comment.
22234         (stackoverflow_handler): Add comment.  Call assert on pass value.
22236 2014-03-13  Igor Zamyatin  <igor.zamyatin@intel.com>
22238         [BZ #16194]
22239         * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
22240         (HAVE_AVX512_ASM_SUPPORT): Likewise.
22241         * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
22242         (La_x86_64_vector): Add zmm.
22243         * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
22244         (modules-names): Add tst-auditmod10a and tst-auditmod10b.
22245         ($(objpfx)tst-audit10): New target.
22246         ($(objpfx)tst-audit10.out): Likewise.
22247         (tst-audit10-ENV): New.
22248         (AVX512-CFLAGS): Likewise.
22249         (CFLAGS-tst-audit10.c): Likewise.
22250         (CFLAGS-tst-auditmod10a.c): Likewise.
22251         (CFLAGS-tst-auditmod10b.c): Likewise.
22252         * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
22253         HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
22254         * sysdeps/x86_64/configure: Regenerated.
22255         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
22256         AVX-512 zmm register support.
22257         (_dl_x86_64_save_sse): Likewise.
22258         (_dl_x86_64_restore_sse): Likewise.
22259         * sysdeps/x86_64/dl-trampoline.h: Updated to support different
22260         size vector registers.
22261         * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
22262         (ZMM_SIZE): Likewise.
22263         * sysdeps/x86_64/tst-audit10.c: New file.
22264         * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
22265         * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
22267 2014-03-13  Roland McGrath  <roland@hack.frob.com>
22269         * configure.ac (HAVE_EHDR_START): New check.
22270         * configure: Regenerated.
22271         * config.h.in (HAVE_EHDR_START): New #undef.
22272         * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
22273         assuming the lowest-addressed segment maps the start of the file.
22275 2014-03-13  Joseph Myers  <joseph@codesourcery.com>
22277         * INSTALL: Regenerated.
22279 2014-03-13  Will Newton  <will.newton@linaro.org>
22281         * manual/setjmp.texi (System V contexts): Improve
22282         clarity and grammar of documentation.
22284 2014-03-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
22286         [BZ #16381]
22287         * elf/Makefile (tests): Add tst-pie2.
22288         (tests-pie): Add tst-pie2.
22289         * elf/tst-pie2.c: New file.
22290         * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
22291         for ET_EXEC.
22292         * elf/rtld.c (map_doit): Load executable as lt_executable.
22293         (dl_main): Likewise.
22295 2014-03-12  Joseph Myers  <joseph@codesourcery.com>
22297         [BZ #16642]
22298         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
22299         (__ASSUME_PSELECT): Undefine.
22301 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22303         [BZ #16689]
22304         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
22305         (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
22306         static build.
22307         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
22308         selector for static builds.
22310 2014-03-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
22312         [BZ #16695]
22313         * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
22314         key in the buffer.
22316 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22318         * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
22319         IFUNC selector for static builds.
22321 2014-03-11  Joseph Myers  <joseph@codesourcery.com>
22323         * sysdeps/mips/math_private.h [__mips_hard_float]
22324         (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
22325         libc_feresetround_mips_ctx.
22326         [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
22327         [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
22328         [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
22330         [BZ #16677]
22331         * math/s_nextafter.c (__nextafter): Do not return value from
22332         overflowing computation.
22333         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
22334         * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
22335         * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
22336         Likewise.
22337         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
22338         Likewise.
22339         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
22340         * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
22342 2014-03-11  Roland McGrath  <roland@hack.frob.com>
22344         * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
22345         * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
22346         Move sfi_sp use from the load-multiple (that no longer sets sp) to
22347         the new mov targetting sp.
22349 2014-03-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22351         [BZ #16683]
22352         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
22353         Define it for static builds as well.
22354         (NO_BZERO_IMPL): Likewise.
22356 2014-03-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
22358         * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
22359         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
22360         multiarch strspn for PPC64.
22361         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
22362         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
22363         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
22364         (__libc_ifunc_impl_list): Likewise.
22365         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
22366         multiarch optimizations
22367         * string/strspn.c (strspn): Using macro to redefine symbol name.
22369 2014-03-10  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
22370             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22372         * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
22373         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
22374         multiarch strncat for PPC64.
22375         * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
22376         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
22377         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
22378         (__libc_ifunc_impl_list): Likewise.
22379         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
22380         multiarch optimizations
22382 2014-03-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
22384         [BZ #16639]
22385         * nscd/nscd.service: Make service type forking.
22387 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22389         * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
22390         sign in non default rounding modes.
22391         * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
22393 2014-03-08  Joseph Myers  <joseph@codesourcery.com>
22395         * math/libm-test.inc (ALL_RM_TEST): New macro.
22396         (ceil_test): Use ALL_RM_TEST.
22397         (cimag_test): Likewise.
22398         (conj_test): Likewise.
22399         (copysign_test): Likewise.
22400         (cproj_test): Likewise.
22401         (creal_test): Likewise.
22402         (fabs_test): Likewise.
22403         (floor_test): Likewise.
22404         (fmax_test): Likewise.
22405         (fmin_test): Likewise.
22406         (fmod_test): Likewise.
22407         (fpclassify_test): Likewise.
22408         (frexp_test): Likewise.
22409         (ilogb_test): Likewise.
22410         (isfinite_test): Likewise.
22411         (finite_test): Likewise.
22412         (isgreater_test): Likewise.
22413         (isgreaterequal_test): Likewise.
22414         (isinf_test): Likewise.
22415         (isless_test): Likewise.
22416         (islessequal_test): Likewise.
22417         (islessgreater_test): Likewise.
22418         (isnan_test): Likewise.
22419         (isnormal_test): Likewise.
22420         (issignaling_test): Likewise.
22421         (isunordered_test): Likewise.
22422         (logb_test): Likewise.
22423         (logb_downward_test_data): Remove.
22424         (logb_test_downward): Likewise.
22425         (lround_test): Use ALL_RM_TEST.
22426         (llround_test): Likewise.
22427         (modf_test): Likewise.
22428         (nexttoward_test): Likewise.
22429         (remainder_test): Likewise.
22430         (drem_test): Likewise.
22431         (remainder_tonearest_test_data): Likewise.
22432         (remainder_test_tonearest): Likewise.
22433         (drem_test_tonearest): Likewise.
22434         (remainder_towardzero_test_data): Likewise.
22435         (remainder_test_towardzero): Likewise.
22436         (drem_test_towardzero): Likewise.
22437         (remainder_downward_test_data): Likewise.
22438         (remainder_test_downward): Likewise.
22439         (drem_test_downward): Likewise.
22440         (remainder_upward_test_data): Likewise.
22441         (remainder_test_upward): Likewise.
22442         (drem_test_upward): Likewise.
22443         (remquo_test): Use ALL_RM_TEST.  Remove comment about x.
22444         (round_test): Use ALL_RM_TEST.
22445         (signbit_test): Likewise.
22446         (trunc_test): Likewise.
22447         (significand_test): Likewise.
22448         (main): Don't call removed functions.
22450 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
22452         [BZ #16674]
22453         * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
22454         || __USE_XOPEN2K8].
22455         (ILL_ILLOPN): Likewise.
22456         (ILL_ILLADR): Likewise.
22457         (ILL_ILLTRP): Likewise.
22458         (ILL_PRVOPC): Likewise.
22459         (ILL_PRVREG): Likewise.
22460         (ILL_COPROC): Likewise.
22461         (ILL_BADSTK): Likewise.
22462         (FPE_INTDIV): Likewise.
22463         (FPE_INTOVF): Likewise.
22464         (FPE_FLTDIV): Likewise.
22465         (FPE_FLTOVF): Likewise.
22466         (FPE_FLTUND): Likewise.
22467         (FPE_FLTRES): Likewise.
22468         (FPE_FLTINV): Likewise.
22469         (FPE_FLTSUB): Likewise.
22470         (SEGV_MAPERR): Likewise.
22471         (SEGV_ACCERR): Likewise.
22472         (BUS_ADRALN): Likewise.
22473         (BUS_ADRERR): Likewise.
22474         (BUS_OBJERR): Likewise.
22475         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
22476         (TRAP_TRACE): Likewise.
22477         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
22478         __USE_XOPEN2K8].
22479         (CLD_KILLED): Likewise.
22480         (CLD_DUMPED): Likewise.
22481         (CLD_TRAPPED): Likewise.
22482         (CLD_STOPPED): Likewise.
22483         (CLD_CONTINUED): Likewise.
22484         (POLL_IN): Likewise.
22485         (POLL_OUT): Likewise.
22486         (POLL_MSG): Likewise.
22487         (POLL_ERR): Likewise.
22488         (POLL_PRI): Likewise.
22489         (POLL_HUP): Likewise.
22490         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
22491         Likewise.
22492         (ILL_ILLOPN): Likewise.
22493         (ILL_ILLADR): Likewise.
22494         (ILL_ILLTRP): Likewise.
22495         (ILL_PRVOPC): Likewise.
22496         (ILL_PRVREG): Likewise.
22497         (ILL_COPROC): Likewise.
22498         (ILL_BADSTK): Likewise.
22499         (FPE_INTDIV): Likewise.
22500         (FPE_INTOVF): Likewise.
22501         (FPE_FLTDIV): Likewise.
22502         (FPE_FLTOVF): Likewise.
22503         (FPE_FLTUND): Likewise.
22504         (FPE_FLTRES): Likewise.
22505         (FPE_FLTINV): Likewise.
22506         (FPE_FLTSUB): Likewise.
22507         (SEGV_MAPERR): Likewise.
22508         (SEGV_ACCERR): Likewise.
22509         (BUS_ADRALN): Likewise.
22510         (BUS_ADRERR): Likewise.
22511         (BUS_OBJERR): Likewise.
22512         (BUS_MCEERR_AR): Likewise.
22513         (BUS_MCEERR_AO): Likewise.
22514         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
22515         (TRAP_TRACE): Likewise.
22516         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
22517         __USE_XOPEN2K8].
22518         (CLD_KILLED): Likewise.
22519         (CLD_DUMPED): Likewise.
22520         (CLD_TRAPPED): Likewise.
22521         (CLD_STOPPED): Likewise.
22522         (CLD_CONTINUED): Likewise.
22523         (POLL_IN): Likewise.
22524         (POLL_OUT): Likewise.
22525         (POLL_MSG): Likewise.
22526         (POLL_ERR): Likewise.
22527         (POLL_PRI): Likewise.
22528         (POLL_HUP): Likewise.
22529         * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
22530         (ILL_ILLOPN): Likewise.
22531         (ILL_ILLADR): Likewise.
22532         (ILL_ILLTRP): Likewise.
22533         (ILL_PRVOPC): Likewise.
22534         (ILL_PRVREG): Likewise.
22535         (ILL_COPROC): Likewise.
22536         (ILL_BADSTK): Likewise.
22537         (FPE_INTDIV): Likewise.
22538         (FPE_INTOVF): Likewise.
22539         (FPE_FLTDIV): Likewise.
22540         (FPE_FLTOVF): Likewise.
22541         (FPE_FLTUND): Likewise.
22542         (FPE_FLTRES): Likewise.
22543         (FPE_FLTINV): Likewise.
22544         (FPE_FLTSUB): Likewise.
22545         (SEGV_MAPERR): Likewise.
22546         (SEGV_ACCERR): Likewise.
22547         (BUS_ADRALN): Likewise.
22548         (BUS_ADRERR): Likewise.
22549         (BUS_OBJERR): Likewise.
22550         (BUS_MCEERR_AR): Likewise.
22551         (BUS_MCEERR_AO): Likewise.
22552         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
22553         (TRAP_TRACE): Likewise.
22554         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
22555         __USE_XOPEN2K8].
22556         (CLD_KILLED): Likewise.
22557         (CLD_DUMPED): Likewise.
22558         (CLD_TRAPPED): Likewise.
22559         (CLD_STOPPED): Likewise.
22560         (CLD_CONTINUED): Likewise.
22561         (POLL_IN): Likewise.
22562         (POLL_OUT): Likewise.
22563         (POLL_MSG): Likewise.
22564         (POLL_ERR): Likewise.
22565         (POLL_PRI): Likewise.
22566         (POLL_HUP): Likewise.
22567         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
22568         Likewise.
22569         (ILL_ILLOPN): Likewise.
22570         (ILL_ILLADR): Likewise.
22571         (ILL_ILLTRP): Likewise.
22572         (ILL_PRVOPC): Likewise.
22573         (ILL_PRVREG): Likewise.
22574         (ILL_COPROC): Likewise.
22575         (ILL_BADSTK): Likewise.
22576         (ILL_BADIADDR): Likewise.
22577         (ILL_BREAK): Likewise.
22578         (FPE_INTDIV): Likewise.
22579         (FPE_INTOVF): Likewise.
22580         (FPE_FLTDIV): Likewise.
22581         (FPE_FLTOVF): Likewise.
22582         (FPE_FLTUND): Likewise.
22583         (FPE_FLTRES): Likewise.
22584         (FPE_FLTINV): Likewise.
22585         (FPE_FLTSUB): Likewise.
22586         (FPE_DECOVF): Likewise.
22587         (FPE_DECDIV): Likewise.
22588         (FPE_DECERR): Likewise.
22589         (FPE_INVASC): Likewise.
22590         (FPE_INVDEC): Likewise.
22591         (SEGV_MAPERR): Likewise.
22592         (SEGV_ACCERR): Likewise.
22593         (SEGV_PSTKOVF): Likewise.
22594         (BUS_ADRALN): Likewise.
22595         (BUS_ADRERR): Likewise.
22596         (BUS_OBJERR): Likewise.
22597         (BUS_MCEERR_AR): Likewise.
22598         (BUS_MCEERR_AO): Likewise.
22599         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
22600         (TRAP_TRACE): Likewise.
22601         (TRAP_BRANCH): Likewise.
22602         (TRAP_HWBKPT): Likewise.
22603         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
22604         __USE_XOPEN2K8].
22605         (CLD_KILLED): Likewise.
22606         (CLD_DUMPED): Likewise.
22607         (CLD_TRAPPED): Likewise.
22608         (CLD_STOPPED): Likewise.
22609         (CLD_CONTINUED): Likewise.
22610         (POLL_IN): Likewise.
22611         (POLL_OUT): Likewise.
22612         (POLL_MSG): Likewise.
22613         (POLL_ERR): Likewise.
22614         (POLL_PRI): Likewise.
22615         (POLL_HUP): Likewise.
22616         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
22617         (ILL_ILLOPN): Likewise.
22618         (ILL_ILLADR): Likewise.
22619         (ILL_ILLTRP): Likewise.
22620         (ILL_PRVOPC): Likewise.
22621         (ILL_PRVREG): Likewise.
22622         (ILL_COPROC): Likewise.
22623         (ILL_BADSTK): Likewise.
22624         (FPE_INTDIV): Likewise.
22625         (FPE_INTOVF): Likewise.
22626         (FPE_FLTDIV): Likewise.
22627         (FPE_FLTOVF): Likewise.
22628         (FPE_FLTUND): Likewise.
22629         (FPE_FLTRES): Likewise.
22630         (FPE_FLTINV): Likewise.
22631         (FPE_FLTSUB): Likewise.
22632         (SEGV_MAPERR): Likewise.
22633         (SEGV_ACCERR): Likewise.
22634         (BUS_ADRALN): Likewise.
22635         (BUS_ADRERR): Likewise.
22636         (BUS_OBJERR): Likewise.
22637         (BUS_MCEERR_AR): Likewise.
22638         (BUS_MCEERR_AO): Likewise.
22639         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
22640         (TRAP_TRACE): Likewise.
22641         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
22642         __USE_XOPEN2K8].
22643         (CLD_KILLED): Likewise.
22644         (CLD_DUMPED): Likewise.
22645         (CLD_TRAPPED): Likewise.
22646         (CLD_STOPPED): Likewise.
22647         (CLD_CONTINUED): Likewise.
22648         (POLL_IN): Likewise.
22649         (POLL_OUT): Likewise.
22650         (POLL_MSG): Likewise.
22651         (POLL_ERR): Likewise.
22652         (POLL_PRI): Likewise.
22653         (POLL_HUP): Likewise.
22654         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
22655         (ILL_ILLOPN): Likewise.
22656         (ILL_ILLADR): Likewise.
22657         (ILL_ILLTRP): Likewise.
22658         (ILL_PRVOPC): Likewise.
22659         (ILL_PRVREG): Likewise.
22660         (ILL_COPROC): Likewise.
22661         (ILL_BADSTK): Likewise.
22662         (FPE_INTDIV): Likewise.
22663         (FPE_INTOVF): Likewise.
22664         (FPE_FLTDIV): Likewise.
22665         (FPE_FLTOVF): Likewise.
22666         (FPE_FLTUND): Likewise.
22667         (FPE_FLTRES): Likewise.
22668         (FPE_FLTINV): Likewise.
22669         (FPE_FLTSUB): Likewise.
22670         (SEGV_MAPERR): Likewise.
22671         (SEGV_ACCERR): Likewise.
22672         (BUS_ADRALN): Likewise.
22673         (BUS_ADRERR): Likewise.
22674         (BUS_OBJERR): Likewise.
22675         (BUS_MCEERR_AR): Likewise.
22676         (BUS_MCEERR_AO): Likewise.
22677         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
22678         (TRAP_TRACE): Likewise.
22679         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
22680         __USE_XOPEN2K8].
22681         (CLD_KILLED): Likewise.
22682         (CLD_DUMPED): Likewise.
22683         (CLD_TRAPPED): Likewise.
22684         (CLD_STOPPED): Likewise.
22685         (CLD_CONTINUED): Likewise.
22686         (POLL_IN): Likewise.
22687         (POLL_OUT): Likewise.
22688         (POLL_MSG): Likewise.
22689         (POLL_ERR): Likewise.
22690         (POLL_PRI): Likewise.
22691         (POLL_HUP): Likewise.
22692         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
22693         (ILL_ILLOPN): Likewise.
22694         (ILL_ILLADR): Likewise.
22695         (ILL_ILLTRP): Likewise.
22696         (ILL_PRVOPC): Likewise.
22697         (ILL_PRVREG): Likewise.
22698         (ILL_COPROC): Likewise.
22699         (ILL_BADSTK): Likewise.
22700         (FPE_INTDIV): Likewise.
22701         (FPE_INTOVF): Likewise.
22702         (FPE_FLTDIV): Likewise.
22703         (FPE_FLTOVF): Likewise.
22704         (FPE_FLTUND): Likewise.
22705         (FPE_FLTRES): Likewise.
22706         (FPE_FLTINV): Likewise.
22707         (FPE_FLTSUB): Likewise.
22708         (SEGV_MAPERR): Likewise.
22709         (SEGV_ACCERR): Likewise.
22710         (BUS_ADRALN): Likewise.
22711         (BUS_ADRERR): Likewise.
22712         (BUS_OBJERR): Likewise.
22713         (BUS_MCEERR_AR): Likewise.
22714         (BUS_MCEERR_AO): Likewise.
22715         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
22716         (TRAP_TRACE): Likewise.
22717         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
22718         __USE_XOPEN2K8].
22719         (CLD_KILLED): Likewise.
22720         (CLD_DUMPED): Likewise.
22721         (CLD_TRAPPED): Likewise.
22722         (CLD_STOPPED): Likewise.
22723         (CLD_CONTINUED): Likewise.
22724         (POLL_IN): Likewise.
22725         (POLL_OUT): Likewise.
22726         (POLL_MSG): Likewise.
22727         (POLL_ERR): Likewise.
22728         (POLL_PRI): Likewise.
22729         (POLL_HUP): Likewise.
22730         * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
22731         (ILL_ILLOPN): Likewise.
22732         (ILL_ILLADR): Likewise.
22733         (ILL_ILLTRP): Likewise.
22734         (ILL_PRVOPC): Likewise.
22735         (ILL_PRVREG): Likewise.
22736         (ILL_COPROC): Likewise.
22737         (ILL_BADSTK): Likewise.
22738         (ILL_DBLFLT): Likewise.
22739         (ILL_HARDWALL): Likewise.
22740         (FPE_INTDIV): Likewise.
22741         (FPE_INTOVF): Likewise.
22742         (FPE_FLTDIV): Likewise.
22743         (FPE_FLTOVF): Likewise.
22744         (FPE_FLTUND): Likewise.
22745         (FPE_FLTRES): Likewise.
22746         (FPE_FLTINV): Likewise.
22747         (FPE_FLTSUB): Likewise.
22748         (SEGV_MAPERR): Likewise.
22749         (SEGV_ACCERR): Likewise.
22750         (BUS_ADRALN): Likewise.
22751         (BUS_ADRERR): Likewise.
22752         (BUS_OBJERR): Likewise.
22753         (BUS_MCEERR_AR): Likewise.
22754         (BUS_MCEERR_AO): Likewise.
22755         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
22756         (TRAP_TRACE): Likewise.
22757         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
22758         __USE_XOPEN2K8].
22759         (CLD_KILLED): Likewise.
22760         (CLD_DUMPED): Likewise.
22761         (CLD_TRAPPED): Likewise.
22762         (CLD_STOPPED): Likewise.
22763         (CLD_CONTINUED): Likewise.
22764         (POLL_IN): Likewise.
22765         (POLL_OUT): Likewise.
22766         (POLL_MSG): Likewise.
22767         (POLL_ERR): Likewise.
22768         (POLL_PRI): Likewise.
22769         (POLL_HUP): Likewise.
22770         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
22771         (ILL_ILLOPN): Likewise.
22772         (ILL_ILLADR): Likewise.
22773         (ILL_ILLTRP): Likewise.
22774         (ILL_PRVOPC): Likewise.
22775         (ILL_PRVREG): Likewise.
22776         (ILL_COPROC): Likewise.
22777         (ILL_BADSTK): Likewise.
22778         (FPE_INTDIV): Likewise.
22779         (FPE_INTOVF): Likewise.
22780         (FPE_FLTDIV): Likewise.
22781         (FPE_FLTOVF): Likewise.
22782         (FPE_FLTUND): Likewise.
22783         (FPE_FLTRES): Likewise.
22784         (FPE_FLTINV): Likewise.
22785         (FPE_FLTSUB): Likewise.
22786         (SEGV_MAPERR): Likewise.
22787         (SEGV_ACCERR): Likewise.
22788         (BUS_ADRALN): Likewise.
22789         (BUS_ADRERR): Likewise.
22790         (BUS_OBJERR): Likewise.
22791         (BUS_MCEERR_AR): Likewise.
22792         (BUS_MCEERR_AO): Likewise.
22793         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
22794         (TRAP_TRACE): Likewise.
22795         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
22796         __USE_XOPEN2K8].
22797         (CLD_KILLED): Likewise.
22798         (CLD_DUMPED): Likewise.
22799         (CLD_TRAPPED): Likewise.
22800         (CLD_STOPPED): Likewise.
22801         (CLD_CONTINUED): Likewise.
22802         (POLL_IN): Likewise.
22803         (POLL_OUT): Likewise.
22804         (POLL_MSG): Likewise.
22805         (POLL_ERR): Likewise.
22806         (POLL_PRI): Likewise.
22807         (POLL_HUP): Likewise.
22808         * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
22809         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
22811         [BZ #16670]
22812         * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
22813         before #include of <time.h>.
22814         [!__USE_XOPEN2K] (__need_timespec): Likewise.
22815         * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
22816         (test-xfail-UNIX98/sched.h/conform): Likewise.
22818 2014-03-07  Marcus Shawcroft  <marcus.shawcroft@arm.com>
22820         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
22821         error absence of trapping exception support.
22822         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
22824 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
22826         * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
22827         ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
22828         * timezone/Makefile (testdata): Move definition above include of
22829         Rules.
22830         (test-zones): New variable.
22831         (tests-special): Add zone files.
22832         (build-testdata): Use $(evaluate-test).
22834         * elf/Makefile (tests-special): Rename tests to end with .out.
22835         ($(objpfx)noload-mem): Likewise.
22836         ($(objpfx)tst-leaks1-mem): Likewise.
22837         ($(objpfx)tst-leaks1-static-mem.out): Likewise.
22838         * iconv/Makefile (xtests-special): Change test-iconvconfig to
22839         $(objpfx)test-iconvconfig.out.
22840         (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out.  Use
22841         set -e inside subshell and redirect output to file.
22842         * iconvdata/Makefile (generated): Rename tests to end with .out.
22843         Correct type.
22844         (tests-special): Rename tests to end with .out.
22845         ($(objpfx)mtrace-tst-loading): Likewise.
22846         * intl/Makefile (generated): Likewise.
22847         (tests-special): Likewise.
22848         ($(objpfx)mtrace-tst-gettext): Likewise.
22849         * misc/Makefile (generated): Likewise.
22850         (tests-special): Likewise.
22851         ($(objpfx)tst-error1-mem): Likewise.
22852         * nptl/Makefile (tests-special): Likewise.
22853         ($(objpfx)tst-stack3-mem): Likewise.
22854         (generated): Likewise.
22855         * posix/Makefile (generated): Likewise.
22856         (tests-special): Likewise.
22857         (xtests-special): Likewise.
22858         ($(objpfx)tst-fnmatch-mem): Likewise.
22859         ($(objpfx)bug-regex2-mem): Likewise.
22860         ($(objpfx)bug-regex14-mem): Likewise.
22861         ($(objpfx)bug-regex21-mem): Likewise.
22862         ($(objpfx)bug-regex31-mem): Likewise.
22863         ($(objpfx)tst-vfork3-mem): Likewise.
22864         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
22865         ($(objpfx)tst-pcre-mem): Likewise.
22866         ($(objpfx)tst-boost-mem): Likewise.
22867         ($(objpfx)bug-ga2-mem): Likewise.
22868         ($(objpfx)bug-glob2-mem): Likewise.
22869         * resolv/Makefile (generate): Likewise.
22870         (tests-special): Likewise.
22871         (xtests-special): Likewise.
22872         (generated): Likewise.
22873         ($(objpfx)mtrace-tst-leaks): Likewise.
22874         ($(objpfx)mtrace-tst-leaks2): Likewise.
22876         * scripts/merge-test-results.sh: New file.
22877         * Makefile (tests-special-notdir): New variable.
22878         (tests): Run merge-test-results.sh.
22879         (xtests): Likewise.
22880         * Rules (tests-special-notdir): New variable.
22881         (xtests-special-notdir): Likewise.
22882         (tests): Run merge-test-results.sh
22883         (xtests): Likewise.
22885         * Makeconfig (test-xfail-name): New variable.
22886         (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
22887         compute variable name for expected failures.
22888         * conform/Makefile (conformtest-headers-data): New variable.
22889         (conformtest-standards): Likewise.
22890         (conformtest-headers-ISO): Likewise.
22891         (conformtest-headers-ISO99): Likewise.
22892         (conformtest-headers-ISO11): Likewise.
22893         (conformtest-headers-POSIX): Likewise.
22894         (conformtest-headers-XPG3): Likewise.
22895         (conformtest-headers-XPG4): Likewise.
22896         (conformtest-headers-UNIX98): Likewise.
22897         (conformtest-headers-XOPEN2K): Likewise.
22898         (conformtest-headers-POSIX2008): Likewise.
22899         (conformtest-headers-XOPEN2K8): Likewise.
22900         (conformtest-header-list-base): Likewise.
22901         (conformtest-header-list-tests): Likewise.
22902         (conformtest-header-base): Likewise.
22903         (conformtest-header-tests): Likewise.
22904         (tests-special): Add $(conformtest-header-list-tests).  If
22905         [$(fast-check) && !$(cross-compiling)], add
22906         $(conformtest-header-tests) instead of
22907         $(objpfx)run-conformtest.out.
22908         (generated): Add $(conformtest-header-list-base).  If
22909         [$(fast-check) && !$(cross-compiling)], add
22910         $(conformtest-header-base).  Remove previous setting.
22911         ($(conformtest-header-list-tests)): New target.
22912         (test-xfail-run-conformtest): Remove variable.
22913         ($(objpfx)run-conformtest.out): Remove target.
22914         (test-xfail-ISO11/complex.h/conform): New variable.
22915         (test-xfail-ISO11/stdalign.h/conform): Likewise.
22916         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
22917         (test-xfail-XPG3/varargs.h/conform): Likewise.
22918         (test-xfail-XPG4/varargs.h/conform): Likewise.
22919         (test-xfail-UNIX98/varargs.h/conform): Likewise.
22920         (test-xfail-XPG4/ndbm.h/conform): Likewise.
22921         (test-xfail-UNIX98/ndbm.h/conform): Likewise.
22922         (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
22923         (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
22924         (test-xfail-XPG3/fcntl.h/conform): Likewise.
22925         (test-xfail-XPG3/ftw.h/conform): Likewise.
22926         (test-xfail-XPG3/grp.h/conform): Likewise.
22927         (test-xfail-XPG3/langinfo.h/conform): Likewise.
22928         (test-xfail-XPG3/limits.h/conform): Likewise.
22929         (test-xfail-XPG3/pwd.h/conform): Likewise.
22930         (test-xfail-XPG3/search.h/conform): Likewise.
22931         (test-xfail-XPG3/signal.h/conform): Likewise.
22932         (test-xfail-XPG3/stdio.h/conform): Likewise.
22933         (test-xfail-XPG3/stdlib.h/conform): Likewise.
22934         (test-xfail-XPG3/string.h/conform): Likewise.
22935         (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
22936         (test-xfail-XPG3/sys/msg.h/conform): Likewise.
22937         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
22938         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
22939         (test-xfail-XPG3/sys/stat.h/conform): Likewise.
22940         (test-xfail-XPG3/sys/types.h/conform): Likewise.
22941         (test-xfail-XPG3/sys/wait.h/conform): Likewise.
22942         (test-xfail-XPG3/termios.h/conform): Likewise.
22943         (test-xfail-XPG3/time.h/conform): Likewise.
22944         (test-xfail-XPG3/unistd.h/conform): Likewise.
22945         (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
22946         (test-xfail-XPG4/fcntl.h/conform): Likewise.
22947         (test-xfail-XPG4/langinfo.h/conform): Likewise.
22948         (test-xfail-XPG4/netdb.h/conform): Likewise.
22949         (test-xfail-XPG4/netinet/in.h/conform): Likewise.
22950         (test-xfail-XPG4/signal.h/conform): Likewise.
22951         (test-xfail-XPG4/stdio.h/conform): Likewise.
22952         (test-xfail-XPG4/stdlib.h/conform): Likewise.
22953         (test-xfail-XPG4/stropts.h/conform): Likewise.
22954         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
22955         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
22956         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
22957         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
22958         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
22959         (test-xfail-XPG4/sys/stat.h/conform): Likewise.
22960         (test-xfail-XPG4/sys/time.h/conform): Likewise.
22961         (test-xfail-XPG4/sys/types.h/conform): Likewise.
22962         (test-xfail-XPG4/sys/wait.h/conform): Likewise.
22963         (test-xfail-XPG4/termios.h/conform): Likewise.
22964         (test-xfail-XPG4/ucontext.h/conform): Likewise.
22965         (test-xfail-XPG4/unistd.h/conform): Likewise.
22966         (test-xfail-XPG4/utmpx.h/conform): Likewise.
22967         (test-xfail-POSIX/sched.h/conform): Likewise.
22968         (test-xfail-POSIX/signal.h/conform): Likewise.
22969         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
22970         (test-xfail-POSIX/tar.h/conform): Likewise.
22971         (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
22972         (test-xfail-UNIX98/fcntl.h/conform): Likewise.
22973         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
22974         (test-xfail-UNIX98/netdb.h/conform): Likewise.
22975         (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
22976         (test-xfail-UNIX98/sched.h/conform): Likewise.
22977         (test-xfail-UNIX98/signal.h/conform): Likewise.
22978         (test-xfail-UNIX98/stdio.h/conform): Likewise.
22979         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
22980         (test-xfail-UNIX98/stropts.h/conform): Likewise.
22981         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
22982         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
22983         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
22984         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
22985         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
22986         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
22987         (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
22988         (test-xfail-UNIX98/ucontext.h/conform): Likewise.
22989         (test-xfail-UNIX98/unistd.h/conform): Likewise.
22990         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
22991         (test-xfail-XOPEN2K/aio.h/conform): Likewise.
22992         (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
22993         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
22994         (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
22995         (test-xfail-XOPEN2K/math.h/conform): Likewise.
22996         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
22997         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
22998         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
22999         (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
23000         (test-xfail-XOPEN2K/signal.h/conform): Likewise.
23001         (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
23002         (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
23003         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
23004         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
23005         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
23006         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
23007         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
23008         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
23009         (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
23010         (test-xfail-XOPEN2K/termios.h/conform): Likewise.
23011         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
23012         (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
23013         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
23014         (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
23015         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
23016         (test-xfail-POSIX2008/netdb.h/conform): Likewise.
23017         (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
23018         (test-xfail-POSIX2008/signal.h/conform): Likewise.
23019         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
23020         (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
23021         (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
23022         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
23023         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
23024         (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
23025         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
23026         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
23027         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
23028         (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
23029         (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
23030         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
23031         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
23032         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
23033         (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
23034         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
23035         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
23036         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
23037         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
23038         (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
23039         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
23040         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
23041         (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
23042         (conformtest-cc-flags): Likewise.
23043         ($(conformtest-header-tests): New target.
23044         * conform/check-header-lists.sh: New file.
23045         * conform/run-conformtest.sh: Remove.
23047         * conform/conformtest.pl: Allow ' and \ in values given for
23048         constants.
23049         * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
23050         inclusion.
23051         [POSIX] (sys/types.h): Likewise.
23052         [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
23053         inclusion.
23054         [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
23055         inclusion.
23056         * conform/data/signal.h-data (SIGIO): Remove expectation.
23057         [XPG3] (SIGBUS): Do not expect.
23058         [POSIX || XPG3] (SIGPOLL): Likewise.
23059         [POSIX || XPG3] (SIGPROF): Likewise.
23060         [POSIX || XPG3] (SIGSYS): Likewise.
23061         [XPG3] (SIGTRAP): Likewise.
23062         [POSIX || XPG3] (SIGURG): Likewise.
23063         [POSIX || XPG3] (SIGVTALRM): Likewise.
23064         [POSIX || XPG3] (SIGXCPU): Likewise.
23065         [POSIX || XPG3] (SIGXFSZ): Likewise.
23066         [POSIX] (SA_SIGINFO): Expect.
23067         [XPG3] (siginfo_t): Do not expect type or contents.
23068         [POSIX] (si_pid): Do not expect element.
23069         [POSIX] (si_uid): Likewise.
23070         [POSIX] (si_addr): Likewise.
23071         [POSIX] (si_status): Likewise.
23072         [POSIX] (si_band): Likewise.
23073         [XPG4] (si_value): Likewise.
23074         [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
23075         [POSIX || XPG3] (ILL_ILLOPN): Likewise.
23076         [POSIX || XPG3] (ILL_ILLADR): Likewise.
23077         [POSIX || XPG3] (ILL_ILLTRP): Likewise.
23078         [POSIX || XPG3] (ILL_PRVOPC): Likewise.
23079         [POSIX || XPG3] (ILL_PRVREG): Likewise.
23080         [POSIX || XPG3] (ILL_COPROC): Likewise.
23081         [POSIX || XPG3] (ILL_BADSTK): Likewise.
23082         [POSIX || XPG3] (FPE_INTDIV): Likewise.
23083         [POSIX || XPG3] (FPE_INTOVF): Likewise.
23084         [POSIX || XPG3] (FPE_FLTDIV): Likewise.
23085         [POSIX || XPG3] (FPE_FLTOVF): Likewise.
23086         [POSIX || XPG3] (FPE_FLTUND): Likewise.
23087         [POSIX || XPG3] (FPE_FLTRES): Likewise.
23088         [POSIX || XPG3] (FPE_FLTINV): Likewise.
23089         [POSIX || XPG3] (FPE_FLTSUB): Likewise.
23090         [POSIX || XPG3] (SEGV_MAPERR): Likewise.
23091         [POSIX || XPG3] (SEGV_ACCERR): Likewise.
23092         [POSIX || XPG3] (BUS_ADRALN): Likewise.
23093         [POSIX || XPG3] (BUS_ADRERR): Likewise.
23094         [POSIX || XPG3] (BUS_OBJERR): Likewise.
23095         [POSIX || XPG3] (CLD_EXITED): Likewise.
23096         [POSIX || XPG3] (CLD_KILLED): Likewise.
23097         [POSIX || XPG3] (CLD_DUMPED): Likewise.
23098         [POSIX || XPG3] (CLD_TRAPPED): Likewise.
23099         [POSIX || XPG3] (CLD_STOPPED): Likewise.
23100         [POSIX || XPG3] (CLD_CONTINUED): Likewise.
23101         [POSIX || XPG3] (POLL_IN): Likewise.
23102         [POSIX || XPG3] (POLL_OUT): Likewise.
23103         [POSIX || XPG3] (POLL_MSG): Likewise.
23104         [POSIX || XPG3] (POLL_ERR): Likewise.
23105         [POSIX || XPG3] (POLL_PRI): Likewise.
23106         [POSIX || XPG3] (POLL_HUP): Likewise.
23107         [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
23108         [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
23109         (SIG*): Do not allow.
23110         [XPG3] (si_*): Likewise.
23111         [XPG3] (SI_*): Likewise.
23112         [XPG3 || XPG4] (sigev_*): Likewise.
23113         [XPG3 || XPG4] (SIGEV_*): Likewise.
23114         [XPG3 || XPG4] (sival_*): Likewise.
23115         [POSIX || XPG3 || XPG4] (uc_*): Likewise.
23116         [POSIX || XPG3] (BUS_*): Likewise.
23117         [POSIX || XPG3] (CLD_*): Likewise.
23118         [POSIX || XPG3] (FPE_*): Likewise.
23119         [POSIX || XPG3] (ILL_*): Likewise.
23120         [POSIX || XPG3] (POLL_*): Likewise.
23121         [POSIX || XPG3] (SEGV_*): Likewise.
23122         [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
23123         [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
23124         [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
23125         [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
23126         [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
23127         * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
23128         Specify type and value.
23129         (TVERSLEN): Likewise.
23130         (REGTYPE): Likewise.
23131         (AREGTYPE): Likewise.
23132         (LNKTYPE): Likewise.
23133         (SYMTYPE): Likewise.
23134         (CHRTYPE): Likewise.
23135         (BLKTYPE): Likewise.
23136         (DIRTYPE): Likewise.
23137         (FIFOTYPE): Likewise.
23138         (CONTTYPE): Likewise.
23139         (TSUID): Likewise.
23140         (TSGID): Likewise.
23141         (TSVTX): Likewise.
23142         (TUREAD): Likewise.
23143         (TUWRITE): Likewise.
23144         (TUEXEC): Likewise.
23145         (TGREAD): Likewise.
23146         (TGWRITE): Likewise.
23147         (TGEXEC): Likewise.
23148         (TOREAD): Likewise.
23149         (TOWRITE): Likewise.
23150         (TOEXEC): Likewise.
23151         [POSIX] (TSVTX): Expect constant.
23153 2014-03-06  Joseph Myers  <joseph@codesourcery.com>
23155         * Makefile (tests): Change dependencies to ....
23156         (tests-special): ... additions to this variable.
23157         (tests): Depend on $(tests-special).
23158         * Makerules (check-abi-list): New variable.
23159         (check-abi): Depend on $(check-abi-list).
23160         [$(subdir) = elf] (tests-special): Add
23161         $(objpfx)check-abi-libc.out.
23162         [$(build-shared) = yes && subdir] (tests-special): Add
23163         $(check-abi-list).
23164         [$(build-shared) = yes && subdir] (tests): Do not depend on
23165         check-abi.
23166         * Rules (tests): Depend on $(tests-special).
23167         (xtests): Depend on $(xtests-special).
23168         * catgets/Makefile (tests): Change dependencies to ....
23169         (tests-special): ... additions to this variable.
23170         * conform/Makefile (tests): Change dependencies to ....
23171         (tests-special): ... additions to this variable.
23172         * elf/Makefile (tests): Change dependencies to ....
23173         (tests-special): ... additions to this variable.
23174         * grp/Makefile (tests): Change dependencies to ....
23175         (tests-special): ... additions to this variable.
23176         * iconv/Makefile (xtests): Change dependencies to ....
23177         (xtests-special): ... additions to this variable.
23178         * iconvdata/Makefile (tests): Change dependencies to ....
23179         (tests-special): ... additions to this variable.
23180         * intl/Makefile (tests): Change dependencies to ....
23181         (tests-special): ... additions to this variable.  Also add
23182         $(objpfx)tst-gettext.out.
23183         * io/Makefile (tests): Change dependencies to ....
23184         (tests-special): ... additions to this variable.
23185         * libio/Makefile (tests): Change dependencies to ....
23186         (tests-special): ... additions to this variable.
23187         * malloc/Makefile (tests): Change dependencies to ....
23188         (tests-special): ... additions to this variable.
23189         * misc/Makefile (tests): Change dependencies to ....
23190         (tests-special): ... additions to this variable.
23191         * nptl/Makefile (tests): Change dependencies to ....
23192         (tests-special): ... additions to this variable.
23193         * nptl_db/Makefile (tests): Change dependencies to ....
23194         (tests-special): ... additions to this variable.
23195         * posix/Makefile (tests): Change dependencies to ....
23196         (tests-special): ... additions to this variable.
23197         (xtests): Change dependencies to ....
23198         (xtests-special): ... additions to this variable.
23199         * resolv/Makefile (tests): Change dependencies to ....
23200         (tests-special): ... additions to this variable.
23201         (xtests): Change dependencies to ....
23202         (xtests-special): ... additions to this variable.
23203         * stdio-common/Makefile (tests): Change dependencies to ....
23204         (tests-special): ... additions to this variable.
23205         (do-tst-unbputc): Remove target.
23206         (do-tst-printf): Likewise.
23207         * stdlib/Makefile (tests): Change dependencies to ....
23208         (tests-special): ... additions to this variable.
23209         * string/Makefile (tests): Change dependencies to ....
23210         (tests-special): ... additions to this variable.
23211         * sysdeps/x86/Makefile (tests): Change dependencies to ....
23212         (tests-special): ... additions to this variable.
23214         * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
23215         whole file.
23216         * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
23217         whole file.
23218         * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
23219         * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
23221         * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
23222         * conform/data/arpa/inet.h-data [XPG3]: Likewise.
23223         * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
23224         * conform/data/fmtmsg.h-data [XPG3]: Likewise.
23225         * conform/data/libgen.h-data [XPG3]: Likewise.
23226         * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
23227         * conform/data/ndbm.h-data [XPG3]: Likewise.
23228         * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
23229         * conform/data/netdb.h-data [XPG3]: Likewise.
23230         * conform/data/netinet/in.h-data [XPG3]: Likewise.
23231         * conform/data/poll.h-data [XPG3]: Likewise.
23232         * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
23233         * conform/data/strings.h-data [XPG3]: Likewise.
23234         * conform/data/stropts.h-data [XPG3]: Likewise.
23235         * conform/data/sys/mman.h-data [XPG3]: Likewise.
23236         * conform/data/sys/resource.h-data [XPG3]: Likewise.
23237         * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
23238         Likewise.
23239         * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
23240         * conform/data/sys/time.h-data [XPG3]: Likewise.
23241         * conform/data/sys/timeb.h-data [XPG3]: Likewise.
23242         * conform/data/sys/uio.h-data [XPG3]: Likewise.
23243         * conform/data/sys/un.h-data [XPG3]: Likewise.
23244         * conform/data/syslog.h-data [XPG3]: Likewise.
23245         * conform/data/ucontext.h-data [XPG3]: Likewise.
23246         * conform/data/utmpx.h-data [XPG3]: Likewise.
23247         * conform/data/varargs.h-data [UNIX98]: Enable file.
23249         * manual/Makefile (INSTALL_INFO): Remove variable setting.
23251         * math/libm-test.inc (struct test_f_f_data): Move expected results
23252         into structure for each rounding mode.
23253         (struct test_ff_f_data): Likewise.
23254         (struct test_ff_f_data_nexttoward): Likewise.
23255         (struct test_fi_f_data): Likewise.
23256         (struct test_fl_f_data): Likewise.
23257         (struct test_if_f_data): Likewise.
23258         (struct test_fff_f_data): Likewise.
23259         (struct test_c_f_data): Likewise.
23260         (struct test_f_f1_data): Likewise.
23261         (struct test_fF_f1_data): Likewise.
23262         (struct test_ffI_f1_data): Likewise.
23263         (struct test_c_c_data): Likewise.
23264         (struct test_cc_c_data): Likewise.
23265         (struct test_f_i_data): Likewise.
23266         (struct test_ff_i_data): Likewise.
23267         (struct test_f_l_data): Likewise.
23268         (struct test_f_L_data): Likewise.
23269         (struct test_fFF_11_data): Likewise.
23270         (RM_): New macro.
23271         (RM_FE_DOWNWARD): Likewise.
23272         (RM_FE_TONEAREST): Likewise.
23273         (RM_FE_TOWARDZERO): Likewise.
23274         (RM_FE_UPWARD): Likewise.
23275         (RUN_TEST_LOOP_f_f): Update references to expected results.
23276         (RUN_TEST_LOOP_2_f): Likewise.
23277         (RUN_TEST_LOOP_fff_f): Likewise.
23278         (RUN_TEST_LOOP_c_f): Likewise.
23279         (RUN_TEST_LOOP_f_f1): Likewise.
23280         (RUN_TEST_LOOP_fF_f1): Likewise.
23281         (RUN_TEST_LOOP_fI_f1): Likewise.
23282         (RUN_TEST_LOOP_ffI_f1): Likewise.
23283         (RUN_TEST_LOOP_c_c): Likewise.
23284         (RUN_TEST_LOOP_cc_c): Likewise.
23285         (RUN_TEST_LOOP_f_i): Likewise.
23286         (RUN_TEST_LOOP_f_i_tg): Likewise.
23287         (RUN_TEST_LOOP_ff_i_tg): Likewise.
23288         (RUN_TEST_LOOP_f_b): Likewise.
23289         (RUN_TEST_LOOP_f_b_tg): Likewise.
23290         (RUN_TEST_LOOP_f_l): Likewise.
23291         (RUN_TEST_LOOP_f_L): Likewise.
23292         (RUN_TEST_LOOP_fFF_11): Likewise.
23293         * math/gen-libm-test.pl (parse_args): Output four copies of
23294         expected results for each test.
23296         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
23297         (__ASSUME_UTIMES): Remove.
23298         * sysdeps/unix/sysv/linux/tile/kernel-features.h
23299         (__ASSUME_UTIMES): Likewise.
23301         * math/gen-auto-libm-tests.c: Update comment on output format.
23302         (output_for_one_input_case): Generate before-rounding and
23303         after-rounding information as conditions on output flags not
23304         floating-point format.
23305         * math/auto-libm-test-out: Regenerated.
23306         * math/gen-libm-test.pl (cond_value): New function.
23307         (or_cond_value): Use cond_value.
23308         (generate_testfile): Handle conditional exceptions.
23310 2014-03-05  Joseph Myers  <joseph@codesourcery.com>
23312         * math/libm-test.inc (max_valid_error): New variable.
23313         (init_max_error): Take new argument specifying whether function
23314         results are exactly determined.  Set max_valid_error and bound
23315         other variables for errors based on this argument.
23316         (set_max_error): Do not record results above max_valid_error.
23317         (check_float_internal): Only accept errors of up to 0.5ulps if
23318         also at most max_valid_error.
23319         (START): Take new argument EXACT and pass it to init_max_error.
23320         (acos_test): Update call to START.
23321         (acos_test_tonearest): Likewise.
23322         (acos_test_towardzero): Likewise.
23323         (acos_test_downward): Likewise.
23324         (acos_test_upward): Likewise.
23325         (acosh_test): Likewise.
23326         (asin_test): Likewise.
23327         (asin_test_tonearest): Likewise.
23328         (asin_test_towardzero): Likewise.
23329         (asin_test_downward): Likewise.
23330         (asin_test_upward): Likewise.
23331         (asinh_test): Likewise.
23332         (atan_test): Likewise.
23333         (atanh_test): Likewise.
23334         (atan2_test): Likewise.
23335         (cabs_test): Likewise.
23336         (cacos_test): Likewise.
23337         (cacosh_test): Likewise.
23338         (carg_test): Likewise.
23339         (casin_test): Likewise.
23340         (casinh_test): Likewise.
23341         (catan_test): Likewise.
23342         (catanh_test): Likewise.
23343         (cbrt_test): Likewise.
23344         (ccos_test): Likewise.
23345         (ccosh_test): Likewise.
23346         (ceil_test): Likewise.
23347         (cexp_test): Likewise.
23348         (cimag_test): Likewise.
23349         (clog_test): Likewise.
23350         (clog10_test): Likewise.
23351         (conj_test): Likewise.
23352         (copysign_test): Likewise.
23353         (cos_test): Likewise.
23354         (cos_test_tonearest): Likewise.
23355         (cos_test_towardzero): Likewise.
23356         (cos_test_downward): Likewise.
23357         (cos_test_upward): Likewise.
23358         (cosh_test): Likewise.
23359         (cosh_test_tonearest): Likewise.
23360         (cosh_test_towardzero): Likewise.
23361         (cosh_test_downward): Likewise.
23362         (cosh_test_upward): Likewise.
23363         (cpow_test): Likewise.
23364         (cproj_test): Likewise.
23365         (creal_test): Likewise.
23366         (csin_test): Likewise.
23367         (csinh_test): Likewise.
23368         (csqrt_test): Likewise.
23369         (ctan_test): Likewise.
23370         (ctan_test_tonearest): Likewise.
23371         (ctan_test_towardzero): Likewise.
23372         (ctan_test_downward): Likewise.
23373         (ctan_test_upward): Likewise.
23374         (ctanh_test): Likewise.
23375         (ctanh_test_tonearest): Likewise.
23376         (ctanh_test_towardzero): Likewise.
23377         (ctanh_test_downward): Likewise.
23378         (ctanh_test_upward): Likewise.
23379         (erf_test): Likewise.
23380         (erfc_test): Likewise.
23381         (exp_test): Likewise.
23382         (exp_test_tonearest): Likewise.
23383         (exp_test_towardzero): Likewise.
23384         (exp_test_downward): Likewise.
23385         (exp_test_upward): Likewise.
23386         (exp10_test): Likewise.
23387         (exp10_test_tonearest): Likewise.
23388         (exp10_test_towardzero): Likewise.
23389         (exp10_test_downward): Likewise.
23390         (exp10_test_upward): Likewise.
23391         (pow10_test): Likewise.
23392         (exp2_test): Likewise.
23393         (expm1_test): Likewise.
23394         (expm1_test_tonearest): Likewise.
23395         (expm1_test_towardzero): Likewise.
23396         (expm1_test_downward): Likewise.
23397         (expm1_test_upward): Likewise.
23398         (fabs_test): Likewise.
23399         (fdim_test): Likewise.
23400         (floor_test): Likewise.
23401         (fma_test): Likewise.
23402         (fma_test_towardzero): Likewise.
23403         (fma_test_downward): Likewise.
23404         (fma_test_upward): Likewise.
23405         (fmax_test): Likewise.
23406         (fmin_test): Likewise.
23407         (fmod_test): Likewise.
23408         (fpclassify_test): Likewise.
23409         (frexp_test): Likewise.
23410         (hypot_test): Likewise.
23411         (ilogb_test): Likewise.
23412         (isfinite_test): Likewise.
23413         (finite_test): Likewise.
23414         (isgreater_test): Likewise.
23415         (isgreaterequal_test): Likewise.
23416         (isinf_test): Likewise.
23417         (isless_test): Likewise.
23418         (islessequal_test): Likewise.
23419         (islessgreater_test): Likewise.
23420         (isnan_test): Likewise.
23421         (isnormal_test): Likewise.
23422         (issignaling_test): Likewise.
23423         (isunordered_test): Likewise.
23424         (j0_test): Likewise.
23425         (j1_test): Likewise.
23426         (jn_test): Likewise.
23427         (ldexp_test): Likewise.
23428         (lgamma_test): Likewise.
23429         (gamma_test): Likewise.
23430         (lrint_test): Likewise.
23431         (lrint_test_tonearest): Likewise.
23432         (lrint_test_towardzero): Likewise.
23433         (lrint_test_downward): Likewise.
23434         (lrint_test_upward): Likewise.
23435         (llrint_test): Likewise.
23436         (llrint_test_tonearest): Likewise.
23437         (llrint_test_towardzero): Likewise.
23438         (llrint_test_downward): Likewise.
23439         (llrint_test_upward): Likewise.
23440         (log_test): Likewise.
23441         (log10_test): Likewise.
23442         (log1p_test): Likewise.
23443         (log2_test): Likewise.
23444         (logb_test): Likewise.
23445         (logb_test_downward): Likewise.
23446         (lround_test): Likewise.
23447         (llround_test): Likewise.
23448         (modf_test): Likewise.
23449         (nearbyint_test): Likewise.
23450         (nextafter_test): Likewise.
23451         (nexttoward_test): Likewise.
23452         (pow_test): Likewise.
23453         (pow_test_tonearest): Likewise.
23454         (pow_test_towardzero): Likewise.
23455         (pow_test_downward): Likewise.
23456         (pow_test_upward): Likewise.
23457         (remainder_test): Likewise.
23458         (drem_test): Likewise.
23459         (remainder_test_tonearest): Likewise.
23460         (drem_test_tonearest): Likewise.
23461         (remainder_test_towardzero): Likewise.
23462         (drem_test_towardzero): Likewise.
23463         (remainder_test_downward): Likewise.
23464         (drem_test_downward): Likewise.
23465         (remainder_test_upward): Likewise.
23466         (drem_test_upward): Likewise.
23467         (remquo_test): Likewise.
23468         (rint_test): Likewise.
23469         (rint_test_tonearest): Likewise.
23470         (rint_test_towardzero): Likewise.
23471         (rint_test_downward): Likewise.
23472         (rint_test_upward): Likewise.
23473         (round_test): Likewise.
23474         (scalb_test): Likewise.
23475         (scalbn_test): Likewise.
23476         (scalbln_test): Likewise.
23477         (signbit_test): Likewise.
23478         (sin_test): Likewise.
23479         (sin_test_tonearest): Likewise.
23480         (sin_test_towardzero): Likewise.
23481         (sin_test_downward): Likewise.
23482         (sin_test_upward): Likewise.
23483         (sincos_test): Likewise.
23484         (sinh_test): Likewise.
23485         (sinh_test_tonearest): Likewise.
23486         (sinh_test_towardzero): Likewise.
23487         (sinh_test_downward): Likewise.
23488         (sinh_test_upward): Likewise.
23489         (sqrt_test): Likewise.
23490         (sqrt_test_tonearest): Likewise.
23491         (sqrt_test_towardzero): Likewise.
23492         (sqrt_test_downward): Likewise.
23493         (sqrt_test_upward): Likewise.
23494         (tan_test): Likewise.
23495         (tan_test_tonearest): Likewise.
23496         (tan_test_towardzero): Likewise.
23497         (tan_test_downward): Likewise.
23498         (tan_test_upward): Likewise.
23499         (tanh_test): Likewise.
23500         (tgamma_test): Likewise.
23501         (trunc_test): Likewise.
23502         (y0_test): Likewise.
23503         (y1_test): Likewise.
23504         (yn_test): Likewise.
23505         (significand_test): Likewise.
23507         * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
23508         individual tests in comment.
23509         (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
23510         (prev_max_error): New variable.
23511         (prev_real_max_error): Likewise.
23512         (prev_imag_max_error): Likewise.
23513         (compare_ulp_data): Don't refer to test names in comment.
23514         (find_test_ulps): Remove function.
23515         (find_function_ulps): Likewise.
23516         (find_complex_function_ulps): Likewise.
23517         (init_max_error): Take function name as argument.  Look up ulps
23518         for that function.
23519         (print_ulps): Remove function.
23520         (print_max_error): Use prev_max_error instead of calling
23521         find_function_ulps.
23522         (print_complex_max_error): Use prev_real_max_error and
23523         prev_imag_max_error instead of calling find_complex_function_ulps.
23524         (check_float_internal): Take max_ulp parameter instead of calling
23525         find_test_ulps.  Don't call print_ulps.
23526         (check_float): Update call to check_float_internal.
23527         (check_complex): Update calls to check_float_internal.
23528         (START): Pass argument to init_max_error.
23529         * math/gen-libm-test.pl (%results): Don't include "kind"
23530         information.
23531         (parse_ulps): Don't handle ulps of individual tests.
23532         (print_ulps_file): Likewise.
23533         (output_ulps): Likewise.
23534         * math/README.libm-test: Update.
23535         * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
23536         individual tests.
23537         * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
23538         * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
23539         * sysdeps/arm/libm-test-ulps: Likewise.
23540         * sysdeps/i386/fpu/libm-test-ulps: Likewise.
23541         * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
23542         * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
23543         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
23544         * sysdeps/microblaze/libm-test-ulps: Likewise.
23545         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
23546         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
23547         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
23548         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
23549         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
23550         * sysdeps/sh/libm-test-ulps: Likewise.
23551         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
23552         * sysdeps/tile/libm-test-ulps: Likewise.
23553         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23555 2014-03-04  Joseph Myers  <joseph@codesourcery.com>
23557         * math/libm-test.inc (print_complex_max_error): Check separately
23558         whether real and imaginary errors are within allowed range and
23559         pass 0 to print_complex_function_ulps instead of value within
23560         allowed range.
23562 2014-03-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
23564         * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
23565         formatting.
23566         (get_handles_fopen): Likewise.
23567         (do_write_test): Likewise.
23569         * libio/wfileops.c (do_ftell_wide): Fix up formatting.
23571         * libio/fileops.c (do_ftell): Use cached offset when
23572         available.
23573         * libio/iofwide.c (do_ftell_wide): Likewise.
23574         * libio/iofdopen.c (_IO_new_fdopen): Don't use
23575         _IO_file_attach.
23576         * libio/wfileops.c (_IO_fwide): Don't cache offset.
23578         [BZ #16532]
23579         * libio/libioP.h (get_file_offset): New function.
23580         * libio/fileops.c (get_file_offset): Likewise.
23581         (do_ftell): Likewise.
23582         (_IO_new_file_seekoff): Split out ftell logic.
23583         * libio/wfileops.c (do_ftell_wide): Likewise.
23584         (_IO_wfile_seekoff): Split out ftell logic.
23585         * libio/tst-ftell-active-handler.c: New test case.
23586         * libio/Makefile (tests): Add it.
23588 2014-03-03  Roland McGrath  <roland@hack.frob.com>
23590         * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
23591         * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
23593 2014-03-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
23595         [BZ #16639]
23596         * nscd/connections.c (nscd_init): Call do_exit.
23597         (start_threads): Call do_exit and notify_parent.
23598         (begin_drop_privileges): Call do_exit.
23599         (finish_drop_privileges): Likewise.
23600         * nscd/selinux.c (preserve_capabilities): Likewise.
23601         (install_real_capabilities): Likewise.
23602         (nscd_selinux_enabled): Likewise.
23603         (avc_create_thread): Likewise.
23604         (avc_alloc_lock): Likewise.
23605         (nscd_avc_init): Likewise.
23606         * nscd/nscd.c (parent_fd): New static variable.
23607         (main): Create a pipe between parent and child processes.
23608         Skip closing parent_fd.
23609         (monitor_child): New function.
23610         (do_exit): Likewise.
23611         (notify_parent): Likewise.
23612         * nscd/nscd.h (notify_parent): Likewise.
23613         (do_exit): Likewise.
23615 2014-03-03  Carlos O'Donell  <carlos@redhat.com>
23617         * malloc/malloc.c (__libc_calloc): Revert last change.
23619 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23621         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23623 2014-03-03  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
23625         * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
23626         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
23627         implementation.
23628         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
23629         (__libc_ifunc_impl_list): Likewise.
23630         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
23631         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
23632         * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
23633         * string/strrchr.c: Define STRRCHR.
23635 2014-02-28  Ondřej Bílka  <neleai@seznam.cz>
23637         * benchtest/bench-strtok.c (simple_strtok): Delete.
23638         (strtok_string): Use as benchmark.
23639         * string/strtok (STRTOK): New macro.
23641 2014-02-28  Carlos O'Donell  <carlos@redhat.com>
23643         * manual/threads.texi: Add header and standard comments to all
23644         functions.
23646         * elf/dl-lookup.c (check_match): New function.
23647         (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
23648         (do_lookup_x): Remove nested function check_match. Use non-nested
23649         function check_match.
23651 2014-02-28  Roland McGrath  <roland@hack.frob.com>
23653         * csu/Makefile (generated, before-compile): Use += rather than =.
23654         * catgets/Makefile (generated, generated-dirs): Likewise.
23655         * debug/Makefile (generated): Likewise.
23656         * dlfcn/Makefile (generated): Likewise.
23657         * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
23658         * iconvdata/Makefile (before-compile, generated): Likewise.
23659         * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
23660         * libio/Makefile (generated): Likewise.
23661         * malloc/Makefile (generated): Likewise.
23662         * manual/Makefile (generated, generated-dirs): Likewise.
23663         * misc/Makefile (generated): Likewise.
23664         * posix/Makefile (generated): Likewise.
23665         * resolv/Makefile (generated): Likewise.
23666         * sunrpc/Makefile (generated, generated-dirs): Likewise.
23667         * timezone/Makefile (generated, generated-dirs): Likewise.
23669         * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
23671 2014-02-27  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23673         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
23674         power8 implementation.
23675         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
23676         file: POWER8 llround ifunc implementation.
23677         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
23678         (__lllround): Add POWER8 implementation.
23679         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
23680         POWER8 llround implementation.
23682         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
23683         power8 implementation.
23684         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
23685         file: POWER8 llrint ifunc implementation.
23686         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
23687         Add POWER8 implementation.
23688         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
23689         POWER8 llrint implementation.
23691         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
23692         power8 implementation.
23693         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
23694         file: POWER8 finite ifunc implementation.
23695         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
23696         Add POWER8 implementation.
23697         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
23698         Likewise.
23699         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
23700         POWER8 finite implementation.
23701         * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
23703         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
23704         power8 implementation.
23705         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
23706         file: POWER8 isinf ifunc implementation.
23707         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
23708         POWER8 implementation.
23709         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
23710         Likewise.
23711         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
23712         isinf implementation.
23713         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
23715         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
23716         (INIT_ARCH): Add hwcap2 initialization.
23717         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
23718         power8 implementation.
23719         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
23720         file: POWER8 isnan ifunc implementation.
23721         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
23722         POWER8 implementation.
23723         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
23724         Likewise.
23725         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
23726         isnan implementation.
23727         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
23729 2014-02-27  Joey Ye  <joey.ye@arm.com>
23731         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
23732         (_FP_NANFRAC_Q): Set to zero.
23734 2014-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
23736         [BZ #16623]
23737         * math/auto-libm-test-in: New test inputs.
23738         * math/auto-libm-test-out: Regenerate.
23739         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
23740         and DA.
23741         (__cos): Likewise.
23742         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
23744 2014-02-27  Joseph Myers  <joseph@codesourcery.com>
23746         * scripts/evaluate-test.sh: Take new argument indicating whether
23747         failure is expected.
23748         * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
23749         indicating whether failure is expected.
23750         * conform/Makefile (test-xfail-run-conformtest): New variable.
23751         ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
23752         level.
23753         * posix/Makefile (test-xfail-annexc): New variable.
23754         ($(objpfx)annexc.out): Don't expect to fail at makefile level.
23756 2014-02-26  Joseph Myers  <joseph@codesourcery.com>
23758         * argp/Makefile: Include Makeconfig immediately after defining
23759         subdir.
23760         * assert/Makefile: Likewise.
23761         * benchtests/Makefile: Likewise.
23762         * catgets/Makefile: Likewise.
23763         * conform/Makefile: Likewise.
23764         * crypt/Makefile: Likewise.
23765         * csu/Makefile: Likewise.
23766         (all): Remove target.
23767         * ctype/Makefile: Include Makeconfig immediately after defining
23768         subdir.
23769         * debug/Makefile: Likewise.
23770         * dirent/Makefile: Likewise.
23771         * dlfcn/Makefile: Likewise.
23772         * gmon/Makefile: Likewise.
23773         * gnulib/Makefile: Likewise.
23774         * grp/Makefile: Likewise.
23775         * gshadow/Makefile: Likewise.
23776         * hesiod/Makefile: Likewise.
23777         * hurd/Makefile: Likewise.
23778         (all): Remove target.
23779         * iconvdata/Makefile: Include Makeconfig immediately after
23780         defining subdir.
23781         * inet/Makefile: Likewise.
23782         * intl/Makefile: Likewise.
23783         * io/Makefile: Likewise.
23784         * libio/Makefile: Likewise.
23785         (all): Remove target.
23786         * locale/Makefile: Include Makeconfig immediately after defining
23787         subdir.
23788         * login/Makefile: Likewise.
23789         * mach/Makefile: Likewise.
23790         (all): Remove target.
23791         * malloc/Makefile: Include Makeconfig immediately after defining
23792         subdir.
23793         (all): Remove target.
23794         * manual/Makefile: Include Makeconfig immediately after defining
23795         subdir.
23796         * math/Makefile: Likewise.
23797         * misc/Makefile: Likewise.
23798         * nis/Makefile: Likewise.
23799         * nss/Makefile: Likewise.
23800         * po/Makefile: Likewise.
23801         (all): Remove target.
23802         * posix/Makefile: Include Makeconfig immediately after defining
23803         subdir.
23804         * pwd/Makefile: Likewise.
23805         * resolv/Makefile: Likewise.
23806         * resource/Makefile: Likewise.
23807         * rt/Makefile: Likewise.
23808         * setjmp/Makefile: Likewise.
23809         * shadow/Makefile: Likewise.
23810         * signal/Makefile: Likewise.
23811         * socket/Makefile: Likewise.
23812         * soft-fp/Makefile: Likewise.
23813         * stdio-common/Makefile: Likewise.
23814         * stdlib/Makefile: Likewise.
23815         * streams/Makefile: Likewise.
23816         * string/Makefile: Likewise.
23817         * sunrpc/Makefile: Likewise.
23818         (all): Remove target.
23819         * sysvipc/Makefile: Include Makeconfig immediately after defining
23820         subdir.
23821         * termios/Makefile: Likewise.
23822         * time/Makefile: Likewise.
23823         * timezone/Makefile: Likewise.
23824         (all): Remove target.
23825         * wcsmbs/Makefile: Include Makeconfig immediately after defining
23826         subdir.
23827         * wctype/Makefile: Likewise.
23829 2014-02-26  Steve Ellcey  <sellcey@mips.com>
23831         * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
23832         (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
23833         (libc_feholdexcept_setround_mips): Ditto.
23834         (libc_feholdsetround): New.
23835         (libc_feholdsetroundf): New.
23836         (libc_feholdsetroundl): New.
23837         (libc_feupdateenv_test_mips): New.
23838         (libc_feupdateenv_test): New.
23839         (libc_feupdateenv_testf): New.
23840         (libc_feupdateenv_testl): New.
23841         (libc_feresetround): New.
23842         (libc_feresetroundf): New.
23843         (libc_feresetroundl): New.
23844         (libc_fetestexcept_mips): New.
23845         (libc_fetestexcept): New.
23846         (libc_fetestexceptf): New.
23847         (libc_fetestexceptl): New.
23848         (HAVE_RM_CTX): New.
23849         (libc_feholdexcept_setround_mips_ctx): New.
23850         (libc_feholdexcept_setround_ctx): New.
23851         (libc_feholdexcept_setroundf_ctx): New.
23852         (libc_feholdexcept_setroundl_ctx): New.
23853         (libc_fesetenv_mips_ctx): New.
23854         (libc_fesetenv_ctx): New.
23855         (libc_fesetenv_ctxf): New.
23856         (libc_fesetenv_ctxl): New.
23857         (libc_feupdateenv_mips_ctx): New.
23858         (libc_feupdateenv_ctx): New.
23859         (libc_feupdateenvf_ctx): New.
23860         (libc_feupdateenvl_ctx): New.
23861         (libc_feholdsetround_mips_ctx): New.
23862         (libc_feholdsetround_ctx): New.
23863         (libc_feholdsetroundf_ctx): New.
23864         (libc_feholdsetroundl_ctx): New.
23865         (libc_feresetround_mips_ctx): New.
23866         (libc_feresetround_ctx): New.
23867         (libc_feresetroundf_ctx): New.
23868         (libc_feresetroundl_ctx): New.
23870 2014-02-26  Carlos O'Donell  <carlos@redhat.com>
23872         * manual/ipc.texi (Semaphores): Use @Theglibc{}.
23874         * manual/ipc.texi: New file.
23875         * manual/Makefile (chapters): Add ipc.
23876         * manual/job.texi: Add "Inter-Process Communication" to next.
23877         * manual/process.texi: Add "Inter-Process Communication" to prev.
23879 2014-02-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23881         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23883 2014-02-26  Ondřej Bílka  <neleai@seznam.cz>
23885         * malloc/malloc.c (__libc_calloc): Simplify implementation.
23887         * manual/arith.texi: Fix spaces after sentences.
23888         * manual/charset.texi: Likewise.
23889         * manual/errno.texi: Likewise.
23890         * manual/install.texi: Likewise.
23891         * manual/llio.texi: Likewise.
23892         * manual/locale.texi: Likewise.
23893         * manual/maint.texi: Likewise.
23894         * manual/math.texi: Likewise.
23895         * manual/memory.texi: Likewise.
23896         * manual/message.texi: Likewise.
23897         * manual/probes.texi: Likewise.
23898         * manual/resource.texi: Likewise.
23899         * manual/signal.texi: Likewise.
23900         * manual/socket.texi: Likewise.
23901         * manual/stdio.texi: Likewise.
23902         * manual/string.texi: Likewise.
23903         * manual/time.texi: Likewise.
23904         * manual/users.texi: Likewise.
23906 2014-02-25  Carlos O'Donell  <carlos@redhat.com>
23908         [BZ #16632]
23909         * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
23910         _DEFAULT_SOURCE is defined.
23912 2014-02-25  Ulrich Drepper  <drepper@gmail.com>
23913             Carlos O'Donell  <carlos@redhat.com>
23915         [BZ #16613]
23916         * elf/dl-tls.c (_dl_count_modids): New function.
23917         * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
23918         * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
23919         audit library and increment generation counter.
23920         (_dl_allocate_tls_init): Add assertion to check TLS generation count.
23921         * elf/tst-audit9.c: New file.
23922         * elf/tst-auditmod9a.c: New file.
23923         * elf/tst-auditmod9b.c: New file.
23924         * elf/Makefile: Add rules to build and run tst-audit9.
23926 2014-02-25  Florian Weimer  <fweimer@redhat.com>
23928         [BZ #15347]
23929         * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
23931 2014-02-25  Will Newton  <will.newton@linaro.org>
23933         * sysdeps/arm/__longjmp.S: Include stap-probe.h.
23934         (__longjmp): Restore sp and lr before restoring callee
23935         saved registers.  Add longjmp and longjmp_target
23936         SystemTap probe point.
23937         * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
23938         * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
23939         Define to zero to match jmpbuf layout.
23940         * sysdeps/arm/setjmp.S: Include stap-probe.h.
23941         (__sigsetjmp): Save sp and lr before saving callee
23942         saved registers.  Add setjmp SystemTap probe point.
23944 2014-02-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
23946         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
23948 2014-02-24  Andreas Schwab  <schwab@suse.de>
23950         [BZ #15804]
23951         * elf/pldd.c (wait_for_ptrace_stop): New function.
23952         (main): Call it after attaching.
23954 2014-02-22  Roland McGrath  <roland@hack.frob.com>
23956         * Makerules ($(common-objpfx)Versions.v.i): No longer depend
23957         on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
23958         Versions files is now verboten.
23959         * hurd/Versions (libc: GLIBC_2.0):
23960         Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
23961         (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
23962         [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
23963         * mach/Versions: Likewise.
23965         * csu/Versions: Remove unused %include.
23966         * resolv/Versions: Likewise.
23968 2014-02-21  Joseph Myers  <joseph@codesourcery.com>
23970         * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
23971         ($(objpfx)check-local-headers.out): Likewise.
23972         ($(objpfx)begin-end-check.out): Likewise.
23973         * Makerules (check-abi-%.out): Likewise.
23974         * catgets/Makefile ($(objpfx)test1.cat): Likewise.
23975         ($(objpfx)test2.cat): Likewise.
23976         ($(objpfx)de/libc.cat): Likewise.
23977         ($(objpfx)test-gencat.out): Likewise.
23978         * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
23979         * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
23980         ($(objpfx)noload-mem): Likewise.
23981         ($(objpfx)tst-pathopt.out): Likewise.
23982         ($(objpfx)tst-rtld-load-self.out): Likewise.
23983         ($(objpfx)tst-array1-cmp.out): Likewise.
23984         ($(objpfx)tst-array1-static-cmp.out): Likewise.
23985         ($(objpfx)tst-array2-cmp.out): Likewise.
23986         ($(objpfx)tst-array3-cmp.out): Likewise.
23987         ($(objpfx)tst-array4-cmp.out): Likewise.
23988         ($(objpfx)tst-array5-cmp.out): Likewise.
23989         ($(objpfx)tst-array5-static-cmp.out): Likewise.
23990         ($(objpfx)check-textrel.out): Likewise.
23991         ($(objpfx)check-execstack.out): Likewise.
23992         ($(objpfx)check-localplt.out): Likewise.
23993         ($(objpfx)order2-cmp.out): Likewise.
23994         ($(objpfx)tst-leaks1-mem): Likewise.
23995         ($(objpfx)tst-leaks1-static-mem): Likewise.
23996         ($(objpfx)tst-initorder-cmp.out): Likewise.
23997         ($(objpfx)tst-initorder2-cmp.out): Likewise.
23998         ($(objpfx)tst-unused-dep.out): Likewise.
23999         ($(objpfx)tst-unused-dep-cmp.out): Likewise.
24000         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
24001         * iconv/Makefile (test-iconvconfig): Likewise.
24002         * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
24003         ($(objpfx)iconv-test.out): Likewise.
24004         ($(objpfx)tst-tables.out): Likewise.
24005         * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
24006         ($(objpfx)tst-gettext.out): Likewise.
24007         ($(objpfx)tst-translit.out): Likewise.
24008         ($(objpfx)tst-gettext2.out): Likewise.
24009         ($(objpfx)tst-gettext4.out): Likewise.
24010         ($(objpfx)tst-gettext6.out): Likewise.
24011         * io/Makefile ($(objpfx)ftwtest.out): Likewise.
24012         * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
24013         ($(objpfx)tst-fopenloc-cmp.out): Likewise.
24014         ($(objpfx)tst-fopenloc-mem.out): Likewise.
24015         * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
24016         * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
24017         * posix/Makefile ($(objpfx)globtest.out): Likewise.
24018         ($(objpfx)wordexp-tst.out): Likewise.
24019         ($(objpfx)annexc.out): Likewise.
24020         ($(objpfx)tst-fnmatch-mem): Likewise.
24021         ($(objpfx)bug-regex2-mem): Likewise.
24022         ($(objpfx)bug-regex14-mem): Likewise.
24023         ($(objpfx)bug-regex21-mem): Likewise.
24024         ($(objpfx)bug-regex31-mem): Likewise.
24025         ($(objpfx)tst-vfork3-mem): Likewise.
24026         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
24027         ($(objpfx)tst-pcre-mem): Likewise.
24028         ($(objpfx)tst-boost-mem): Likewise.
24029         ($(objpfx)tst-getconf.out): Likewise.
24030         ($(objpfx)bug-ga2-mem): Likewise.
24031         ($(objpfx)bug-glob2-mem): Likewise.
24032         * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
24033         ($(objpfx)mtrace-tst-leaks2): Likewise.
24034         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
24035         ($(objpfx)tst-printf.out): Likewise.
24036         ($(objpfx)tst-setvbuf1.out): Likewise.
24037         ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
24038         * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
24039         ($(objpfx)tst-fmtmsg.out): Likewise.
24040         * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
24041         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
24043         * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
24044         * bits/sigaction.h [__USE_MISC]: Likewise.
24045         * bits/waitstatus.h: Update #endif comments.
24046         * ctype/ctype.h: Likewise.
24047         * dirent/dirent.h: Likewise.
24048         [__USE_MISC]: Remove redundant conditionals.
24049         * grp/grp.h: Update #endif comments.
24050         [__USE_GNU]: Remove redundant conditionals.
24051         [__USE_MISC]: Likewise.
24052         * inet/netinet/in.h [__USE_GNU]: Likewise.
24053         * io/sys/stat.h [__USE_MISC]: Likewise.
24054         * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
24055         * libio/bits/stdio.h: Update #endif comments.
24056         [__USE_MISC]: Remove redundant conditionals.
24057         * libio/bits/stdio2.h [__USE_MISC]: Likewise.
24058         * libio/stdio.h: Update #endif comments.
24059         [__USE_MISC]: Remove redundant conditionals.
24060         * math/bits/math-finite.h [__USE_MISC]: Likewise.
24061         * math/bits/mathcalls.h [__USE_MISC]: Likewise.
24062         * math/math.h: Update #else and #endif comments.
24063         [__USE_MISC]: Remove redundant conditionals.
24064         * misc/sys/uio.h: Update #endif comments.
24065         * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
24066         * posix/glob.h [__USE_MISC]: Likewise.
24067         * posix/sys/types.h: Update #endif comments.
24068         [__USE_MISC]: Remove redundant conditionals.
24069         * posix/sys/wait.h: Update #endif comments.
24070         [__USE_MISC]: Remove redundant conditionals.
24071         * posix/unistd.h: Update #endif comments.
24072         [__USE_MISC]: Remove redundant conditionals.
24073         * pwd/pwd.h [__USE_GNU]: Likewise.
24074         [__USE_MISC]: Likewise.
24075         * resolv/netdb.h [__USE_GNU]: Likewise.
24076         * signal/signal.h: Update #endif comments.
24077         [__USE_MISC]: Remove redundant conditionals.
24078         * stdlib/stdlib.h: Update #else and #endif comments.
24079         [__USE_MISC]: Remove redundant conditionals.
24080         [__USE_GNU]: Likewise.
24081         * string/bits/string2.h [__USE_MISC]: Likewise.
24082         * string/string.h: Update #endif comments.
24083         [__USE_MISC]: Remove redundant conditionals.
24084         * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
24085         Likewise.
24086         * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
24087         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
24088         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
24089         Likewise.
24090         * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
24091         Likewise.
24092         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
24093         comments.
24094         [__USE_MISC]: Remove redundant conditionals.
24095         * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
24096         * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
24097         * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
24098         * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
24099         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
24100         Likewise.
24101         * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
24102         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
24103         Likewise.
24104         * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
24105         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
24106         Likewise.
24107         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
24108         Likewise.
24109         * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
24110         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
24111         Likewise.
24112         * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
24113         Likewise.
24114         * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
24115         * sysdeps/x86/bits/string.h: Update #endif comments.
24116         * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
24117         conditionals.
24118         * time/sys/time.h: Update #endif comments.
24119         * time/time.h: Likewise.
24120         [__USE_MISC]: Remove redundant conditionals.
24122 2014-02-21  Yury Gribov  <y.gribov@samsung.com>
24124         [BZ #16600]
24125         * sysdeps/arm/libm-test-ulps: Update for VFPv4.
24127 2014-02-21  Andreas Schwab  <schwab@linux-m68k.org>
24129         * Versions.def (librt): Add GLIBC_2.17.
24131 2014-02-21  Adam Conrad  <adconrad@0c3.net>
24133         * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
24134         synonym for _SYS_AUXV_H to allow direct inclusion.
24135         * sysdeps/sparc/bits/hwcap.h: Likewise.
24136         * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
24137         _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
24138         * sysdeps/sparc/sysdep.h: Likewise.
24140 2014-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
24142         * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
24144 2014-02-21  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
24146         * benchtests/bench-strrchr.c: Print length instead of position.
24148 2014-02-20  Joseph Myers  <joseph@codesourcery.com>
24150         [BZ #16611]
24151         * sysdeps/unix/sysv/linux/kernel-features.h
24152         [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
24153         (__ASSUME_SENDMMSG_SOCKETCALL): Define.
24154         [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
24155         __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
24156         Likewise.
24157         [__i386__ || __powerpc__ || __sh__ || __sparc__]
24158         (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
24159         [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
24160         (__ASSUME_SENDMMSG): Define instead of using previous
24161         [__LINUX_KERNEL_VERSION >= 0x020627] condition.
24162         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
24163         (__ASSUME_SENDMMSG_SYSCALL): Define.
24164         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
24165         [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
24166         Likewise.
24167         * sysdeps/unix/sysv/linux/arm/kernel-features.h
24168         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
24169         Likewise.
24170         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
24171         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
24172         Likewise.
24173         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
24174         && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
24175         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
24176         [__ASSUME_SENDMMSG]: Change conditionals to
24177         [__ASSUME_SENDMMSG_SOCKETCALL].
24178         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
24179         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
24180         Define.
24181         * sysdeps/unix/sysv/linux/mips/kernel-features.h
24182         [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
24183         Likewise.
24184         * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
24185         !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
24186         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
24187         [!__ASSUME_SENDMMSG]: Change conditional to
24188         [!__ASSUME_SENDMMSG_SOCKETCALL].
24189         * sysdeps/unix/sysv/linux/tile/kernel-features.h
24190         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
24191         Define.
24193         [BZ #16610]
24194         * sysdeps/unix/sysv/linux/kernel-features.h
24195         [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
24196         (__ASSUME_RECVMMSG_SOCKETCALL): Define.
24197         [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
24198         __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
24199         || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
24200         [__i386__ || __sparc__]
24201         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
24202         [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
24203         (__ASSUME_RECVMMSG): Define instead of using previous
24204         [__LINUX_KERNEL_VERSION >= 0x020621] condition.
24205         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
24206         (__ASSUME_RECVMMSG_SYSCALL): Define.
24207         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
24208         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
24209         Likewise.
24210         * sysdeps/unix/sysv/linux/arm/kernel-features.h
24211         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
24212         Likewise.
24213         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
24214         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
24215         Likewise.
24216         * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
24217         && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
24218         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
24219         [__ASSUME_RECVMMSG]: Change condition to
24220         [__ASSUME_RECVMMSG_SOCKETCALL].
24221         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
24222         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
24223         Define.
24224         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
24225         * sysdeps/unix/sysv/linux/mips/kernel-features.h
24226         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
24227         Likewise.
24228         * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
24229         !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
24230         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
24231         [!__ASSUME_RECVMMSG]: Change condition to
24232         [!__ASSUME_RECVMMSG_SOCKETCALL].
24233         * sysdeps/unix/sysv/linux/tile/kernel-features.h
24234         (__ASSUME_RECVMMSG_SYSCALL): Define.
24236         [BZ #16609]
24237         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
24238         __powerpc__ || __s390__ || __sh__ || __sparc__]
24239         (__ASSUME_SOCKETCALL): Define.
24240         [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
24241         (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
24242         [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
24243         || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
24244         __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
24245         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
24246         [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
24247         (__ASSUME_ACCEPT4): Define instead of using previous
24248         [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
24249         __powerpc__ || __sparc__ || __s390__)] condition.
24250         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
24251         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
24252         * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
24253         !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
24254         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
24255         [!__ASSUME_ACCEPT4]: Change condition to
24256         [!__ASSUME_ACCEPT4_SOCKETCALL].
24257         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
24258         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.  Correct
24259         condition to [__LINUX_KERNEL_VERSION >= 0x030200].
24260         * sysdeps/unix/sysv/linux/arm/kernel-features.h
24261         [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
24262         __ASSUME_ACCEPT4_SYSCALL.
24263         * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
24264         Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
24265         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
24266         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
24267         __ASSUME_ACCEPT4_SYSCALL.
24268         * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
24269         && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
24270         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
24271         [__ASSUME_ACCEPT4]: Change condition to
24272         [__ASSUME_ACCEPT4_SOCKETCALL].
24273         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
24274         (__ASSUME_SOCKETCALL): Define.
24275         [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
24276         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
24277         (__ASSUME_SOCKETCALL): Define.
24278         (__ASSUME_ACCEPT4): Remove.
24279         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
24280         Define.
24281         * sysdeps/unix/sysv/linux/mips/kernel-features.h
24282         [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
24283         Likewise.
24284         * sysdeps/unix/sysv/linux/tile/kernel-features.h
24285         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
24287         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
24288         macro.
24289         (HWCAP_ARM_LPAE): Likewise.
24290         (HWCAP_ARM_EVTSTRM): Likewise.
24291         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
24292         Add vpfd32, lpae and evtstrm.
24293         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
24294         Increase to 22.
24296 2014-02-19  Joseph Myers  <joseph@codesourcery.com>
24298         * math/auto-libm-test-in: Add tests of clog10.
24299         * math/auto-libm-test-out: Regenerated.
24300         * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
24301         * sysdeps/i386/fpu/libm-test-ulps: Update.
24302         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24304 2014-02-18  Andreas Schwab  <schwab@suse.de>
24306         [BZ #16574]
24307         * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
24308         Store non-zero if the second buffer was newly allocated.
24309         (send_dg): Likewise.
24310         (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
24311         to send_vc and send_dg.
24312         (res_nsend): Pass NULL for ansp2_malloced.
24313         * resolv/res_query.c (__libc_res_nquery): Add parameter
24314         answerp2_malloced and pass it down to __libc_res_nsend.
24315         (res_nquery): Pass additional NULL to __libc_res_nquery.
24316         (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
24317         down to __libc_res_nquery and __libc_res_nquerydomain.  Deallocate
24318         second answer buffer if answerp2_malloced was set.
24319         (res_nsearch): Pass additional NULL to __libc_res_nsearch.
24320         (__libc_res_nquerydomain): Add parameter
24321         answerp2_malloced and pass it down to __libc_res_nquery.
24322         (res_nquerydomain): Pass additional NULL to
24323         __libc_res_nquerydomain.
24324         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
24325         additional NULL to __libc_res_nsend and __libc_res_nquery.
24326         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
24327         additional NULL to __libc_res_nsearch.
24328         (_nss_dns_gethostbyname4_r): Revert last change.  Use new
24329         parameter of __libc_res_nsearch to check for separately allocated
24330         second buffer.
24331         (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
24332         __libc_res_nquery.
24333         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
24334         additional NULL to __libc_res_nquery.
24335         * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
24336         __libc_res_nsearch.
24337         (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
24338         * include/resolv.h: Update prototypes of __libc_res_nquery,
24339         __libc_res_nsearch, __libc_res_nsend.
24341 2014-02-18  Joseph Myers  <joseph@codesourcery.com>
24343         * math/auto-libm-test-in: Add tests of fma.
24344         * math/auto-libm-test-out: Regenerated.
24345         * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
24346         (fma_towardzero_test_data): Likewise.
24347         (fma_downward_test_data): Likewise.
24348         (fma_upward_test_data): Likewise.
24349         * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
24350         mpc_mode.
24351         (rounding_modes): Add values for new field.
24352         (func_calc_method): Add value mpfr_fff_f.
24353         (func_calc_desc): Add mpfr_fff_f union field.
24354         (test_function): Add field exact_args.
24355         (FUNC): Add macro argument EXACT_ARGS.
24356         (FUNC_mpfr_f_f): Update call to FUNC.
24357         (FUNC_mpfr_f_f): Likewise.
24358         (FUNC_mpfr_ff_f): Likewise.
24359         (FUNC_mpfr_if_f): Likewise.
24360         (FUNC_mpc_c_f): Likewise.
24361         (FUNC_mpc_c_c): Likewise.
24362         (test_functions): Add fma.  Update calls to FUNC.
24363         (handle_input_arg): Add argument exact_args.
24364         (add_test): Update call to handle_input_arg.
24365         (calc_generic_results): Add argument mode.  Handle mpfr_fff_f.
24366         (output_for_one_input_case): Update call to calc_generic_results.
24367         Recalculate exact zero results in each rounding mode.
24369         * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
24370         non-negative before setting low bit.
24371         * math/auto-libm-test-in: Mark one asin test possibly having
24372         spurious underflow.
24373         * math/auto-libm-test-out: Regenerated.
24374         * sysdeps/i386/fpu/libm-test-ulps: Update.
24375         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24377 2014-02-17  David Holsgrove <david.holsgrove@xilinx.com>
24379         * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
24380         * sysdeps/unix/sysv/linux/microblaze: Move directory from
24381         ports/sysdeps/unix/sysv/linux/microblaze.
24382         * README: Add missing listing for microblaze*-*-linux-gnu.
24384 2014-02-16  Ondřej Bílka  <neleai@seznam.cz>
24386         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
24387         duplicate code
24389 2014-02-16  Mike Frysinger  <vapier@gentoo.org>
24391         * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
24392         * sysdeps/unix/sysv/linux/ia64: Move directory from
24393         ports/sysdeps/unix/sysv/linux/ia64.
24394         * README: Update listing for ia64-*-linux-gnu.
24396 2014-02-14  Tomas Dohnalek  <tdohnale@redhat.com>
24397             Joseph Myers  <joseph@codesourcery.com>
24399         * Makeconfig (test-name): New variable.
24400         (evaluate-test): Likewise.
24401         * Makerules (do-test-clean): Remove .test-result files.
24402         (common-mostlyclean): Likewise.
24403         * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
24404         * scripts/evaluate-test.sh: New file.
24406 2014-02-14  Joseph Myers  <joseph@codesourcery.com>
24408         * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
24409         separate $(objpfx)tst-fopenloc-cmp.out and
24410         $(objpfx)tst-fopenloc-mem.out targets.
24411         (tests): Update dependencies.
24412         * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
24413         (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
24414         tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
24415         (tst-rxspencer-no-utf8-ARGS): New variable.
24416         (tst-rxspencer-no-utf8-ENV): Likewise.
24417         (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
24418         instead of $(objpfx)tst-rxspencer-mem.
24419         ($(objpfx)tst-rxspencer-mem): Change target to
24420         $(objpfx)tst-rxspencer-no-utf8-mem.  Depend on
24421         $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
24422         * posix/tst-rxspencer-no-utf8.c: New file.
24424         * elf/Makefile ($(objpfx)order.out): Remove rule.
24425         [$(run-built-tests) = yes] (tests): Depend on
24426         $(objpfx)order-cmp.out.
24427         ($(objpfx)order-cmp.out): New rule.
24428         [$(run-built-tests) = yes] (tests): Depend on
24429         $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
24430         $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
24431         $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
24432         $(objpfx)tst-array5-static-cmp.out.
24433         ($(objpfx)tst-array1.out): Remove rule.
24434         ($(objpfx)tst-array1-cmp.out): New rule.
24435         ($(objpfx)tst-array1-static.out): Remove rule.
24436         ($(objpfx)tst-array1-static-cmp.out): New rule.
24437         ($(objpfx)tst-array2.out): Remove rule.
24438         ($(objpfx)tst-array2-cmp.out): New rule.
24439         ($(objpfx)tst-array3.out): Remove rule.
24440         ($(objpfx)tst-array3-cmp.out): New rule.
24441         ($(objpfx)tst-array4.out): Remove rule.
24442         ($(objpfx)tst-array4-cmp.out): New rule.
24443         ($(objpfx)tst-array5.out): Remove rule.
24444         ($(objpfx)tst-array5-cmp.out): New rule.
24445         ($(objpfx)tst-array5-static.out): Remove rule.
24446         ($(objpfx)tst-array5-static-cmp.out): New rule.
24447         [$(run-built-tests) = yes] (tests): Depend on
24448         $(objpfx)order2-cmp.out.
24449         ($(objpfx)order2.out): Remove rule.
24450         ($(objpfx)order2-cmp.out): New rule.
24451         ($(objpfx)tst-initorder.out): Remove rule.
24452         [$(run-built-tests) = yes] (tests): Depend on
24453         $(objpfx)tst-initorder-cmp.out.
24454         ($(objpfx)tst-initorder-cmp.out): New rule.
24455         ($(objpfx)tst-initorder2.out): Remove rule.
24456         [$(run-built-tests) = yes] (tests): Depend on
24457         $(objpfx)tst-initorder2-cmp.out.
24458         ($(objpfx)tst-initorder2-cmp.out): New rule.
24459         [$(run-built-tests) = yes] (tests): Depend on
24460         $(objpfx)tst-unused-dep-cmp.out.
24461         ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
24462         ($(objpfx)tst-unused-dep-cmp.out): New rule.
24463         * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
24464         on $(objpfx)tst-setvbuf1-cmp.out.
24465         ($(objpfx)tst-setvbuf1.out): Do not run cmp.
24466         ($(objpfx)tst-setvbuf1-cmp.out): New rule.
24467         * string/Makefile [$(run-built-tests) = yes] (tests): Depend
24468         $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
24469         ($(objpfx)tst-svc.out): Remove rule.
24470         ($(objpfx)tst-svc-cmp.out): New rule.
24472 2014-02-13  Joseph Myers  <joseph@codesourcery.com>
24474         * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
24475         * ctype/ctype.h [__USE_MISC]: Likewise.
24476         * dirent/dirent.h [__USE_MISC]: Likewise.
24477         * grp/grp.h [__USE_MISC]: Likewise.
24478         * io/fcntl.h [__USE_MISC]: Likewise.
24479         * io/sys/stat.h [__USE_MISC]: Likewise.
24480         * libio/stdio.h [__USE_MISC]: Likewise.
24481         * posix/unistd.h [__USE_MISC]: Likewise.
24482         * pwd/pwd.h [__USE_MISC]: Likewise.
24483         * stdlib.h [__USE_MISC]: Likewise.
24484         * string/bits/string2.h [__USE_MISC]: Likewise.
24485         * string/string.h [__USE_MISC]: Likewise.
24486         * time/time.h [__USE_MISC]: Likewise.
24488 2014-02-13  Andreas Schwab  <schwab@suse.de>
24490         [BZ #16574]
24491         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
24492         second answer buffer if it was separately allocated.
24494 2014-02-12  Joseph Myers  <joseph@codesourcery.com>
24496         * sysdeps/mips/math-tests.h: Include <features.h>.
24497         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
24498         (ROUNDING_TESTS_long_double): Do not define.
24499         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
24500         (EXCEPTION_TESTS_long_double): Likewise.
24501         * sysdeps/mips/mips64/libm-test-ulps: Update.
24503         * include/features.h (__USE_BSD): Remove macro definitions.
24504         (__USE_SVID): Likewise.
24505         (_BSD_SOURCE): Likewise.
24506         (_SVID_SOURCE): Likewise.
24507         [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
24508         from definition of _DEFAULT_SOURCE.
24509         [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
24510         [_DEFAULT_SOURCE].
24511         * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
24512         * bits/mman.h [__USE_BSD]: Likewise.
24513         * bits/termios.h [__USE_BSD]: Likewise.
24514         * bits/waitstatus.h [__USE_BSD]: Likewise.
24515         * ctype/ctype.h [__USE_SVID]: Likewise.
24516         * dirent/dirent.h [__USE_BSD]: Likewise.
24517         * grp/grp.h [__USE_SVID]: Likewise.
24518         [__USE_BSD]: Likewise.
24519         * inet/netinet/igmp.h [__USE_BSD]: Likewise.
24520         * io/fcntl.h [__USE_BSD]: Likewise.
24521         * io/ftw.h [__USE_BSD]: Likewise.
24522         * io/sys/stat.h [__USE_BSD]: Likewise.
24523         * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
24524         * libio/bits/stdio2.h [__USE_BSD]: Likewise.
24525         * libio/stdio.h [__USE_SVID]: Likewise.
24526         [__USE_BSD]: Likewise.
24527         * math/math.h [__USE_SVID]: Likewise.
24528         [__USE_BSD]: Likewise.
24529         * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
24530         * misc/bits/syslog.h [__USE_BSD]: Likewise.
24531         * misc/search.h [__USE_SVID]: Likewise.
24532         * misc/sys/mman.h [__USE_BSD]: Likewise.
24533         * misc/sys/syslog.h [__USE_BSD]: Likewise.
24534         * misc/sys/uio.h [__USE_BSD]: Likewise.
24535         * posix/bits/unistd.h [__USE_BSD]: Likewise.
24536         * posix/glob.h [__USE_BSD]: Likewise.
24537         * posix/regex.h [__USE_BSD]: Likewise.
24538         * posix/sys/types.h [__USE_BSD]: Likewise.
24539         [__USE_SVID]: Likewise.
24540         * posix/sys/utsname.h [__USE_SVID]: Likewise.
24541         * posix/sys/wait.h [__USE_BSD]: Likewise.
24542         [__USE_SVID]: Likewise.
24543         * posix/unistd.h [__USE_BSD]: Likewise.
24544         [__USE_SVID]: Likewise.
24545         * pwd/pwd.h [__USE_SVID]: Likewise.
24546         * resolv/netdb.h [__USE_BSD]: Likewise.
24547         * setjmp/setjmp.h [__USE_BSD]: Likewise.
24548         * signal/signal.h [__USE_BSD]: Likewise.
24549         [__USE_SVID]: Likewise.
24550         * socket/sys/socket.h [__USE_BSD]: Likewise.
24551         * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
24552         * stdlib/stdlib.h [__USE_BSD]: Likewise.
24553         [__USE_SVID]: Likewise.
24554         * string/bits/string2.h [__USE_BSD]: Likewise.
24555         [__USE_SVID]: Likewise.
24556         * string/bits/string3.h [__USE_BSD]: Likewise.
24557         * string/endian.h [__USE_BSD]: Likewise.
24558         * string/string.h [__USE_SVID]: Likewise.
24559         [__USE_BSD]: Likewise.
24560         * string/strings.h [__USE_BSD]: Likewise.
24561         * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
24562         * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
24563         * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
24564         * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
24565         * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
24566         * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
24567         Likewise.
24568         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
24569         Likewise.
24570         * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
24571         * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
24572         Likewise.
24573         * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
24574         * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
24575         Likewise.
24576         * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
24577         Likewise.
24578         * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
24579         * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
24580         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
24581         Likewise.
24582         * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
24583         Likewise.
24584         * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
24585         * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
24586         * termios/termios.h [__USE_BSD]: Likewise.
24587         * time/sys/time.h [__USE_BSD]: Likewise.
24588         * time/time.h [__USE_BSD]: Likewise.
24589         [__USE_SVID]: Likewise.
24591         * Makefile (subdir_targets): Remove subdir_lint.out.
24593         * stdio-common/Makefile (do-tst-unbputc): Remove target.
24594         (do-tst-printf): Likewise.
24595         (tests): Depend directly on $(objpfx)tst-unbputc.out and
24596         $(objpfx)tst-printf.out.
24598         * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
24600         * Makerules (check-abi-%): Change target to
24601         $(objpfx)check-abi-%.out.
24602         (check-abi target): Update dependencies.
24603         (check-abi-pattern variable): Redirect output of diff to $@.
24604         (check-abi variable): Likewise.
24605         * elf/Makefile (check-abi): Update dependencies.
24607         * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
24608         unused.
24609         (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
24610         value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
24611         subnormal range.
24612         (_FP_PACK_CANONICAL): Determine tininess based on rounding to
24613         normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
24614         value has largest subnormal exponent.
24615         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
24616         (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
24617         * sysdeps/aarch64/soft-fp/sfp-machine.h
24618         (_FP_TININESS_AFTER_ROUNDING): New macro.
24619         * sysdeps/alpha/soft-fp/sfp-machine.h
24620         (_FP_TININESS_AFTER_ROUNDING): Likewise.
24621         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
24622         Likewise.
24623         * sysdeps/mips/mips64/soft-fp/sfp-machine.h
24624         (_FP_TININESS_AFTER_ROUNDING): Likewise.
24625         * sysdeps/mips/soft-fp/sfp-machine.h
24626         (_FP_TININESS_AFTER_ROUNDING): Likewise.
24627         * sysdeps/powerpc/soft-fp/sfp-machine.h
24628         (_FP_TININESS_AFTER_ROUNDING): Likewise.
24629         * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
24630         Likewise.
24631         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
24632         (_FP_TININESS_AFTER_ROUNDING): Likewise.
24633         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
24634         (_FP_TININESS_AFTER_ROUNDING): Likewise.
24635         * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
24636         Likewise.
24638 2014-02-12  Dylan Alex Simon  <dylan@dylex.net>
24640         [BZ #16545]
24641         * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
24642         model 1.
24644 2014-02-12  Richard Henderson  <rth@redhat.com>
24646         * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
24647         * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
24648         * sysdeps/unix/sysv/linux/alpha: Move directory from
24649         ports/sysdeps/unix/sysv/linux/alpha.
24650         * README: Update listing for alpha-*-linux-gnu.
24652 2014-02-11  Joseph Myers  <joseph@codesourcery.com>
24654         * include/features.h: Update comment documenting feature test
24655         macros.
24656         [_BSD_SOURCE || _SVID_SOURCE]: Give #warning.  Define
24657         _DEFAULT_SOURCE.
24658         * manual/creature.texi (_BSD_SOURCE): Remove documentation.
24659         (_SVID_SOURCE): Likewise.
24660         (_DEFAULT_SOURCE): Update description of default features.
24661         (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
24662         with _GNU_SOURCE.
24663         * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
24664         (S_ISVTX): Likewise.
24665         * manual/math.texi (Mathematical Constants): Likewise.
24666         * manual/signal.texi (Interrupted Primitives): Likewise.
24667         * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
24668         * math/test-matherr.c (_SVID_SOURCE): Do not define.
24669         * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
24670         Don't refer to _SVID_SOURCE in warning text.
24672         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
24674         * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
24675         already defined.
24676         (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
24677         * sysdeps/mips/dl-lookup.c: Remove.
24678         * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
24680 2014-02-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
24682         [BZ #16447]
24683         * math/auto-libm-test-in: Add testcase for expl.
24684         * math/auto-libm-test-out: Regenerate.
24685         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
24686         calculation of unsafe.
24687         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
24689 2014-02-11  Marcus Shawcroft  <marcus.shawcroft@arm.com>
24691         * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
24692         * sysdeps/unix/sysv/linux/aarch64: Move directory from
24693         ports/sysdeps/unix/sysv/linux/aarch64.
24694         * README: Update listing for aarch64*-*-linux-gnu.
24696 2014-02-11  Will Newton  <will.newton@linaro.org>
24698         * manual/probes.texi (Mathematical Function Probes): Use
24699         "triggered" instead of "hit".
24701         * manual/probes.texi (Internal Probes): Add documentation
24702         of setjmp, longjmp and longjmp_target probes.
24704         * include/stap-probe.h: Add comment about probe argument
24705         format.
24707         * malloc/mtrace.c (attribute_hidden): Remove unused macro
24708         definition.  (tr_where, tr_freehook, tr_mallochook,
24709         tr_reallochook, tr_memalignhook): Use ANSI protoype.
24711 2014-02-11  David S. Miller  <davem@davemloft.net>
24713         * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
24714         processing int_tests.
24716 2014-02-10  Joseph Myers  <joseph@codesourcery.com>
24718         * sysdeps/mips: Move directory from ports/sysdeps/mips.
24719         * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
24720         * sysdeps/unix/sysv/linux/mips: Move directory from
24721         ports/sysdeps/unix/sysv/linux/mips.
24722         * README: Update listing for mips-*-linux-gnu and
24723         mips64-*-linux-gnu.
24725 2014-02-10  Andreas Schwab  <schwab@linux-m68k.org>
24727         * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
24728         * sysdeps/unix/sysv/linux/m68k: Move directory from
24729         ports/sysdeps/unix/sysv/linux/m68k.
24730         * README: Update listing for m68k-*-linux-gnu.
24732 2014-02-10  Chris Metcalf  <cmetcalf@tilera.com>
24734         * sysdeps/tile: Move directory from ports/sysdeps/tile.
24735         * sysdeps/unix/sysv/linux/generic: Move directory from
24736         ports/sysdeps/unix/sysv/linux/generic.
24737         * sysdeps/unix/sysv/linux/tile: Move directory from
24738         ports/sysdeps/unix/sysv/linux/tile.
24739         * README: Update listing for tile*-*-linux-gnu.
24741 2014-02-10  Ondřej Bílka  <neleai@seznam.cz>
24743         * assert/assert.c (__assert_fail_base): Use glibc_likely instead
24744         __builtin_expect.
24745         * benchtests/bench-memmem.c (simple_memmem): Likewise.
24746         * catgets/open_catalog.c (__open_catalog): Likewise.
24747         * csu/libc-start.c (LIBC_START_MAIN): Likewise.
24748         * debug/confstr_chk.c: Likewise.
24749         * debug/fread_chk.c (__fread_chk): Likewise.
24750         * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
24751         * debug/getgroups_chk.c: Likewise.
24752         * debug/mbsnrtowcs_chk.c: Likewise.
24753         * debug/mbsrtowcs_chk.c: Likewise.
24754         * debug/mbstowcs_chk.c: Likewise.
24755         * debug/memcpy_chk.c: Likewise.
24756         * debug/memmove_chk.c: Likewise.
24757         * debug/mempcpy_chk.c: Likewise.
24758         * debug/memset_chk.c: Likewise.
24759         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
24760         * debug/strcat_chk.c (__strcat_chk): Likewise.
24761         * debug/strcpy_chk.c (__strcpy_chk): Likewise.
24762         * debug/strncat_chk.c (__strncat_chk): Likewise.
24763         * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
24764         * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
24765         * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
24766         * debug/wcpncpy_chk.c: Likewise.
24767         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
24768         * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
24769         * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
24770         * debug/wcsncpy_chk.c: Likewise.
24771         * debug/wcsnrtombs_chk.c: Likewise.
24772         * debug/wcsrtombs_chk.c: Likewise.
24773         * debug/wcstombs_chk.c: Likewise.
24774         * debug/wmemcpy_chk.c: Likewise.
24775         * debug/wmemmove_chk.c: Likewise.
24776         * debug/wmempcpy_chk.c: Likewise.
24777         * debug/wmemset_chk.c: Likewise.
24778         * dirent/scandirat.c (SCANDIRAT): Likewise.
24779         * dlfcn/dladdr1.c (dladdr1): Likewise.
24780         * dlfcn/dladdr.c (dladdr): Likewise.
24781         * dlfcn/dlclose.c (dlclose_doit): Likewise.
24782         * dlfcn/dlerror.c (__dlerror): Likewise.
24783         * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
24784         * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
24785         * dlfcn/dlopen.c (dlopen_doit): Likewise.
24786         * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
24787         * dlfcn/dlsym.c (dlsym_doit): Likewise.
24788         * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
24789         * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
24790         * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
24791         Likewise.
24792         * elf/dl-conflict.c: Likewise.
24793         * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
24794         * elf/dl-dst.h: Likewise.
24795         * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
24796         * elf/dl-fptr.c (_dl_make_fptr): Likewise.
24797         * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
24798         * elf/dl-init.c (call_init, _dl_init): Likewise.
24799         * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
24800         * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
24801         (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
24802         Likewise.
24803         * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
24804         Likewise.
24805         * elf/dl-minimal.c (__libc_memalign): Likewise.
24806         * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
24807         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
24808         * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
24809         * elf/dl-sym.c (do_sym): Likewise.
24810         * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
24811         (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
24812         * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
24813         * elf/dl-writev.h (_dl_writev): Likewise.
24814         * elf/ldconfig.c (search_dir): Likewise.
24815         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
24816         (dl_main): Likewise.
24817         * elf/setup-vdso.h (setup_vdso): Likewise.
24818         * grp/compat-initgroups.c (compat_call): Likewise.
24819         * grp/fgetgrent.c (fgetgrent): Likewise.
24820         * grp/initgroups.c (getgrouplist, initgroups): Likewise.
24821         * grp/putgrent.c (putgrent): Likewise.
24822         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
24823         Likewise.
24824         * hurd/hurdinit.c: Likewise.
24825         * iconvdata/8bit-gap.c (struct): Likewise.
24826         * iconvdata/ansi_x3.110.c : Likewise.
24827         * iconvdata/big5.c : Likewise.
24828         * iconvdata/big5hkscs.c : Likewise.
24829         * iconvdata/cp1255.c: Likewise.
24830         * iconvdata/cp1258.c : Likewise.
24831         * iconvdata/cp932.c : Likewise.
24832         * iconvdata/euc-cn.c: Likewise.
24833         * iconvdata/euc-jisx0213.c : Likewise.
24834         * iconvdata/euc-jp.c: Likewise.
24835         * iconvdata/euc-jp-ms.c : Likewise.
24836         * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
24837         * iconvdata/gb18030.c : Likewise.
24838         * iconvdata/gbbig5.c (const): Likewise.
24839         * iconvdata/gbgbk.c: Likewise.
24840         * iconvdata/gbk.c : Likewise.
24841         * iconvdata/ibm1364.c : Likewise.
24842         * iconvdata/ibm930.c : Likewise.
24843         * iconvdata/ibm932.c: Likewise.
24844         * iconvdata/ibm933.c : Likewise.
24845         * iconvdata/ibm935.c : Likewise.
24846         * iconvdata/ibm937.c : Likewise.
24847         * iconvdata/ibm939.c : Likewise.
24848         * iconvdata/ibm943.c: Likewise.
24849         * iconvdata/iso_11548-1.c: Likewise.
24850         * iconvdata/iso-2022-cn.c : Likewise.
24851         * iconvdata/iso-2022-cn-ext.c : Likewise.
24852         * iconvdata/iso-2022-jp-3.c: Likewise.
24853         * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
24854         * iconvdata/iso-2022-kr.c : Likewise.
24855         * iconvdata/iso646.c (gconv_end): Likewise.
24856         * iconvdata/iso_6937-2.c : Likewise.
24857         * iconvdata/iso_6937.c : Likewise.
24858         * iconvdata/iso8859-1.c: Likewise.
24859         * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
24860         * iconvdata/shift_jisx0213.c : Likewise.
24861         * iconvdata/sjis.c : Likewise.
24862         * iconvdata/t.61.c : Likewise.
24863         * iconvdata/tcvn5712-1.c : Likewise.
24864         * iconvdata/tscii.c: Likewise.
24865         * iconvdata/uhc.c : Likewise.
24866         * iconvdata/unicode.c (gconv_end): Likewise.
24867         * iconvdata/utf-16.c (gconv_end): Likewise.
24868         * iconvdata/utf-32.c (gconv_end): Likewise.
24869         * iconvdata/utf-7.c (base64): Likewise.
24870         * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
24871         * iconv/gconv_close.c (__gconv_close): Likewise.
24872         * iconv/gconv_open.c (__gconv_open): Likewise.
24873         * iconv/gconv_simple.c (internal_ucs4_loop_single)
24874         (ucs4_internal_loop, ucs4_internal_loop_unaligned)
24875         (ucs4_internal_loop_single, internal_ucs4le_loop_single)
24876         (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
24877         (ucs4le_internal_loop_single): Likewise.
24878         * iconv/iconv.c (iconv): Likewise.
24879         * iconv/iconv_close.c: Likewise.
24880         * iconv/loop.c (SINGLE): Likewise.
24881         * iconv/skeleton.c (FUNCTION_NAME): Likewise.
24882         * include/atomic.h: Likewise.
24883         * inet/inet6_option.c (option_alloc): Likewise.
24884         * intl/bindtextdom.c (set_binding_values): Likewise.
24885         * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
24886         * intl/loadmsgcat.c (_nl_load_domain): Likewise.
24887         * intl/localealias.c (read_alias_file): Likewise.
24888         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
24889         * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
24890         (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
24891         * libio/fmemopen.c (fmemopen): Likewise.
24892         * libio/iofgets.c (_IO_fgets): Likewise.
24893         * libio/iofgets_u.c (fgets_unlocked): Likewise.
24894         * libio/iofgetws.c (fgetws): Likewise.
24895         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
24896         * libio/iogetdelim.c (_IO_getdelim): Likewise.
24897         * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
24898         (adjust_wide_data, _IO_wfile_seekoff): Likewise.
24899         * locale/findlocale.c (_nl_find_locale): Likewise.
24900         * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
24901         * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
24902         Likewise.
24903         * locale/setlocale.c (setlocale): Likewise.
24904         * login/programs/pt_chown.c (main): Likewise.
24905         * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
24906         * malloc/malloc.c (_int_malloc, _int_free): Likewise.
24907         * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
24908         (mmap, mmap64, mremap, munmap): Likewise.
24909         * math/e_exp2l.c: Likewise.
24910         * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
24911         * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
24912         * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
24913         * math/s_catan.c (__catan): Likewise.
24914         * math/s_catanf.c (__catanf): Likewise.
24915         * math/s_catanh.c (__catanh): Likewise.
24916         * math/s_catanhf.c (__catanhf): Likewise.
24917         * math/s_catanhl.c (__catanhl): Likewise.
24918         * math/s_catanl.c (__catanl): Likewise.
24919         * math/s_ccosh.c (__ccosh): Likewise.
24920         * math/s_ccoshf.c (__ccoshf): Likewise.
24921         * math/s_ccoshl.c (__ccoshl): Likewise.
24922         * math/s_cexp.c (__cexp): Likewise.
24923         * math/s_cexpf.c (__cexpf): Likewise.
24924         * math/s_cexpl.c (__cexpl): Likewise.
24925         * math/s_clog10.c (__clog10): Likewise.
24926         * math/s_clog10f.c (__clog10f): Likewise.
24927         * math/s_clog10l.c (__clog10l): Likewise.
24928         * math/s_clog.c (__clog): Likewise.
24929         * math/s_clogf.c (__clogf): Likewise.
24930         * math/s_clogl.c (__clogl): Likewise.
24931         * math/s_csin.c (__csin): Likewise.
24932         * math/s_csinf.c (__csinf): Likewise.
24933         * math/s_csinh.c (__csinh): Likewise.
24934         * math/s_csinhf.c (__csinhf): Likewise.
24935         * math/s_csinhl.c (__csinhl): Likewise.
24936         * math/s_csinl.c (__csinl): Likewise.
24937         * math/s_csqrt.c (__csqrt): Likewise.
24938         * math/s_csqrtf.c (__csqrtf): Likewise.
24939         * math/s_csqrtl.c (__csqrtl): Likewise.
24940         * math/s_ctan.c (__ctan): Likewise.
24941         * math/s_ctanf.c (__ctanf): Likewise.
24942         * math/s_ctanh.c (__ctanh): Likewise.
24943         * math/s_ctanhf.c (__ctanhf): Likewise.
24944         * math/s_ctanhl.c (__ctanhl): Likewise.
24945         * math/s_ctanl.c (__ctanl): Likewise.
24946         * math/w_pow.c: Likewise.
24947         * math/w_powf.c: Likewise.
24948         * math/w_powl.c: Likewise.
24949         * math/w_scalb.c (sysv_scalb): Likewise.
24950         * math/w_scalbf.c (sysv_scalbf): Likewise.
24951         * math/w_scalbl.c (sysv_scalbl): Likewise.
24952         * misc/error.c (error_tail): Likewise.
24953         * misc/pselect.c (__pselect): Likewise.
24954         * nis/nis_callback.c (__nis_create_callback): Likewise.
24955         * nis/nis_call.c (__nisfind_server): Likewise.
24956         * nis/nis_creategroup.c (nis_creategroup): Likewise.
24957         * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
24958         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
24959         * nis/nis_getservlist.c (nis_getservlist): Likewise.
24960         * nis/nis_lookup.c (nis_lookup): Likewise.
24961         * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
24962         * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
24963         (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
24964         * nis/nis_xdr.c (xdr_endpoint): Likewise.
24965         * nis/nss_compat/compat-grp.c (getgrent_next_file)
24966         (internal_getgrnam_r, internal_getgrgid_r): Likewise.
24967         * nis/nss_compat/compat-initgroups.c (add_group)
24968         (internal_getgrent_r): Likewise.
24969         * nis/nss_compat/compat-pwd.c (getpwent_next_file)
24970         (internal_getpwnam_r, internal_getpwuid_r): Likewise.
24971         * nis/nss_compat/compat-spwd.c (getspent_next_file)
24972         (internal_getspnam_r): Likewise.
24973         * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
24974         (_nss_nis_getaliasbyname_r): Likewise.
24975         * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
24976         (_nss_nis_getntohost_r): Likewise.
24977         * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
24978         (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
24979         (_nss_nis_getgrgid_r): Likewise.
24980         * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
24981         (internal_nis_gethostent_r, internal_gethostbyname2_r)
24982         (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
24983         (_nss_nis_gethostbyname4_r): Likewise.
24984         * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
24985         (initgroups_netid): Likewise.
24986         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
24987         * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
24988         (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
24989         * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
24990         (_nss_nis_getprotobynumber_r): Likewise.
24991         * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
24992         (_nss_nis_getsecretkey): Likewise.
24993         * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
24994         (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
24995         (_nss_nis_getpwuid_r): Likewise.
24996         * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
24997         (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
24998         * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
24999         (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
25000         * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
25001         (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
25002         * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
25003         Likewise.
25004         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
25005         (_nss_nisplus_getntohost_r): Likewise.
25006         * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
25007         (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
25008         * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
25009         (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
25010         Likewise.
25011         * nis/nss_nisplus/nisplus-initgroups.c
25012         (_nss_nisplus_initgroups_dyn): Likewise.
25013         * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
25014         (_nss_nisplus_getnetbyaddr_r): Likewise.
25015         * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
25016         (_nss_nisplus_getprotobynumber_r): Likewise.
25017         * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
25018         (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
25019         * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
25020         Likewise.
25021         * nis/nss_nisplus/nisplus-service.c
25022         (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
25023         (_nss_nisplus_getservbyport_r): Likewise.
25024         * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
25025         (_nss_nisplus_getspnam_r): Likewise.
25026         * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
25027         Likewise.
25028         * nscd/aicache.c (addhstaiX): Likewise.
25029         * nscd/cache.c (cache_search, prune_cache): Likewise.
25030         * nscd/connections.c (register_traced_file, send_ro_fd)
25031         (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
25032         (main_loop_epoll): Likewise.
25033         * nscd/grpcache.c (addgrbyX): Likewise.
25034         * nscd/hstcache.c (addhstbyX): Likewise.
25035         * nscd/initgrcache.c (addinitgroupsX): Likewise.
25036         * nscd/mem.c (gc, mempool_alloc): Likewise.
25037         * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
25038         (addinnetgrX): Likewise.
25039         * nscd/nscd-client.h (__nscd_acquire_maplock)
25040         (__nscd_drop_map_ref): Likewise.
25041         * nscd/nscd_getai.c (__nscd_getai): Likewise.
25042         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
25043         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
25044         Likewise.
25045         * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
25046         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
25047         * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
25048         (__nscd_get_map_ref): Likewise.
25049         * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
25050         * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
25051         Likewise.
25052         * nscd/pwdcache.c (addpwbyX): Likewise.
25053         * nscd/selinux.c (preserve_capabilities): Likewise.
25054         * nscd/servicescache.c (addservbyX): Likewise.
25055         * nss/nss_files/files-XXX.c (internal_getent): Likewise.
25056         * posix/fnmatch.c (fnmatch): Likewise.
25057         * posix/getopt.c (_getopt_internal_r): Likewise.
25058         * posix/glob.c (glob, glob_in_dir): Likewise.
25059         * posix/wordexp.c (exec_comm_child): Likewise.
25060         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
25061         (getanswer_r, gaih_getanswer_slice): Likewise.
25062         * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
25063         * resolv/res_init.c: Likewise.
25064         * resolv/res_mkquery.c (res_nmkquery): Likewise.
25065         * resolv/res_query.c (__libc_res_nquery): Likewise.
25066         * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
25067         Likewise.
25068         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
25069         * stdio-common/perror.c (perror): Likewise.
25070         * stdio-common/printf_fp.c (___printf_fp): Likewise.
25071         * stdio-common/tmpnam.c (tmpnam): Likewise.
25072         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
25073         * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
25074         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
25075         Likewise.
25076         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
25077         * stdlib/putenv.c (putenv): Likewise.
25078         * stdlib/setenv.c (__add_to_environ): Likewise.
25079         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
25080         * stdlib/strtol_l.c (INTERNAL): Likewise.
25081         * string/memmem.c (memmem): Likewise.
25082         * string/strerror.c (strerror): Likewise.
25083         * string/strnlen.c (__strnlen): Likewise.
25084         * string/test-memmem.c (simple_memmem): Likewise.
25085         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
25086         * sunrpc/pm_getport.c (__get_socket): Likewise.
25087         * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
25088         * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
25089         * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
25090         (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
25091         Likewise.
25092         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
25093         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
25094         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
25095         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
25096         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
25097         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
25098         Likewise.
25099         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
25100         Likewise.
25101         * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
25102         * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
25103         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
25104         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
25105         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
25106         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
25107         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
25108         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
25109         * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
25110         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
25111         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
25112         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
25113         Likewise.
25114         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
25115         Likewise.
25116         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
25117         Likewise.
25118         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
25119         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
25120         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
25121         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
25122         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
25123         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
25124         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
25125         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
25126         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
25127         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
25128         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
25129         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
25130         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
25131         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
25132         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
25133         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
25134         Likewise.
25135         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
25136         Likewise.
25137         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
25138         Likewise.
25139         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
25140         Likewise.
25141         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
25142         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
25143         * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
25144         Likewise.
25145         * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
25146         * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
25147         * sysdeps/posix/opendir.c (__opendirat): Likewise.
25148         * sysdeps/posix/sleep.c: Likewise.
25149         * sysdeps/posix/tempname.c: Likewise.
25150         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
25151         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
25152         Likewise.
25153         * sysdeps/powerpc/powerpc32/dl-machine.h
25154         (elf_machine_runtime_setup, elf_machine_rela): Likewise.
25155         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
25156         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
25157         * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
25158         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
25159         Likewise.
25160         * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
25161         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
25162         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
25163         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
25164         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
25165         * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
25166         * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
25167         * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
25168         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
25169         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
25170         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
25171         (elf_machine_lazy_rel): Likewise.
25172         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
25173         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
25174         (elf_machine_lazy_rel): Likewise.
25175         * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
25176         * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
25177         * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
25178         * sysdeps/unix/grantpt.c (grantpt): Likewise.
25179         * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
25180         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
25181         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
25182         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
25183         Likewise.
25184         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
25185         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
25186         * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
25187         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
25188         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
25189         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
25190         * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
25191         * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
25192         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
25193         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
25194         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
25195         Likewise.
25196         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
25197         (__posix_fallocate64_l64): Likewise.
25198         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
25199         (posix_fallocate): Likewise.
25200         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
25201         Likewise.
25202         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
25203         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
25204         (getifaddrs_internal): Likewise.
25205         * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
25206         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
25207         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
25208         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
25209         * sysdeps/unix/sysv/linux/posix_fallocate64.c
25210         (__posix_fallocate64_l64): Likewise.
25211         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
25212         Likewise.
25213         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
25214         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
25215         (__get_clockfreq): Likewise.
25216         * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
25217         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
25218         * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
25219         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
25220         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
25221         * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
25222         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
25223         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
25224         Likewise.
25225         * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
25226         * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
25227         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
25228         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
25229         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
25230         * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
25231         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
25232         Likewise.
25233         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
25234         (posix_fallocate): Likewise.
25235         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
25236         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
25237         * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
25238         * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
25239         (elf_machine_rela, elf_machine_rela_relative)
25240         (elf_machine_lazy_rel): Likewise.
25241         * time/asctime.c (asctime_internal): Likewise.
25242         * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
25243         * time/tzset.c (__tzset_parse_tz): Likewise.
25244         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
25245         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
25246         * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
25247         * wcsmbs/wcsmbsload.h: Likewise.
25249         [BZ #15894]
25250         * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
25252         * malloc/arena.c (grow_heap, get_free_list, reused_arena)
25253         (arena_get2): Remove THREAD_STATS conditionals.
25254         * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
25255         (__malloc_stats, int): Likewise.
25257 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
25259         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
25260         f.f_type to RAMFS_MAGIC too.  Compare mp->mnt_type to shm too.
25262         * manual/setjmp.texi: Fix typos/grammar errors.
25264         * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
25265         Only return early when n is <= 0.  Delete unused return statement.
25267         * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
25268         (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
25269         * debug/tst-longjmp_chk3.c: New file.
25271         * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
25272         (test_main): Replace code with set_fortify_handler call.
25273         * debug/test-strcpy_chk.c: Likewise.
25274         * debug/tst-chk1.c: Likewise.
25275         * debug/tst-longjmp_chk.c: Likewise.
25276         * test-skeleton.c: Include fcntl.h & paths.h
25277         (set_fortify_handler): Define.
25279         * debug/tst-longjmp_chk.c: Add header comment and include
25280         ../test-skeleton.c.
25281         (do_test): Mark static.
25282         (TEST_FUNCTION): Define.
25284         * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
25285         (IP_PMTUDISC_INTERFACE): Likewise.
25286         (IP_MULTICAST_IF): Likewise.
25287         (IP_MULTICAST_TTL): Likewise.
25288         (IP_MULTICAST_LOOP): Likewise.
25289         (IP_ADD_MEMBERSHIP): Likewise.
25290         (IP_DROP_MEMBERSHIP): Likewise.
25291         (IP_UNBLOCK_SOURCE): Likewise.
25292         (IP_BLOCK_SOURCE): Likewise.
25293         (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
25294         (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
25295         (IP_MSFILTER): Likewise.
25296         (MCAST_JOIN_GROUP): Likewise.
25297         (MCAST_BLOCK_SOURCE): Likewise.
25298         (MCAST_UNBLOCK_SOURCE): Likewise.
25299         (MCAST_LEAVE_GROUP): Likewise.
25300         (MCAST_JOIN_SOURCE_GROUP): Likewise.
25301         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
25302         (MCAST_MSFILTER): Likewise.
25303         (IP_MULTICAST_ALL): Likewise.
25304         (IP_UNICAST_IF): Likewise.
25306         * timezone/Makefile: Delete $(have-ksh) check.
25307         ($(objpfx)tzselect): Change $(KSH) to $(BASH).
25308         * timezone/tzselect.ksh: Add +x mode bits.
25310         * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
25311         (ANON_INODE_FS_MAGIC): Likewise.
25312         (BDEVFS_MAGIC): Likewise.
25313         (BINFMTFS_MAGIC): Likewise.
25314         (BTRFS_TEST_MAGIC): Likewise.
25315         (CRAMFS_MAGIC_WEND): Likewise.
25316         (DEBUGFS_MAGIC): Likewise.
25317         (ECRYPTFS_SUPER_MAGIC): Likewise.
25318         (EXT3_SUPER_MAGIC): Likewise.
25319         (EXT4_SUPER_MAGIC): Likewise.
25320         (FUTEXFS_SUPER_MAGIC): Likewise.
25321         (HOSTFS_SUPER_MAGIC): Likewise.
25322         (HUGETLBFS_MAGIC): Likewise.
25323         (MINIX3_SUPER_MAGIC): Likewise.
25324         (MTD_INODE_FS_MAGIC): Likewise.
25325         (NILFS_SUPER_MAGIC): Likewise.
25326         (OPENPROM_SUPER_MAGIC): Likewise.
25327         (PIPEFS_MAGIC): Likewise.
25328         (PSTOREFS_MAGIC): Likewise.
25329         (QNX6_SUPER_MAGIC): Likewise.
25330         (RAMFS_MAGIC): Likewise.
25331         (REISERFS_SUPER_MAGIC_STRING): Likewise.
25332         (REISER2FS_SUPER_MAGIC_STRING): Likewise.
25333         (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
25334         (SECURITYFS_MAGIC): Likewise.
25335         (SELINUX_MAGIC): Likewise.
25336         (SMACK_MAGIC): Likewise.
25337         (SOCKFS_MAGIC): Likewise.
25338         (SQUASHFS_MAGIC): Likewise.
25339         (STACK_END_MAGIC): Likewise.
25340         (TMPFS_MAGIC): Likewise.
25341         (USBDEVICE_SUPER_MAGIC): Likewise.
25342         (V9FS_MAGIC): Likewise.
25343         (XENFS_SUPER_MAGIC): Likewise.
25344         (CRAMFS_MAGIC): Fix typo in comment.
25345         (EXT2_SUPER_MAGIC): Update comment.
25346         (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
25348 2014-02-08  Joseph Myers  <joseph@codesourcery.com>
25350         * sysdeps/arm: Move directory from ports/sysdeps/arm.
25351         * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
25352         * sysdeps/unix/sysv/linux/arm: Move directory from
25353         ports/sysdeps/unix/sysv/linux/arm.
25354         * README: Update listing for arm-*-linux-gnueabi.
25356         * README: Remove mention of am33.
25358 2014-02-07  Roland McGrath  <roland@hack.frob.com>
25360         * bits/sigset.h (__sigemptyset): Use a statement expression rather
25361         than the comma operator, to avoid "rhs of comma has no effect"
25362         compiler warnings.
25363         (__sigfillset, __sigandset, __sigorset): Likewise.
25364         * include/signal.h (__sigemptyset): Likewise.
25365         * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
25367 2014-02-07  Allan McRae  <allan@archlinux.org>
25369         * version.h (RELEASE): Set to "development".
25370         (VERSION): Set to "2.19.90"
25371         * NEWS: Add 2.20 section.
25373 2014-02-06  Carlos O'Donell  <carlos@redhat.com>
25375         [BZ #16529]
25376         * inet/netinet/in.h: Remove comma after IPPROTO_MH.
25378 2014-02-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
25380         * manual/contrib.texi: Update entry for Carlos O'Donell,
25381         Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
25383 2014-02-05  Carlos O'Donell  <carlos@rehdat.com>
25385         * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
25387         * sysdeps/unix/sysv/linux/kernel-features.h
25388         [__LINUX_KERNEL_VERSION >= 0x020621]
25389         (__ASSUME_PROC_PID_TASK_COMM): Define.
25391 2014-02-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
25393         [BZ #16398]
25394         * libio/wfileops.c (_IO_wfile_seekoff): Break out form
25395         conversion when destination buffer does not have enough space.
25396         * libio/tst-ftell-partial-wide.c: New test case.
25397         * libio/Makefile (tests): Add tst-ftell-partial-wide.
25399         * manual/contrib.texi: Update entry for Ondrej Bilka, Will
25400         Newton and Alexandre Oliva.  Add entries for Steve Ellcey, Chris
25401         Leonard and Allan McRae.
25403 2014-02-04  David S. Miller  <davem@davemloft.net>
25405         * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
25406         32-bit.
25408 2014-02-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25410         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
25411         New file
25412         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
25413         New file
25414         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
25415         New file.
25416         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
25417         New file.
25418         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
25419         New file.
25420         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
25421         New file.
25422         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
25423         New file.
25424         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
25425         New file.
25426         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
25427         New file.
25428         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
25429         New file.
25430         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
25431         New file.
25432         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
25433         New file.
25434         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
25435         New file.
25437 2014-02-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25439         * nptl/shlib-versions: Change powerpc*le start to 2.17.
25440         * shlib-versions: Likewise.
25442 2014-02-04  Roland McGrath  <roland@hack.frob.com>
25443             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25445         * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
25446         (abilist-pattern): New variable, set to %-le.abilist.
25448         * Makerules (abilist-pattern): New variable.
25449         (vpath): Use $(abilist-pattern) in place of %.abilist.
25450         (check-abi-% pattern rule): Likewise.
25451         (check-abi, update-abi): Likewise.
25453 2014-02-04  Eric Wong  <normalperson@yhbt.net>
25455         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
25457 2014-02-03  Carlos O'Donell  <carlos@redhat.com>
25459         * manual/startup.texi: Add next, previous, and top entries for
25460         the `Program Arguments' and `Environment Variables' nodes.
25462 2014-02-03  Alexandre Oliva <aoliva@redhat.com>
25464         * manual/macros.texi: Add comments before MTASC-safety macros.
25466         * manual/users.texi: Document MTASC-safety properties.
25468         * manual/threads.texi (pthread_key_create, pthread_key_delete)
25469         (pthread_getspecific, pthread_setspecific): Format with
25470         @deftypefun, and add @safety note.
25471         * manual/signal.texi: Move comments that analyze the above
25472         functions to their home place.
25474 2014-02-03  Allan McRae  <allan@archlinux.org>
25476         * po/sl.po: Update Slovenian translation from translation project.
25478 2014-02-02  Alexandre Oliva <aoliva@redhat.com>
25480         * manual/time.texi (timegm): Add missing blank after @c.
25481         Reported by Joseph Myers <joseph@codesourcery.com>.
25483 2014-02-01  Alexandre Oliva <aoliva@redhat.com>
25485         * manual/check-safety.sh: New.
25486         * manual/Makefile ($(objpfx)stamp-summary): Run it.
25488         * manual/terminal.texi: Document MTASC-safety properties.
25490         * manual/filesys.texi: Document MTASC-safety properties.
25492         * manual/errno.texi: Document MTASC-safety properties.
25494         * manual/intro.texi: Document safety identifiers and
25495         conditionals.
25497         * manual/string.texi (wcstok): Fix prototype.
25498         (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
25500         * manual/time.texi: Document MTASC-safety properties.
25502         * manual/string.texi: Document MTASC-safety properties.
25504         * manual/threads.texi: Document MTASC-safety properties.
25506         * manual/stdio.texi: Document MTASC-safety properties.
25508         * manual/syslog.texi: Document MTASC-safety properties.
25510         * manual/sysinfo.texi: Document MTASC-safety properties.
25512         * manual/startup.texi: Document MTASC-safety properties.
25514         * manual/socket.texi: Document MTASC-safety properties.
25516         * manual/signal.texi: Document MTASC-safety properties.
25518 2014-01-31  Alexandre Oliva <aoliva@redhat.com>
25520         * manual/setjmp.texi: Document MTASC-safety properties.
25522         * manual/search.texi: Document MTASC-safety properties.
25524         * manual/resource.texi: Document MTASC-safety properties.
25526         * manual/process.texi: Document MTASC-safety properties.
25528         * manual/platform.texi: Document MTASC-safety properties.
25530         * manual/pipe.texi: Document MTASC-safety properties.
25532         * manual/pattern.texi: Document MTASC-safety properties.
25534         * manual/message.texi: Document MTASC-safety properties.
25536         [BZ #12751]
25537         * manual/memory.texi: Document MTASC-safety properties.
25539         * manual/math.texi: Document MTASC-safety properties.
25541         * manual/locale.texi: Document MTASC-safety properties.
25543         * manual/llio.texi: Document MTASC-safety properties.
25545         * manual/libdl.texi: New.
25547         * manual/lang.texi: Document MTASC-safety properties.
25549         * manual/job.texi: Document MTASC-safety properties.
25551         * manual/getopt.texi: Document MTASC-safety properties.
25553         * manual/ctype.texi: Document MTASC-safety properties.
25555 2014-01-31  Maciej W. Rozycki  <macro@codesourcery.com>
25557         [BZ #16046]
25558         * csu/libc-tls.c (static_map): Remove variable.
25559         (__libc_setup_tls): Use main executable's link map for TLS data.
25560         * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
25561         casing for LM_ID_BASE and GL(dl_nns).
25562         * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
25563         function.  Alias dl_iterate_phdr to __dl_iterate_phdr.
25564         * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
25565         casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
25566         * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
25567         member.
25568         (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
25569         l_phnum members.
25571 2014-01-30  Alexandre Oliva <aoliva@redhat.com>
25573         * manual/debug.texi: Document MTASC-safety properties.
25575 2014-01-29  H.J. Lu  <hongjiu.lu@intel.com>
25577         [BZ #16510]
25578         * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
25579         of __x86_64__ when disabling x87 inline functions.
25581 2014-01-29  Alexandre Oliva <aoliva@redhat.com>
25583         * manual/charset.texi: Document MTASC-safety properties.
25585         * manual/crypt.texi: Document MTASC-safety properties.
25587         * manual/conf.texi: Document MTASC-safety properties.
25589         * manual/arith.texi: Document MTASC-safety properties.
25591         * manual/argp.texi: Document MTASC-safety properties.
25593         * manual/macros.texi: Introduce macros to document multi
25594         thread, asynchronous signal and asynchronous cancellation
25595         safety properties.
25596         * manual/intro.texi: Introduce the properties themselves.
25598 2014-01-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
25600         * sysdeps/sh/sh4/Makefile: New file.
25602 2014-01-27  Andreas Schwab  <schwab@linux-m68k.org>
25604         * math/gen-libm-test.pl ($srcdir): New variable.
25605         ($auto_input): Use it.
25607 2014-01-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
25609         [BZ #16506]
25610         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
25611         access beyond array bounds when parsing netgroups file.
25613         * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
25614         the old buffer before realloc.
25616 2014-01-27  Allan McRae  <allan@archlinux.org>
25618         * po/fr.po: Update French translation from translation project.
25620 2014-01-26  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
25622         * sysdeps/sh/libm-test-ulps: Regenerate.
25624 2014-01-24  David S. Miller  <davem@davemloft.net>
25626         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
25628 2014-01-25  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
25630         * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
25631         * sysdeps/sh/libm-test-ulps: ... here and regenerated.
25633 2013-01-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
25635         [BZ #16474]
25636         * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
25637         string pointers after reallocation.
25639 2014-01-24  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
25641         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
25642         __SH4A__ instead of __SH_FPU_ANY__.
25644 2014-01-23  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
25646         * sysdeps/sh/fpu_control.h: New file.
25647         * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
25648         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
25649         * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
25650         * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
25651         * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
25652         * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
25653         * sysdeps/sh/sys/ucontext.h: Remove.
25654         * sysdeps/sh/sys: Remove directory.
25656 2014-01-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
25658         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
25659         s390/sys/ucontext.h.
25660         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
25661         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
25663 2014-01-20  H.J. Lu  <hongjiu.lu@intel.com>
25665         [BZ #15605]
25666         * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
25668 2014-01-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25670         [BZ#16431]
25671         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
25672         Adjust the vDSO correctly for internal calls.
25673         * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
25675 2014-01-20  Allan McRae  <allan@archlinux.org>
25677         * po/ca.po: Update Catalan translation from translation project.
25679 2014-01-16  Mike Frysinger  <vapier@gentoo.org>
25681         * sysdeps/s390/sotruss-lib.c: New file.
25683 2014-01-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25685         [BZ#16430]
25686         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
25687         (__GI___gettimeofday): Alias for a different internal symbol to avoid
25688         local calls issues by not having a PLT stub required for IFUNC calls.
25689         * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
25691 2014-01-16 Joseph Myers  <joseph@codesourcery.com>
25693         * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
25694         * math/test-fpucw-static.c: Likewise.
25696 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
25698         [BZ #16453]
25699         * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
25701 2014-01-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25703         * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
25704         implementation for powerpc.
25706 2014-01-15  Ondřej Bílka  <neleai@seznam.cz>
25708         [BZ #14782]
25709         * sysdeps/posix/system.c (__libc_system): Do not enable
25710         asynchronous cancellation.
25712 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
25714         [BZ #16427]
25715         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
25716         handling only for numbers special also in the IEEE case.
25718 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
25720         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
25722 2014-01-11  Allan McRae  <allan@archlinux.org>
25724         * po/bg.po: Update Bulgarian translation from translation project.
25726         * po/de.po: Update German translation from translation project.
25728 2014-01-10  Roland McGrath  <roland@hack.frob.com>
25730         * sysdeps/generic/gcc-compat.h: New file.
25732 2014-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
25734         * benchtests/asin-inputs: Correct slow inputs.
25735         * benchtests/acos-inputs: Likewise.
25737 2014-01-10  Allan McRae  <allan@archlinux.org>
25739         * po:sv.po: Update Swedish translation from translation project.
25741         * po/vi.po: Update Vietnamese translation from translation project.
25743         * po/eo.po: Update Esperanto translation from translation project.
25745         * po/cs.po: Update Czech translation from translation project.
25747         * po/nl.po: Update Dutch translation from translation project.
25749         * po/pl.po: Update Polish translation from translation project.
25751         * po/ru.po: Update Russian translation from translation project.
25753         * po/uk.po: Update Ukrainian translation from translation project.
25755 2014-01-08  Brooks Moses  <bmoses@google.com>
25757         * elf/dl-load.c: Fix comment typo.
25759 2014-01-08  Carlos O'Donell  <carlos@redhat.com>
25761         * po/header.pot: Rename to...
25762         * po/pot.header: ... this.
25763         * po/Makefile: Use pot.header.
25765 2014-01-08  Yuriy Kaminskiy  <yumkam@gmail.com>
25766             Maxim Kuvyrkov  <maxim@kugelworks.com>
25768         [BZ #16394]
25769         * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
25770         SRC and DEST against LEN.
25772 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25774         [BZ #16414]
25775         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
25776         implementation.
25777         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
25779 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25781         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25783 2014-01-08  Joseph Myers  <joseph@codesourcery.com>
25785         [BZ #16408]
25786         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
25787         for large positive arguments.
25789 2014-01-07  Joseph Myers  <joseph@codesourcery.com>
25791         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
25793         * math/auto-libm-test-in: Mark various tests with
25794         xfail-rounding:ldbl-128ibm.
25795         * math/auto-libm-test-out: Regenerated.
25797         [BZ #16407]
25798         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
25799         Increase overflow threshold.
25801 2014-01-07  Ondřej Bílka  <neleai@seznam.cz>
25803         [BZ #14286]
25804         * stdio-common/vfprintf.c: Check for integer overflow.
25806 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
25808         * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
25809         the first argument and return value of __tls_get_addr_internal.
25811 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
25813         * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
25814         also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
25816 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
25818         * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
25819         * sysdeps/s390/rtld-global-offsets.sym: New file.
25820         * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
25821         GLIBC_2.19 symbol.
25822         * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
25823         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
25824         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
25825         ... this.
25826         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
25827         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
25828         ... this.
25829         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
25830         Regenerate.
25831         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
25832         Regenerate.
25833         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
25834         halfs of GPRs for high_gprs contexts.
25835         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
25836         restore upper halfs of GPRs for high_gprs contexts.  Copy uc_flags
25837         field.
25838         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
25839         uc_flags field.
25840         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
25841         64 bit versions:
25842         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
25843         for high GPRs (uc_high_gprs) and for future extensions
25844         (__reserved).
25845         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
25846         for future extensions (__reserved).
25847         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
25848         64 bit versions:
25849         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
25850         SC_HIGHGPRS offset definition.
25851         * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
25852         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
25854         * Versions.def: Add GLIBC_2.19 for libpthread.
25855         * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
25856         siglongjmp for libpthread with GLIBC_2.19 symver.
25857         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
25858         * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
25859         * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
25860         * sysdeps/s390/__longjmp.c: New file.
25861         * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
25862         * sysdeps/s390/longjmp.c: New file.
25863         * sysdeps/s390/setjmp.S: New file.
25864         * sysdeps/s390/sigjmp.S: New file.
25865         * sysdeps/s390/v1-longjmp.c: New file.
25866         * sysdeps/s390/v1-setjmp.h: New file.
25867         * sysdeps/s390/v1-sigjmp.c: New file.
25868         * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
25869         * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
25870         GLIBC_2.19 version.
25871         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
25872         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
25873         versioned symbols for ____longjmp_chk.
25874         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
25875         Likewise.
25876         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
25877         Regenerate.
25878         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
25879         Regenerate.
25880         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
25881         Regenerate.
25882         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
25883         Regenerate.
25884         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
25885         * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
25886         * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
25887         * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
25888         * sysdeps/s390/s390-32/setjmp-common.S: ... this.
25889         * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
25890         * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
25891         * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
25892         * sysdeps/s390/s390-64/setjmp-common.S: ... this.
25893         * sysdeps/s390/rtld-__longjmp.c: New file.
25894         * sysdeps/s390/rtld-setjmp.S: New file.
25896 2014-01-06  Joseph Myers  <joseph@codesourcery.com>
25898         [BZ #16400]
25899         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
25900         Return -__logl (x) for small positive arguments without evaluating
25901         a polynomial.
25903 2014-01-06  Mike Frysinger  <vapier@gentoo.org>
25905         * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
25906         Rename to ...
25907         (__ptrace_peeksiginfo_args): ... this.
25908         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
25909         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
25910         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
25912 2014-01-06  Allan McRae  <allan@archlinux.org>
25914         * inet/netinet/in.h: Fix typo in comment.
25916 2014-01-05  Andreas Jaeger  <aj@suse.de>
25918         * sysdeps/i386/fpu/libm-test-ulps: Update.
25920 2014-01-05  Allan McRae  <allan@archlinux.org>
25922         * po/libc.pot: Regenerated.
25924         * malloc/memusagestat.c: Fix gettext call formatting.
25926 2014-01-04  Sami Kerola  <kerolasa@iki.fi>
25928         * nscd/nscd.c: Improve usage() output.
25930 2014-01-04  Mike Frysinger  <vapier@gentoo.org>
25932         * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
25933         * sysdeps/unix/sysv/linux/configure: Regenerated.
25934         * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
25935         * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
25937 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
25939         [BZ #16390]
25940         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
25941         (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
25943 2014-01-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25945         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
25946         extra tokens at end of #undef directive.
25947         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
25948         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
25949         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
25951 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
25953         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
25955         * math/auto-libm-test-in: Mark various tests with
25956         xfail-rounding:ldbl-128ibm.
25957         * math/auto-libm-test-out: Regenerated.
25959 2014-01-02  Joseph Myers  <joseph@codesourcery.com>
25961         [BZ #16386]
25962         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
25963         numbers with subnormal high part when calculating exponent.
25965         [BZ #16385]
25966         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
25967         fabs.
25969         [BZ #16384]
25970         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
25971         M_LN2l.
25972         (__ieee754_acoshl): Use __log1pl not __log1p.
25974 2013-01-02  Ondřej Bílka  <neleai@seznam.cz>
25976         * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
25977         (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
25978         (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
25979         (grow_heap, heap_trim, _int_new_arena, get_free_list)
25980         (reused_arena, arena_get2): Convert to GNU style.
25981         * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
25982         (mem2mem_check, mem2chunk_check, top_check, realloc_check)
25983         (memalign_check, __malloc_set_state): Likewise.
25984         * malloc/mallocbug.c (main): Likewise.
25985         * malloc/malloc.c (__malloc_assert, malloc_init_state)
25986         (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
25987         (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
25988         (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
25989         (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
25990         (__posix_memalign, malloc_info): Likewise.
25991         * malloc/malloc.h: Likewise.
25992         * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
25993         (mallochook, memalignhook, reallochook, mabort): Likewise.
25994         * malloc/mcheck.h: Likewise.
25995         * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
25996         (free, mmap, mmap64, mremap, munmap, dest): Likewise.
25997         * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
25998         * malloc/morecore.c (__default_morecore): Likewise.
25999         * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
26000         * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
26001         (_obstack_allocated_p, obstack_free, _obstack_memory_used)
26002         (print_and_abort): Likewise.
26003         * malloc/obstack.h: Likewise.
26004         * malloc/set-freeres.c (__libc_freeres): Likewise.
26005         * malloc/tst-mallocstate.c (main): Likewise.
26006         * malloc/tst-mtrace.c (main): Likewise.
26007         * malloc/tst-realloc.c (do_test): Likewise.
26009 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
26011         [BZ #16366]
26012         * nscd/netgroupcache.c (do_notfound): New function.
26013         (addgetnetgrentX): Use it.
26015         [BZ # 16365]
26016         * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
26017         NSS_STATUS_NOTFOUND.
26019 2014-01-01  Joseph Myers  <joseph@codesourcery.com>
26021         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
26022         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26024 2014-01-01  Allan McRae  <allan@archlinux.org>
26026         * scripts/update-copyrights: Update configure input file suffix.
26028         * NEWS: Update copyright year.
26029         * catgets/gencat.c: Likewise.
26030         * csu/version.c: Likewise.
26031         * debug/catchsegv.sh: Likewise.
26032         * debug/pcprofiledump.c: Likewise.
26033         * debug/xtrace.sh: Likewise.
26034         * elf/ldconfig.c: Likewise.
26035         * elf/ldd.bash.in: Likewise.
26036         * elf/pldd.c: Likewise.
26037         * elf/sotruss.ksh: Likewise.
26038         * elf/sprof.c: Likewise.
26039         * iconv/iconv_prog.c: Likewise.
26040         * iconv/iconvconfig.c: Likewise.
26041         * locale/programs/locale.c: Likewise.
26042         * locale/programs/localedef.c: Likewise.
26043         * login/programs/pt_chown.c: Likewise.
26044         * malloc/memusage.sh: Likewise.
26045         * malloc/memusagestat.c: Likewise.
26046         * malloc/mtrace.pl: Likewise.
26047         * manual/libc.texinfo: Likewise.
26048         * nscd/nscd.c: Likewise.
26049         * nss/getent.c: Likewise.
26050         * nss/makedb.c: Likewise.
26051         * posix/getconf.c: Likewise.
26052         * scripts/test-installation.pl: Likewise.
26054         * All files with FSF copyright notices: Update copyright dates
26055         using scripts/update-copyrights.
26056         * intl/plural.c: Regenerated.
26057         * locale/programs/charmap-kw.h: Likewise.
26058         * locale/programs/locfile-kw.h: Likewise.
26060 2013-12-31  Mike Frysinger  <vapier@gentoo.org>
26062         * sysdeps/unix/sysv/linux/configure: Regenerated.
26063         * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
26064         the linux/fanotify.h header.
26065         * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
26066         HAVE_LINUX_FANOTIFY_H is defined.
26068 2013-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
26070         * benchtests/cos-inputs: New inputs.
26071         * benchtests/sin-inputs: Likewise.
26073         * benchtests/atan-inputs: New inputs. Fix name of multiple
26074         precision fallback inputs.
26076         * benchtests/atanh-inputs: New inputs.
26077         * benchtests/tanh-inputs: Likewise.
26079         * benchtests/acosh-inputs: New inputs.
26080         * benchtests/asinh-inputs: Likewise.
26082         * benchtests/cosh-inputs: New inputs.
26083         * benchtests/sinh-inputs: Likewise.
26085         * benchtests/acos-inputs: Add more inputs.
26086         * benchtests/asin-inputs: Likewise.
26088 2013-12-30  Ville Skytta  <ville.skytta@iki.fi>
26090         [BZ #16375]
26091         * manual/arith.texi: Fix spelling.
26092         * manual/charset.texi: Likewise.
26093         * manual/errno.texi: Likewise.
26094         * manual/filesys.texi: Likewise.
26095         * manual/lang.texi: Likewise.
26096         * manual/llio.texi: Likewise.
26097         * manual/locale.texi: Likewise.
26098         * manual/message.texi: Likewise.
26099         * manual/resource.texi: Likewise.
26100         * manual/search.texi: Likewise.
26101         * manual/setjmp.texi: Likewise.
26102         * manual/stdio.texi: Likewise.
26103         * manual/string.texi: Likewise.
26104         * manual/sysinfo.texi: Likewise.
26105         * manual/time.texi: Likewise.
26107 2013-12-27  Carlos O'Donell  <carlos@redhat.com>
26109         * po/sl.po: New file.
26111 2013-12-27  Mike Frysinger  <vapier@gentoo.org>
26113         * .gitignore: Add core/.gdbinit/.gdb_history.
26115 2013-12-27  Allan McRae  <allan@archlinux.org>
26117         [BZ #16369]
26118         * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
26119         Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
26121 2013-12-24  Brooks Moses  <bmoses@google.com>
26123         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
26124         all compilers that claim C++98 compliance, not just GCC.
26125         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
26126         Likewise.
26128 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
26130         * NEWS: Restore accidentally deleted bug-fix entries.
26132 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
26133             Ondřej Bílka  <neleai@seznam.cz>
26135         [BZ #15073]
26136         * malloc/malloc.c (_int_free): Perform sanity check only if we
26137         have_lock.
26139 2013-12-23  Ondřej Bílka  <neleai@seznam.cz>
26141         [BZ #12986]
26142         * manual/stdio.texi (String Input Conversions): Clarify that character
26143         classes are not supported.
26145 2013-12-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26147         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26149 2013-12-22  Joseph Myers  <joseph@codesourcery.com>
26151         [BZ #16337]
26152         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
26153         Calculate results for small negative arguments directly rather
26154         than using reflection formula with special underflow handling.
26156         * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
26157         * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
26158         sysdeps/unix/bsd/bsd4.4/syscalls.list.
26159         (fchflags): Likewise.
26160         (revoke): Likewise.
26161         (setlogin): Likewise.
26162         (sigaltstack): Likewise.
26163         (wait4): Likewise.
26164         (sigblock): Remove.
26165         (sigsetmask): Likewise.
26166         (wait3): Likewise.
26167         (waitpid): Likewise.
26168         * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
26169         * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
26170         file.
26171         * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
26172         * sysdeps/unix/bsd/Makefile: ... here.
26173         * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
26174         * sysdeps/unix/bsd/Versions: ... here.
26175         * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
26176         * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
26177         * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
26178         * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
26179         * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
26180         * sysdeps/unix/bsd/sigblock.c: ... here.
26181         * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
26182         * sysdeps/unix/bsd/sigsetmask.c: ... here.
26183         * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
26184         * sysdeps/unix/bsd/sigvec.c: ... here.
26185         * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
26186         * sysdeps/unix/bsd/tcdrain.c: ... here.
26187         * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
26188         * sysdeps/unix/bsd/tcgetattr.c: ... here.
26189         * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
26190         * sysdeps/unix/bsd/tcsetattr.c: ... here.
26191         * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
26192         * sysdeps/unix/bsd/wait.c: ... here.
26193         * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
26194         * sysdeps/unix/bsd/wait3.c: ... here.
26195         * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
26196         * sysdeps/unix/bsd/waitpid.c: ... here.
26198 2013-12-21  Joseph Myers  <joseph@codesourcery.com>
26200         [BZ #16356]
26201         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
26202         round-to-nearest for [!USE_AS_EXPM1L].
26203         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
26204         * math/auto-libm-test-in: Do not expect cosh tests to fail.  Add
26205         more tests of exp and exp10.  Expect some exp10 tests to miss
26206         exceptions or fail in directed rounding modes.
26207         * math/auto-libm-test-out: Regenerated.
26208         * math/libm-test.inc (exp10_tonearest_test_data): New array.
26209         (exp10_test_tonearest): New function.
26210         (exp10_towardzero_test_data): New array.
26211         (exp10_test_towardzero): New function.
26212         (exp10_downward_test_data): New array.
26213         (exp10_test_downward): New function.
26214         (exp10_upward_test_data): New array.
26215         (exp10_test_upward): New function.
26216         (main): Call the new functions.
26217         * sysdeps/i386/fpu/libm-test-ulps: Update.
26218         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26220 2013-12-20  Joseph Myers  <joseph@codesourcery.com>
26222         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
26223         asinh, atan, atan2, atanh, cbrt, cos and cosh.
26224         * math/auto-libm-test-out: Regenerated.
26225         * math/libm-test.inc (acosh_test_data): Add more tests.
26226         (atanh_test_data): Likewise.
26227         (ceil_test_data): Likewise.
26228         (copysign_test_data): Likewise.
26229         * sysdeps/i386/fpu/libm-test-ulps: Update.
26230         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26232         * timezone/checktab.awk: Update from tzcode 2013i.
26233         * timezone/private.h: Likewise.
26234         * timezone/scheck.c: Likewise.
26235         * timezone/tzfile.h: Likewise.
26236         * timezone/tzselect.ksh: Likewise.
26237         * timezone/zdump.c: Likewise.
26238         * timezone/zic.c: Likewise.
26240         * math/auto-libm-test-in: Add tests of cpow.
26241         * math/auto-libm-test-out: Regenerated.
26242         * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
26243         * math/gen-auto-libm-tests.c (func_calc_method): Add value
26244         mpc_cc_c.
26245         (func_calc_desc): Add mpc_cc_c union field.
26246         (test_functions): Add cpow.
26247         (special_fill_2pi): New function.
26248         (special_real_inputs): Add 2pi.
26249         (calc_generic_results): Handle mpc_cc_c.
26250         * sysdeps/i386/fpu/libm-test-ulps: Update.
26251         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26253         * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
26254         csqrt, ctan and ctanh.
26255         * math/auto-libm-test-out: Regenerated.
26256         * math/libm-test.inc (TEST_COND_x86_64): New macro.
26257         (TEST_COND_x86): Likewise.
26258         (ccos_test_data): Use AUTO_TESTS_c_c.
26259         (ccosh_test_data): Likewise.
26260         (cexp_test_data): Likewise.
26261         (clog_test_data): Likewise.
26262         (csqrt_test_data): Likewise.
26263         (ctan_test_data): Likewise.
26264         (ctan_tonearest_test_data): Likewise.
26265         (ctan_towardzero_test_data): Likewise.
26266         (ctan_downward_test_data): Likewise.
26267         (ctan_upward_test_data): Likewise.
26268         (ctanh_test_data): Likewise.
26269         (ctanh_tonearest_test_data): Likewise.
26270         (ctanh_towardzero_test_data): Likewise.
26271         (ctanh_downward_test_data): Likewise.
26272         (ctanh_upward_test_data): Likewise.
26273         * math/gen-auto-libm-tests.c (func_calc_method): Add value
26274         mpc_c_c.
26275         (func_calc_desc): Add mpc_c_c union field.
26276         (FUNC_mpc_c_c): New macro.
26277         (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
26278         ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
26279         ctanh.
26280         (special_fill_min_subnorm_p120): New function.
26281         (special_real_inputs): Add min_subnorm_p120.
26282         (calc_generic_results): Handle mpc_c_c.
26283         * sysdeps/i386/fpu/libm-test-ulps: Update.
26284         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26286 2013-12-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
26288         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
26289         (do_sin_slow): New functions.
26290         (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
26291         (cslow2, csloww1, csloww2): Use the new functions.
26293         * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
26294         Use M to change sign of result instead of X.  Assume X is
26295         positive.
26296         (csloww1): Likewise.
26297         (__sin): Adjust.
26298         (__cos): Adjust.
26300         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
26301         arguments A and DA.
26302         (__sin): Adjust.
26303         (__cos): Likewise.
26305         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
26306         (__cos): Likewise.
26307         (sloww1): Don't adjust sign of DX.
26308         (csloww1): Likewise.
26309         (sloww2): Use X directly and don't adjust sign of DX.
26310         (csloww2): Likewise.
26312 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
26314         * math/auto-libm-test-in: Add tests of cabs and carg.
26315         * math/auto-libm-test-out: Regenerated.
26316         * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
26317         (carg_test_data): Likewise.
26318         * math/gen-auto-libm-tests.c (func_calc_method): Add value
26319         mpc_c_f.
26320         (func_calc_desc): Add mpc_c_f union field.
26321         (test_functions): Add cabs and carg.
26322         (calc_generic_results): Handle mpc_c_f.
26324         * sysdeps/powerpc/powerpc32/libgcc-compat.S
26325         [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
26326         as a macro and a compat symbol.
26327         [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
26328         [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
26329         [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
26330         [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
26331         [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
26332         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
26333         not use .hidden.
26334         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
26335         Likewise.
26336         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
26337         Likewise.
26338         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
26339         Likewise.
26340         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
26341         Likewise.
26342         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
26343         Likewise.
26344         * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
26345         __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
26346         from GLIBC_2.3.2.
26348 2013-12-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26350         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26352 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
26354         * manual/texinfo.tex: Update to version 2013-11-26.10 with
26355         trailing whitespace removed.
26356         * scripts/config.guess: Update to version 2013-11-29.
26357         * scripts/config.sub: Update to version 2013-10-01.
26359         * math/auto-libm-test-in: Add tests of sincos.
26360         * math/auto-libm-test-out: Regenerated.
26361         * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
26362         * math/gen-auto-libm-tests.c (func_calc_method): Add value
26363         mpfr_f_11.
26364         (func_calc_desc): Add mpfr_f_11 union field.
26365         (test_functions): Add sincos.
26366         (calc_generic_results): Handle mpfr_f_11.
26367         * sysdeps/i386/fpu/libm-test-ulps: Update.
26368         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26370 2013-12-19  Andreas Schwab  <schwab@suse.de>
26372         * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
26373         CALL_MCOUNT.
26374         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
26375         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
26376         [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
26378 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
26380         * math/gen-libm-test.pl (%beautify): Remove M_* constants.
26381         * sysdeps/i386/fpu/libm-test-ulps: Update.
26382         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26384         [BZ #16293]
26385         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
26386         round-to-nearest mode when using frndint.
26387         * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
26388         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
26389         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
26390         Likewise.
26391         * math/auto-libm-test-in: Add more tests of expm1.  Do not expect
26392         sinh test to fail.
26393         * math/auto-libm-test-out: Regenerated.
26394         * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
26395         (TEST_COND_x86): Likewise.
26396         (expm1_tonearest_test_data): New array.
26397         (expm1_test_tonearest): New function.
26398         (expm1_towardzero_test_data): New array.
26399         (expm1_test_towardzero): New function.
26400         (expm1_downward_test_data): New array.
26401         (expm1_test_downward): New function.
26402         (expm1_upward_test_data): New array.
26403         (expm1_test_upward): New function.
26404         (main): Run the new test functions.
26405         * sysdeps/i386/fpu/libm-test-ulps: Update.
26406         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26408         * include/features.h: Update comment documenting feature test
26409         macros.  Mention _DEFAULT_SOURCE in comment.
26410         [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
26411         [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
26412         _BSD_SOURCE and _SVID_SOURCE.
26413         [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
26414         !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
26415         !_SVID_SOURCE]: Likewise.
26416         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
26417         (__USE_POSIX_IMPLICITLY): Define.
26418         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
26419         (_POSIX_SOURCE): Undefine and redefine.
26420         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
26421         (_POSIX_C_SOURCE): Likewise.
26422         * manual/creature.texi (_DEFAULT_SOURCE): Document.
26423         (Feature Test Macros): Update documentation of default features.
26425 2013-12-19  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
26427         * benchtests/Makefile: Add bench-strtok.
26428         * benchtests/bench-strtok.c: New file: strtok benchtest.
26430 2013-12-19  Allan McRae  <allan@archlinux.org>
26432         * manual/install.texi: Suppress menu for plain text output.
26433         * INSTALL: Regenerated.
26435 2013-12-18  Brooks Moses  <bmoses@google.com>
26437         [BZ #15846]
26438         * misc/getauxval.c: Include errno.h.
26439         (__getauxval): Set errno to ENOENT if the requested type is not
26440         found.
26441         * misc/sys/auxv.h (getauxval): Document that it may set errno;
26442         don't declare with __attribute_const__.
26443         * elf/tst-auxv.c: Add tests for errno and type-not-found case.
26444         * manual/startup.texi: Document that getauxval sets errno.
26446 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
26448         * math/auto-libm-test-in: Add tests of jn and yn.
26449         * math/auto-libm-test-out: Regenerated.
26450         * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
26451         (yn_test_data): Likewise.
26452         * math/gen-auto-libm-tests.c (func_calc_method): Add value
26453         mpfr_if_f.
26454         (func_calc_desc): Add mpfr_if_f union field.
26455         (FUNC_mpfr_if_f): New macro.
26456         (test_functions): Add jn and yn.
26457         (calc_generic_results): Assert type of second input for
26458         mpfr_ff_f.  Handle mpfr_if_f.
26459         (output_for_one_input_case): Disable all checking for arguments
26460         fitting floating-point types in case of an integer argument.
26461         * sysdeps/i386/fpu/libm-test-ulps: Update.
26462         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26464         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
26465         Don't expect fegetround reference in libm.so.
26467 2013-12-17  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
26469         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
26470         $(config-cflags-nofma).
26472 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
26474         * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
26475         * math/auto-libm-test-out: Regenerated.
26477         [BZ #16338]
26478         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
26479         to determine exponent and adjust argument to have exponent of -1.
26480         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
26481         log2.
26482         * math/auto-libm-test-out: Regenerated.
26483         * sysdeps/i386/fpu/libm-test-ulps: Update.
26484         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26486 2013-12-18  Ondřej Bílka  <neleai@seznam.cz>
26488         * manual/probes.texi: Remove cases when per-thread arenas are
26489         disabled.
26491 2013-12-18  Andreas Schwab  <schwab@suse.de>
26493         * sysdeps/i386/i686/multiarch/strstr.c: Remove.
26494         * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
26495         * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
26496         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
26497         * sysdeps/i386/i686/multiarch/Makefile: Update.
26498         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
26500 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
26502         * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
26503         * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
26505 2013-12-17  Paul Eggert  <eggert@cs.ucla.edu>
26507         [BZ #15968]
26508         Support TZ transition times < 00:00:00.
26509         This is needed for version-3 tz-format files; it supports time
26510         stamps past 2037 for America/Godthab (the only entry in the tz
26511         database for which this change is relevant).
26512         * manual/time.texi (TZ Variable): Document transition times
26513         from -167:59:59 through -00:00:01.
26514         * time/tzset.c (tz_rule): Time of day is now signed.
26515         (__tzset_parse_tz): Parse negative time of day.
26517         Document TZ transition times >= 25:00:00.
26518         * manual/time.texi (TZ Variable): Document transition times from
26519         25:00:00 through 167:59:59.  These are already supported, and this
26520         support will help with version-3 tz-format files.
26522         * manual/time.texi (TZ Variable): Modernize North America example
26523         to reflect current (i.e., 2007-and-later) daylight saving rules.
26525         * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
26527 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
26529         * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
26530         * sysdeps/unix/bsd/bits/stat.h: Likewise.
26531         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
26532         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
26533         * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
26534         * sysdeps/unix/bsd/bsdstat.h: Likewise.
26535         * sysdeps/unix/bsd/clock.c: Likewise.
26536         * sysdeps/unix/bsd/i386/vfork.S: Likewise.
26537         * sysdeps/unix/bsd/i386/wait3.S: Likewise.
26538         * sysdeps/unix/bsd/init-posix.c: Likewise.
26539         * sysdeps/unix/bsd/poll.c: Likewise.
26540         * sysdeps/unix/bsd/ptsname.c: Likewise.
26541         * sysdeps/unix/bsd/seekdir.c: Likewise.
26542         * sysdeps/unix/bsd/setegid.c: Likewise.
26543         * sysdeps/unix/bsd/seteuid.c: Likewise.
26544         * sysdeps/unix/bsd/setgid.c: Likewise.
26545         * sysdeps/unix/bsd/setrgid.c: Likewise.
26546         * sysdeps/unix/bsd/setruid.c: Likewise.
26547         * sysdeps/unix/bsd/setsid.c: Likewise.
26548         * sysdeps/unix/bsd/setuid.c: Likewise.
26549         * sysdeps/unix/bsd/sigaction.c: Likewise.
26550         * sysdeps/unix/bsd/sigprocmask.c: Likewise.
26551         * sysdeps/unix/bsd/sigsuspend.c: Likewise.
26552         * sysdeps/unix/bsd/sys/reboot.h: Likewise.
26553         * sysdeps/unix/bsd/telldir.c: Likewise.
26554         * sysdeps/unix/bsd/times.c: Likewise.
26555         * sysdeps/unix/bsd/usleep.c: Likewise.
26557         * misc/Makefile (install-lib): Remove libbsd-compat.a.
26558         ($(objpfx)libbsd-compat.a): Remove rule.
26560         * include/features.h (__FAVOR_BSD): Do not define.
26561         * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
26562         features conflicting with POSIX.
26563         (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
26564         (_BSD_SOURCE): Remove description of not being a subset of other
26565         feature test macros.
26566         * manual/job.texi (getpgrp): Do not document BSD version.
26567         (getpgid): Do not document by reference to BSD getpgrp.
26568         * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
26569         * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
26570         * signal/signal.h [__FAVOR_BSD]: Likewise.
26571         * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
26572         instead of making contents conditional on [__FAVOR_BSD].
26573         * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
26575 2013-12-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26577         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26579 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
26581         [BZ #16314]
26582         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
26583         values below 2**-450, not 2**-500.
26584         * math/auto-libm-test-in: Don't allow spurious underflow from
26585         hypot.
26586         * math/auto-libm-test-out: Regenerated.
26588         [BZ #16316]
26589         [BZ #16330]
26590         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
26591         values of ha and hb and sort them after adjusting subnormal
26592         arguments.
26593         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
26594         Likewise.
26595         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
26596         values of ea and eb and sort them after adjusting subnormal
26597         arguments.
26598         * math/auto-libm-test-in: Do not expect some hypot tests of
26599         subnormals to fail.  Add more hypot tests.
26600         * math/auto-libm-test-out: Regenerated.
26602 2013-12-16  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
26604         [BZ #13304]
26605         * sysdeps/sh/s_fma.c: New file.
26606         * sysdeps/sh/s_fmaf.c: New file.
26607         * sysdeps/sh/soft-fp/sfp-machine.h: New file.  Based on arm
26608         version.
26609         * sysdeps/sh/Implies: Add sh/soft-fp.
26611 2013-12-16  Roland McGrath  <roland@hack.frob.com>
26613         * elf/dl-error.c (struct catch): Add new member `errcode'.  Add a
26614         level of indirection to members `objname', `errstring', `malloced'.
26615         (_dl_signal_error): Store through pointers in *LCATCH rather modifying
26616         *LCATCH itself.  Set *LCATCH->errcode to ERRCODE rather than passing
26617         it as the __longjmp argument (just pass 1 instead).
26618         (_dl_catch_error): Initialize C with argument pointers and address of
26619         volatile local ERRCODE rather than copying values out of C at return.
26621 2013-12-16  Joseph Myers  <joseph@codesourcery.com>
26623         * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
26624         * math/auto-libm-test-out: Regenerated.
26625         * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
26626         (hypot_test_data): Likewise.
26627         (pow_test_data): Likewise.
26628         (pow_tonearest_test_data): Likewise.
26629         * math/gen-auto-libm-tests.c (func_calc_method): Add value
26630         mpfr_ff_f.
26631         (func_calc_desc): Add mpfr_ff_f union field.
26632         (FUNC_mpfr_ff_f): New macro.
26633         (test_functions): Add atan2, hypot and pow.
26634         (special_fill_min): New function.
26635         (special_fill_minus_min): Likewise.
26636         (special_fill_min_subnorm): Likewise.
26637         (special_fill_minus_min_subnorm): Likewise.
26638         (special_real_inputs): Add min, -min, min_subnorm and
26639         -min_subnorm.
26640         (calc_generic_results): Handle mpfr_ff_f.
26641         * sysdeps/i386/fpu/libm-test-ulps: Update.
26642         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26644 2013-12-16  Will Newton  <will.newton@linaro.org>
26646         * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
26647         (Aligned Memory Blocks): Add documentation for aligned_alloc
26648         and suggest it as an alternative to posix_memalign.
26649         (Hooks for Malloc): Document __memalign_hook is also called
26650         for aligned_alloc.  (Summary of Malloc): Add summary for
26651         aligned alloc.  Document __memalign_hook is also called
26652         for aligned_alloc.
26654 2013-12-16  Will Newton  <will.newton@linaro.org>
26656         * manual/memory.texi (Malloc Examples): Clarify default
26657         alignment documentation.  Suggest posix_memalign rather
26658         than memalign or valloc.
26659         (Aligned Memory Blocks): Remove suggestion to use memalign
26660         or valloc.  Remove obsolete comment about BSD.
26661         Document memalign errno values and mark the function obsolete.
26662         Document posix_memalign returned error codes.  Mark valloc
26663         as obsolete.  (Hooks for Malloc): __memalign_hook is also
26664         called for posix_memalign and valloc.
26665         (Summary of Malloc): Add posix_memalign to function summary.
26666         __memalign_hook is also called for posix_memalign and valloc.
26668 2013-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
26670         * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
26671         TAYLOR_SIN.
26672         (__sin): Adjust.
26673         (__cos): Likewise.
26674         (sloww): Use mynumber union.  Expand ternary operator into
26675         if-else statements.
26676         (cslow): use mynumber union.
26678 2013-12-16  Allan McRae  <allan@archlinux.org>
26680         * configure.ac: Set AUTOCONF when maintainer-mode is not used.
26681         * configure: Regenerated.
26683         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
26685         [BZ #14120]
26686         * configure.ac: Added --enable-maintainer-mode. Check for
26687         autoconf when enabled.
26688         * configure: Regenerated.
26690         * nscd/nscd.service: New file.
26691         * nscd/nscd.tmpfiles: New file.
26693 2013-12-14  Ondřej Bílka  <neleai@seznam.cz>
26695         [BZ #12100]
26696         * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
26697         * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
26698         * sysdeps/x86_64/multiarch/strstr.c: ... here.
26699         (strstr): Add __strstr_sse2_unaligned ifunc.
26700         * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
26701         * sysdeps/x86_64/multiarch/strcasestr.c ... here.
26702         (strcasestr): Remove __strcasestr_sse42 ifunc.
26703         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
26704         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
26705         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
26707 2013-12-14  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
26709         * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
26710         * sysdeps/sh/bits/fenv.h: ... here.
26711         * sysdeps/sh/sh4/fpu/bits: Remove directory.
26713 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26715         * NEWS: Mention ppc64 STT_GNU_IFUNC support.
26717         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
26718         hypotf multiarch implementations.
26719         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
26720         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
26721         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
26722         multiarch hypot for PPC64.
26723         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
26724         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
26725         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
26726         multiarch hypotf for PPC64.
26728         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
26729         modff multiarch implementations.
26730         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
26731         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
26732         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
26733         multiarch modf for PPC64.
26734         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
26735         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
26736         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
26737         multiarch modff for PPC64.
26739         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
26740         and logl multiarch implementations.
26741         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
26742         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
26743         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
26744         multiarch logb for PPC64.
26745         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
26746         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
26747         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
26748         multiarch logb for PPC64.
26749         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
26750         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
26751         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
26752         multiarch logb for PPC64.
26754         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
26755         isinff multiarch implementation.
26756         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
26757         file.
26758         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
26759         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
26760         multiarch isinf for PPC64.
26761         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
26762         file.
26763         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
26764         multiarch isinff for PPC64.
26766         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
26767         finitef multiarch implementation.
26768         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
26769         file.
26770         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
26771         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
26772         multiarch finite for PPC64.
26773         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
26774         file.
26775         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
26776         multiarch finitef for PPC64.
26778         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
26779         lrint multiarch implementation.
26780         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
26781         file.
26782         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
26783         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
26784         multiarch llrint for PPC64.
26785         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
26786         multiarch lrint for PPC64.
26788         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
26789         copysignf multiarch implementation.
26790         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
26791         file.
26792         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
26793         file.
26794         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
26795         multiarch copysign for PPC64.
26796         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
26797         multiarch copysignf for PPC64.
26799         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
26800         multiarch implementation.
26801         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
26802         file.
26803         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
26804         file.
26805         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
26806         file.
26807         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
26808         file.
26809         multiarch llround for PPC64.
26810         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
26811         multiarch trunc for PPC64.
26812         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
26813         multiarch truncf for PPC64.
26815         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
26816         multiarch implementation.
26817         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
26818         file.
26819         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
26820         file.
26821         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
26822         file.
26823         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
26824         file.
26825         multiarch llround for PPC64.
26826         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
26827         multiarch round for PPC64.
26828         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
26829         multiarch roundf for PPC64.
26831         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
26832         multiarch implementation.
26833         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
26834         file.
26835         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
26836         file.
26837         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
26838         file.
26839         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
26840         file.
26841         multiarch llround for PPC64.
26842         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
26843         multiarch floor for PPC64.
26844         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
26845         multiarch floorf for PPC64.
26847         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
26848         multiarch implementation.
26849         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
26850         file.
26851         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
26852         file.
26853         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
26854         file.
26855         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
26856         file.
26857         multiarch llround for PPC64.
26858         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
26859         multiarch ceil for PPC64.
26860         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
26861         multiarch ceilf for PPC64.
26863         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
26864         multiarch implementation.
26865         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
26866         file.
26867         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
26868         file.
26869         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
26870         file.
26871         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
26872         multiarch llround for PPC64.
26873         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
26874         multiarch lround for PPC64.
26876         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
26877         multiarch implementation.
26878         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
26879         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
26880         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
26881         file.
26882         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
26883         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
26884         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
26885         multiarch isnan for PPC64.
26886         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
26887         multiarch isnanf for PPC64.
26889         * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
26890         * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
26891         * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
26892         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
26893         * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
26894         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
26896         * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
26897         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
26898         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
26899         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
26901         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
26902         multiarch implementations.
26903         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
26904         (__libc_ifunc_impl_list): Likewise.
26905         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
26906         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
26907         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
26908         multiarch stpcpy for PPC64.
26910         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
26911         multiarch implementations.
26912         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
26913         (__libc_ifunc_impl_list): Likewise.
26914         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
26915         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
26916         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
26917         multiarch strcpy for PPC64.
26919         * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
26920         redefine function name.
26921         (_wordcopy_fwd_dest_aligned): Likewise.
26922         (_wordcopy_bwd_aligned): Likewise.
26923         (_wordcopy_bwd_dest_aligned): Likewise.
26924         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
26925         multiarch implementations.
26926         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
26927         (__libc_ifunc_impl_list): Likewise.
26928         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
26929         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
26930         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
26931         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
26932         multiarch wcscpy for PPC64.
26934         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
26935         multiarch implementations.
26936         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
26937         (__libc_ifunc_impl_list): Likewise.
26938         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
26939         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
26940         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
26941         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
26942         multiarch wcscpy for PPC64.
26944         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
26945         multiarch implementations.
26946         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
26947         (__libc_ifunc_impl_list): Likewise.
26948         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
26949         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
26950         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
26951         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
26952         multiarch wcsrchr for PPC64.
26954         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
26955         multiarch implementations.
26956         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
26957         (__libc_ifunc_impl_list): Likewise.
26958         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
26959         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
26960         * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
26961         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
26962         multiarch wcschr for PPC64.
26964         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
26965         multiarch implementations.
26966         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
26967         (__libc_ifunc_impl_list): Likewise.
26968         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
26969         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
26970         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
26971         multiarch strchrnul for PPC64.
26973         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
26974         implementations.
26975         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
26976         (__libc_ifunc_impl_list): Likewise.
26977         * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
26978         * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
26979         * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
26980         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
26981         strchr for PPC64.
26983         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
26984         implementations.
26985         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
26986         (__libc_ifunc_impl_list): Likewise.
26987         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
26988         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
26989         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
26990         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
26991         strncmp for PPC64.
26993         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
26994         multiarch implementations.
26995         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
26996         (__libc_ifunc_impl_list): Likewise.
26997         * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
26998         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
26999         strncasecmp for PPC64.
27000         * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
27001         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
27002         multiarch strncasecmp_l for PPC64.
27004         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
27005         multiarch implementations.
27006         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
27007         (__libc_ifunc_impl_list): Likewise.
27008         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
27009         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
27010         multiarch strcasecmp for PPC64.
27011         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
27012         file.
27013         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
27014         multiarch strcasecmp_l for PPC64.
27016         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
27017         implementations.
27018         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
27019         (__libc_ifunc_impl_list): Likewise.
27020         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
27021         * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
27022         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
27023         strnlen for PPC64.
27025         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
27026         implementations.
27027         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
27028         (__libc_ifunc_impl_list): Likewise.
27029         * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
27030         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
27031         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
27032         strlen for PPC64.
27034         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
27035         implementations.
27036         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
27037         (__libc_ifunc_impl_list): Likewise.
27038         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
27039         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
27040         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
27041         rawmemrchr for PPC64.
27043         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
27044         implementation.
27045         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
27046         (__libc_ifunc_impl_list): Likewise.
27047         * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
27048         * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
27049         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
27050         memrchr for PPC64.
27052         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
27053         implementation.
27054         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
27055         (__libc_ifunc_impl_list): Likewise.
27056         * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
27057         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
27058         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
27059         memchr for PPC64.
27061         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
27062         implementation.
27063         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
27064         (__libc_ifunc_impl_list): Likewise.
27065         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
27066         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
27067         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
27068         mempcpy for PPC64.
27070         * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
27071         avoid cretion of __bzero symbol.
27072         * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
27073         Likewise.
27074         * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
27075         Likewise.
27076         * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
27077         Likewise.
27078         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
27079         multiarch implementations.
27080         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
27081         (__libc_ifunc_impl_list): Likewise.
27082         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
27083         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
27084         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
27085         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
27086         bzero for PPC32.
27087         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
27088         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
27089         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
27090         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
27091         * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
27092         memset for PPC64.
27093         * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
27095         * string/memcmp.c (memcmp): Using macro to redefine symbol name.
27096         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
27097         implementations.
27098         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
27099         (__libc_ifunc_impl_list): Likewise.
27100         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
27101         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
27102         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
27103         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
27104         memcmp for PPC64.
27106         * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
27107         multiarch for POWER/PPC64.
27108         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
27109         * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
27110         * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
27111         * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
27112         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
27113         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
27114         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
27115         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
27116         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
27117         memcpy for PPC64.
27119         * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
27120         * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
27121         * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
27122         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
27123         * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
27124         * sysdeps/powerpc/powerpc64/power5/Implies: New File.
27125         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
27126         * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
27127         * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
27128         * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
27129         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
27130         * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
27131         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
27132         * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
27133         * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
27134         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
27135         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
27136         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
27137         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
27138         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
27139         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
27140         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
27142 2013-12-12  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
27144         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
27146 2013-12-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
27148         * benchtests/Makefile (bench): Add exp2 and log2.
27149         (LDLIBS-bench-exp2): Add -lm.
27150         (LDLIBS-bench-log2): Likewise.
27151         * benchtests/exp2-inputs: New inputs file.
27152         * benchtests/log2-inputs: New inputs file.
27153         * benchtests/log-inputs: Add new inputs.
27154         * benchtests/tan-inputs: Likewise.
27156 2013-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
27158         * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
27159         definition...
27160         (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
27161         (csloww2): ... from here.
27163         * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
27164         instead of structures.
27165         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
27166         (POLYNOMIAL): Likewise.
27167         (TAYLOR_SLOW): Likewise.
27168         (__sin): Likewise.
27169         (__cos): Likewise.
27170         (slow1): Likewise.
27171         (slow2): Likewise.
27172         (sloww): Likewise.
27173         (sloww1); Likewise.
27174         (sloww2): Likewise.
27175         (bsloww1): Likewise.
27176         (bsloww2): Likewise.
27177         (cslow2): Likewise.
27178         (csloww): Likewise.
27179         (csloww1): Likewise.
27180         (csloww2): Likewise.
27182 2013-12-10  Ondřej Bílka  <neleai@seznam.cz>
27184         * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
27185         (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
27186         Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
27187         * malloc/hooks.c (realloc_check): Likewise.
27189         * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
27190         * malloc/arena.c: Remove PER_THREAD conditional.
27191         [!PER_THREAD]: Remove code.
27192         (ptmalloc_unlock_all2): Likewise.
27193         (ptmalloc_init): Likewise.
27194         (_int_new_arena): Likewise.
27195         (arena_get2): Likewise.
27196         * malloc/hooks.c (__malloc_get_state): Likewise.
27197         (__malloc_set_state): Likewise.
27198         * malloc/malloc.c: Likewise.
27199         (struct malloc_state): Likewise.
27200         (struct malloc_par): Likewise.
27201         (__libc_realloc): Likewise.
27202         (__libc_mallopt): Likewise.
27204 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27206         * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
27208 2013-12-09  Ondřej Bílka  <neleai@seznam.cz>
27210         * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
27211         macro to a function.  Check for zero perturb_byte.
27212         (_int_malloc, _int_free): Remove zero perturb_byte checks.
27214         * malloc/malloc.c: (force_reg): Remove.
27215         (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
27216         (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
27217         force_reg by atomic_forced_read.
27218         * malloc/arena.c (ptmalloc_init): Likewise.
27219         * malloc/hooks.c (top_check): Likewise.
27221 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27223         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27225 2013-12-09  Markus Trippelsdorf  <markus@trippelsdorf.de>
27227         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
27229 2013-12-08  Joseph Myers  <joseph@codesourcery.com>
27231         * math/auto-libm-test-in: Add tests of lgamma.
27232         * math/auto-libm-test-out: Regenerated.
27233         * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
27234         (M_LOG_2_SQRT_PIl): Likewise.
27235         (lgamma_test_data): Use AUTO_TESTS_f_f1.
27236         * math/gen-auto-libm-tests.c (func_calc_method): Add value
27237         mpfr_f_f1.
27238         (func_calc_desc): Add mpfr_f_f1 union field.
27239         (ARGS1): New macro.
27240         (ARGS2): Likewise.
27241         (ARGS3): Likewise.
27242         (ARGS4): Likewise.
27243         (RET1): Likewise.
27244         (RET2): Likewise.
27245         (CALC): Likewise.
27246         (FUNC): Likewise.
27247         (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
27248         (test_functions): Add lgamma.
27249         (calc_generic_results): Handle mpfr_f_f1.
27250         * sysdeps/i386/fpu/libm-test-ulps: Update.
27251         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27253 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27255         * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
27256         __mpn_add_n for PowerPC64/POWER7.
27257         * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
27258         __mpn_sub_n for PowerPC64/POWER7.
27260         * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
27261         __mpn_addmul_1 for PowerPC64.
27262         * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
27263         __mpn_submul_1 for PowerPC64.
27264         * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
27265         for PowerPC64.
27266         * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
27267         for PowerPC64.
27269 2013-12-06  Fernando J. V. da Silva  <fernandojvdasilva@gmail.com>
27271         [BZ #15089]
27272         * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
27274 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27276         * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
27278         * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
27279         add multiarch folders.
27280         * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
27281         * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
27282         * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
27283         * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
27284         * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
27285         * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
27286         * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
27287         * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
27288         * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
27289         * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
27290         * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
27291         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
27292         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
27293         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
27294         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
27295         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
27296         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
27298         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
27299         __ieee754_hypot and __ieee754_hypotf multiarch implementations.
27300         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
27301         New file.
27302         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
27303         New file.
27304         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
27305         multiarch __ieee754_hypot for PowerPC32.
27306         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
27307         New file.
27308         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
27309         New file.
27310         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
27311         multiarch __ieee754_hypotf for PowerPC32.
27313         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
27314         long_double_symbol only if __logbl is defined.
27315         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
27316         * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
27317         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
27318         * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
27319         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
27320         * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
27321         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
27322         path for implementation.
27323         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
27324         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
27325         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
27326         logb, and logbl multiarch implementations for PowerPC32.
27327         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
27328         file.
27329         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
27330         file.
27331         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
27332         multiarch logb for PowerPC32.
27333         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
27334         file.
27335         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
27336         file.
27337         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
27338         multiarch logbf for PowerPC32.
27339         * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
27340         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
27341         file.
27342         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
27343         multiarch logbl implementation for PowerPC32.
27345         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
27346         and modff multiarch implementations.
27347         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
27348         New file.
27349         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
27350         New file.
27351         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
27352         multiarch modf for PowerPC32.
27353         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
27354         New file.
27355         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
27356         New file.
27357         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
27358         multiarch modff for PowerPC32.
27360         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
27361         and lrintf multiarch implementations.
27362         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
27363         New file.
27364         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
27365         New file.
27366         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
27367         multiarch lrint for PowerPC32.
27368         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
27369         file: multiarch lrintf for PowerPC32.
27371         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
27372         and lroundf multiarch implementations.
27373         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
27374         New file.
27375         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
27376         New file.
27377         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
27378         New file.
27379         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
27380         multiarch lround for PowerPC32.
27381         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
27382         file: multiarch lroundf for PowerPC32.
27384         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
27385         copysign and copysignf multiarch implementations.
27386         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
27387         New file.
27388         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
27389         New file.
27390         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
27391         file: multiarch copysign for PowerPC32.
27392         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
27393         file: multiarch copysignf for PowerPC32.
27395         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
27396         and truncf multiarch implementations.
27397         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
27398         New file.
27399         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
27400         file.
27401         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
27402         multiarch trunc for PowerPC32.
27403         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
27404         New file.
27405         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
27406         New file.
27407         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
27408         multiarch truncf for PowerPC32.
27410         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
27411         and roundf multiarch implementations.
27412         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
27413         New file.
27414         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
27415         file.
27416         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
27417         multiarch round for PowerPC32.
27418         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
27419         New file.
27420         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
27421         New file.
27422         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
27423         multiarch roundf for PowerPC32.
27425         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
27426         and floorf multiarch implementations.
27427         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
27428         New file.
27429         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
27430         file.
27431         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
27432         multiarch floor for PowerPC32.
27433         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
27434         New file.
27435         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
27436         New file.
27437         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
27438         multiarch floorf for PowerPC32.
27440         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
27441         and ceilf multiarch implementations.
27442         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
27443         New file.
27444         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
27445         file.
27446         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
27447         multiarch ceil for PowerPC32.
27448         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
27449         New file.
27450         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
27451         file.
27452         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
27453         multiarch ceilf for PowerPC32.
27455         * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
27456         is defined.
27457         * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
27458         FINITEF is defined.
27459         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
27460         and finitef multiarch implementations.
27461         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
27462         New file.
27463         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
27464         file.
27465         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
27466         multiarch finite for PowerPC32.
27467         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
27468         New file.
27469         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
27470         file: multiarch finitef for PowerPC32.
27472         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
27473         and isinff multiarch implementations.
27474         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
27475         file.
27476         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
27477         file.
27478         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
27479         multiarch isinf for PowerPC32.
27480         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
27481         New file.
27482         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
27483         multiarch isinff for PowerPC32.
27485         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
27486         alias when __isnan is defined.
27487         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
27488         and isnanf multiarch implementations.
27489         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
27490         file.
27491         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
27492         file.
27493         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
27494         file.
27495         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
27496         file.
27497         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
27498         multiarch isnan for PowerPC32.
27499         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
27500         New file.
27501         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
27502         New file.
27503         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
27504         multiarch isnanf for PowerPC32.
27506         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
27507         and sqrtf multiarch implementations.
27508         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
27509         file.
27510         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
27511         file.
27512         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
27513         multiarch sqrt for PowerPC32.
27514         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
27515         file.
27516         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
27517         file.
27518         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
27519         multiarch sqrtf for PowerPC32.
27521         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
27522         and llroundf multiarch implementations.
27523         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
27524         New file.
27525         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
27526         New file.
27527         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
27528         New file.
27529         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
27530         file: multiarch llround for PowerPC32.
27531         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
27532         file: multiarch llroundf for PowerPC32.
27534         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
27535         multiarch PowerPC32 fpu implementations.
27536         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
27537         New file.
27538         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
27539         New file.
27540         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
27541         multiarch llrint for PowerPC32.
27542         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
27543         New file.
27544         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
27545         New file.
27546         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
27547         file.
27549         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
27551         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
27552         file.
27553         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
27554         file.
27555         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
27556         file.
27557         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
27558         multiarch wordcopy for PPC32.
27559         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
27560         wordcopy objects.
27561         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
27562         (__libc_ifunc_impl_list): Likewise.
27563         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
27564         * sysdeps/powerpc/power4/wordcopy.c: ... to here.
27565         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
27566         * sysdeps/powerpc/power6/wordcopy.c: ... to here.
27567         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
27568         * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
27570         * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
27571         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
27572         file.
27573         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
27574         file.
27575         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
27576         file.
27577         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
27578         multiarch wcscpy for PPC32.
27579         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
27580         multiarch objects.
27581         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
27582         (__libc_ifunc_impl_list): Likewise.
27583         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
27584         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
27585         * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
27586         sysdeps/powerpc/power6/wcscpy.c.
27588         * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
27589         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
27590         file.
27591         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
27592         file.
27593         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
27594         file.
27595         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
27596         multiarch wcsrchr for PPC32.
27597         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
27598         multiarch objects.
27599         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
27600         (__libc_ifunc_impl_list): Likewise.
27601         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
27602         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
27603         * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
27604         sysdeps/powerpc/power6/wcsrchr.c.
27606         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
27607         file.
27608         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
27609         file.
27610         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
27611         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
27612         multiarch wcschr for PPc32.
27613         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
27614         multiarch objects.
27615         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
27616         (__libc_ifunc_impl_list): Likewise.
27617         * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
27618         * sysdeps/powerpc/power6/wcschr.c: ... to here.
27619         * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
27620         sysdeps/powerpc/power6/wcschr.c.
27622         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
27623         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
27624         file.
27625         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
27626         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
27627         file: multiarch strchr for PPC32.
27628         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
27629         multiarch objects.
27630         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
27631         (__libc_ifunc_impl_list): Likewise.
27633         * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
27634         name.
27635         * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
27636         file.
27637         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
27638         file.
27639         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
27640         multiarch strchrnul for PPC32.
27641         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
27642         multiarch objects.
27643         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
27644         (__libc_ifunc_impl_list): Likewise.
27646         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
27647         file.
27648         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
27649         multiarch strncasecmp for PPC32.
27650         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
27651         file.
27652         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
27653         multiarch strncasecmp_l for PPC32.
27654         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
27655         strncasecmp multiarch objects.
27656         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
27657         (__libc_ifunc_impl_list): Likewise.
27659         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
27660         file.
27661         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
27662         multiarch strncasecmp for PPC32.
27663         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
27664         New file.
27665         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
27666         multiarch strcasecmp_l for PPC32.
27667         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
27668         multiarch objects.
27669         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
27670         (__libc_ifunc_impl_list): Likewise.
27672         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
27673         file.
27674         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
27675         file.
27676         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
27677         multiarch strncmp for PPC32.
27678         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
27679         multiarch objects.
27680         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
27681         (__libc_ifunc_impl_list): Likewise.
27683         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
27684         * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
27685         file.
27686         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
27687         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
27688         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
27689         multiarch objects.
27690         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
27691         (__libc_ifunc_impl_list): Likewise.
27693         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
27694         file.
27695         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
27696         file.
27697         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
27698         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
27699         multiarch objects.
27700         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
27701         (__libc_ifunc_impl_list): Likewise.
27703         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
27704         file.
27705         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
27706         file.
27707         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
27708         multiarch rawmemchr for PPC32.
27709         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
27710         multiarch objects.
27711         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
27712         (__libc_ifunc_impl_list): Likewise.
27714         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
27715         file.
27716         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
27717         file.
27718         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
27719         file: memrchr multiarch for PPC32.
27720         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
27721         multiarch objects.
27722         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
27723         (__libc_ifunc_impl_list): Likewise.
27725         * string/memchr.c (__memchr): Using macro to redefine symbol name.
27726         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
27727         file.
27728         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
27729         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
27730         multiarch memchr for PPC32.
27731         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
27732         multiarch objects.
27733         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
27734         (__libc_ifunc_impl_list): Likewise.
27736         * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
27737         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
27738         file.
27739         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
27740         file.
27741         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
27742         file: multiarch mempcpy for PPC32.
27743         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
27744         multiarch objects.
27745         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
27746         (__libc_ifunc_impl_list): Likewise.
27748         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
27749         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
27750         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
27751         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
27752         multiarch bzero for PPC32.
27753         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
27754         file.
27755         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
27756         file.
27757         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
27758         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
27759         file: multiarch memset for PPC32.
27760         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
27761         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
27762         memset multiarch objects.
27763         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
27764         (__libc_ifunc_impl_list): Likewise.
27766         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
27767         file.
27768         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
27769         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
27770         memcmp for PPC32.
27771         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
27772         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
27773         multiarch objects.
27774         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
27775         (__libc_ifunc_impl_list): Likewise.
27777         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
27778         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
27779         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
27780         file.
27781         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
27782         file.
27783         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
27784         file.
27785         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
27786         multiarch memcpy for PPC32.
27787         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
27788         multiarch objects.
27789         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
27790         (__libc_ifunc_impl_list): Likewise.
27792         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
27793         support multiarch for POWER/PPC32.
27794         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
27795         Likewise.
27796         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
27797         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
27798         Implies file to make multiarch folder appers before the fpu and
27799         default folder for power4 configuration.
27801 2013-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
27803         * scripts/bench.pl: Append volatile keyword to type.
27805 2013-12-05  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
27807         * sysdeps/sh/sotruss-lib.c: New file.
27808         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
27810 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27812         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27814 2013-12-05  Joseph Myers  <joseph@codesourcery.com>
27816         [BZ #6810]
27817         * math/w_tgamma.c: Include <errno.h>.
27818         (__tgamma): Use __glibc_unlikely.  Set errno on underflow to 0.
27819         * math/w_tgammaf.c: Include <errno.h>.
27820         (__tgammaf): Use __glibc_unlikely.  Set errno on underflow to 0.
27821         * math/w_tgammal.c: Include <errno.h>.
27822         (__tgammal): Use __glibc_unlikely.  Set errno on underflow to 0.
27823         * math/auto-libm-test-in: Do not allow missing errno on tgamma
27824         underflow.  Add more tgamma tests.
27825         * math/auto-libm-test-out: Regenerated.
27826         * sysdeps/i386/fpu/libm-test-ulps: Update.
27827         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27829         * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
27830         sin, sinh, tan, tanh, tgamma, y0 and y1.
27831         * math/auto-libm-test-out: Regenerated.
27832         * math/libm-test.inc (TEST_COND_x86_64): New macro.
27833         (TEST_COND_x86): Likewise.
27834         (M_E2l): Remove macro.
27835         (M_E3l): Likewise.
27836         (M_2_SQRT_PIl): Likewise.
27837         (M_SQRT_PIl): Likewise.
27838         (M_1_DIV_El): Likewise.
27839         (log_test_data): Use AUTO_TESTS_f_f.
27840         (log10_test_data): Likewise.
27841         (log1p_test_data): Likewise.
27842         (log2_test_data): Likewise.
27843         (sin_test_data): Likewise.
27844         (sin_tonearest_test_data): Likewise.
27845         (sin_towardzero_test_data): Likewise.
27846         (sin_downward_test_data): Likewise.
27847         (sin_upward_test_data): Likewise.
27848         (sinh_test_data): Likewise.
27849         (sinh_tonearest_test_data): Likewise.
27850         (sinh_towardzero_test_data): Likewise.
27851         (sinh_downward_test_data): Likewise.
27852         (sinh_upward_test_data): Likewise.
27853         (tan_test_data): Likewise.
27854         (tan_tonearest_test_data): Likewise.
27855         (tan_towardzero_test_data): Likewise.
27856         (tan_downward_test_data): Likewise.
27857         (tan_upward_test_data): Likewise.
27858         (tanh_test_data): Likewise.
27859         (tgamma_test_data): Likewise.
27860         (y0_test_data): Likewise.
27861         (y1_test_data): Likewise.
27862         * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
27863         (special_real_inputs): Add pi/4.
27864         * sysdeps/i386/fpu/libm-test-ulps: Update.
27865         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27867 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27869         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
27870         "longjmp_target" static probes.
27871         (__longjmp): Rename to __longjmp_symbol.
27872         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
27873         * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
27874         on which longjmp to generate.
27875         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
27876         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
27877         probe.
27878         (__sigsetjmp): Rename to __sigsetjmp_symbol.
27879         (__sigjmp_save): Rename to __sigjmp_save_symbol.
27880         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
27881         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
27882         and __sigjmp_save_symbol based on which sigsetjmp to generated.
27883         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
27884         * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
27885         __longjmp_symbol based on which __longjmp to generate.
27886         * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
27887         probe.
27888         (setjmp): Rename to setjmp_symbol.
27889         (__sigsetjmp): Rename to __sigsetjmp_symbol.
27890         (_setjmp): Rename to _setjmp_symbol.
27891         (__sigsetjmp): Rename to __sigsetjmp_symbol.
27892         * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
27893         _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
27894         which setjmp to generate.
27895         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
27896         "longjmp_target" static probes.
27898 2013-12-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
27900         * benchtests/README: Add note about output arguments.
27901         * benchtests/bench-sincos.c: Remove file.
27902         * benchtests/sincos-inputs: New file.
27903         * scripts/bench.pl: Identify output arguments and define
27904         static variables for them.
27906         * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
27908         [BZ #15941]
27909         * Makefile (INSTALL): Add install-plain.texi as the primary
27910         dependency.
27911         * manual/install-plain.texi: New file.
27912         * manual/install.texi: Include node directive only for
27913         non-plaintext output.
27915 2013-12-04  Joseph Myers  <joseph@codesourcery.com>
27917         * stdlib/longlong.h: Update from GCC.
27919         [BZ #6807]
27920         [BZ #15901]
27921         * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
27922         * math/w_j0f.c (y0f): Likewise.
27923         * math/w_j0l.c (__y0l): Likewise.
27924         * math/w_j1.c (y1): Likewise.
27925         * math/w_j1f.c (y1f): Likewise.
27926         * math/w_j1l.c (__y1l): Likewise
27927         * math/w_jn.c (yn): Likewise.
27928         * math/w_jnf.c (ynf): Likewise.
27929         * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
27930         Bessel function pole errors in _POSIX_ mode.  Use NAN as return
27931         value for Bessel function domain errors outside _SVID_ mode.
27932         Adjust sign of return value for yn (negative integer, 0).
27933         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
27934         by zero in return for negative x and set sign appropriately for
27935         negative n.
27936         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
27937         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
27938         * math/libm-test.inc (y0_test_data): Add more tests and adjust
27939         expectations in error cases.
27940         (y1_test_data): Likewise.
27941         (yn_test_data): Likewise.
27942         * sysdeps/i386/fpu/libm-test-ulps: Update.
27943         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27945 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
27947         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
27948         "64" to "64-v1".  Add "64-v2".
27949         (abi-64-options): Rename to ...
27950         (abi-64-v1-options): ... this.   Redefine _CALL_ELF.
27951         (abi-64-condition): Rename to ...
27952         (abi-64-v1-condition): ... this.  Add _CALL_ELF check.,
27953         (abi-64-ld-soname): Rename to ...
27954         (abi-64-v1-ld-soname): ... this.
27955         (abi-64-v2-options): Define.
27956         (abi-64-v2-condition): Likewise.
27957         (abi-64-v2-ld-soname): Likewise.
27958         * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
27959         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
27960         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
27961         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
27962         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
27964 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
27965             Alan Modra  <amodra@gmail.com>
27967         * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
27968         New versions for use with the ELFv2 ABI.
27969         (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
27970         * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
27971         declaration.
27972         (struct La_ppc64v2_retval): Likewise.
27973         (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
27974         (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
27975         * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
27976         to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
27977         (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
27978         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
27979         Do not save or restore CR.
27980         (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
27981         (_dl_profile_resolve): Do no save or restore CR.  Support extended
27982         return values for ELFv2 ABI.  Fix location of FPR return registers.
27983         * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
27984         updated values for _CALL_ELF == 2.
27985         (La_regs, La_retval, int_retval): Likewise.
27987 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
27989         * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
27990         (FRAME_MIN_SIZE_PARM): Likewise.
27991         (FRAME_BACKCHAIN): Likewise.
27992         (FRAME_CR_SAVE): Likewise.
27993         (FRAME_LR_SAVE): Likewise.
27994         (FRAME_TOC_SAVE): Likewise.
27995         (FRAME_PARM_SAVE): Likewise.
27996         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
27997         FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
27998         FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
27999         (call_mcount_parm_offset): New macro.
28000         (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
28001         (PROF): Use symbolic stack frame offsets.
28002         (TAIL_CALL_SYSCALL_ERROR): Likewise.
28003         * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
28004         Redefine in terms of FRAME_MIN_SIZE.
28005         (_dl_runtime_resolve): Use symbolic stack frame offsets.
28006         (_dl_profile_resolve): Likewise.  Update comment.
28007         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
28008         symbols stack frame offsets.
28009         (__sigsetjmp): Likewise.
28010         * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
28011         * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
28012         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
28013         * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
28015         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
28016         (FRAME_BACKCHAIN): Remove.
28017         (FRAME_CR_SAVE): Likewise.
28018         (FRAME_LR_SAVE): Likewise.
28019         (FRAME_COMPILER_DW): Likewise.
28020         (FRAME_LINKER_DW): Likewise.
28021         (FRAME_TOC_SAVE): Likewise.
28022         (FRAME_PARM_SAVE): Likewise.
28023         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
28024         (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
28025         (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
28026         * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
28027         (CHECK_SP): Use symbolic stack frame offsets.
28028         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
28029         zone" instead of caller's parameter save area for temp storage.
28030         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
28031         Likewise.  Also, use symbolic stack frame offsets.
28032         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
28033         stackblock): Redefine for _CALL_ELF == 2 to save parameters into
28034         our own stack frame instead of the caller's.
28035         (__socket): Use symbolic stack frame offsets.
28037 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
28038             Alan Modra  <amodra@gmail.com>
28040         * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
28041         Define.
28042         (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
28043         (PPC64_LOCAL_ENTRY_OFFSET): Define.
28044         * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
28045         New function.
28046         (elf_machine_fixup_plt): Call it.
28047         (elf_machine_plt_conflict): Likewise.  Add map, sym_map, and
28048         reloc arguments.
28049         (elf_machine_rela): Update call to elf_machine_plt_conflict.
28050         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
28051         (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
28052         r2 before calling target.
28054 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
28055             Alan Modra  <amodra@gmail.com>
28057         * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
28058         (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
28059         versions of macros to support ELFv2 ABI.
28060         (LOCALENTRY): New macro.
28061         (ENTRY, EALIGN): Use it.
28062         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
28063         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
28064         fall through into ENTRY entry point.
28065         * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
28066         Only define if _CALL_ELF != 2.
28068         (elf_machine_matches_host): Verify ABI version matches.
28069         (RTLD_START): Use LOCALENTRY.
28070         (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
28071         (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
28072         (PLT_ENTRY_WORDS): New macro.
28073         (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
28074         (elf_machine_runtime_setup): Support ELFv2 ABI.
28075         (elf_machine_fixup_plt): Likewise.
28076         (elf_machine_plt_conflict): Likewise.
28077         (resolve_ifunc): Likewise.
28078         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
28079         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
28080         Likewise.
28081         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
28082         (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
28083         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
28084         (makecontext): Support ELFv2 ABI.
28085         * elf/elf.h (EF_PPC64_ABI): Define.
28087 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
28089         * sysdeps/powerpc/powerpc64/sysdep.h
28090         (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
28091         (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
28092         (ENTRY) [ASSEMBLER]: ... but instead here ...
28093         (EALIGN) [ASSEMBLER]: ... and here.
28094         (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
28095         (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
28096         (ENTRY_2) [!ASSEMBLER]: Use it.
28097         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
28098         ENTRY_2 changes.  Use PPC64_LOAD_FUNCPTR.
28099         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
28100         (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
28101         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
28102         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
28103         Use PPC64_LOAD_FUNCPTR.
28105         * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
28107 2013-12-04  Alan Modra  <amodra@gmail.com>
28109         * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
28110         (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
28111         (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
28112         (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
28114         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
28115         overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
28116         R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
28117         Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
28118         R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
28119         Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
28121 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
28123         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
28124         (__makecontext): Fix incorrect CFI when backtracing out of
28125         context created via makecontext.
28126         * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
28127         (__setcontext): Fix incorrect CFI during switch to new context.
28128         (__novec_setcontext): Likewise.
28130 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
28132         [BZ #4772]
28133         * time/strptime_l.c (__strptime_internal): Allow modifiers
28134         in strptime.
28135         * time/tst-strptime.c (day_tests): Add testcase.
28137 2013-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
28139         * scripts/bench.pl: Skip over blank lines.
28141 2013-12-04  Paul Eggert  <eggert@cs.ucla.edu>
28143         [BZ #926]
28144         * manual/time.texi (Calendar Time): Clarify what timezone functions
28145         use.
28147 2013-12-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28149         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28151 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
28153         * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
28154         implementation.
28155         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
28156         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
28157         * debug/memset_chk.c (__memset_chk): Likewise.
28158         * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
28159         * debug/strncpy_chk.c: Likewise.
28161 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
28163         [BZ #15268]
28164         [BZ #15425]
28165         * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
28166         (__ieee754_exp): For possibly underflowing results, check size of
28167         result and force underflow exception if required.
28168         * math/auto-libm-test-in: Add more tests of exp.
28169         * math/auto-libm-test-out: Regenerated.
28170         * sysdeps/i386/fpu/libm-test-ulps: Update.
28171         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28173         [BZ #16283]
28174         * math/w_exp2.c (__exp2): Handle a zero result as underflow.
28175         * math/w_exp2f.c (__exp2f): Likewise.
28176         * math/w_exp2l.c (__exp2l): Likewise.
28177         * math/auto-libm-test-in: Do not allow missing errno on exp2
28178         underflow.
28179         * math/auto-libm-test-out: Regenerated.
28181 2013-12-03  Ondřej Bílka  <neleai@seznam.cz>
28183         [BZ #16274]
28184         * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
28185         handle filename validation.
28186         * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
28187         (do_open): Delete.
28189 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
28191         [BZ #6786]
28192         * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
28193         (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
28194         * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
28195         <float.h>.
28196         (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
28197         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
28198         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
28199         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
28200         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
28201         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
28202         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
28203         * math/auto-libm-test-in: Don't allow missing errno from erfc.
28204         Add more erfc tests.
28205         * math/auto-libm-test-out: Regenerated.
28206         * sysdeps/i386/fpu/libm-test-ulps: Update.
28207         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28209         * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
28210         exp2, expm1, j0 and j1.
28211         * math/auto-libm-test-out: Regenerated.
28212         * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
28213         (erfc_test_data): Likewise.
28214         (exp_test_data): Likewise.
28215         (exp_tonearest_test_data): Likewise.
28216         (exp_towardzero_test_data): Likewise.
28217         (exp_downward_test_data): Likewise.
28218         (exp_upward_test_data): Likewise.
28219         (exp10_test_data): Likewise.
28220         (exp2_test_data): Likewise.
28221         (expm1_test_data): Likewise.
28222         (j0_test_data): Likewise.
28223         (j1_test_data): Likewise.
28224         * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
28225         (input_flag_type): Add flag_xfail_rounding.
28226         (input_flags): Add xfail-rounding.
28227         (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
28228         (output_for_one_input_case): Handle flag_xfail_rounding.
28229         * sysdeps/i386/fpu/libm-test-ulps: Update.
28230         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28232 2013-12-03  Aurelien Jarno  <aurelien@aurel32.net>
28234         [BZ #16289]
28235         * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
28236         division by 0.
28238 2013-12-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
28240         [BZ #16195]
28241         * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
28242         (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
28243         (STAP_PROBE0): New macro.
28244         (STAP_PROBE1): Likewise.
28245         (STAP_PROBE2): Likewise.
28246         (STAP_PROBE3): Likewise.
28247         (STAP_PROBE4): Likewise.
28249 2013-12-02  Ondřej Bílka  <neleai@seznam.cz>
28251         * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
28253 2013-12-02  Steve Ellcey  <sellcey@mips.com>
28255         * benchtests/Makefile (bench): Add sqrt.
28256         (LDLIBS-bench-sqrt): New.
28257         * benchtests/sqrt-input: New.
28259 2013-12-02  Pavel Simerda  <psimerda@redhat.com>
28261         * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
28262         (GAIH_EAI): Likewise.
28263         (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
28264         (gaih_inet): Likewise.
28265         (getaddrinfo): Don't use GAIH_EAI.
28267         * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
28268         (struct gaih): Remove definition.
28270 2013-12-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
28272         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
28273         Use HERRNOP directly.
28275 2013-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28277         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28279 2013-11-30  Joseph Myers  <joseph@codesourcery.com>
28281         * math/gen-auto-libm-tests.c (test_functions): Add more
28282         single-argument functions.
28283         (special_fill_pi_2): New function.
28284         (special_fill_minus_pi_2): Likewise.
28285         (special_fill_pi_6): Likewise.
28286         (special_fill_minus_pi_6): Likewise.
28287         (special_fill_pi_3): Likewise.
28288         (special_fill_2pi_3): Likewise.
28289         (special_fill_e): Likewise.
28290         (special_fill_1_e): Likewise.
28291         (special_fill_e_minus_1): Likewise.
28292         (special_real_inputs): Add more special inputs.
28293         (output_for_one_input_case): Do not require ERANGE on underflow to
28294         zero if round-to-nearest result does not underflow to zero, unless
28295         exact results required.
28296         * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
28297         atan, atanh, cbrt, cos and cosh.
28298         * math/auto-libm-test-out: Regenerated.
28299         * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
28300         (acos_tonearest_test_data): Likewise.
28301         (acos_towardzero_test_data): Likewise.
28302         (acos_downward_test_data): Likewise.
28303         (acos_upward_test_data): Likewise.
28304         (acosh_test_data): Likewise.
28305         (asin_test_data): Likewise.
28306         (asin_tonearest_test_data): Likewise.
28307         (asin_towardzero_test_data): Likewise.
28308         (asin_upward_test_data): Likewise.
28309         (asinh_test_data): Likewise.
28310         (atan_test_data): Likewise.
28311         (atanh_test_data): Likewise.
28312         (cbrt_test_data): Likewise.
28313         (cos_test_data): Likewise.
28314         (cos_tonearest_test_data): Likewise.
28315         (cos_towardzero_test_data): Likewise.
28316         (cos_downward_test_data): Likewise.
28317         (cos_upward_test_data): Likewise.
28318         (cosh_test_data): Likewise.
28319         (cosh_tonearest_test_data): Likewise.
28320         (cosh_towardzero_test_data): Likewise.
28321         (cosh_downward_test_data): Likewise.
28322         (cosh_upward_test_data): Likewise.
28323         * sysdeps/i386/fpu/libm-test-ulps: Update.
28324         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28326 2013-11-29  Joseph Myers  <joseph@codesourcery.com>
28328         [BZ #6787]
28329         * math/w_exp10.c (__exp10): Handle a zero result as underflow.
28330         * math/w_exp10f.c (__exp10f): Likewise.
28331         * math/w_exp10l.c (__exp10l): Likewise.
28332         * math/libm-test.inc (exp10_test_data): Add more tests and expect
28333         errno settings in existing tests.
28335         [BZ #14032]
28336         * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
28337         precision control set to double precision.
28338         * sysdeps/i386/fpu/w_sqrt.c: New file.
28339         * math/auto-libm-test-in: Add more tests.
28340         * math/auto-libm-test-out: Update.
28342         * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
28343         (sqrt_test_tonearest): New function.
28344         (sqrt_towardzero_test_data): New variable.
28345         (sqrt_test_towardzero): New function.
28346         (sqrt_downward_test_data): New variable.
28347         (sqrt_test_downward): New function.
28348         (sqrt_upward_test_data): New variable.
28349         (sqrt_test_upward): New function.
28350         (main): Call the new functions.
28352         * math/gen-auto-libm-tests.c: New file.
28353         * math/auto-libm-test-in: Likewise.
28354         * math/auto-libm-test-out: New generated file.
28355         * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
28356         variables.
28357         (%beautify): Add generated representations of zero.
28358         (top level): Set $auto_input and call parse_auto_input.
28359         (beautify): Remove trailing "f" from hex float constants.
28360         (parse_args): Handle XFAIL_TEST.
28361         (convert_condition): New function.
28362         (or_value): Likewise.
28363         (or_cond_value): Likewise.
28364         (generate_testfile): Handle AUTO_TESTS_* lines.
28365         (parse_auto_input): New function.
28366         * math/libm-test.inc (XFAIL_TEST): New macro.
28367         (ERRNO_UNCHANGED): Update value.
28368         (ERRNO_EDOM): Likewise.
28369         (ERRNO_ERANGE): Likewise.
28370         (IGNORE_RESULT): Likewise.
28371         (TEST_COND_flt_32): New macro.
28372         (TEST_COND_dbl_64): Likewise.
28373         (TEST_COND_ldbl_96_intel): Likewise.
28374         (TEST_COND_ldbl_96_m68k): Likewise.
28375         (TEST_COND_ldbl_128): Likewise.
28376         (TEST_COND_ldbl_128ibm): Likewise.
28377         (TEST_COND_long32): Likewise.
28378         (TEST_COND_long64): Likewise.
28379         (TEST_COND_before_rounding): Likewise.
28380         (TEST_COND_after_rounding): Likewise.
28381         (enable_test): Handle XFAIL_TEST flag.
28382         (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
28383         with finite results.
28384         * math/Makefile ($(objpfx)libm-test.stmp): Depend on
28385         auto-libm-test-out.
28387 2013-11-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
28388             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
28390         [BZ #16214]
28391         * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
28392         __tls_get_addr_internal instead of __tls_get_offset in order to
28393         avoid GOT pointer dependency.  Make rtld export
28394         __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
28395         __tls_get_addr since we are a __tls_get_offset platform.
28396         * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
28397         GOT pointer being set up before.
28398         * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
28400 2013-11-28  Joseph Myers  <joseph@codesourcery.com>
28402         * manual/math.texi (Errors in Math Functions): Document accuracy
28403         goals.
28405         [BZ #15004]
28406         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
28407         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
28408         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
28409         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
28410         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
28411         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
28412         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
28413         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
28414         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
28415         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
28416         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
28417         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
28418         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
28419         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
28420         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
28421         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
28423         * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
28424         * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
28425         * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
28426         * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
28427         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
28428         Likewise.
28429         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
28430         Likewise.
28431         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
28432         Likewise.
28433         * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
28434         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
28435         (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
28436         atomic-feupdateenv and flt-rounds.
28437         * sysdeps/powerpc/nofpu/Versions (libc): Add
28438         __atomic_feholdexcept, __atomic_feclearexcept,
28439         __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
28440         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
28441         (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
28442         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
28443         (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
28444         here.
28445         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
28446         Update.
28448         * manual/arith.texi (FP Exceptions): Document that exceptions may
28449         not be raised when matherr is used.
28450         (Math Error Reporting): Document overflow in directed rounding
28451         modes.  Document that errno may not be set when finite values are
28452         returned on overflow.  Document intent to set errno on underflow
28453         only for underflow to zero.
28455         [BZ #16271]
28456         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
28457         round-to-nearest then adjust result for other rounding modes.
28458         * include/fenv.h (fegetround): Use libm_hidden_proto.
28459         * math/fegetround.c (fegetround): Use libm_hidden_def.
28460         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
28461         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
28462         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
28463         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
28464         Likewise.
28465         * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
28466         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
28467         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
28468         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
28470 2013-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
28472         [BZ #16077]
28473         * nss/Versions (libnss_files): Add
28474         _nss_files_gethostbyname3_r.
28475         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
28476         New function.
28477         (HOST_DB_LOOKUP): Remove macro.
28478         (_nss_files_gethostbyname_r): Implement function without the
28479         HOST_DB_LOOKUP macro.
28480         (_nss_files_gethostbyname2_r): Likewise.
28482 2013-11-28  Ondřej Bílka  <neleai@seznam.cz>
28484         * malloc/malloc.c (__libc_calloc): Make memset a tail call.
28486 2013-11-26  Uros Bizjak  <ubizjak@gmail.com>
28488         * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
28489         _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
28490         warning.
28492 2013-11-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28494         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
28495         __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
28496         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
28497         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
28498         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
28499         __fe_nomask_env_priv and attribute_hidden.
28500         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
28501         (libc_feupdateenv_test_ppc): Likewise.
28502         (libc_feresetround_ppc): Likewise.
28503         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
28504         (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
28505         compat_symbol macro.
28506         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
28507         (__fe_nomask_env): Likewise.
28508         * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
28510 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
28512         * string/Makefile: Remove ifunc tests.
28513         * string/test-string.h: Define TEST_IFUNC.
28514         * string/test-bcopy-ifunc.c: Remove.
28515         * string/test-bzero-ifunc.c: Likewise.
28516         * string/test-memccpy-ifunc.c: Likewise.
28517         * string/test-memchr-ifunc.c: Likewise.
28518         * string/test-memcmp-ifunc.c: Likewise.
28519         * string/test-memcpy-ifunc.c: Likewise.
28520         * string/test-memmem-ifunc.c: Likewise.
28521         * string/test-memmove-ifunc.c: Likewise.
28522         * string/test-mempcpy-ifunc.c: Likewise.
28523         * string/test-memrchr-ifunc.c: Likewise.
28524         * string/test-memset-ifunc.c: Likewise.
28525         * string/test-rawmemchr-ifunc.c: Likewise.
28526         * string/test-stpcpy-ifunc.c: Likewise.
28527         * string/test-stpncpy-ifunc.c: Likewise.
28528         * string/test-strcasecmp-ifunc.c: Likewise.
28529         * string/test-strcasestr-ifunc.c: Likewise.
28530         * string/test-strcat-ifunc.c: Likewise.
28531         * string/test-strchr-ifunc.c: Likewise.
28532         * string/test-strchrnul-ifunc.c: Likewise.
28533         * string/test-strcmp-ifunc.c: Likewise.
28534         * string/test-strcpy-ifunc.c: Likewise.
28535         * string/test-strcspn-ifunc.c: Likewise.
28536         * string/test-strlen-ifunc.c: Likewise.
28537         * string/test-strncasecmp-ifunc.c: Likewise.
28538         * string/test-strncat-ifunc.c: Likewise.
28539         * string/test-strncmp-ifunc.c: Likewise.
28540         * string/test-strncpy-ifunc.c: Likewise.
28541         * string/test-strnlen-ifunc.c: Likewise.
28542         * string/test-strpbrk-ifunc.c: Likewise.
28543         * string/test-strrchr-ifunc.c: Likewise.
28544         * string/test-strspn-ifunc.c: Likewise.
28545         * string/test-strstr-ifunc.c: Likewise.
28547 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
28549         * benchtests/Makefile: Remove ifunc tests.
28550         * benchtests/bench-string.h: Define TEST_IFUNC.
28551         * benchtests/bench-bcopy-ifunc.c: Remove.
28552         * benchtests/bench-bzero-ifunc.c: Likewise.
28553         * benchtests/bench-memccpy-ifunc.c: Likewise.
28554         * benchtests/bench-memchr-ifunc.c: Likewise.
28555         * benchtests/bench-memcmp-ifunc.c: Likewise.
28556         * benchtests/bench-memcpy-ifunc.c: Likewise.
28557         * benchtests/bench-memmem-ifunc.c: Likewise.
28558         * benchtests/bench-memmove-ifunc.c: Likewise.
28559         * benchtests/bench-mempcpy-ifunc.c: Likewise.
28560         * benchtests/bench-memrchr-ifunc.c: Likewise.
28561         * benchtests/bench-memset-ifunc.c: Likewise.
28562         * benchtests/bench-rawmemchr-ifunc.c: Likewise.
28563         * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
28564         * benchtests/bench-stpcpy-ifunc.c: Likewise.
28565         * benchtests/bench-stpncpy-ifunc.c: Likewise.
28566         * benchtests/bench-strcasecmp-ifunc.c: Likewise.
28567         * benchtests/bench-strcasestr-ifunc.c: Likewise.
28568         * benchtests/bench-strcat-ifunc.c: Likewise.
28569         * benchtests/bench-strchr-ifunc.c: Likewise.
28570         * benchtests/bench-strchrnul-ifunc.c: Likewise.
28571         * benchtests/bench-strcmp-ifunc.c: Likewise.
28572         * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
28573         * benchtests/bench-strcpy-ifunc.c: Likewise.
28574         * benchtests/bench-strcspn-ifunc.c: Likewise.
28575         * benchtests/bench-strlen-ifunc.c: Likewise.
28576         * benchtests/bench-strncasecmp-ifunc.c: Likewise.
28577         * benchtests/bench-strncat-ifunc.c: Likewise.
28578         * benchtests/bench-strncmp-ifunc.c: Likewise.
28579         * benchtests/bench-strncpy-ifunc.c: Likewise.
28580         * benchtests/bench-strnlen-ifunc.c: Likewise.
28581         * benchtests/bench-strpbrk-ifunc.c: Likewise.
28582         * benchtests/bench-strrchr-ifunc.c: Likewise.
28583         * benchtests/bench-strsep-ifunc.c: Likewise.
28584         * benchtests/bench-strspn-ifunc.c: Likewise.
28585         * benchtests/bench-strstr-ifunc.c: Likewise.
28587 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
28589         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
28591 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
28593         * resolv/netdb.h: Use __glibc_reserved instead __unused.
28594         * rt/aio.h: Likewise.
28595         * sysdeps/gnu/bits/utmp.h: Likewise.
28596         * sysdeps/gnu/bits/utmpx.h: Likewise.
28597         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
28598         * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
28599         * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
28600         * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
28601         * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
28602         * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
28603         * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
28604         * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
28605         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
28606         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
28607         * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
28608         * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
28609         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
28610         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
28611         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
28612         * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
28613         * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
28614         * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
28615         * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
28616         * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
28617         * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
28618         * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
28619         * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
28620         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
28621         * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
28622         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
28623         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
28624         * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
28625         * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
28626         * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
28627         * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
28628         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
28629         * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
28630         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
28631         * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
28632         * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
28633         * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
28634         * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
28635         * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
28636         * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
28637         * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
28638         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
28640 2013-11-25  Carlos O'Donell  <carlos@redhat.com>
28642         [BZ #16245]
28643         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
28644         Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
28646 2013-11-25  Joseph Myers  <joseph@codesourcery.com>
28648         * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
28649         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
28650         Likewise.
28652 2013-11-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28654         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
28655         SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
28656         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
28657         (__fesetround): Remove define.
28658         * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
28659         rounding and exceptions handling.
28660         * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
28661         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
28662         (__fe_nomask_env): Likewise.
28663         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
28664         __fegetround instead of fegetround.
28665         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
28666         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
28668 2013-11-21  Roland McGrath  <roland@hack.frob.com>
28670         * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
28671         it's there.
28673         * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
28675 2013-11-21  Meador Inge  <meadori@codesourcery.com>
28677         [BZ #11157]
28678         * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
28679         (encrypt_r): Likewise.
28680         * malloc/obstack.h (obstack_free): Likewise.
28681         * posix/unistd.h (encrypt): Likewise.
28683 2013-11-21  Guy Martin  <gmsoft@tuxicoman.be>
28685         * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
28686         DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
28687         DL_CALL_DT_FINI() that call the functions directly.
28688         * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
28689         * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
28690         * elf/dl-fini.c: Likewise.
28692 2013-11-20  Ondřej Bílka  <neleai@seznam.cz>
28694         * malloc/hooks.c (memalign_check): Add alignment rounding.
28695         * malloc/malloc.c (_mid_memalign): New function.
28696         (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
28697         Implement by calling _mid_memalign.
28698         * manual/probes.texi (Memory Allocation Probes): Remove
28699         memory_valloc_retry and memory_pvalloc_retry.
28701 2013-11-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
28703         * locale/programs/locarchive.c (open_archive): Add const
28704         qualifier to ARCHIVEFNAME and copy default fname to
28705         DEFAULT_FNAME.
28707         [BZ #15601]
28708         * libio/tst-widetext.input: Rename Oriya to Odia.
28709         * locale/iso-639.def: Likewise.
28711         * manual/probes.texi (Mathematical Function Probes): Add
28712         documentation for sin, cos, asin and acos probes.
28713         * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
28714         (__sin32): Add slowasin probe.
28715         (__cos32): Add slowacos probe.
28716         (__mpsin): Add slowsin probe.
28717         (__mpcos): Add slowcos probe.
28719 2013-11-19  Joseph Myers  <joseph@codesourcery.com>
28721         [BZ #15483]
28722         * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
28723         thread-local __sim_exceptions_thread and global
28724         __sim_exceptions_global.
28725         (__sim_disabled_exceptions): Change to thread-local
28726         __sim_disabled_exceptions_thread and global
28727         __sim_disabled_exceptions_global.
28728         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
28729         and global __sim_round_mode_global.
28730         (__simulate_exceptions): Use thread-local floating-point state and
28731         set global state from it as needed.
28732         * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
28733         __sim_exceptions_thread, __sim_disabled_exceptions_thread and
28734         __sim_round_mode_thread.
28735         * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
28736         (__sim_exceptions): Change to thread-local __sim_exceptions_thread
28737         and global __sim_exceptions_global.
28738         (__sim_disabled_exceptions): Change to thread-local
28739         __sim_disabled_exceptions_thread and global
28740         __sim_disabled_exceptions_global.
28741         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
28742         and global __sim_round_mode_global.
28743         [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
28744         (SIM_SET_GLOBAL): Likewise.
28745         * sysdeps/powerpc/soft-fp/sfp-machine.h
28746         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
28747         __sim_round_mode_thread.
28748         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
28749         __sim_disabled_exceptions_thread.
28750         (__sim_exceptions): Change to __sim_exceptions_thread.
28751         (__sim_disabled_exceptions): Change to
28752         __sim_disabled_exceptions_thread.
28753         (__sim_round_mode): Change to __sim_round_mode_thread.
28754         * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
28755         thread-local floating-point state and set global state from it as
28756         needed.
28757         * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
28758         * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
28759         (__sim_disabled_exceptions): Remove extern declaration.
28760         (feenableexcept): Use thread-local floating-point state and set
28761         global state from it as needed.
28762         * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
28763         extern declaration.
28764         (__sim_disabled_exceptions): Likewise.
28765         (__sim_round_mode): Likewise.
28766         (__fegetenv): Use thread-local floating-point state.
28767         * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
28768         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
28769         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
28770         floating-point state and set global state from it as needed.
28771         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
28772         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
28773         * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
28774         Likewise.
28775         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
28776         * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
28777         Likewise.
28778         sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
28779         * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
28780         Use __sim_round_mode_thread.
28781         * math/test-fenv-tls.c: New file.
28782         * math/Makefile (tests): Add test-fenv-tls.
28783         ($(objpfx)test-fenv-tls): Depend on
28784         $(common-objpfx)nptl/libpthread.so.
28786 2013-11-19  Andreas Schwab  <schwab@suse.de>
28788         * locale/programs/locale.c (show_info): Decode wordarray elements.
28789         * locale/categories.def (LC_MONETARY): Add element for
28790         _NL_MONETARY_CRNCYSTR.
28791         * locale/C-monetary.c (conversion_rate): New variable.
28792         (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
28793         element.
28795 2013-11-18  Chris Metcalf  <cmetcalf@tilera.com>
28797         * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
28798         Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
28800 2013-11-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
28802         * elf/Makefile (tst-auxv): New test.
28803         * elf/tst-auxv.c: New
28804         * elf/rtld.c (dl_main): Adjust AT_EXECFN
28806 2013-11-18  Joseph Myers  <joseph@codesourcery.com>
28808         * include/libc-symbols.h (__hidden_proto): Add argument "thread".
28809         (hidden_proto): Caller changed.
28810         (hidden_tls_proto): New macro.
28811         (libc_hidden_tls_proto): Likewise.
28812         (rtld_hidden_tls_proto): Likewise.
28813         (libm_hidden_tls_proto): Likewise.
28814         (libresolv_hidden_tls_proto): Likewise.
28815         (librt_hidden_tls_proto): Likewise.
28816         (libdl_hidden_tls_proto): Likewise.
28817         (libnss_files_hidden_tls_proto): Likewise.
28818         (libnsl_hidden_tls_proto): Likewise.
28819         (libnss_nisplus_hidden_tls_proto): Likewise.
28820         (libutil_hidden_tls_proto): Likewise.
28822 2013-11-18  Ondřej Bílka  <neleai@seznam.cz>
28824         [BZ #10253]
28825         * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
28826         (decompose_rpath): Defer expansion to fillin_rpath.
28827         (_dl_init_paths): Pass linkmap to fillin_rpath.
28829 2013-11-18  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
28831         * benchtests/Makefile: Add strsep.
28832         * benchtests/bench-strsep.c: New file: strsep benchtest.
28833         * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
28835 2013-11-18  Andreas Schwab  <schwab@suse.de>
28837         * locale/programs/locale.c (show_info) [case byte]: Check for
28838         '\377' instead of '\177'.
28839         * locale/C-monetary.c (not_available): Always use "\377".
28840         * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
28841         unspecified p_sign_posn and n_sign_posn.  Check for '\377' to
28842         detect unavailable sign_posn locale elements.
28843         * locale/localeconv.c (__localeconv): For grouping and
28844         mon_grouping handle "\177" and "\377" like no grouping.
28845         (INT_ELEM): New macro.  Use it to set all numeric members.
28846         * locale/programs/ld-monetary.c (monetary_read)
28847         <tok_mon_grouping>: Normalize single -1 to the empty string.
28848         * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
28849         Likewise.
28851 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
28853         [BZ #16055]
28854         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
28855         when we match (nil).
28856         * stdio-common/tst-sscanf.c (struct test): Add testcase.
28858 2013-11-16  Joseph Myers  <joseph@codesourcery.com>
28860         * math/libm-test.inc (TEST_NAN_SIGN): New macro.
28861         (NO_TEST_INLINE): Update value.
28862         (ERRNO_UNCHANGED): Likewise.
28863         (ERRNO_EDOM): Likewise.
28864         (ERRNO_ERANGE): Likewise.
28865         (IGNORE_RESULT): Likewise.
28866         (check_float_internal): Check signs of NaN results if
28867         TEST_NAN_SIGN used.
28868         (check_complex): Pass TEST_NAN_SIGN flag through to second
28869         check_float_internal call.
28870         (copysign_test_data): Add tests with quiet NaNs as second
28871         argument.  Use TEST_NAN_SIGN.
28872         (fabs_test_data): Add test of negative quiet NaN argument.  Use
28873         TEST_NAN_SIGN.
28874         (signbit_test_data): Add tests of quiet NaN argument.
28875         * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
28877         * math/gen-libm-test.pl (show_exceptions): Take extra argument
28878         $ignore_result.
28879         (parse_args): Handle function results specified as IGNORE.
28880         * math/libm-test.inc (IGNORE_RESULT): New macro.
28881         (check_float_internal): Do not check numerical result if flag
28882         IGNORE_RESULT set.
28883         (check_complex): Pass through IGNORE_RESULT to second
28884         check_float_internal call.
28885         (check_int): Do not check numerical result if flag IGNORE_RESULT
28886         set.
28887         (check_long): Likewise.
28888         (check_bool): Likewise.
28889         (check_longlong): Likewise.
28890         (lrint_test_data): Add tests of infinite and NaN arguments.
28891         (lrint_tonearest_test_data): Likewise.
28892         (lrint_towardzero_test_data): Likewise.
28893         (lrint_downward_test_data): Likewise.
28894         (lrint_upward_test_data): Likewise.
28895         (llrint_test_data): Likewise.
28896         (llrint_tonearest_test_data): Likewise.
28897         (llrint_towardzero_test_data): Likewise.
28898         (llrint_downward_test_data): Likewise.
28899         (llrint_upward_test_data): Likewise.
28900         (lround_test_data): Likewise.
28901         (llround_test_data): Likewise.
28903         * math/libm-test.inc (NO_TEST_INLINE): New macro.
28904         (ERRNO_UNCHANGED): Update value.
28905         (ERRNO_EDOM): Likewise.
28906         (ERRNO_ERANGE): Likewise.
28907         (NO_TEST_INLINE_FLOAT): New macro.
28908         (NO_TEST_INLINE_DOUBLE): Likewise.
28909         (enable_test): New function.
28910         (RUN_TEST_f_f): Check enable_test before running test.
28911         (RUN_TEST_2_f): Likewise.
28912         (RUN_TEST_fff_f): Likewise.
28913         (RUN_TEST_c_f): Likewise.
28914         (RUN_TEST_f_f1): Likewise.
28915         (RUN_TEST_fF_f1): Likewise.
28916         (RUN_TEST_fI_f1): Likewise.
28917         (RUN_TEST_ffI_f1): Likewise.
28918         (RUN_TEST_c_c): Likewise.
28919         (RUN_TEST_cc_c): Likewise.
28920         (RUN_TEST_f_i): Likewise.
28921         (RUN_TEST_f_i_tg): Likewise.
28922         (RUN_TEST_ff_i_tg): Likewise.
28923         (RUN_TEST_f_b): Likewise.
28924         (RUN_TEST_f_b_tg): Likewise.
28925         (RUN_TEST_f_l): Likewise.
28926         (RUN_TEST_f_L): Likewise.
28927         (RUN_TEST_fFF_11): Likewise.
28928         (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
28929         conditionals.
28930         (cosh_test_data): Likewise.
28931         (exp_test_data): Likewise.
28932         (expm1_test_data): Likewise.
28933         (hypot_test_data): Likewise.
28934         (pow_test_data): Likewise.
28935         (sinh_test_data): Likewise.
28936         (tanh_test_data): Likewise.
28937         * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
28938         flags argument.
28940         * libm-test.inc (acos_test_data): Disallow inexact exceptions for
28941         tests with quiet NaN input and output.
28942         (acosh_test_data): Likewise.
28943         (asin_test_data): Likewise.
28944         (asinh_test_data): Likewise.
28945         (atan_test_data): Likewise.
28946         (atanh_test_data): Likewise.
28947         (atan2_test_data): Likewise.
28948         (cbrt_test_data): Likewise.
28949         (cos_test_data): Likewise.
28950         (cosh_test_data): Likewise.
28951         (erf_test_data): Likewise.
28952         (erfc_test_data): Likewise.
28953         (exp_test_data): Likewise.
28954         (exp10_test_data): Likewise.
28955         (exp2_test_data): Likewise.
28956         (expm1_test_data): Likewise.
28957         (hypot_test_data): Likewise.
28958         (j0_test_data): Likewise.
28959         (j1_test_data): Likewise.
28960         (jn_test_data): Likewise.
28961         (lgamma_test_data): Likewise.
28962         (log_test_data): Likewise.
28963         (log10_test_data): Likewise.
28964         (log1p_test_data): Likewise.
28965         (log2_test_data): Likewise.
28966         (pow_test_data): Likewise.
28967         (scalb_test_data): Likewise.
28968         (sin_test_data): Likewise.
28969         (sincos_test_data): Likewise.
28970         (sinh_test_data): Likewise.
28971         (tan_test_data): Likewise.
28972         (tanh_test_data): Likewise.
28973         (tgamma_test_data): Likewise.
28974         (y0_test_data): Likewise.
28975         (y1_test_data): Likewise.
28976         (yn_test_data): Likewise.
28978         [BZ #16167]
28979         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
28980         argument being NaN and avoid computations with second argument in
28981         that case.
28982         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
28983         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
28984         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
28986 2013-11-15  Arun Kumar Pyasi <arun@chitwanix.com>
28988         * locale/iso-639.def: Add Chitwani Tharu (the).
28990 2013-11-14  Andreas Schwab  <schwab@suse.de>
28992         * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
28993         word instead of empty string.
28995 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28997         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
28998         (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
28999         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
29000         (__fe_nomask_env): Likewise.
29002 2013-11-13  Steve Ellcey  <sellcey@mips.com>
29004         * benchtests/bench-timing.h: Include time.h.
29006 2013-11-13  H.J. Lu  <hongjiu.lu@intel.com>
29008         [BZ #15997]
29009         * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
29010         to 3.4.0 for x32.
29011         * sysdeps/unix/sysv/linux/configure: Regenerated.
29013 2013-11-13  Joseph Myers  <joseph@codesourcery.com>
29015         [BZ #16151]
29016         * stdlib/strtod_l.c (round_and_return): Do not consider
29017         retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
29018         exponent one less than half the least subnormal exponent.
29019         * stdlib/test-strtod-round-data: Add more tests.
29020         * stdlib/tst-strtod-round.c (tests): Regenerated.
29022 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29024         [BZ #14143]
29025         * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
29026         (__fe_mask_env): Likewise.
29027         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
29028         libm_hidden_proto and add function prototype.
29029         (__fe_mask_env): Add function prototype.
29030         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
29031         (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
29032         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
29033         (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
29034         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
29035         (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
29037 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
29039         * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
29040         set reference_name to "" to avoid passing NULL to DSO_FILENAME.
29042 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
29044         * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
29045         of htab_find_slot().
29047 2013-11-11  David S. Miller  <davem@davemloft.net>
29049         [BZ #16150]
29050         * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
29051         symbol in the non-vis3 case in static builds.
29052         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
29053         * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
29054         * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
29055         * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
29057 2013-11-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
29059         [BZ #387]
29060         * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
29061         it is empty.
29063 2013-11-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29065         * benchtests/Makefile: Add bench-strtod.
29066         * benchtests/bench-strtod.c: New file: strtod benchtest
29068 2013-11-11  Andreas Schwab  <schwab@suse.de>
29070         [BZ #16153]
29071         * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
29072         terminating NUL in key length.
29074 2013-11-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29076         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
29077         Add artificial ODP entry for vDSO symbol for PPC64.
29078         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
29079         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
29081 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
29083         [BZ #15374]
29084         * nss/getent.c (services_keys): Recognize services starting with digit.
29086 2013-11-06  David S. Miller  <davem@davemloft.net>
29088         [BZ #15985]
29089         * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
29090         on pre-v9 cpus, use a fnegs+fmovs sequence instead.
29092 2013-11-06  Will Newton  <will.newton@linaro.org>
29094         * manual/memory.texi (Malloc Examples): Remove register
29095         keyword from examples.
29097 2013-11-04  Chris Leonard  <cjl@sugarlabs.org>
29099         * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
29101 2013-11-04  Joseph Myers  <joseph@codesourcery.com>
29103         [BZ #6981]
29104         * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
29105         depending on [__GCC_IEC_559 > 0].
29106         [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
29107         depending on [__GCC_IEC_559_COMPLEX > 0].
29109 2013-11-03  Chris Leonard  <cjl@sugarlabs.org>
29111         * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
29112         to iso-639.def.
29114 2013-11-03  Ondřej Bílka  <neleai@seznam.cz>
29116         * elf/rtld.c: Remove unused NONTLS_INIT_TP.
29118 2013-11-01  Ondřej Bílka  <neleai@seznam.cz>
29120         [BZ #16112]
29121         * malloc/malloc (malloc_info): Do not handle first bin as
29122         special case.
29124 2013-11-01  Chris Leonard  <cjl@sugarlabs.org>
29126         * locale/iso-639.def: Add Central Nahuatl (nhn).
29128 2013-11-01  Bruno Haible  <bruno@clisp.org>
29130         [BZ #7003]
29131         * manual/math.texi (BSD Random): Specify range upper bound as
29132         in POSIX.
29134 2013-10-31  Chris Leonard  <cjl@sugarlabs.org>
29136         * locale/iso-639.def: Add Meadow Mari (mhr).
29138 2013-10-31  Ondřej Bílka  <neleai@seznam.cz>
29140         [BZ #14752], [BZ #15763]
29141         * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
29142         Validate name.
29143         * rt/tst_shm.c: Add test for escaping directory.
29145 2013-10-31  Andreas Schwab  <schwab@suse.de>
29147         [BZ #15917]
29148         * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
29149         followed by 'x' as part of digit sequence.
29150         * stdio-common/tst-sscanf.c (double_tests2): New tests.
29152 2013-10-31  Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
29154         [BZ #16037]
29155         * configure.ac: allow GNU Make 4.0 and greater.
29156         * configure: Regenerated.
29158 2013-10-30  Will Newton  <will.newton@linaro.org>
29160         [BZ #16038]
29161         * malloc/hooks.c (memalign_check): Limit alignment to the
29162         maximum representable power of two.
29163         * malloc/malloc.c (__libc_memalign): Likewise.
29164         * malloc/tst-memalign.c (do_test): Add test for very
29165         large alignment values.
29166         * malloc/tst-posix_memalign.c (do_test): Likewise.
29168 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
29170         [BZ #11087]
29171         * malloc/malloc.c (sysmalloc): Compute statistics atomically.
29172         (munmap_chunk): Likewise.
29173         (mremap_chunk): Likewise.
29175 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
29177         [BZ #15799]
29178         * stdlib/div.c (div): Remove obsolete code.
29179         * stdlib/ldiv.c (ldiv): Likewise.
29180         * stdlib/lldiv.c (lldiv): Likewise.
29182 2013-10-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
29184         [BZ #16071]
29185         * nss/nss_files/files-XXX.c (get_contents_ret): New
29186         enumerator.
29187         (get_contents): New function.
29188         (internal_getent): Use it.  Expand size of LINEBUFLEN.
29190 2013-10-30  Mike Frysinger  <vapier@gentoo.org>
29192         * configure.in: Moved to ...
29193         * configure.ac: ... here. Change reference to configure.in
29194         to configure.ac.
29195         * sysdeps/arm/preconfigure.ac: ... here.
29196         configure.in to configure.ac.
29197         * sysdeps/gnu/configure.in: Moved to ...
29198         * sysdeps/gnu/configure.ac: ... here.
29199         * sysdeps/i386/configure.in: Moved to ...
29200         * sysdeps/i386/configure.ac: ... here.
29201         * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
29202         * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
29203         * sysdeps/mach/configure.in: Moved to ...
29204         * sysdeps/mach/configure.ac: ... here.
29205         * sysdeps/mach/hurd/configure.in: Moved to ...
29206         * sysdeps/mach/hurd/configure.ac: ... here.
29207         * sysdeps/powerpc/configure.in: Moved to ...
29208         * sysdeps/powerpc/configure.ac: ... here.
29209         * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
29210         * sysdeps/powerpc/powerpc32/configure.ac: ... here.
29211         * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
29212         * sysdeps/powerpc/powerpc64/configure.ac: ... here.
29213         * sysdeps/s390/s390-32/configure.in: Moved to ...
29214         * sysdeps/s390/s390-32/configure.ac: ... here.
29215         * sysdeps/s390/s390-64/configure.in: Moved to ...
29216         * sysdeps/s390/s390-64/configure.ac: ... here.
29217         * sysdeps/sh/configure.in: Moved to ...
29218         * sysdeps/sh/configure.ac: ... here.
29219         * sysdeps/sparc/configure.in: Moved to ...
29220         * sysdeps/sparc/configure.ac: ... here.
29221         * sysdeps/unix/sysv/linux/configure.in: Moved to ...
29222         * sysdeps/unix/sysv/linux/configure.ac: ... here.
29223         * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
29224         * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
29225         * sysdeps/x86_64/configure.in: Moved to ...
29226         * sysdeps/x86_64/configure.ac: ... here.
29227         * sysdeps/x86_64/preconfigure.in: Moved to ...
29228         * sysdeps/x86_64/preconfigure.ac: ... here.
29229         * aclocal.m4: Change reference to configure.in to configure.ac.
29230         * config.h.in: Likewise.
29231         * manual/install.texi: Likewise.
29232         * manual/maint.texi: Likewise.
29233         * Makefile: Likewise.
29234         * malloc/Makefile: Likewise.
29235         * nscd/Makefile: Likewise.
29236         * Makeconfig: Change reference to configure.in and
29237         preconfigure.in to configure.ac and preconfigure.ac
29238         respectively.
29239         * INSTALL: Regenerated.
29240         * configure: Likewise.
29241         * sysdeps/gnu/configure: Likewise.
29242         * sysdeps/i386/configure: Likewise.
29243         * sysdeps/ieee754/ldbl-opt/configure: Likewise.
29244         * sysdeps/mach/configure: Likewise.
29245         * sysdeps/mach/hurd/configure: Likewise.
29246         * sysdeps/powerpc/configure: Likewise.
29247         * sysdeps/powerpc/powerpc32/configure: Likewise.
29248         * sysdeps/powerpc/powerpc64/configure: Likewise.
29249         * sysdeps/s390/s390-32/configure: Likewise.
29250         * sysdeps/s390/s390-64/configure: Likewise.
29251         * sysdeps/sh/configure: Likewise.
29252         * sysdeps/sparc/configure: Likewise.
29253         * sysdeps/unix/sysv/linux/configure: Likewise.
29254         * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
29255         * sysdeps/x86_64/configure: Likewise.
29256         * sysdeps/x86_64/preconfigure: Likewise.
29258 2013-10-29  Andreas Schwab  <schwab@suse.de>
29260         * stdio-common/Makefile (tst-swscanf-ENV): Define.
29262 2013-10-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
29264         * benchtests/pow-inputs: Add new inputs.
29266         * benchtests/exp-inputs: Add new inputs.
29268         * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
29269         conditional check for return value.
29270         (__cos32): Likewise.
29272 2013-10-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29274         * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
29275         to provide a boost for large inputs with word alignment.
29276         * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
29277         implementation based on optimized PPC64 strcpy.
29278         * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
29279         strcpy for PPC64/POWER7 based on both doubleword and word load/store.
29280         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
29281         stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
29283 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
29285         [BZ #2801]
29286         * manual/socket.texi (Host Names): Fix gethostbyname_r example.
29288 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
29290         [BZ #14876]
29291         * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
29292         * time/tst-strptime.c (day_tests): Add testcase.
29294 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
29296         [BZ #14029]
29297         * manual/pattern.texi: Acknowledge that fnmatch can fail.
29299 2013-10-25  Fabrice Bauzac  <fbauzac@debian71.nce.amadeus.net>
29301         [BZ #16074]
29302         * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
29303         MAP_FAILED on error.
29305 2013-10-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
29307         [BZ #16072]
29308         * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
29309         heap for large requests.
29311 2013-10-25  Aurelien Jarno  <aurelien@aurel32.net>
29313         [BZ #9954]
29314         * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
29315         result if the result has no associated interface.
29316         * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
29317         interface for all 127.X.Y.Z addresses.
29319 2013-10-24  Chris Leonard  <cjl@sugarlabs.org>
29321         * locale/iso-639.def: Add Ligurian (lij)
29323 2013-10-21  Ondřej Bílka  <neleai@seznam.cz>
29325         [BZ #15825]
29326         * sunrpc/rpc_main.c: Document rpcgen -5.
29328 2013-10-19  Michael Stahl  <mstahl@redhat.com>
29330         * elf/rtld.c (do_preload): Print the reason why preloading failed.
29332 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
29334         [BZ #10278]
29335         * posix/glob.c: Match only directories when trailing slash is present.
29336         * posix/tst-gnuglob.c (my_opendir): Do not open files.
29337         (main): Add testcase.
29339 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
29341         [BZ #15670]
29342         * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
29344 2013-10-18  Carlos O'Donell  <carlos@redhat.com>
29346         * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
29347         AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
29348         AUTH_DES and cindex for FIPS 140-2.
29349         (DES Encryption): Add cindex FIPS 46-3.
29351         * locale/locarchive.h (struct locarhandle): Add fname.
29352         * locale/programs/localedef.c (main): Pass ARGV[remaining]
29353         if an optional argument was specified to --list-archive,
29354         otherwise NULL.
29355         * locale/programs/locarchive.c (show_archive_content): Take new
29356         argument fname and pass it via ah.fname to open_archive.
29357         * locale/programs/localedef.h: Update decl.
29358         (open_archive): If AH->fname is non-null, open that file
29359         rather than the default file name, and don't ignore ENOENT.
29360         (create_archive): Set AH.fname to NULL.
29361         (delete_locales_from_archive): Likewise.
29362         (add_locales_to_archive): Likewise.
29363         * locale/programs/locfile.c (write_all_categories): Likewise.
29365 2013-10-18  Joseph Myers  <joseph@codesourcery.com>
29366             Aldy Hernandez  <aldyh@redhat.com>
29368         * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
29369         * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
29370         * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
29371         * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
29372         * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
29373         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
29374         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
29375         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
29376         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
29377         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
29378         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
29379         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
29380         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
29381         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
29382         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
29383         Likewise.
29384         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
29385         Likewise.
29386         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
29387         Likewise.
29388         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
29389         Likewise.
29390         * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
29391         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
29392         Likewise.
29393         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
29394         * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
29395         * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
29396         * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
29397         Likewise.
29398         * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
29399         * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
29400         * sysdeps/powerpc/preconfigure: Likewise.
29401         * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
29402         Likewise.
29403         * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
29404         Replace contents of file by #include of <fenv_libc.h>.
29405         * sysdeps/powerpc/soft-fp/sfp-machine.h
29406         [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
29407         and <sys/prctl.h>.
29408         [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
29409         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
29410         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
29411         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
29412         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
29413         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
29414         [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
29415         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
29416         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
29417         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
29418         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
29419         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
29420         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
29421         Allow copysignl PLT reference to be missing.
29423 2013-10-18  Richard Sandiford  <richard@codesourcery.com>
29424             Joseph Myers  <joseph@codesourcery.com
29426         [BZ #15948]
29427         * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
29428         single character.
29429         (add_to_tablewc): Assert sequence of wide characters is nonempty.
29431 2013-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
29433         * elf/tst-tls-dlinfo.c: Don't include tls.h.
29434         * elf/tst-tls1.c: Likewise.
29435         * elf/tst-tls10.h: Likewise.
29436         * elf/tst-tls14.c: Likewise.
29437         * elf/tst-tls2.c: Likewise.
29438         * elf/tst-tls3.c: Likewise.
29439         * elf/tst-tls4.c: Likewise.
29440         * elf/tst-tls5.c: Likewise.
29441         * elf/tst-tls6.c: Likewise.
29442         * elf/tst-tls7.c: Likewise.
29443         * elf/tst-tls8.c: Likewise.
29444         * elf/tst-tls9.c: Likewise.
29445         * elf/tst-tlsmod1.c: Likewise.
29446         * elf/tst-tlsmod13.c: Likewise.
29447         * elf/tst-tlsmod13a.c: Likewise.
29448         * elf/tst-tlsmod14a.c: Likewise.
29449         * elf/tst-tlsmod16a.c: Likewise.
29450         * elf/tst-tlsmod16b.c: Likewise.
29451         * elf/tst-tlsmod2.c: Likewise.
29452         * elf/tst-tlsmod3.c: Likewise.
29453         * elf/tst-tlsmod4.c: Likewise.
29454         * elf/tst-tlsmod5.c: Likewise.
29455         * elf/tst-tlsmod6.c: Likewise.
29457 2013-10-18  Ondřej Bílka  <neleai@seznam.cz>
29459         [BZ #12486]
29460         * malloc/malloc.c: remove checks for statistics.
29462 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
29464         [BZ #15277]
29465         * inet/inet_net.c (inet_network): Detect additional invalid strings.
29466         * inet/tst-network.c: Add testcase.
29468 2013-10-17  Andreas Schwab  <schwab@suse.de>
29470         [BZ #15218]
29471         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
29472         to determine canonical name.
29474 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
29476         * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
29477         * sysdeps/ieee754/dbl-64/dla.h: Likewise.
29478         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
29479         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
29480         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
29481         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
29482         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
29483         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
29484         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
29485         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
29486         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
29487         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
29488         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
29489         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
29490         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
29491         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
29492         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
29493         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
29494         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
29495         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
29496         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
29497         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
29498         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
29499         * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
29500         * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
29501         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
29502         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
29503         * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
29504         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
29505         * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
29506         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
29507         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
29508         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
29509         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
29510         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
29511         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
29512         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
29513         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
29514         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
29515         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
29516         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
29517         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
29518         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
29519         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
29520         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
29521         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
29522         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
29523         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
29524         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
29525         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
29526         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
29527         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
29528         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
29529         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
29530         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
29531         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
29532         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
29533         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
29535 2013-10-17  Joseph Myers  <joseph@codesourcery.com>
29537         [BZ #16041]
29538         * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
29539         make result into a quiet NaN.
29541 2013-10-16  Joseph Myers  <joseph@codesourcery.com>
29543         * soft-fp/adddf3.c: Fix horizontal whitespace.
29544         * soft-fp/addsf3.c: Likewise.
29545         * soft-fp/addtf3.c: Likewise.
29546         * soft-fp/divdf3.c: Likewise.
29547         * soft-fp/divsf3.c: Likewise.
29548         * soft-fp/divtf3.c: Likewise.
29549         * soft-fp/double.h: Likewise.
29550         * soft-fp/eqdf2.c: Likewise.
29551         * soft-fp/eqsf2.c: Likewise.
29552         * soft-fp/eqtf2.c: Likewise.
29553         * soft-fp/extenddftf2.c: Likewise.
29554         * soft-fp/extended.h: Likewise.
29555         * soft-fp/extendsfdf2.c: Likewise.
29556         * soft-fp/extendsftf2.c: Likewise.
29557         * soft-fp/extendxftf2.c: Likewise.
29558         * soft-fp/fixdfdi.c: Likewise.
29559         * soft-fp/fixdfsi.c: Likewise.
29560         * soft-fp/fixdfti.c: Likewise.
29561         * soft-fp/fixsfdi.c: Likewise.
29562         * soft-fp/fixsfsi.c: Likewise.
29563         * soft-fp/fixsfti.c: Likewise.
29564         * soft-fp/fixtfdi.c: Likewise.
29565         * soft-fp/fixtfsi.c: Likewise.
29566         * soft-fp/fixtfti.c: Likewise.
29567         * soft-fp/fixunsdfdi.c: Likewise.
29568         * soft-fp/fixunsdfsi.c: Likewise.
29569         * soft-fp/fixunsdfti.c: Likewise.
29570         * soft-fp/fixunssfdi.c: Likewise.
29571         * soft-fp/fixunssfsi.c: Likewise.
29572         * soft-fp/fixunssfti.c: Likewise.
29573         * soft-fp/fixunstfdi.c: Likewise.
29574         * soft-fp/fixunstfsi.c: Likewise.
29575         * soft-fp/fixunstfti.c: Likewise.
29576         * soft-fp/floatdidf.c: Likewise.
29577         * soft-fp/floatdisf.c: Likewise.
29578         * soft-fp/floatditf.c: Likewise.
29579         * soft-fp/floatsidf.c: Likewise.
29580         * soft-fp/floatsisf.c: Likewise.
29581         * soft-fp/floatsitf.c: Likewise.
29582         * soft-fp/floattidf.c: Likewise.
29583         * soft-fp/floattisf.c: Likewise.
29584         * soft-fp/floattitf.c: Likewise.
29585         * soft-fp/floatundidf.c: Likewise.
29586         * soft-fp/floatundisf.c: Likewise.
29587         * soft-fp/floatunditf.c: Likewise.
29588         * soft-fp/floatunsidf.c: Likewise.
29589         * soft-fp/floatunsisf.c: Likewise.
29590         * soft-fp/floatunsitf.c: Likewise.
29591         * soft-fp/floatuntidf.c: Likewise.
29592         * soft-fp/floatuntisf.c: Likewise.
29593         * soft-fp/floatuntitf.c: Likewise.
29594         * soft-fp/fmadf4.c: Likewise.
29595         * soft-fp/fmasf4.c: Likewise.
29596         * soft-fp/fmatf4.c: Likewise.
29597         * soft-fp/gedf2.c: Likewise.
29598         * soft-fp/gesf2.c: Likewise.
29599         * soft-fp/getf2.c: Likewise.
29600         * soft-fp/ledf2.c: Likewise.
29601         * soft-fp/lesf2.c: Likewise.
29602         * soft-fp/letf2.c: Likewise.
29603         * soft-fp/muldf3.c: Likewise.
29604         * soft-fp/mulsf3.c: Likewise.
29605         * soft-fp/multf3.c: Likewise.
29606         * soft-fp/negdf2.c: Likewise.
29607         * soft-fp/negsf2.c: Likewise.
29608         * soft-fp/negtf2.c: Likewise.
29609         * soft-fp/op-1.h: Likewise.
29610         * soft-fp/op-2.h: Likewise.
29611         * soft-fp/op-4.h: Likewise.
29612         * soft-fp/op-8.h: Likewise.
29613         * soft-fp/op-common.h: Likewise.
29614         * soft-fp/quad.h: Likewise.
29615         * soft-fp/single.h: Likewise.
29616         * soft-fp/soft-fp.h: Likewise.
29617         * soft-fp/sqrtdf2.c: Likewise.
29618         * soft-fp/sqrtsf2.c: Likewise.
29619         * soft-fp/sqrttf2.c: Likewise.
29620         * soft-fp/subdf3.c: Likewise.
29621         * soft-fp/subsf3.c: Likewise.
29622         * soft-fp/subtf3.c: Likewise.
29623         * soft-fp/truncdfsf2.c: Likewise.
29624         * soft-fp/trunctfdf2.c: Likewise.
29625         * soft-fp/trunctfsf2.c: Likewise.
29626         * soft-fp/trunctfxf2.c: Likewise.
29627         * soft-fp/unorddf2.c: Likewise.
29628         * soft-fp/unordsf2.c: Likewise.
29629         * soft-fp/unordtf2.c: Likewise.
29631 2013-10-15  Joseph Myers  <joseph@codesourcery.com>
29633         * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
29634         * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
29636 2013-10-15   Ondřej Bílka  <neleai@seznam.cz>
29638         * elf/dl-libc.c: Clear initfini list after freeing.
29640 2013-10-14  Joseph Myers  <joseph@codesourcery.com>
29642         * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
29643         * soft-fp/addsf3.c: Likewise.
29644         * soft-fp/addtf3.c: Likewise.
29645         * soft-fp/divdf3.c: Likewise.
29646         * soft-fp/divsf3.c: Likewise.
29647         * soft-fp/divtf3.c: Likewise.
29648         * soft-fp/double.h: Likewise.
29649         * soft-fp/eqdf2.c: Likewise.
29650         * soft-fp/eqsf2.c: Likewise.
29651         * soft-fp/eqtf2.c: Likewise.
29652         * soft-fp/extenddftf2.c: Likewise.
29653         * soft-fp/extended.h: Likewise.
29654         * soft-fp/extendsfdf2.c: Likewise.
29655         * soft-fp/extendsftf2.c: Likewise.
29656         * soft-fp/extendxftf2.c: Likewise.
29657         * soft-fp/fixdfdi.c: Likewise.
29658         * soft-fp/fixdfsi.c: Likewise.
29659         * soft-fp/fixdfti.c: Likewise.
29660         * soft-fp/fixsfdi.c: Likewise.
29661         * soft-fp/fixsfsi.c: Likewise.
29662         * soft-fp/fixsfti.c: Likewise.
29663         * soft-fp/fixtfdi.c: Likewise.
29664         * soft-fp/fixtfsi.c: Likewise.
29665         * soft-fp/fixtfti.c: Likewise.
29666         * soft-fp/fixunsdfdi.c: Likewise.
29667         * soft-fp/fixunsdfsi.c: Likewise.
29668         * soft-fp/fixunsdfti.c: Likewise.
29669         * soft-fp/fixunssfdi.c: Likewise.
29670         * soft-fp/fixunssfsi.c: Likewise.
29671         * soft-fp/fixunssfti.c: Likewise.
29672         * soft-fp/fixunstfdi.c: Likewise.
29673         * soft-fp/fixunstfsi.c: Likewise.
29674         * soft-fp/fixunstfti.c: Likewise.
29675         * soft-fp/floatdidf.c: Likewise.
29676         * soft-fp/floatdisf.c: Likewise.
29677         * soft-fp/floatditf.c: Likewise.
29678         * soft-fp/floatsidf.c: Likewise.
29679         * soft-fp/floatsisf.c: Likewise.
29680         * soft-fp/floatsitf.c: Likewise.
29681         * soft-fp/floattidf.c: Likewise.
29682         * soft-fp/floattisf.c: Likewise.
29683         * soft-fp/floattitf.c: Likewise.
29684         * soft-fp/floatundidf.c: Likewise.
29685         * soft-fp/floatundisf.c: Likewise.
29686         * soft-fp/floatunsidf.c: Likewise.
29687         * soft-fp/floatunsisf.c: Likewise.
29688         * soft-fp/floatuntidf.c: Likewise.
29689         * soft-fp/floatuntisf.c: Likewise.
29690         * soft-fp/floatuntitf.c: Likewise.
29691         * soft-fp/fmadf4.c: Likewise.
29692         * soft-fp/fmasf4.c: Likewise.
29693         * soft-fp/fmatf4.c: Likewise.
29694         * soft-fp/gedf2.c: Likewise.
29695         * soft-fp/gesf2.c: Likewise.
29696         * soft-fp/getf2.c: Likewise.
29697         * soft-fp/ledf2.c: Likewise.
29698         * soft-fp/lesf2.c: Likewise.
29699         * soft-fp/letf2.c: Likewise.
29700         * soft-fp/muldf3.c: Likewise.
29701         * soft-fp/mulsf3.c: Likewise.
29702         * soft-fp/multf3.c: Likewise.
29703         * soft-fp/negdf2.c: Likewise.
29704         * soft-fp/negsf2.c: Likewise.
29705         * soft-fp/negtf2.c: Likewise.
29706         * soft-fp/op-1.h: Likewise.
29707         * soft-fp/op-2.h: Likewise.
29708         * soft-fp/op-4.h: Likewise.
29709         * soft-fp/op-8.h: Likewise.
29710         * soft-fp/op-common.h: Likewise.
29711         * soft-fp/quad.h: Likewise.
29712         * soft-fp/single.h: Likewise.
29713         * soft-fp/soft-fp.h: Likewise.
29714         * soft-fp/sqrtdf2.c: Likewise.
29715         * soft-fp/sqrtsf2.c: Likewise.
29716         * soft-fp/sqrttf2.c: Likewise.
29717         * soft-fp/subdf3.c: Likewise.
29718         * soft-fp/subsf3.c: Likewise.
29719         * soft-fp/subtf3.c: Likewise.
29720         * soft-fp/truncdfsf2.c: Likewise.
29721         * soft-fp/trunctfdf2.c: Likewise.
29722         * soft-fp/trunctfsf2.c: Likewise.
29723         * soft-fp/trunctfxf2.c: Likewise.
29724         * soft-fp/unorddf2.c: Likewise.
29725         * soft-fp/unordsf2.c: Likewise.
29726         * soft-fp/unordtf2.c: Likewise.
29728 2013-10-14   Ondřej Bílka  <neleai@seznam.cz>
29730         [BZ #15672]
29731         * misc/error.c (error_tail): Fix possible buffer overflow.
29733 2013-10-14  Aurelien Jarno  <aurelien@aurel32.net>
29735         [BZ #13028]
29736         * res_send.c(__libc_res_nsend): Correctly copy the nameserver
29737         address.
29739 2013-10-14  P. J. McDermott  <pj@pehjota.net>
29741         [BZ #832]
29742         * elf/ldd.bash.in (try_trace): New function.  Delete previous code
29743         testing pipefail option.
29745 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
29747         * soft-fp/double.h: Indent preprocessor directives inside #if.
29748         * soft-fp/extended.h: Likewise.
29749         * soft-fp/op-2.h: Likewise.
29750         * soft-fp/op-4.h: Likewise.
29751         * soft-fp/op-common.h: Likewise.
29752         * soft-fp/quad.h: Likewise.
29753         * soft-fp/single.h: Likewise.
29754         * soft-fp/soft-fp.h: Likewise.
29756 2013-10-12   Yuri Chornoivan <yurchor@ukr.net>
29758         * iconv/iconv_prog.c: Fix typos.
29759         * stdio-common/psiginfo-data.h: Likewise.
29761 2013-10-12   Reuben Thomas <rrt@sc3d.org>
29763         [BZ #15764]
29764         * locale/setlocale.c: Fix typo.
29766 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
29768         [BZ #16036]
29769         * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
29770         signaling NaN arguments.
29771         * soft-fp/unordsf2.c (__unordsf2): Likewise.
29772         * soft-fp/unordtf2.c (__unordtf2): Likewise.
29774         [BZ #14910]
29775         * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
29776         unordered operands.
29777         * soft-fp/gesf2.c (__gesf2): Likewise.
29778         * soft-fp/getf2.c (__getf2): Likewise.
29779         * soft-fp/ledf2.c (__ledf2): Likewise.
29780         * soft-fp/lesf2.c (__lesf2): Likewise.
29781         * soft-fp/letf2.c (__letf2): Likewise.
29783         * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
29784         * soft-fp/eqsf2.c (__eqsf2): Likewise.
29785         * soft-fp/eqtf2.c (__eqtf2): Likewise.
29786         * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
29787         * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
29788         * soft-fp/fixdfti.c (__fixdfti): Likewise.
29789         * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
29790         * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
29791         * soft-fp/fixsfti.c (__fixsfti): Likewise.
29792         * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
29793         * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
29794         * soft-fp/fixtfti.c (__fixtfti): Likewise.
29795         * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
29796         * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
29797         * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
29798         * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
29799         * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
29800         * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
29801         * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
29802         * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
29803         * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
29804         * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
29805         * soft-fp/floatdisf.c (__floatdisf): Likewise.
29806         * soft-fp/floatsisf.c (__floatsisf): Likewise.
29807         * soft-fp/floattidf.c (__floattidf): Likewise.
29808         * soft-fp/floattisf.c (__floattisf): Likewise.
29809         * soft-fp/floattitf.c (__floattitf): Likewise.
29810         * soft-fp/floatundidf.c (__floatundidf): Likewise.
29811         * soft-fp/floatundisf.c (__floatundisf): Likewise.
29812         * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
29813         * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
29814         * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
29815         * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
29816         * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
29817         * soft-fp/gesf2.c (__gesf2): Likewise.
29818         * soft-fp/getf2.c (__getf2): Likewise.
29819         * soft-fp/ledf2.c (__ledf2): Likewise.
29820         * soft-fp/lesf2.c (__lesf2): Likewise.
29821         * soft-fp/letf2.c (__letf2): Likewise.
29823         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
29824         Undefine and redefine.
29825         [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
29826         [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
29827         [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
29828         * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
29829         (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
29830         * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
29831         (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
29832         * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
29833         (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
29834         * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
29835         (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
29836         * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
29837         (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
29838         * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
29839         (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
29841         [BZ #16032]
29842         * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
29843         without decrementing exponent if mantissa >= that for the
29844         denominator, not >.
29845         (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
29846         denominator, not >.  Decrement exponent in < case instead of
29847         incrementing in >= case.
29848         * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
29849         without decrementing exponent if mantissa >= that for the
29850         denominator, not >.
29852         * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
29853         computing saturated result for unsigned overflow.
29855 2013-10-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
29856             Jeff Law  <law@redhat.com>
29858         * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
29859         (atan2Mp): Add systemtap probe marker.
29860         * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
29861         (__ieee754_log): Add systemtap probe marker.
29862         * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
29863         (atanMp): Add systemtap probe marker.
29864         * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
29865         (tanMp): Add systemtap probe marker.
29866         * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
29867         (__slowexp): Add systemtap probe marker.
29868         * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
29869         (__slowpow): Add systemtap probe marker.
29870         * manual/probes.texi: Document probes.
29872 2013-10-11  Eric Biggers  <ebiggers3@gmail.com>
29874         [BZ #15362]
29875         * libio/fileops.c (_IO_new_file_write): Return count of bytes
29876         written.
29877         (_IO_new_file_xsputn): Don't return EOF if nothing has been
29878         written.
29879         * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
29880         written to buffer but not flushed.
29881         * libio/iofwrite_u.c:  Likewise.
29882         * libio/iopadn.c:  Return bytes returned even if EOF was
29883         encountered.
29884         * libio/iowpadn.c:  Likewise.
29885         * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
29886         if _IO_padn does not write the whole buffer.
29887         [!COMPILE_WPRINTF] (PAD): Likewise.
29889 2013-10-10  David S. Miller  <davem@davemloft.net>
29891         * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
29892         directory block.
29894 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
29896         * soft-fp/extendxftf2.c: Use copyright year range.  Use URL
29897         instead of FSF address.
29898         * soft-fp/fixdfti.c: Likewise.
29899         * soft-fp/fixsfti.c: Likewise.
29900         * soft-fp/fixtfti.c: Likewise.
29901         * soft-fp/fixunsdfti.c: Likewise.
29902         * soft-fp/fixunssfti.c: Likewise.
29903         * soft-fp/fixunstfti.c: Likewise.
29904         * soft-fp/floattidf.c: Likewise.
29905         * soft-fp/floattisf.c: Likewise.
29906         * soft-fp/floattitf.c: Likewise.
29907         * soft-fp/floatuntidf.c: Likewise.
29908         * soft-fp/floatuntisf.c: Likewise.
29909         * soft-fp/floatuntitf.c: Likewise.
29910         * soft-fp/trunctfxf2.c: Likewise.
29912         * soft-fp/extendxftf2.c: New file.  Copied from libgcc.
29913         * soft-fp/fixdfti.c: Likewise.
29914         * soft-fp/fixsfti.c: Likewise.
29915         * soft-fp/fixtfti.c: Likewise.
29916         * soft-fp/fixunsdfti.c: Likewise.
29917         * soft-fp/fixunssfti.c: Likewise.
29918         * soft-fp/fixunstfti.c: Likewise.
29919         * soft-fp/floattidf.c: Likewise.
29920         * soft-fp/floattisf.c: Likewise.
29921         * soft-fp/floattitf.c: Likewise.
29922         * soft-fp/floatuntidf.c: Likewise.
29923         * soft-fp/floatuntisf.c: Likewise.
29924         * soft-fp/floatuntitf.c: Likewise.
29925         * soft-fp/trunctfxf2.c: Likewise.
29927 2013-10-10  David S. Miller  <davem@davemloft.net>
29929         * sysdeps/sparc/fpu/libm-test-ulps: Update.
29931 2013-10-10  Joseph Myers  <joseph@codsourcery.com>
29933         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
29934         (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
29935         [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
29936         [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
29937         [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
29938         [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
29939         [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
29941         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
29942         for NaNs before doing comparisons on argument.
29943         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
29944         Likewise.
29946 2013-10-10  Will Newton  <will.newton@linaro.org>
29948         * malloc/hooks.c (memalign_check): Ensure the value of bytes
29949         passed to _int_memalign does not overflow.
29951 2013-10-10  Torvald Riegel  <triegel@redhat.com>
29953         * scripts/bench.pl: Add include-sources directive.
29954         * benchtests/README: Update documentation.
29956 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
29958         * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
29959         * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
29960         instead of FP_INIT_ROUNDMODE.
29961         * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
29962         * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
29964         [BZ #16034]
29965         * soft-fp/op-common.h (_FP_NEG): Document input as raw.  Do not
29966         copy class of input value.
29967         * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing.  Do
29968         not handle exceptions.
29969         * soft-fp/negsf2.c (__negsf2): Likewise.
29970         * soft-fp/negtf2.c (__negtf2): Likewise.
29971         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
29973 2013-10-09  Joseph Myers  <joseph@codesourcery.com>
29975         * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
29976         semicolon.  From Linux kernel.
29978 2013-10-09  Adam Buchbinder  <adam.buchbinder@gmail.com>
29980         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
29982 2013-10-08  Yogesh Chaudhari  <mr.yogesh@gmail.com>
29984         [BZ #156]
29985         * manual/socket.texi: Added statement about buffer
29986         for gethostbyname2_r.
29988 2013-10-08  Ondřej Bílka  <neleai@seznam.cz>
29990         * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
29991         Use .p2align directive instead, throughout.
29992         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
29993         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
29994         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
29995         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
29996         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
29997         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
29998         * sysdeps/x86_64/strchr.S: Likewise.
29999         * sysdeps/x86_64/strrchr.S: Likewise.
30001 2013-10-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
30003         * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
30005         * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
30007         * sysdeps/generic/math_private.h (__mpsin1): Remove
30008         declaration.
30009         (__mpcos1): Likewise.
30010         (__mpsin): New argument __range_reduce.
30011         (__mpcos): Likewise.
30012         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
30013         (slow): Use __mpsin and __mpcos.
30014         (slow1): Likewise.
30015         (slow2): Likewise.
30016         (sloww): Likewise.
30017         (sloww1): Likewise.
30018         (sloww2): Likewise.
30019         (bsloww): Likewise.
30020         (bsloww1): Likewise.
30021         (bsloww2): Likewise.
30022         (cslow2): Likewise.
30023         (csloww): Likewise.
30024         (csloww1): Likewise.
30025         (csloww2): Likewise.
30026         * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
30027         range_reduce.  Merge in __mpsin1.
30028         (__mpcos): Likewise.
30029         (__mpsin1): Remove.
30030         (__mpcos1): Likewise.
30032 2013-10-07  Joseph Myers  <joseph@codesourcery.com>
30034         * locale/loadlocale.c (_nl_intern_locale_data): Use
30035         LOCFILE_ALIGNED_P.
30036         * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
30037         LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
30038         * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
30039         obstack data is appropriately aligned.
30040         (obstack_int32_grow_fast): Likewise.
30041         * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
30042         * locale/programs/locfile.c (add_locale_uint32): Likewise.
30043         (add_locale_uint32_array): Likewise.
30045 2013-10-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
30047         * benchtests/Makefile: Remove ARGLIST and RET variables.
30048         ($(objpfx)bench-%.c): Pass only function name to the script.
30049         * benchtests/README: Update documentation.
30050         * benchtests/acos-inputs: Add new directives.
30051         * benchtests/acosh-inputs: Likewise.
30052         * benchtests/asin-inputs: Likewise.
30053         * benchtests/asinh-inputs: Likewise.
30054         * benchtests/atan-inputs: Likewise.
30055         * benchtests/atanh-inputs: Likewise.
30056         * benchtests/cos-inputs: Likewise.
30057         * benchtests/cosh-inputs: Likewise.
30058         * benchtests/exp-inputs: Likewise.
30059         * benchtests/log-inputs: Likewise.
30060         * benchtests/pow-inputs: Likewise.
30061         * benchtests/rint-inputs: Likewise.
30062         * benchtests/sin-inputs: Likewise.
30063         * benchtests/sinh-inputs: Likewise.
30064         * benchtests/tan-inputs: Likewise.
30065         * benchtests/tanh-inputs: Likewise.
30066         * scripts/bench.pl: Add support for new directives.
30068 2013-10-07  Alan Modra  <amodra@gmail.com>
30070         * README: Fix careless merge.
30072 2013-10-05  Alan Modra  <amodra@gmail.com>
30074         * NEWS: Mention powerpc64le support and bugs fixed.
30075         * README: Both big-endian and little-endian powerpc64 supported.
30077 2013-10-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
30079         * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
30080         (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
30081         (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
30082         _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
30084 2013-10-04  Ryan S. Arnold  <ryan.arnold@linaro.org>
30086         * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
30087         match prototype.
30089 2013-10-04  Joseph Myers  <joseph@codesourcery.com>
30091         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
30092         Move -mhard-float appending from
30093         ports/sysdeps/powerpc/powerpc32/Makefile.
30094         [$(with-fp) = yes] (ASFLAGS): Likewise.
30095         [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
30096         * sysdeps/powerpc/nofpu: Move directory from
30097         ports/sysdeps/powerpc/nofpu.
30098         * sysdeps/powerpc/soft-fp: Move directory from
30099         ports/sysdeps/powerpc/soft-fp.
30100         * sysdeps/powerpc/powerpc32/405: Move directory from
30101         ports/sysdeps/powerpc/powerpc32/405.
30102         * sysdeps/powerpc/powerpc32/440: Move directory from
30103         ports/sysdeps/powerpc/powerpc32/440.
30104         * sysdeps/powerpc/powerpc32/464: Move directory from
30105         ports/sysdeps/powerpc/powerpc32/464.
30106         * sysdeps/powerpc/powerpc32/476: Move directory from
30107         ports/sysdeps/powerpc/powerpc32/476.
30108         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
30109         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
30110         * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
30111         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
30112         * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
30113         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
30114         * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
30115         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
30116         * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
30117         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
30118         * README: Update for powerpc-*-linux-gnu software floating point
30119         support in libc.
30121         * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
30122         case to powerpc/powerpc32*.
30123         * sysdeps/unix/sysv/linux/configure: Regenerated.
30125         * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
30126         (_FPU_MASK_OM): Define as 0x04.
30127         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
30128         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
30129         0x00c10080.
30130         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
30131         0x0000003c.
30132         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
30134         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
30135         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
30136         getcontext_e500.
30137         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
30138         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
30139         setcontext_e500.
30140         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
30141         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
30142         and setcontext_e500.
30144 2013-10-04  Chris Leonard  <cjl@sugarlabs,.org>
30146         * locale/iso-3166.def: Update iso-1366.def and related occurrences
30148 2013-10-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
30150         * manual/threads.texi (Default Thread Attributes): Fix typo.
30152 2013-10-04  Will Newton  <will.newton@linaro.org>
30154         * malloc/Makefile: Add tst-memalign.
30155         * malloc/tst-memalign.c: New file.
30157         * malloc/tst-posix_memalign.c: Add comments.
30158         (do_test): Add comments and call free on all potentially
30159         allocated pointers. Add space after cast.
30161         * malloc/tst-pvalloc.c: Add comments.
30162         (do_test): Add comments and call free on all potentially
30163         allocated pointers. Remove duplicate check for NULL pointer.
30164         Add space after cast.
30166         * malloc/tst-valloc.c: Add comments.
30167         (do_test): Add comments and call free on all potentially
30168         allocated pointers. Remove duplicate check for NULL pointer.
30169         Add space after cast.
30171 2013-10-04  Alan Modra  <amodra@gmail.com>
30173         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
30174         Use stdint types in rather than __attribute__((mode())).
30175         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
30177 2013-10-04  Alan Modra  <amodra@gmail.com>
30179         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
30180         Correct handling of unaligned relocs for little-endian.
30181         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
30183 2013-10-04  Alan Modra  <amodra@gmail.com>
30185         * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
30186         * configure: Regenerate.
30187         * nptl/shlib-versions: Powerpc*le starts at 2.18.
30188         * shlib-versions: Likewise.
30190 2013-10-04  Alan Modra  <amodra@gmail.com>
30192         * string/tester.c (test_memrchr): Increment reported test cycle.
30194 2013-10-04  Alan Modra  <amodra@gmail.com>
30196         * string/test-memcpy.c (do_one_test): When reporting errors, print
30197         string address and don't overrun end of string.
30199 2013-10-04  Alan Modra  <amodra@gmail.com>
30201         * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
30202         insrdi.  Make better use of reg selection to speed exit slightly.
30203         Schedule entry path a little better.  Remove useless "are we done"
30204         checks on entry to main loop.  Handle wrapping around zero address.
30205         Correct main loop count.  Handle single left-over word from main
30206         loop inline rather than by using loop_small.  Remove extra word
30207         case in loop_small caused by wrong loop count.  Add little-endian
30208         support.
30209         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
30210         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.  Use proper
30211         cache hint.
30212         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
30213         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
30214         support.  Avoid rlwimi.
30215         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
30217 2013-10-04  Alan Modra  <amodra@gmail.com>
30219         * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
30220         insrdi.  Formatting.
30221         * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
30222         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
30223         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
30224         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
30225         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
30226         * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
30228 2013-10-04  Alan Modra  <amodra@gmail.com>
30230         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
30231         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
30232         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
30233         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
30234         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
30235         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
30236         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
30237         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
30238         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise.  Make better
30239         use of regs.  Use power7 mtocrf.  Tidy function tails.
30241 2013-10-04  Alan Modra  <amodra@gmail.com>
30243         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
30244         Formatting.  Consistently use rXXX register defines or rN defines.
30245         Use early exit labels that avoid restoring unused non-volatile regs.
30246         Make cr field use more consistent with rWORDn compares.  Rename
30247         regs used as shift registers for unaligned loop, using rN defines
30248         for short lifetime/multiple use regs.
30249         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
30250         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.  Exit with
30251         addi 1,1,64 to pop stack frame.  Simplify return value code.
30252         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
30254 2013-10-04  Alan Modra  <amodra@gmail.com>
30256         * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
30257         support.  Correct typos, formatting.  Optimize tail.  Use insrdi
30258         rather than rlwimi.
30259         * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
30260         * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
30261         little-endian support.  Correct typos.
30262         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise.  Use insrdi
30263         rather than rlwimi.
30264         * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define.  Use
30265         in loop and entry code to keep "and." results.
30266         (strchr): Add little-endian support.  Comment.  Move cntlzd
30267         earlier in tail.
30268         * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
30270 2013-10-04  Alan Modra  <amodra@gmail.com>
30272         * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
30273         * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
30274         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
30275         * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
30277 2013-10-04  Alan Modra  <amodra@gmail.com>
30279         * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
30280         (rTMP): Define as r11.
30281         (strcmp): Add little-endian support.  Optimise tail.
30282         * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
30283         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
30284         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
30285         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
30286         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
30287         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
30288         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
30290 2013-10-04  Alan Modra  <amodra@gmail.com>
30292         * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
30293         little-endian support.  Remove unnecessary "are we done" tests.
30294         Handle "s" wrapping around zero and extremely large "size".
30295         Correct main loop count.  Handle single left-over word from main
30296         loop inline rather than by using small_loop.  Correct comments.
30297         Delete "zero" tail, use "end_max" instead.
30298         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
30300 2013-10-04  Alan Modra  <amodra@gmail.com>
30302         * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
30303         support.  Don't branch over align.
30304         * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
30305         * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
30306         support.  Rearrange tmp reg use to suit.  Comment.
30307         * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
30309 2013-10-04  Alan Modra  <amodra@gmail.com>
30311         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
30313 2013-10-04  Alan Modra  <amodra@gmail.com>
30315         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
30316         conditional form of branch and link when obtaining pc.
30317         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
30319 2013-10-04  Alan Modra  <amodra@gmail.com>
30321         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
30322         HIWORD/LOWORD.
30323         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
30324         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
30326 2013-10-04  Alan Modra  <amodra@gmail.com>
30328         * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
30329         * sysdeps/powerpc/novmx-longjmp.c: Likewise.
30330         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
30331         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
30332         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
30333         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
30334         * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
30335         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
30336         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
30337         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
30339 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
30340             Alistair Popple <alistair@ozlabs.au.ibm.com>
30341             Alan Modra <amodra@gmail.com>
30343         [BZ #15723]
30344         * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
30345         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
30346         _dl_hwcap access for little-endian.
30347         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.  Don't
30348         destroy vmx regs when saving unaligned.
30349         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
30350         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save.  Don't
30351         destroy vmx regs when saving unaligned.
30353 2013-10-04  Alan Modra  <amodra@gmail.com>
30355         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
30356         Don't use a union to pack hi/low value.
30358 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
30360         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
30361         for little-endian.
30362         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
30363         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
30364         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
30365         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
30366         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
30368 2013-10-04  Alan Modra  <amodra@gmail.com>
30370         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
30371         constants to usual value for .cst8 section, and remove redundant
30372         high address load.
30373         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
30374         constant for 0x1p52.  Load little-endian words of double from
30375         correct stack offsets.
30377 2013-10-04  Alan Modra  <amodra@gmail.com>
30379         * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
30380         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
30381         words of double from correct stack offsets.
30382         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
30383         * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
30384         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
30385         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
30386         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
30387         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
30388         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
30389         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
30390         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
30391         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
30392         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
30393         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
30394         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
30395         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
30396         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
30397         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
30398         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
30400 2013-10-04  Alan Modra  <amodra@gmail.com>
30402         * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
30403         64-bit int/double union.
30404         (_FPU_SETCW): Likewise.
30405         * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
30406         (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
30408 2013-10-04  Alan Modra  <amodra@gmail.com>
30410         * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
30411         * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
30413 2013-10-04  Alan Modra  <amodra@gmail.com>
30415         * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
30416         use vector int constants.
30417         (__float_and_test24, __float_and8, __float_get_exp): Likewise.
30419 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
30421         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
30422         array with long long.
30423         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
30424         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
30425         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
30426         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
30427         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
30428         * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
30429         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
30430         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
30431         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
30432         * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
30433         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
30434         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
30435         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
30437 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
30439         * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
30440         (__signbit): Likewise.  Correct for little-endian.
30441         (__signbitl): Call __signbit.
30442         (lrint): Correct for little-endian.
30443         (lrintf): Call lrint.
30445 2013-10-04  Alan Modra  <amodra@gmail.com>
30447         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
30448         union 32-bit int array member with 64-bit int array.
30449         (t515, tm256): Double rather than long double.
30450         (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
30452 2013-10-04  Alan Modra  <amodra@gmail.com>
30454         * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
30455         Delete.
30456         (IEEE854_LONG_DOUBLE_BIAS): Delete.
30457         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
30458         version of math_ldbl.h.
30460 2013-10-04  Alan Modra  <amodra@gmail.com>
30462         [BZ #15734], [BZ #15735]
30463         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
30464         all uses of ieee875 long double macros and unions.  Simplify test
30465         for 0.0L.  Correct |x|<|y| and |x|=|y| test.  Use
30466         ldbl_extract_mantissa value for ix,iy exponents.  Properly
30467         normalize after ldbl_extract_mantissa, and don't add hidden bit
30468         already handled.  Don't treat low word of ieee854 mantissa like
30469         low word of IBM long double and mask off bit when testing for
30470         zero.
30471         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
30472         all uses of ieee875 long double macros and unions.  Simplify tests
30473         for 0.0L and inf.  Correct double adjustment of k.  Delete dead code
30474         adjusting ha,hb.  Simplify code setting kld.  Delete two600 and
30475         two1022, instead use their values.  Recognise that tests for large
30476         "a" and small "b" are mutually exclusive.  Rename vars.  Comment.
30477         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
30478         Rewrite all uses of ieee875 long double macros and unions.  Simplify
30479         test for 0.0L and nan.  Correct negation.
30480         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
30481         ieee875 long double macros and unions.  Correct output for large
30482         magnitude x.  Correct absolute value calculation.
30483         (__erfcl): Likewise.
30484         * math/libm-test.inc: Add tests for errors discovered in IBM long
30485         double versions of fmodl, remainderl, erfl and erfcl.
30487 2013-10-04  Alan Modra  <amodra@gmail.com>
30489         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
30490         all uses of ieee854 long double macros and unions.  Simplify tests
30491         for long doubles that are fully specified by the high double.
30492         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
30493         Likewise.
30494         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
30495         Remove dead code too.
30496         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
30497         (__ieee754_ynl): Likewise.
30498         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
30499         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
30500         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
30501         Remove dead code too.
30502         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
30503         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
30504         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
30505         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
30506         Simplify.
30507         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
30508         Simplify.
30509         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
30510         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
30511         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
30512         Comment on variable precision.
30513         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
30514         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
30515         Likewise.
30516         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
30517         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
30518         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
30519         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
30520         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
30522 2013-10-04  Alan Modra  <amodra@gmail.com>
30524         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
30525         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
30526         all uses of ieee854 long double macros and unions.
30527         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
30528         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
30529         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
30530         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
30531         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
30532         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
30533         Likewise.
30534         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
30535         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
30536         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
30537         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
30538         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
30539         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
30540         Simplify sign and nan test too.
30541         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
30542         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
30543         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
30544         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
30545         Likewise.
30546         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
30547         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
30548         Likewise.
30549         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
30550         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
30551         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
30552         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
30553         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
30554         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
30556 2013-10-04  Alan Modra  <amodra@gmail.com>
30558         * stdio-common/printf_size.c (__printf_size): Don't use
30559         union ieee854_long_double in fpnum union.
30560         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.  Use
30561         signbit macro to retrieve sign from long double.
30562         * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
30563         retrieve sign from long double.
30564         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
30565         * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
30566         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
30567         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
30568         * math/test-misc.c (main): Don't use union ieee854_long_double.
30570 2013-10-04  Alan Modra  <amodra@gmail.com>
30572         [BZ #15680]
30573         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
30574         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
30575         (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
30576         calculation.  Remove unnecessary test for denormal exponent.
30577         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
30578         Correct handling of denormals.  Avoid undefined shift behaviour.
30579         Correct normalisation of low mantissa when low double is denormal.
30580         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
30581         (ldbl_extract_mantissa): Likewise.  Comment.  Use uint64_t* for hi64.
30582         (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
30583         Correct normalisation of low mantissa.  Test for overflow of high
30584         mantissa and normalise.
30585         (ldbl_nearbyint): Use more readable constant for two52.
30586         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
30587         (__mpn_construct_long_double): Fix test for overflow of high
30588         mantissa and correct normalisation.  Avoid undefined shift.
30590 2013-10-04  Alan Modra  <amodra@gmail.com>
30592         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
30593         (union ibm_extended_long_double): Define as an array of ieee754_double.
30594         (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
30595         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
30596         to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
30597         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
30598         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
30599         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
30600         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
30601         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
30602         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
30603         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
30604         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
30606 2013-10-03  Joseph Myers  <joseph@codesourcery.com>
30608         * locale/programs/locarchive.c (add_locale): Use constant 4096 for
30609         page size instead of calling getpagesize.
30611         * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
30612         (LOCFILE_ALIGN_MASK): Likewise.
30613         (LOCFILE_ALIGN_UP): Likewise.
30614         (LOCFILE_ALIGNED_P): Likewise.
30615         * locale/programs/ld-collate.c (collate_output): Use the new
30616         macros instead of __alignof__ (int32_t).
30617         * locale/weight.h (findidx): Likewise.
30619 2013-10-03  Ondřej Bílka  <neleai@seznam.cz>
30621         [BZ #431]
30622         * manual/string.texi: Fix strncat and wcsncat.
30624 2013-10-03  Brooks Moses  <bmoses@google.com>
30626         [BZ #15915]
30627         * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
30628         * Makerules: ...here, and adjust associated comments.
30630 2013-10-02  Will Newton  <will.newton@linaro.org>
30632         * malloc/Makefile: Add tst-pvalloc.
30633         * malloc/tst-pvalloc.c: New file.
30635 2013-10-02  Will Newton  <will.newton@linaro.org>
30637         * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
30638         improve test coverage.
30640 2013-10-02  Will Newton  <will.newton@linaro.org>
30642         * malloc/Makefile: Add tst-posix_memalign.
30643         * malloc/tst-posix_memalign.c: New file.
30645 2013-10-01  Eric Blake  <eblake@redhat.com>
30647         * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
30648         Use __THROWNL rather than __THROW on static functions.
30650 2013-09-30  Petr Machata  <pmachata@redhat.com>
30652         * elf/elf.h (R_AARCH64_ABS16): New macro.
30653         (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
30654         (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
30655         (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
30656         (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
30657         (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
30658         (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
30659         (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
30660         (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
30661         (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
30662         (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
30663         (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
30664         (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
30665         (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
30666         (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
30667         (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
30668         (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
30669         (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
30670         (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
30671         (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
30672         (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
30673         (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
30674         (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
30675         (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
30676         (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
30677         (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
30678         (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
30679         (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
30680         (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
30681         (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
30682         (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
30683         (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
30684         (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
30685         (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
30686         (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
30687         (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
30688         (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
30689         (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
30690         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
30691         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
30692         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
30693         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
30694         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
30695         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
30696         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
30697         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
30698         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
30699         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
30700         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
30701         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
30702         (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
30703         (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
30704         (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
30705         (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
30706         (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
30707         (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
30708         (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
30709         (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
30710         (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
30711         (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
30712         (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
30713         (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
30714         (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
30715         (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
30716         (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
30717         (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
30718         (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
30719         (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
30720         (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
30721         (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
30722         (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
30723         (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
30724         (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
30725         (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
30726         (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
30727         (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
30728         (R_AARCH64_TLSDESC_OFF_G1): Likewise.
30729         (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
30730         (R_AARCH64_TLSDESC_LDR): Likewise.
30731         (R_AARCH64_TLSDESC_ADD): Likewise.
30732         (R_AARCH64_TLSDESC_CALL): Likewise.
30734 2013-09-30  Andreas Schwab  <schwab@suse.de>
30736         [BZ #15048]
30737         * nscd/aicache.c (addhstaiX): Properly use the cache variable for
30738         the nss database lookup.
30739         * nscd/initgrcache.c (addinitgroupsX): Likewise.
30740         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
30742 2013-09-28  Mike Frysinger  <vapier@gentoo.org>
30744         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
30746 2013-09-28  P. J. McDermott  <pj@pehjota.net>
30748         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
30749         ${Bash-specific parameter/pattern/string} parameter expansion.
30750         * sysdeps/unix/make-syscalls.sh: Likewise.
30752 2013-09-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
30754         * sysdeps/sh/stackguard-macros.h: New file.
30756 2013-09-26  Ondřej Bílka  <neleai@seznam.cz>
30758         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
30759         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
30760         * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
30761         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
30762         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
30763         * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
30765 2013-09-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30767         * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
30768         Fix thread ID register.
30770 2013-09-25  Joseph Myers  <joseph@codesourcery.com>
30772         * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
30773         [POSIX || UNIX98]: Require rather than permitting all symbols from
30774         <time.h>.
30775         [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
30776         element of struct sched_param.
30777         [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
30778         [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
30779         [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
30780         [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
30781         constant.
30783 2013-09-24  Olivier Langlois  <olivier@olivierlanglois.net>
30785         * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
30786         argument calculation.
30788 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
30790         * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
30791         Expect macro.
30792         [POSIX] (pthread_attr_t): Do not require type.
30793         [POSIX] (pthread_cond_t): Likewise.
30794         [POSIX] (pthread_condattr_t): Likewise.
30795         [POSIX] (pthread_key_t): Likewise.
30796         [POSIX] (pthread_mutex_t): Likewise.
30797         [POSIX] (pthread_mutexattr_t): Likewise.
30798         [POSIX] (pthread_once_t): Likewise.
30799         [POSIX] (pthread_t): Likewise.
30800         [POSIX-based standards] (pthread_atfork): Expect function.
30802 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
30803             Richard Sandiford  <richard@codesourcery.com>
30805         * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
30806         (swap_endianness_p): New extern variable.
30807         (set_big_endian): New inline function.
30808         (maybe_swap_uint32): Likewise.
30809         (maybe_swap_uint32_array): Likewise.
30810         (maybe_swap_uint32_obstack): Likewise.
30811         * locale/programs/locfile.c: Include <stdbool.h>.
30812         (swap_endianness_p): New variable.
30813         (add_locale_uint32): Call maybe_swap_uint32.
30814         (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
30815         (write_locale_data): Call maybe_swap_uint32_array.
30816         * locale/programs/ld-collate.c (obstack_int32_grow): Call
30817         maybe_swap_uint32.
30818         (obstack_int32_grow_fast): Likewise.
30819         (output_weightwc): Call maybe_swap_uint32_obstack.
30820         (collate_output): Likewise.
30821         * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
30822         (OPT_LITTLE_ENDIAN): Likewise.
30823         (options): Add --little-endian and --big-endian options.
30824         (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
30825         * locale/programs/locarchive.c: Include "locfile.h".
30826         (GET): New macro.
30827         (SET): Likewise.
30828         (INC): Likewise.
30829         (create_archive): Use the new macros to access fields of
30830         structures directly mapped from or written to locale archives.
30831         (oldlocrecentcmp): Likewise.
30832         (enlarge_archive): Likewise.
30833         (insert_name): Likewise.
30834         (add_alias): Likewise.
30835         (add_locale): Likewise.
30836         (delete_locales_from_archive): Likewise.
30837         (show_archive_content): Likewise.
30838         (add_locale_to_archive): Likewise.  Use maybe_swap_uint32 on
30839         locale data.
30841 2013-09-24  Roland McGrath  <roland@hack.frob.com>
30843         * manual/freemanuals.texi: Updated from (newly) canonical copy at
30844         http://www.gnu.org/doc/freemanuals.texi.
30845         * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
30847 2013-09-24  Will Newton  <will.newton@linaro.org>
30849         * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
30850         macro.
30852 2013-09-23  Joseph Myers  <joseph@codesourcery.com>
30854         * locale/hashval.h (compute_hashval): Interpret bytes of key as
30855         unsigned char.
30857 2013-09-23  Maciej W. Rozycki  <macro@codesourcery.com>
30859         * manual/threads.texi (POSIX Threads): Fix a typo.
30861 2013-09-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
30863         [BZ #14547]
30864         * string/tst-strcoll-overflow.c: New test case.
30865         * string/Makefile (xtests): Add tst-strcoll-overflow.
30866         * string/strcoll_l.c (STRCOLL): Skip allocating memory for
30867         cache if string sizes may cause integer overflow.
30869         [BZ #14547]
30870         * string/strcoll_l.c (coll_seq): New members rule, idx,
30871         save_idx and back_us.
30872         (get_next_seq_nocache): New function.
30873         (do_compare_nocache): New function.
30874         (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
30875         when malloc fails.
30877 2013-09-23  Carlos O'Donell  <carlos@redhat.com>
30879         [BZ #15754]
30880         * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
30881         __pointer_chk_guard_local, otherwise __pointer_chk_guard.
30882         * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
30884         [BZ #15754]
30885         * elf/Makefile (tests): Add tst-ptrguard1.
30886         (tests-static): Add tst-ptrguard1-static.
30887         (tst-ptrguard1-ARGS): Define.
30888         (tst-ptrguard1-static-ARGS): Define.
30889         * elf/tst-ptrguard1.c: New file.
30890         * elf/tst-ptrguard1-static.c: New file.
30891         * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
30892         * sysdeps/i386/stackguard-macros.h: Likewise.
30893         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
30894         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
30895         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
30896         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
30897         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
30898         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
30900 2013-09-23  Hector Marco  <hecmargi@upv.es>
30901             Ismael Ripoll  <iripoll@disca.upv.es>
30902             Carlos O'Donell  <carlos@redhat.com>
30904         [BZ #15754]
30905         * sysdeps/generic/stackguard-macros.h: Define
30906         __pointer_chk_guard_local and POINTER_CHK_GUARD.
30907         * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
30908         Define __pointer_chk_guard_local.
30909         (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
30910         Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
30912 2013-09-15  Vinitha Vijayan <vinitha.vijayann@gmail.com>
30914         [BZ #15859]
30915         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
30917 2013-09-20  Andreas Schwab  <schwab@linux-m68k.org>
30919         * include/string.h (__ffs): Declare as hidden.
30920         * string/ffs.c (__ffs): Define as hidden.
30921         * sysdeps/i386/ffs.c (__ffs): Likewise.
30922         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
30923         * sysdeps/powerpc/ffs.c (__ffs): Likewise.
30924         * sysdeps/s390/ffs.c (__ffs): Likewise.
30925         * sysdeps/x86_64/ffs.c (__ffs): Likewise.
30927 2013-09-20  Alexandre Oliva <aoliva@redhat.com>
30929         * NEWS: Mention malloc probes.
30931         * malloc/arena.c (new_heap): New memory_heap_new probe.
30932         (grow_heap): New memory_heap_more probe.
30933         (shrink_heap): New memory_heap_less probe.
30934         (heap_trim): New memory_heap_free probe.
30935         * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
30936         (systrim): New memory_sbrk_less probe.
30937         * manual/probes.texi: Document them.
30939         * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
30940         * manual/probes.texi: Document it.
30942         * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
30943         (__libc_realloc): Add memory_realloc_retry probe.
30944         (__libc_memalign): Add memory_memalign_retry probe.
30945         (__libc_valloc): Add memory_valloc_retry probe.
30946         (__libc_pvalloc): Add memory_pvalloc_retry probe.
30947         (__libc_calloc): Add memory_calloc_retry probe.
30948         * manual/probes.texi: Document them.
30950         * malloc/arena.c (get_free_list): Add probe
30951         memory_arena_reuse_free_list.
30952         (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
30953         and memory_arena_reuse.
30954         (arena_get2) [!PER_THREAD]: Likewise.
30955         * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
30956         memory_arena_reuse_realloc.
30957         * manual/probes.texi: Document them.
30959         * malloc/malloc.c (__libc_free): Add
30960         memory_mallopt_free_dyn_thresholds probe.
30961         (__libc_mallopt): Add multiple memory_mallopt probes.
30962         * manual/probes.texi: Document them.
30964         * malloc/malloc.c: Include stap-probe.h.
30965         (__libc_mallopt): Add memory_mallopt probe.
30966         * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
30967         * manual/probes.texi: New.
30968         * manual/Makefile (chapters): Add probes.
30969         * manual/threads.texi: Set next node.
30971 2013-09-19  Wei-Lun Chao  <bluebat@member.fsf.org>
30973         [BZ #15963, #13985]
30974         * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
30975         czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
30976         Add `Chinese' to `nan' entry name.
30978 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
30980         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
30981         (POLYNOMIAL): Likewise.
30982         (TAYLOR_SINCOS): Likewise.
30983         (TAYLOR_SLOW): Likewise.
30984         (__sin): Use TAYLOR_SINCOS.
30985         (__cos): Likewise.
30986         (slow): Use TAYLOR_SLOW.
30987         (sloww): Likewise.
30988         (bsloww): Likewise.
30989         (csloww): Likewise.
30991 2013-09-19  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
30993         * stdlib/strtod_l.c: Fix buffer overrun.
30995 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
30997         * benchtests/Makefile (bench): Add sincos.
30998         * benchtests/bench-sincos.c: New file.
31000         * math/libm-test.inc (cos_test_data): New test inputs.
31001         (sin_test_data): Likewise.
31003         * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
31004         macro.
31005         (__sin): Use it.
31006         (__cos): Likewise.
31007         (slow1): Likewise.
31008         (slow2): Likewise.
31009         (sloww1): Likewise.
31010         (sloww2): Likewise.
31011         (bsloww1): Likewise.
31012         (bsloww2): Likewise.
31013         (cslow2): Likewise.
31014         (csloww1): Likewise.
31015         (csloww2): Likewise.
31017         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
31018         function.
31019         (__sin): Use it.
31020         (__cos): Likewise.
31022         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
31023         gotos.
31024         (__cos): Likewise.
31026 2013-09-18  Maciej W. Rozycki  <macro@codesourcery.com>
31028         * config.h.in (HAVE_MIPS_NAN2008): New macro.
31029         * elf/elf.h (EF_MIPS_NAN2008): Likewise.
31030         * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
31031         (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
31032         (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
31033         * elf/cache.c (print_entry): Handle the new cache flags.
31035 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
31036             Aldy Hernandez  <aldyh@redhat.com>
31038         * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
31039         Change condition to [_SOFT_FLOAT].
31040         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
31041         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
31042         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
31043         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
31044         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
31045         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
31046         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
31047         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
31048         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
31049         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
31050         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
31051         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
31052         [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
31053         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
31054         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
31055         [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
31056         declaration.
31058 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
31060         * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
31061         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
31062         (__longjmp): Use LOAD_GP to load saved GPRs.
31063         * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
31064         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
31065         (__sigsetjmp): Use SAVE_GP to save GPRs.
31067         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
31068         Do not append -msoft-float.
31069         [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
31071 2013-09-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
31073         * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
31075 2013-09-17  Joseph Myers  <joseph@codesourcery.com>
31077         [BZ #15966]
31078         * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
31079         (_FPU_GETCW): Use initial "__" on variable and field names but not
31080         on macro parameter name.
31081         [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise.  Use
31082         parentheses around reference to macro parameter.
31084 2013-09-13  Richard Sandiford  <richard@codesourcery.com>
31086         * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
31087         prototype.
31088         (ctype_startup): Use uint32_t in cast and sizeof for
31089         ctype->charnames.
31091 2013-09-11  Jia Liu  <proljc@gmail.com>
31093         * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
31094         __daddr_t_defined.
31095         [__FreeBSD__]: Likewise.
31097 2013-09-11  Ondřej Bílka  <neleai@seznam.cz>
31099         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
31100         (__libc_ifunc_impl_list): Remove: __strchr_sse42.
31101         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
31102         (strchr): Remove __strchr_sse42 ifunc selection.
31103         * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
31104         * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
31106 2013-09-11  Will Newton  <will.newton@linaro.org>
31108         * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
31109         parameter to RES. Remove hardcoded 1000 value.
31110         * benchtests/bench-skeleton.c (main): Pass RES parameter
31111         to TIMING_INIT and multiply result by 1000.
31113 2013-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31115         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31117 2013-09-11  Andreas Schwab  <schwab@suse.de>
31119         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
31120         if not defined.
31121         (O_TMPFILE) [__USE_GNU]: Define.
31122         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
31123         Define.
31125 2013-09-11  Will Newton  <will.newton@linaro.org>
31127         [BZ #15857]
31128         * malloc/malloc.c (__libc_memalign): Check the value of bytes
31129         does not overflow.
31131 2013-09-11  Will Newton  <will.newton@linaro.org>
31133         [BZ #15856]
31134         * malloc/malloc.c (__libc_valloc): Check the value of bytes
31135         does not overflow.
31137 2013-09-11  Will Newton  <will.newton@linaro.org>
31139         [BZ #15855]
31140         * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
31141         does not overflow.
31143 2013-09-10  Ondřej Bílka  <neleai@seznam.cz>
31145         * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
31146         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
31147         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
31148         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
31149         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
31151 2013-09-10  Allan McRae  <allan@archlinux.org>
31153         [BZ #15748]
31154         * manual/arith.texi (Parsing of Floats): Clarify
31155         cross-reference.
31157         [BZ #15849]
31158         * manual/install.texi (Running make install): Mention
31159         --enable-pt-chown.
31160         * INSTALL: Regenerated.
31162 2013-09-09  Maciej W. Rozycki  <macro@codesourcery.com>
31164         * csu/init-first.c (_init): Remove the !SHARED condition around
31165         FPU control word initialization.
31166         * elf/dl-support.c (_dl_fpu_control): New variable.
31167         (_dl_aux_init) <AT_FPUCW>: Initialize it.
31168         * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
31169         (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
31170         * math/test-fpucw-static.c: New file.
31171         * math/test-fpucw-ieee.c: New file.
31172         * math/test-fpucw-ieee-static.c: New file.
31173         * math/Makefile (tests): Add `test-fpucw-ieee' and
31174         `$(tests-static)'.
31175         (tests-static): New variable.
31176         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
31177         dependency to...
31178         [($(build-shared),yes)]
31179         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
31180         ... this.
31181         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
31182         New dependency.
31184 2013-09-09  Allan McRae  <allan@archlinux.org>
31186         [BZ #15939]
31187         * manual/string.texi (Collation Functions): Fix typo in
31188         strcoll example.
31189         Reported by Suren Karapetyan <me@suren.karapetyan.name>.
31191         [BZ #15893]
31192         * stdlib/isomac.c (get_null_defines): Fix memory leak.
31194         [BZ #15892]
31195         * libio/memstream.c (open_memstream): Fix memory leak.
31196         * libio/wmemstream.c (open_wmemstream): Likewise.
31198         [BZ #15895]
31199         * nscd/netgroupcache.c: Fix nesting of ifdefs.
31201 2013-09-09  Will Newton  <will.newton@linaro.org>
31203         * malloc/Makefile: Add tst-realloc to tests.
31204         * malloc/tst-realloc.c: New file.
31206 2013-09-09  Allan McRae  <allan@archlinux.org>
31208         [BZ #15844]
31209         * COPYING: Update from GNU website to fix FSF address.
31210         * COPYING.LIB: Likewise.
31212 2013-09-06  David S. Miller  <davem@davemloft.net>
31214         * po/zh_TW.po: Update Chinese (traditional) translation from
31215         translation project.
31217 2013-09-06  Richard Sandiford  <richard@codesourcery.com>
31218             Joseph Myers  <joseph@codesourcery.com>
31220         * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
31221         "localeinfo.h".
31222         (obstack_chunk_alloc): New macro.
31223         (obstack_chunk_free): Likewise.
31224         (record_offset): New function.
31225         (init_locale_data): Likewise.
31226         (align_locale_data): Likewise.
31227         (add_locale_empty): Likewise.
31228         (add_locale_raw_data): Likewise.
31229         (add_locale_raw_obstack): Likewise.
31230         (add_locale_string): Likewise.
31231         (add_locale_wstring): Likewise.
31232         (add_locale_uint32): Likewise.
31233         (add_locale_uint32_array): Likewise.
31234         (add_locale_char): Likewise.
31235         (start_locale_structure): Likewise.
31236         (end_locale_structure): Likewise.
31237         (start_locale_prelude): Likewise.
31238         (end_locale_prelude): Likewise.
31239         (write_locale_data): Take locale_file structure rather than an
31240         iovec.
31241         * locale/programs/locfile.h: Include "obstack.h".
31242         (struct locale_file): Change to store locale file contents instead
31243         of header.
31244         (init_locale_data): New prototype.
31245         (align_locale_data): Likewise.
31246         (add_locale_empty): Likewise.
31247         (add_locale_raw_data): Likewise.
31248         (add_locale_raw_obstack): Likewise.
31249         (add_locale_string): Likewise.
31250         (add_locale_wstring): Likewise.
31251         (add_locale_uint32): Likewise.
31252         (add_locale_uint32_array): Likewise.
31253         (add_locale_char): Likewise.
31254         (start_locale_structure): Likewise.
31255         (end_locale_structure): Likewise.
31256         (start_locale_prelude): Likewise.
31257         (end_locale_prelude): Likewise.
31258         (write_locale_data): Update prototype.
31259         * locale/programs/3level.h (struct TABLE): Remove result field.
31260         (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
31261         Use new locale_file interface.
31262         [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
31263         (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
31264         * locale/programs/ld-address.c (address_output): Use new
31265         locale_file interface.
31266         * locale/programs/ld-collate.c (NO_FINALIZE): Change to
31267         NO_ADD_LOCALE.
31268         (collate_finish): Don't call collseq_table_finalize.
31269         (collate_output): Use new locale_file interface.
31270         * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
31271         in file.
31272         (NO_FINALIZE): Change to NO_ADD_LOCALE.
31273         (TABLE): Move defines earlier in file.
31274         (ELEMENT): Likewise.
31275         (DEFAULT): Likewise.
31276         (wctrans_table_add): Move macro and inline function earlier in
31277         file.
31278         (struct wctype_table): Move type earlier in file.
31279         (add_locale_wctype_table): New static prototype.
31280         (struct locale_ctype_t): Use logical types instead of struct iovec
31281         pointers for members.
31282         (ctype_output): Use new locale_file interface.
31283         (wctype_table_finalize): Change to add_locale_wctype_table.  Use
31284         new locale_file interface.
31285         (allocate_arrays): Update for use of new locale_file interface.
31286         * locale/programs/ld-identification.c (identification_output): Use
31287         new locale_file interface.
31288         * locale/programs/ld-measurement.c (measurement_output): Likewise.
31289         * locale/programs/ld-messages.c (messages_output): Likewise.
31290         * locale/programs/ld-monetary.c (monetary_output): Likewise.
31291         * locale/programs/ld-name.c (name_output): Likewise.
31292         * locale/programs/ld-numeric.c (numeric_output): Likewise.
31293         * locale/programs/ld-paper.c (paper_output): Likewise.
31294         * locale/programs/ld-telephone.c (telephone_output): Likewise.
31295         * locale/programs/ld-time.c (time_output): Likewise.
31297 2013-09-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31299         * benchtests/Makefile: Add memrchr benchmark.
31300         * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
31301         benchmark as memrchr.
31302         * benchtests/bench-memrchr-ifunc.c: New file.
31303         * benchtests/bench-memrchr.c: New file.
31305 2013-09-06   Will Newton  <will.newton@linaro.org>
31307         * benchtests/Makefile (string-bench): Add memcpy.
31309 2013-09-05  Carlos O'Donell  <carlos@redhat.com>
31310             Cong Wang  <amwang@redhat.com>
31312         [BZ #15850]
31313         * sysdeps/unix/sysv/linux/bits/in.h
31314         [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
31315         * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
31316         before __USE_KERNEL_IPV6_DEFS uses.
31317         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
31318         IPPROTO_BEETPH.
31319         [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
31320         sockaddr_in6, or ipv6_mreq.
31322 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31324         * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
31325         memory access for final bytes in some large inputs.
31326         * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
31328 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31330         * string/test-memrchr.c: New file.
31331         * string/test-memrchr-ifunc.c: New file.
31332         * string/Makefile: Add new memrchr testcase.
31334 2013-09-05  Mike Frysinger  <vapier@gentoo.org>
31336         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
31337         fanotify_init returns EPERM.
31339 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
31341         * conform/conformtest.pl (newtoken): Treat tokens not allowed as
31342         errors.
31343         (top level): Treat second token from macro or constant entries for
31344         allowed headers as allowed.
31345         * include/complex.h: Condition internal declarations on
31346         [!_ISOMAC].
31347         * include/fenv.h: Condition include of <stdbool.h> and internal
31348         declarations on [!_ISOMAC].
31350 2013-09-04  Chris Leonard  <cjl@sugarlabs,.org>
31352         [BZ #15923]
31353         * locale/iso-4217.def: Update iso-1427.def and related occurrences.
31355 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
31357         * configure.in (--enable-versioning): Remove configure option.
31358         (libc_cv_asm_symver_directive): Remove configure test.
31359         (libc_cv_ld_version_script_option): Likewise.
31360         (VERSIONING): Remove variable and AC_SUBST.
31361         (DO_VERSIONING): Remove AC_DEFINE.
31362         * configure: Regenerated.
31363         * config.h.in (DO_VERSIONING): Remove macro.
31364         * Makerules [$(versioning) = yes]: Change conditionals to
31365         [$(build-shared) = yes].
31366         * config.make.in (versioning): Remove variable.
31367         * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
31368         [$(build-shared) = yes].
31369         * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
31370         * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
31371         * elf/Makefile [$(versioning) = yes]: Change conditionals to
31372         [$(build-shared) = yes].
31373         * extra-lib.mk [$(versioning) = yes]: Likewise.
31374         * hurd/Makefile [$(versioning) = yes]: Likewise.
31375         * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
31376         [SHARED].
31377         * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
31378         [SHARED].
31379         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
31380         [SHARED && !NO_HIDDEN].
31381         * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
31382         [SHARED].
31383         [SHARED && DO_VERSIONING]: Likewise..
31384         * libio/Makefile [$(versioning) = yes]: Change conditionals to
31385         [$(build-shared) = yes].
31386         * manual/install.texi (--disable-versioning): Remove
31387         documentation.
31388         * INSTALL: Regenerated.
31389         * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
31390         to [SHARED].
31391         * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
31392         [$(build-shared) = yes].
31393         * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
31394         * sysdeps/i386/i686/multiarch/strstr-c.c
31395         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
31396         [SHARED && !NO_HIDDEN].
31397         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
31398         [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
31399         * sysdeps/powerpc/powerpc32/dl-machine.c
31400         [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
31401         * sysdeps/powerpc/powerpc32/sysdep.h
31402         [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
31403         to [SHARED && PIC && !NO_HIDDEN].
31404         * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
31405         conditional to [SHARED].
31407 2013-09-04   Will Newton  <will.newton@linaro.org>
31409         * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
31410         * benchtests/bench-string.h: Include bench-timing.h instead
31411         of including hp-timing.h directly. (INNER_LOOP_ITERS): New
31412         define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
31413         call to HP_TIMING_DIFF_INIT.
31414         * benchtests/bench-memccpy.c: Use bench-timing.h macros
31415         instead of hp-timing.h macros.
31416         * benchtests/bench-memchr.c: Likewise.
31417         * benchtests/bench-memcmp.c: Likewise.
31418         * benchtests/bench-memcpy.c: Likewise.
31419         * benchtests/bench-memmem.c: Likewise.
31420         * benchtests/bench-memmove.c: Likewise.
31421         * benchtests/bench-memset.c: Likewise.
31422         * benchtests/bench-rawmemchr.c: Likewise.
31423         * benchtests/bench-strcasecmp.c: Likewise.
31424         * benchtests/bench-strcasestr.c: Likewise.
31425         * benchtests/bench-strcat.c: Likewise.
31426         * benchtests/bench-strchr.c: Likewise.
31427         * benchtests/bench-strcmp.c: Likewise.
31428         * benchtests/bench-strcpy.c: Likewise.
31429         * benchtests/bench-strcpy_chk.c: Likewise.
31430         * benchtests/bench-strlen.c: Likewise.
31431         * benchtests/bench-strncasecmp.c: Likewise.
31432         * benchtests/bench-strncat.c: Likewise.
31433         * benchtests/bench-strncmp.c: Likewise.
31434         * benchtests/bench-strncpy.c: Likewise.
31435         * benchtests/bench-strnlen.c: Likewise.
31436         * benchtests/bench-strpbrk.c: Likewise.
31437         * benchtests/bench-strrchr.c: Likewise.
31438         * benchtests/bench-strspn.c: Likewise.
31439         * benchtests/bench-strstr.c: Likewise.
31441 2013-09-04  Will Newton  <will.newton@linaro.org>
31443         * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
31445 2013-09-03  Joseph Myers  <joseph@codesourcery.com>
31447         [BZ #15427]
31448         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
31449         2**-30 instead of 2**-70 as threshold for returning -log(|x|).
31450         * math/libm-test.inc (lgamma_test_data): Add more tests.
31451         * sysdeps/i386/fpu/libm-test-ulps: Update.
31452         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31454 2013-09-03   Ondřej Bílka  <neleai@seznam.cz>
31456         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
31457         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
31458         Add ifunc.
31459         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
31460         Add strcmp-sse2-unaligned
31461         * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
31463 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
31465         * Versions.def (libc): Add GLIBC_2.19.
31467 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
31469         * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
31470         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
31472 2013-09-02  Joseph Myers  <joseph@codesourcery.com>
31474         [BZ #14155]
31475         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
31476         intermediate calculations in recurrence.
31477         (__ieee754_ynf): Likewise.
31478         * math/libm-test.inc (jn_test_data): Do not allow spurious
31479         underflow exception.  Add more tests.
31480         (yn_test_data): Add more tests.
31481         * sysdeps/i386/fpu/libm-test-ulps: Update.
31482         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31484 2013-09-02   Ondřej Bílka  <neleai@seznam.cz>
31486         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
31488 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
31490         * csu/init-first.c: Fix then/than typos.
31491         * locale/programs/ld-collate.c: Likewise.
31492         * locale/programs/linereader.h: Likewise.
31493         * manual/charset.texi: Likewise.
31494         * manual/filesys.texi: Likewise.
31495         * manual/stdio.texi: Likewise.
31496         * manual/string.texi: Likewise.
31497         * stdlib/fmtmsg.c: Likewise.
31498         * sysdeps/i386/stpncpy.S: Likewise.
31499         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
31500         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
31501         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
31502         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
31504 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
31506         * elf/dl-open.c: Fix typos.
31507         * iconvdata/gbbig5.c: Likewise.
31508         * iconvdata/iso-2022-jp.c: Likewise.
31509         * iconv/gconv_int.h: Likewise.
31510         * iconv/loop.c: Likewise.
31511         * nis/rpcsvc/nis.h: Likewise.
31512         * resolv/ns_name.c: Likewise.
31513         * stdio-common/vfscanf.c: Likewise.
31514         * streams/stropts.h: Likewise.
31515         * sunrpc/rpc_thread.c: Likewise.
31516         * sysdeps/i386/strpbrk.S: Likewise.
31517         * sysdeps/ieee754/k_standard.c: Likewise.
31518         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
31519         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
31520         * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
31521         * sysdeps/mach/hurd/profil.c: Likewise.
31522         * sysdeps/s390/dl-procinfo.h: Likewise.
31523         * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
31524         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
31525         * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
31526         * sysdeps/x86_64/dl-trampoline.S: Likewise.
31527         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
31529 2013-08-30  Ondřej Bílka  <neleai@seznam.cz>
31531         * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
31532         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
31534 2013-08-29  Ondřej Bílka  <neleai@seznam.cz>
31536         * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
31537         aix specific files.
31538         * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
31539         * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
31540         * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
31541         * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
31542         * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
31543         * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
31544         * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
31545         * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
31547 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
31548             Roland McGrath  <roland@hack.frob.com>
31550         * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
31551         * sysdeps/mach/hurd/bits/errno.h: Regenerate.
31553 2013-08-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
31555         * sysdeps/mach/hurd/i386/init-first.c (init1): Use
31556         __executable_start symbol instead of _start.
31558 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
31560         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
31561         (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
31562         Move macros to...
31563         * sysdeps/gnu/ldsodefs.h: ... this new file.
31565         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
31566         (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
31567         instead of ELFOSABI_LINUX.
31569         [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
31570         * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
31571         * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
31572         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
31573         Likewise.
31574         * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
31575         * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
31576         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
31577         Likewise.
31578         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
31579         (ibm_extended_long_double): Add ieee_nan member.
31580         * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
31581         (do_test): New function.
31583         * math/basic-test.c (TEST_CONVERT): New macro, renamed from
31584         TEST_TRUNC.
31585         (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
31586         functions, renamed from truncdfsf_test, trunctfsf_test,
31587         trunctfdf_test.
31588         (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
31589         functions.
31590         (do_test): Run all these.
31592 2013-08-29   Ondřej Bílka  <neleai@seznam.cz>
31594         * argp/argp-help.c: Fix typos.
31595         * argp/argp-parse.c: Likewise.
31596         * debug/backtracesyms.c: Likewise.
31597         * elf/elf.h: Likewise.
31598         * malloc/malloc.c: Likewise.
31599         * nis/nis_print.c: Likewise.
31600         * resolv/res_comp.c: Likewise.
31601         * stdlib/stdlib.h: Likewise.
31602         * sunrpc/clnt_tcp.c: Likewise.
31603         * sunrpc/clnt_udp.c: Likewise.
31604         * sunrpc/clnt_unix.c: Likewise.
31605         * sysdeps/unix/bsd/ptsname.c: Likewise.
31606         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
31607         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
31608         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
31609         Likewise.
31610         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
31611         Likewise.
31612         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
31613         Likewise.
31614         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
31616 2013-08-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
31618         * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
31619         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
31621 2013-08-27  Mike Frysinger  <vapier@gentoo.org>
31623         [BZ #15897]
31624         * dlfcn/Makefile (tests): Add bug-dl-leaf.
31625         (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
31626         ($(objpfx)bug-dl-leaf): New rule.
31627         ($(objpfx)bug-dl-leaf.so): Likewise.
31628         ($(objpfx)bug-dl-leaf.out): Likewise.
31629         ($(objpfx)bug-dl-leaf-lib.so): Likewise.
31630         ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
31631         * dlfcn/bug-dl-leaf.c: New test.
31632         * dlfcn/bug-dl-leaf-lib.c: Likewise.
31633         * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
31634         * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
31635         (dlclose): Likewise.
31636         (dlmopen): Likewise.
31638 2013-08-27  Roland McGrath  <roland@hack.frob.com>
31640         * include/netdb.h [!_ISOMAC]:
31641         Don't include <tls.h>.
31642         (h_errno, __libc_h_errno): Move declaration and macros out of
31643         [_LIBC_REENTRANT].
31645         * include/resolv.h [_RESOLV_H_]:
31646         Don't include <tls.h>.
31647         (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
31648         * resolv/res_libc.c: Don't include <tls.h>.
31649         (_res): Use __attribute__ ((nocommon)) in place of
31650         __attribute__ ((section (".bss"))).
31652         * Makefile ($(common-objpfx)linkobj/libc_pic.a):
31653         If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
31655         * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
31657         * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
31658         only under [SIOCGIFCONF && SIOCGIFNETMASK].
31660         * resolv/res_mkquery.c: Include <sys/time.h>.
31662         * inet/ifreq.c: Moved to ...
31663         * sysdeps/unix/ifreq.c: ... here.
31664         * inet/ifreq.c: New file, true stub version.
31666         * socket/sa_len.c: New file.
31667         * socket/Makefile (aux): Add it.
31668         * sysdeps/unix/sysv/linux/Makefile
31669         [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
31670         * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
31671         and #include <socket/sa_len.c>.
31672         * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
31673         HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
31675         * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
31676         * bits/socket.h: ... here.
31678         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
31679         Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
31680         (SOCK_MAX, SOCK_TYPE_MASK): New macros.
31682 2013-08-27  Andreas Schwab  <schwab@suse.de>
31684         [BZ #15736]
31685         * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
31686         * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
31687         (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
31688         * string/test-strcasecmp.c (test_main): Run tests in several
31689         locales.
31690         * string/test-strncasecmp.c (test_main): Likewise.
31692         * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
31693         (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
31694         to __strcasecmp_nonascii and __strncasecmp_nonascii.
31695         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
31696         (__strncasecmp_ssse3) [PIC]: Likewise.
31698 2013-08-26  Roland McGrath  <roland@hack.frob.com>
31700         * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
31702         * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
31703         instead of explicitly declaring xdecrypt.
31704         * nis/nss_nis/nis-publickey.c: Likewise.
31706 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
31708         [BZ #15890]
31709         * nscd/aicache.c: Include res_hconf.h.
31710         (addhstaiX): Initialize res_hconf.
31712 2013-08-26  Andreas Schwab  <schwab@suse.de>
31714         * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
31715         ($(objpfx)tst-tls-atexit): Add dependencies here instead.
31717 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
31719         * nscd/aicache.c (addhstaiX): Fix indentation.
31721 2013-08-25  Mike Frysinger  <vapier@gentoo.org>
31723         * configure.ac: Quote $build_pt_chown test.
31724         * configure: Regenerated.
31726 2013-08-23  Joseph Myers  <joseph@codesourcery.com>
31728         [BZ #15532]
31729         * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
31730         * math/s_cexpf.c (__cexpf): Likewise.
31731         * math/s_cexpl.c (__cexpl): Likewise.
31732         * math/libm-test.inc (cexp_test_data): Correct expected return
31733         value for NaN + i0.  Add another test.
31735 2013-08-22  David S. Miller  <davem@davemloft.net>
31737         * po/ca.po: Update Catalan translation from translation project.
31738         * po/uk.po: Add Ukrainian translations from translation project.
31740 2013-08-21  Joseph Myers  <joseph@codesourcery.com>
31742         [BZ #15797]
31743         * math/s_fdim.c (__fdim): Check for infinite arguments if result
31744         is infinite, not alongside NaN test.
31745         * math/s_fdimf.c (__fdimf): Likewise.
31746         * math/s_fdiml.c (__fdiml): Likewise.
31747         * math/libm-test.inc (fdim_test_data): Add more tests.  Test that
31748         errno is unchanged.
31750 2013-08-21   Ondřej Bílka  <neleai@seznam.cz>
31752         * argp/argp-help.c: Fix typos.
31753         * crypt/speeds.c: Likewise.
31754         * csu/check_fds.c: Likewise.
31755         * elf/dl-load.c: Likewise.
31756         * elf/dl-open.c: Likewise.
31757         * elf/reldep3.c: Likewise.
31758         * elf/reldep.c: Likewise.
31759         * elf/sprof.c: Likewise.
31760         * iconv/iconv_charmap.c: Likewise.
31761         * iconv/skeleton.c: Likewise.
31762         * iconv/strtab.c: Likewise.
31763         * io/lockf64.c: Likewise.
31764         * libio/libioP.h: Likewise.
31765         * resolv/gai_notify.c: Likewise.
31766         * resolv/ns_name.c: Likewise.
31767         * resolv/ns_samedomain.c: Likewise.
31768         * resolv/res_send.c: Likewise.
31769         * stdlib/random.c: Likewise.
31770         * sunrpc/rpc/xdr.h: Likewise.
31771         * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
31772         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
31773         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
31774         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
31775         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
31776         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
31777         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
31778         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
31779         * sysdeps/mach/hurd/check_fds.c: Likewise.
31780         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
31781         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
31782         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
31783         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
31784         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
31785         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
31786         * sysdeps/pthread/aio_notify.c: Likewise.
31787         * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
31788         * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
31789         * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
31790         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
31791         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
31793 2013-08-21  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
31795         * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
31796         version if bit_Slow_SSE4_2 is set.
31797         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
31798         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
31800 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31802         [BZ #15867]
31803         * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
31804         trampoline stack frame information.
31805         * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
31806         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
31807         (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
31808         (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
31809         (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
31810         * sysdeps/unix/sysv/linux/powerpc/init-first.c
31811         (_libc_vdso_platform_setup): Initialize the signal trampolines.
31812         * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
31813         sa_flags value.
31814         * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
31815         interrupting a syscall and set with option SA_SIGINFO.
31817 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
31819         [BZ #15531]
31820         * math/s_cproj.c (__cproj): Only return an infinity if one part of
31821         argument is infinite.
31822         * math/s_cprojf.c (__cprojf): Likewise.
31823         * math/s_cprojl.c (__cprojl): Likewise.
31824         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
31825         * math/libm-test.inc (cproj_test_data): Add more tests.
31827         * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
31829         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
31830         [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
31831         size.  Use __ffs to determine corresponding shift.
31833 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
31834             Roland McGrath  <roland@hack.frob.com>
31836         * Makefile (INSTALL): Remove trailing blank lines from output of
31837         makeinfo.
31839 2013-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
31841         * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
31842         Align 32 bit compat elf_greg to 8 bytes.
31844 2013-08-20  Andreas Arnez  <arnez@linux.vnet.ibm.com>
31846         * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
31848 2013-08-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
31850         * string/strcoll_l.c (coll_seq): New structure.
31851         (get_next_seq_cached): New function.
31852         (get_next_seq): New function.
31853         (do_compare): New function.
31854         (STRCOLL): Use GNU style definition.  Simplify implementation
31855         by using get_next_seq, get_next_seq_cached and do_compare.
31857 2013-08-16  Florian Weimer  <fweimer@redhat.com>
31859         [BZ #14699]
31860         CVE-2013-4237
31861         * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
31862         member.
31863         * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
31864         member.
31865         * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
31866         * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
31867         Return delayed error code.  Remove GETDENTS_64BIT_ALIGNED
31868         conditional.
31869         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
31870         GETDENTS_64BIT_ALIGNED.
31871         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
31872         * manual/filesys.texi (Reading/Closing Directory): Document
31873         ENAMETOOLONG return value of readdir_r.  Recommend readdir more
31874         strongly.
31875         * manual/conf.texi (Limits for Files): Add portability note to
31876         NAME_MAX, PATH_MAX.
31877         (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
31879 2013-08-13  Andreas Schwab  <schwab@suse.de>
31881         [BZ #15749]
31882         * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
31883         of fabs.
31884         * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
31885         LDBL_MAX_EXP >= 16384]: Add tests for it.
31887 2013-08-12  David S. Miller  <davem@davemloft.net>
31889         * version.h (RELEASE): Set to "development".
31890         (VERSION): Set to "2.18.90".
31891         * NEWS: Add 2.19 section.
31893 2013-08-03  David S. Miller  <davem@davemloft.net>
31895         * po/ko.po: Update Korean translation from translation project.
31897 2013-08-01  David S. Miller  <davem@davemloft.net>
31899         * manual/contrib.texi: Update entry for Siddhesh Poyarekar.  Add
31900         entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
31901         Bilka.
31903 2013-07-30  David S. Miller  <davem@davemloft.net>
31905         * po/fr.po: Update French translation from translation project.
31907 2013-07-28  David S. Miller  <davem@davemloft.net>
31909         * po/cs.po: Update Czech translation from translation project.
31911         * po/sv.po: Update Swedish translation from translation project.
31913 2013-07-27  David S. Miller  <davem@davemloft.net>
31915         * po/eo.po: Update Esperanto translation from translation project.
31917         * po/vi.po: Update Vietnamese translation from translation project.
31919         * po/de.po: Update German translation from translation project.
31921 2013-07-26  David S. Miller  <davem@davemloft.net>
31923         * po/bg.po: Update Bulgarian translation from translation project.
31925         * po/nl.po: Update Dutch translation from translation project.
31926         * po/pl.po: Update Polish translation from translation project.
31927         * po/ru.po: Update Russian translation from translation project.
31929 2013-07-24  David S. Miller  <davem@davemloft.net>
31931         * po/libc.pot: Update.
31933 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31935         * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
31936         variable page size.
31937         * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
31938         * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
31939         * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
31941 2013-07-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
31943         * sysdeps/s390/fpu/libm-test-ulps: Refresh.
31945 2013-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
31946             Andreas Schwab  <schwab@suse.de>
31947             Roland McGrath  <roland@hack.frob.com>
31948             Joseph Myers  <joseph@codesourcery.com>
31949             Carlos O'Donell  <carlos@redhat.com>
31951         [BZ #15755]
31952         * config.h.in: Define HAVE_PT_CHOWN.
31953         * config.make.in (build-pt-chown): New variable.
31954         * configure.in (--enable-pt_chown): New configure option.
31955         * configure: Regenerate.
31956         * login/Makefile: Include Makeconfig.  Build pt_chown only if
31957         build-pt-chown is enabled.
31958         * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
31959         pt_chown to fix pty ownership.
31960         * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
31961         CLOSE_ALL_FDS.
31962         * manual/install.texi (Configuring and compiling): Mention
31963         --enable-pt_chown. Add @findex for grantpt.
31964         * INSTALL: Regenerate.
31966 2013-07-20  David S. Miller  <davem@davemloft.net>
31968         * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
31969         difference between 32-bit and 64-bit.
31971 2013-07-15  Carlos O'Donell  <carlos@redhat.com>
31973         [BZ #15711]
31974         * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
31975         Avoid system header dependency with -ffreestanding.
31976         ($(objpfx)bits/syscall%d): Likewise.
31978 2013-07-13  David S. Miller  <davem@davemloft.net>
31980         * math/libm-test.inc (casin_test_data): Annotate more cases of missing
31981         underflows from atanl/atan2l due to bug 15319.
31982         (casinh_test_data): Likewise.
31984 2013-07-07  David S. Miller  <davem@davemloft.net>
31986         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
31988 2013-07-05  Jeroen Albers  <_jeroen_@yahoo.com>
31990         * sysdeps/i386/fpu/libm-test-ulps: Update.
31991         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31993 2013-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
31995         * configure.in (--enable-lock-elision): Fix message text.
31996         * INSTALL: Regenerate.
31997         * configure: Regenerate.
31999 2013-07-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32001         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32003 2013-07-03  Andreas Jaeger  <aj@suse.de>
32005         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
32006         define.
32007         (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
32008         (ptrace_peeksiginfo_args): Add.
32009         (__ptrace_peeksiginfo_flags): Add.
32010         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
32011         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
32012         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
32014 2013-07-03  Allan McRae  <allan@archlinux.org>
32016         * sysdeps/i386/fpu/libm-test-ulps: Update.
32018 2013-07-02  David S. Miller  <davem@davemloft.net>
32020         * sysdeps/sparc/fpu/libm-test-ulps: Update.
32022 2013-07-02  Markus Trippelsdorf  <markus@trippelsdorf.de>
32024         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
32026 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
32028         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
32029         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32031 2013-07-02  Andi Kleen <ak@linux.intel.com>
32033         * config.h.in (ENABLE_LOCK_ELISION): Add.
32034         * configure.in (--enable-lock-elision): Add option.
32035         * manual/install.texi: Document --enable lock elision.
32036         * configure: Regenerate
32037         * INSTALL: Regenerate.
32039 2013-07-02  H.J. Lu  <hongjiu.lu@intel.com>
32041         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
32042         SSE4.2 strcasecmp for libc.a.
32043         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
32045 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
32047         [BZ #13304]
32048         * soft-fp/op-common.h (_FP_FMA): New macro.
32049         * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
32050         (_FP_MUL_MEAT_DW_1_imm): Likewise.  Split out of ...
32051         (_FP_MUL_MEAT_1_imm): ... here.
32052         (_FP_MUL_MEAT_DW_1_wide): New macro.  Split out of ...
32053         (_FP_MUL_MEAT_1_wide): ... here.
32054         (_FP_MUL_MEAT_DW_1_hard): Likewise.  Split out of ...
32055         (_FP_MUL_MEAT_1_hard): ... here.
32056         * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
32057         (_FP_MUL_MEAT_DW_2_wide): Likewise.  Split out of ...
32058         (_FP_MUL_MEAT_2_wide): ... here.
32059         (_FP_MUL_MEAT_DW_2_wide_3mul): New macro.  Split out of ...
32060         (_FP_MUL_MEAT_2_wide_3mul): ... here.
32061         (_FP_MUL_MEAT_DW_2_gmp): New macro.  Split out of ...
32062         (_FP_MUL_MEAT_2_gmp): ... here.
32063         * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
32064         (_FP_MUL_MEAT_DW_4_wide): Likewise.  Split out of ...
32065         (_FP_MUL_MEAT_4_wide): ... here.
32066         (_FP_MUL_MEAT_DW_4_gmp): New macro.  Split out of ...
32067         (_FP_MUL_MEAT_4_gmp): ... here.
32068         * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
32069         (_FP_WFRACBITS_DW_S): Likewise.
32070         (_FP_WFRACXBITS_DW_S): Likewise.
32071         (_FP_HIGHBIT_DW_S): Likewise.
32072         (FP_FMA_S): Likewise.
32073         (_FP_FRAC_HIGH_DW_S): Likewise.
32074         * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
32075         (_FP_WFRACBITS_DW_D): Likewise.
32076         (_FP_WFRACXBITS_DW_D): Likewise.
32077         (_FP_HIGHBIT_DW_D): Likewise.
32078         (FP_FMA_D): Likewise.
32079         (_FP_FRAC_HIGH_DW_D): Likewise.
32080         * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
32081         (_FP_WFRACBITS_DW_E): Likewise.
32082         (_FP_WFRACXBITS_DW_E): Likewise.
32083         (_FP_HIGHBIT_DW_E): Likewise.
32084         (FP_FMA_E): Likewise.
32085         (_FP_FRAC_HIGH_DW_E): Likewise.
32086         * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
32087         (_FP_WFRACBITS_DW_Q): Likewise.
32088         (_FP_WFRACXBITS_DW_Q): Likewise.
32089         (_FP_HIGHBIT_DW_Q): Likewise.
32090         (FP_FMA_Q): Likewise.
32091         (_FP_FRAC_HIGH_DW_Q): Likewise.
32092         * soft-fp/fmasf4.c: New file.
32093         * soft-fp/fmadf4.c: Likewise.
32094         * soft-fp/fmatf4.c: Likewise.
32096 2013-06-28  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
32098         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
32099         bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
32100         Silvermont.
32101         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
32102         macro.
32103         (index_Slow_SSE4_2): Likewise.
32104         (index_Prefer_PMINUB_for_stringop): Likewise.
32105         * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
32106         bit_Slow_SSE4_2 is set.
32107         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
32108         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
32110 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
32112         * sysdeps/powerpc/Makefile: Add comment about generating an offset to
32113         rtld_global._dl_hwcap2.
32114         * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
32115         POWER8.
32116         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
32117         POWER8 feature descriptions defined in _dl_hwcap2.
32118         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
32119         string handling for POWER8 feature bits.
32120         (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
32121         (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
32122         _dl_powerpc_cap_flags.
32123         (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
32124         * sysdeps/powerpc/rtld-global-offsets.sym
32125         (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
32126         _dl_hwcap2 in the rtld_global_ro structure.
32128 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
32130         * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
32131         hardware capabilities in support of AT_HWCAP2.
32132         (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
32133         * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
32134         GLRO(dl_hwcap2).
32135         (_dl_show_auxv): Add support for calling _dl_procinfo to display
32136         AT_HWCAP2.  If a platform doesn't chose to handle displaying AT_HWCAP2
32137         explicitly the unknown a_type display mechanism is used.
32138         * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
32139         * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
32140         struct member.
32141         * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
32142         to macro prototype for AT_HWCAP2 support.
32143         * sysdeps/i386/dl-procinfo.h: Likewise.
32144         * sysdeps/s390/dl-procinfo.h: Likewise.
32145         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
32146         macro prototype for AT_HWCAP2 support.  Make WORD unsigned long int
32147         rather than signed int.  Stub in handler for TYPE == AT_HWCAP2 to
32148         return -1 for unknown a_type display fallback.
32149         * sysdeps/sparc/dl-procinfo.h: Likewise.
32150         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
32151         * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
32153 2013-06-28  Joseph Myers  <joseph@codesourcery.com>
32155         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
32156         instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
32158 2013-06-28  Pierre Ynard  <linkfanel@yahoo.fr>
32160         [BZ #12492]
32161         * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
32162         mprotect making __stack_prot writable.
32164 2013-06-28  Nathan Froyd  <froydnj@codesourcery.com>
32165             Joseph Myers  <joseph@codesourcery.com>
32167         * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
32168         as being properly aligned.
32170 2013-06-28  Maciej W. Rozycki  <macro@codesourcery.com>
32172         * dlfcn/modstatic5.c: New file.
32173         * dlfcn/tststatic5.c: New file.
32174         * dlfcn/Makefile (tests): Add tststatic5.
32175         (tests-static): Likewise.
32176         (modules-names): Add modstatic5.
32177         (tststatic5-ENV): New variable.
32178         ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
32180         [BZ #15022]
32181         * elf/dl-support.c (_dl_main_map): New variable.
32182         (_dl_ns): Use it to initialize [LM_ID_BASE] element.
32183         (_dl_nns, _dl_load_adds): Set to 1.
32184         (_dl_initial_searchlist): Refer to _dl_main_map.
32185         (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
32186         * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
32187         call to _dl_get_origin.
32188         * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
32189         around call_map.
32190         (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
32191         * dlfcn/modstatic3.c: New file.
32192         * dlfcn/tststatic3.c: New file.
32193         * dlfcn/tststatic4.c: New file.
32194         * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
32195         (tests-static): Likewise.
32196         (modules-names): Add modstatic3.
32197         (tststatic3-ENV, tststatic4-ENV): New variables.
32198         ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
32199         ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
32201 2013-06-26  Joseph Myers  <joseph@codesourcery.com>
32203         * configure.in (CC): Require GCC version 4.4 or later.
32204         * configure: Regenerated.
32205         * manual/install.texi (Tools for Compilation): Update GCC version
32206         requirement.
32207         * INSTALL: Regenerated.
32209 2013-06-26  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
32211         [BZ #15674]
32212         * string/test-memcmp.c (check2): New.
32213         (main): Call check2.
32215         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
32217 2013-06-26  Maciej W. Rozycki  <macro@codesourcery.com>
32219         [BZ #15022]
32220         * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
32221         over to...
32222         (dl_open_worker) [!SHARED]: ... here.
32224 2013-06-26  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
32226         * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
32228 2013-06-25  Richard Henderson  <rth@redhat.com>
32230         * locale/programs/locarchive.c: Include <libc-internal.h>
32232 2013-06-25  Joseph Myers  <joseph@codesourcery.com>
32234         * manual/texinfo.tex: Update to version 2013-06-21.17, with
32235         trailing whitespace removed.
32237 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
32239         [BZ #10283]
32240         * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
32241         * locale/programs/locarchive.c: Include libc-mmap.h.
32242         (prepare_address_space): Take two new outputs (the mmap base and len).
32243         Align p to MAP_FIXED_ALIGNMENT.  Set mmap base and len to the right
32244         values.
32245         (create_archive): Declare new mmap base and len values for
32246         prepare_address_space, and store the result in ah.
32247         (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
32248         (enlarge_archive): If ah->mmap_base is not NULL, use that and
32249         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
32250         Declare new mmap base and len values for
32251         prepare_address_space, and store the result in new_ah.
32252         (open_archive): Declare new mmap base and len values for
32253         prepare_address_space, and store the result in ah.
32254         (close_archive): If ah->mmap_base is not NULL, use that and
32255         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
32256         * sysdeps/generic/libc-mmap.h: New file.
32258 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
32260         * include/libc-internal.h (ALIGN_DOWN): New helper macro.
32261         (ALIGN_UP): Likewise.
32262         (PTR_ALIGN_DOWN): Likewise.
32263         (PTR_ALIGN_UP): Likewise.
32265 2013-06-24  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
32267         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
32268         entry mapped to PPC_PLATFORM_POWER8.
32269         * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
32270         POWER8.
32271         (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
32272         (_dl_string_platform): Add case for exporting platform position for
32273         POWER8.
32274         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
32275         search path to sysdeps/powerpc/powerpc32/power8 directory.
32276         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
32277         search path to sysdeps/powerpc/powerpc64/power8 directory.
32278         * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
32279         power7 directories.
32280         * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
32281         power7 directories.
32283 2013-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
32285         * INSTALL: Regenerate.
32287         * nscd/connections.c (nscd_init): Fix comment.
32289 2013-06-22  Joseph Myers  <joseph@codesourcery.com>
32291         * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
32293         [BZ #15667]
32294         * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
32295         to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
32297 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
32299         * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
32300         DL_DST_REQ_STATIC.
32301         (DL_DST_REQ_STATIC): Remove macro.
32303 2013-06-21  Joseph Myers  <joseph@codesourcery.com>
32305         [BZ #7006]
32306         * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
32307         with a shift of 0 bits.
32309 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
32311         * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
32312         $(tststatic-ENV).
32314 2013-06-21  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
32316         [BZ #15655]
32317         * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
32319 2013-06-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32321         * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
32322         * configure.in (libc_cv_cc_loop_to_function): Check if compiler
32323         accepts -fno-tree-loop-distribute-patterns.
32324         * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
32325         * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
32326         recursive call.
32327         * string/memset.c (memset): Likewise.
32328         * string/test-memmove.c (simple_memmove): Disable loop transformation
32329         to library calls.
32330         * string/test-memset.c (simple_memset): Likewise.
32331         * benchtests/bench-memmove.c (simple_memmove): Likewise.
32332         * benchtests/bench-memset.c (simple_memset): Likewise.
32333         * configure: Regenerated.
32335 2013-06-20  Joseph Myers  <joseph@codesourcery.com>
32337         * math/test-misc.c (main): Ignore fesetround failure when failures
32338         of subsequent rounding tests would be ignored.
32340         [BZ #15654]
32341         * math/fedisblxcpt.c (fedisableexcept): Return 0.
32342         * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
32343         * math/fegetenv.c (__fegetenv): Return 0.
32344         * math/fegetexcept.c (fegetexcept): Return 0.
32345         * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
32346         FE_TONEAREST.
32347         * math/feholdexcpt.c (feholdexcept): Return 0.
32348         * math/fesetenv.c (__fesetenv): Return 0.
32349         * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
32350         argument FE_TONEAREST.
32351         * math/feupdateenv.c (__feupdateenv): Return 0.
32352         * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
32354 2013-06-18  Roland McGrath  <roland@hack.frob.com>
32356         * elf/rtld-Rules (rtld-compile-command.S): New variable.
32357         (rtld-compile-command.s, rtld-compile-command.c): New variables.
32358         ($(objpfx)rtld-%.os rules): Use them.
32360 2013-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32362         * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
32363         fields.
32365 2013-06-17  Roland McGrath  <roland@hack.frob.com>
32367         * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
32368         length of target pattern, then descending length of dependency pattern.
32369         * configure.in (AWK): Require gawk 3.1.2 or newer.
32370         * manual/install.texi (Tools for Compilation): Say that we do.
32371         * configure: Regenerated.
32373         * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
32374         ($(common-objpfx)sysd-rules): Replace shell logic with running ...
32375         * scripts/sysd-rules.awk: ... this new script.
32376         * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
32377         than a glob-style pattern.
32379 2013-06-17  Joseph Myers  <joseph@codesourcery.com>
32381         * math/test-misc.c (main): Do not treat incorrectly rounded
32382         conversions as failure unless ROUNDING_TESTS passes.
32384 2013-06-15  Joseph Myers  <joseph@codesourcery.com>
32386         [BZ #15631]
32387         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
32388         restore exception state around main square root computation, then
32389         check for inexactness explicitly.
32391         * math/libm-test.inc (fma_test_data): Add another test.
32393 2013-06-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
32395         * manual/threads.texi (Non-POSIX Extensions): New document
32396         node.  Document pthread_getattr_default_np and
32397         pthread_setattr_default_np.
32399         * Versions.def (libpthread): Add GLIBC_2.18.
32400         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
32401         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
32402         Likewise.
32403         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
32404         Likewise.
32405         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
32406         Likewise.
32407         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
32408         Likewise.
32409         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
32410         Likewise.
32411         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
32412         Likewise.
32413         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
32414         Likewise.
32415         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
32416         Likewise.
32417         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
32418         Likewise.
32420 2013-06-14  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
32422         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
32423         Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
32425 2013-06-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
32426             H.J. Lu  <hjl.tools@gmail.com>
32428         [BZ #15627]
32429         * sysdeps/x86_64/rtld-memset.c: Remove file.
32430         * sysdeps/x86_64/rtld-memset.S: New file.
32432 2013-06-14  Joseph Myers  <joseph@codesourcery.com>
32434         * stdlib/tst-strtod-round.c: Include <math-tests.h>.
32435         (test_in_one_mode): Take arguments for whether the rounding mode
32436         is supported for each floating-point type.
32437         (do_test): Pass new arguments to test_in_one_mode using
32438         ROUNDING_TESTS.
32440 2013-06-13  Roland McGrath  <roland@hack.frob.com>
32442         * posix/tst-waitid.c (do_test): Distinguish different instances of
32443         stopped/continued in CHECK_SIGCHLD uses.  Insert a delay between
32444         sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
32445         before entering the kernel for waitpid.
32447 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
32449         * NEWS: Fix note on clock function precision.  Text by Roland
32450         McGrath.
32452 2013-06-13  Roland McGrath  <roland@hack.frob.com>
32454         * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
32455         it into place only when and if the sanity check passes.
32457 2013-06-13  Joseph Myers  <joseph@codesourcery.com>
32459         * stdlib/gen-tst-strtod-round.c (round_str): Always generate
32460         output for whether conversion result is exact.  Take argument
32461         indicating whether type is IBM long double.
32462         (round_for_all): Change need_exact field to ibm_ld.
32463         * stdlib/tst-strtod-round.c (struct exactness): New type.
32464         (struct test): Change bool ld_ok field to struct exactness exact.
32465         (TEST): Update all definitions for change to field.
32466         (tests): Regenerate array contents.
32467         (test_in_one_mode): Take pointer to new field instead of old ld_ok
32468         field value.  Check for IBM long double here.
32469         (do_test): Update calls to test_in_one_mode.
32471 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
32473         [BZ #12515]
32474         * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
32475         CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
32477 2013-06-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32479         [BZ #15605]
32480         * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
32481         generated by the compiler on loop optimizations.
32482         * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
32483         general definitions.
32485 2013-06-12  Joseph Myers  <joseph@codesourcery.com>
32487         * math/bug-nextafter.c: Include <math-tests.h>.
32488         (main): Only test for exceptions if EXCEPTION_TESTS is true for
32489         the relevant type.
32490         * math/bug-nexttoward.c: Include <math-tests.h>.
32491         (main): Only test for exceptions if EXCEPTION_TESTS is true for
32492         the relevant type.
32493         * math/test-misc.c: Include <math-tests.h>.
32494         (main): Only test for exceptions if EXCEPTION_TESTS is true for
32495         the relevant type.
32497 2013-06-12  Andreas Jaeger  <aj@suse.de>
32499         * po/ia.po: Update Interlingua translation from translation
32500         project.
32502 2013-06-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
32504         * include/fenv.h: Include stdbool.h.
32505         (struct rm_ctx): New structure.
32506         * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
32507         Define macro.
32508         (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
32509         (SET_RESTORE_ROUNDF): Likewise.
32510         (SET_RESTORE_ROUNDL): Likewise.
32511         (SET_RESTORE_ROUND_NOEX): Likewise.
32512         (SET_RESTORE_ROUND_NOEXF): Likewise.
32513         (SET_RESTORE_ROUND_NOEXL): Likewise.
32514         (SET_RESTORE_ROUND_53BIT): Likewise.
32515         [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
32516         (libc_feresetround_noexf_ctx): Likewise.
32517         (libc_feresetround_noexl_ctx): Likewise.
32518         (libc_feholdsetround_53bit_ctx): Likewise.
32519         (libc_feresetround_53bit_ctx): Likewise.
32520         * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
32521         (libc_feholdexcept_setround_sse_ctx): New function.
32522         (libc_fesetenv_sse_ctx): Likewise.
32523         (libc_feupdateenv_sse_ctx): Likewise.
32524         (libc_feholdexcept_setround_387_prec_ctx): Likewise.
32525         (libc_feholdexcept_setround_387_ctx): Likewise.
32526         (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
32527         (libc_feholdsetround_387_prec_ctx): Likewise.
32528         (libc_feholdsetround_387_ctx): Likewise.
32529         (libc_feholdsetround_387_53bit_ctx): Likewise.
32530         (libc_feholdsetround_sse_ctx): Likewise.
32531         (libc_feresetround_sse_ctx): Likewise.
32532         (libc_feresetround_387_ctx): Likewise.
32533         (libc_feupdateenv_387_ctx): Likewise.
32534         (libc_feholdexcept_setroundf_ctx): Define macro.
32535         (libc_fesetenvf_ctx): Likewise.
32536         (libc_feupdateenvf_ctx): Likewise.
32537         (libc_feholdsetroundf_ctx): Likewise.
32538         (libc_feresetroundf_ctx): Likewise.
32539         (libc_feholdexcept_setround_ctx): Likewise.
32540         (libc_fesetenv_ctx): Likewise.
32541         (libc_feupdateenv_ctx): Likewise.
32542         (libc_feholdsetround_ctx): Likewise.
32543         (libc_feresetround_ctx): Likewise.
32544         (libc_feholdexcept_setroundl_ctx): Likewise.
32545         (libc_feupdateenvl_ctx): Likewise.
32546         (libc_feholdsetroundl_ctx): Likewise.
32547         (libc_feresetroundl_ctx): Likewise.
32548         [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
32549         (libc_feresetround_53bit_ctx): Likewise.
32551 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
32553         * locale/iso-639.def: Convert to UTF-8.
32555 2013-06-11  Joseph Myers  <joseph@codesourcery.com>
32557         * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
32558         (EXCEPTION_TESTS_double): Likewise.
32559         (EXCEPTION_TESTS_long_double): Likewise.
32560         (EXCEPTION_TESTS): Likewise.
32561         * math/libm-test.inc (test_exceptions): Only test exceptions if
32562         EXCEPTION_TESTS (FLOAT).
32564 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
32566         * benchtests/Makefile (string-bench): Add strcpy_chk and
32567         stpcpy_chk.
32568         * benchtests/bench-stpcpy_chk-ifunc.c: New file.
32569         * benchtests/bench-stpcpy_chk.c: New file.
32570         * benchtests/bench-strcpy_chk-ifunc.c: New file.
32571         * benchtests/bench-strcpy_chk.c: New file.
32572         * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
32573         code.
32574         (do_test): Likewise.
32576 2013-06-11  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
32578         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
32579         ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
32580         * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
32581         with tabs where appropriate.
32582         [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
32583         dl-procinfo.h.
32584         [PPC_PLATFORM_PPC440]: Likewise.
32585         [PPC_PLATFORM_PPC464]: Likewise.
32586         [PPC_PLATFORM_PPC476]: Likewise.
32587         (_dl_string_platform): Add support for detecting ppc405, ppc440,
32588         ppc464, and ppc476 platform strings merging from ports/
32589         dl-procinfo.h.
32591 2013-06-11  Andreas Schwab  <schwab@suse.de>
32593         [BZ #14991]
32594         * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
32595         (from_ucs4_idx): Regenerate.
32596         (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
32597         (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
32598         (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
32599         (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
32600         (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
32601         (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
32602         (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
32603         (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
32604         from FROM_LOOP and TO_LOOP specific macros.
32605         (BODY): Handle combining characters.
32606         * iconvdata/BIG5HKSCS.irreversible: Update.
32607         * iconvdata/BIG5HKSCS.precomposed: New file.
32608         * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
32609         characters.
32610         * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
32612 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
32614         * include/sys/time.h: Fix indentation and add copyright header.
32616         * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
32617         (do_test): Likewise.
32618         * string/test-memchr.c (do_one_test): Likewise.
32619         (do_test): Likewise.
32620         * string/test-memcmp.c (do_one_test): Likewise.
32621         (do_test): Likewise.
32622         * string/test-memcpy.c (do_one_test): Likewise.
32623         (do_test): Likewise.
32624         * string/test-memmem.c (do_one_test): Likewise.
32625         (do_test): Likewise.
32626         (do_random_tests): Likewise.
32627         * string/test-memmove.c (do_one_test): Likewise.
32628         (do_test): Likewise.
32629         * string/test-memset.c (do_one_test): Likewise.
32630         (do_test): Likewise.
32631         * string/test-rawmemchr.c (do_one_test): Likewise.
32632         (do_test): Likewise.
32633         * string/test-strcasecmp.c (do_one_test): Likewise.
32634         (do_test): Likewise.
32635         * string/test-strcasestr.c (do_one_test): Likewise.
32636         (do_test): Likewise.
32637         * string/test-strcat.c (do_one_test): Likewise.
32638         (do_test): Likewise.
32639         * string/test-strchr.c (do_one_test): Likewise.
32640         (do_test): Likewise.
32641         * string/test-strcmp.c (do_one_test): Likewise.
32642         (do_test): Likewise.
32643         * string/test-strcpy.c (do_one_test): Likewise.
32644         (do_test): Likewise.
32645         * string/test-string.h: Likewise.
32646         (test_init): Likewise.
32647         * string/test-strlen.c (do_one_test): Likewise.
32648         (do_test): Likewise.
32649         * string/test-strncasecmp.c (do_one_test): Likewise.
32650         (do_test): Likewise.
32651         * string/test-strncat.c (do_one_test): Likewise.
32652         (do_test): Likewise.
32653         * string/test-strncmp.c (do_one_test): Likewise.
32654         (do_test_limit): Likewise.
32655         (do_test): Likewise.
32656         * string/test-strncpy.c (do_one_test): Likewise.
32657         (do_test): Likewise.
32658         * string/test-strnlen.c (do_one_test): Likewise.
32659         (do_test): Likewise.
32660         * string/test-strpbrk.c (do_one_test): Likewise.
32661         (do_test): Likewise.
32662         * string/test-strrchr.c (do_one_test): Likewise.
32663         (do_test): Likewise.
32664         * string/test-strspn.c (do_one_test): Likewise.
32665         (do_test): Likewise.
32666         * string/test-strstr.c (do_one_test): Likewise.
32667         (do_test): Likewise.
32669         * benchtests/Makefile (string-bench): Add string benchmarks.
32670         * benchtests/bench-bcopy-ifunc.c: New file.
32671         * benchtests/bench-bcopy.c: New file.
32672         * benchtests/bench-bzero-ifunc.c: New file.
32673         * benchtests/bench-bzero.c: New file.
32674         * benchtests/bench-memccpy-ifunc.c: New file.
32675         * benchtests/bench-memccpy.c: New file.
32676         * benchtests/bench-memchr-ifunc.c: New file.
32677         * benchtests/bench-memchr.c: New file.
32678         * benchtests/bench-memcmp-ifunc.c: New file.
32679         * benchtests/bench-memcmp.c: New file.
32680         * benchtests/bench-memmem-ifunc.c: New file.
32681         * benchtests/bench-memmem.c: New file.
32682         * benchtests/bench-memmove-ifunc.c: New file.
32683         * benchtests/bench-memmove.c: New file.
32684         * benchtests/bench-mempcpy-ifunc.c: New file.
32685         * benchtests/bench-mempcpy.c: New file.
32686         * benchtests/bench-memset-ifunc.c: New file.
32687         * benchtests/bench-memset.c: New file.
32688         * benchtests/bench-rawmemchr-ifunc.c: New file.
32689         * benchtests/bench-rawmemchr.c: New file.
32690         * benchtests/bench-stpcpy-ifunc.c: New file.
32691         * benchtests/bench-stpcpy.c: New file.
32692         * benchtests/bench-stpncpy-ifunc.c: New file.
32693         * benchtests/bench-stpncpy.c: New file.
32694         * benchtests/bench-strcasecmp-ifunc.c: New file.
32695         * benchtests/bench-strcasecmp.c: New file.
32696         * benchtests/bench-strcasestr-ifunc.c: New file.
32697         * benchtests/bench-strcasestr.c: New file.
32698         * benchtests/bench-strcat-ifunc.c: New file.
32699         * benchtests/bench-strcat.c: New file.
32700         * benchtests/bench-strchr-ifunc.c: New file.
32701         * benchtests/bench-strchr.c: New file.
32702         * benchtests/bench-strchrnul-ifunc.c: New file.
32703         * benchtests/bench-strchrnul.c: New file.
32704         * benchtests/bench-strcmp-ifunc.c: New file.
32705         * benchtests/bench-strcmp.c: New file.
32706         * benchtests/bench-strcpy-ifunc.c: New file.
32707         * benchtests/bench-strcpy.c: New file.
32708         * benchtests/bench-strcspn-ifunc.c: New file.
32709         * benchtests/bench-strcspn.c: New file.
32710         * benchtests/bench-strlen-ifunc.c: New file.
32711         * benchtests/bench-strlen.c: New file.
32712         * benchtests/bench-strncasecmp-ifunc.c: New file.
32713         * benchtests/bench-strncasecmp.c: New file.
32714         * benchtests/bench-strncat-ifunc.c: New file.
32715         * benchtests/bench-strncat.c: New file.
32716         * benchtests/bench-strncmp-ifunc.c: New file.
32717         * benchtests/bench-strncmp.c: New file.
32718         * benchtests/bench-strncpy-ifunc.c: New file.
32719         * benchtests/bench-strncpy.c: New file.
32720         * benchtests/bench-strnlen-ifunc.c: New file.
32721         * benchtests/bench-strnlen.c: New file.
32722         * benchtests/bench-strpbrk-ifunc.c: New file.
32723         * benchtests/bench-strpbrk.c: New file.
32724         * benchtests/bench-strrchr-ifunc.c: New file.
32725         * benchtests/bench-strrchr.c: New file.
32726         * benchtests/bench-strspn-ifunc.c: New file.
32727         * benchtests/bench-strspn.c: New file.
32728         * benchtests/bench-strstr-ifunc.c: New file.
32729         * benchtests/bench-strstr.c: New file.
32731         * benchtests/Makefile: Disable parallel execution of targets.
32732         (string-bench): Add memcpy.
32733         (benchset): New variable to store a list of benchmark sets.
32734         (bench-func): Renamed from bench.
32735         (bench-set): New target.
32736         (bench): Depend on bench-func and bench-set.
32737         * benchtests/README: Add section on benchmark sets.
32738         * benchtests/bench-memcpy-ifunc.c: New file.
32739         * benchtests/bench-memcpy.c: New file.
32740         * benchtests/bench-string.h: New file.
32742 2013-06-11  Andreas Schwab  <schwab@suse.de>
32744         [BZ #15577]
32745         * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
32746         * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
32747         values in the triple.
32748         * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
32749         terminator in the group key.
32751 2013-06-11  Andreas Jaeger  <aj@suse.de>
32753         * po/zh_TW.po: Update Chinese (traditional) translation from
32754         translation project.
32756 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
32758         * include/time.h (__clock_gettime): Add libc_hidden_proto.
32759         * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
32760         __clock_getcpuclockid.  Add weak_alias and libc_hidden_def.
32761         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
32762         (clock_getcpuclockid): Likewise.
32763         * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
32764         Add weak_alias and libc_hidden_def.
32765         * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
32766         * rt/clock_gettime.c (clock_gettime): Rename to
32767         __clock_gettime.  Add weak_alias and libc_hidden_def.
32768         * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
32769         * rt/clock_nanosleep.c (clock_nanosleep): Rename to
32770         __clock_nanosleep.  Add weak_alias and libc_hidden_def.
32771         * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
32772         * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
32773         Likewise.
32774         * rt/clock_settime.c (clock_settime): Rename to
32775         __clock_settime.  Add weak_alias and libc_hidden_def.
32776         * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
32778 2013-06-10  Joseph Myers  <joseph@codesourcery.com>
32780         * mach/err_boot.sub: Remove trailing whitespace.
32781         * mach/err_ipc.sub: Likewise.
32782         * mach/err_mach.sub: Likewise.
32784         * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
32785         (ROUNDING_TESTS_double): Likewise.
32786         (ROUNDING_TESTS_long_double): Likewise.
32787         (ROUNDING_TESTS): Likewise.
32788         * math/libm-test.inc: Include <math-tests.h>.
32789         (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
32790         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
32791         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
32792         (IF_ROUND_INIT_FE_UPWARD): Likewise.
32794 2013-06-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
32796         * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
32797         of assigning.
32799 2013-06-08  Joseph Myers  <joseph@codesourcery.com>
32801         * sysdeps/gnu/errlist.awk: Do not generate space at end of
32802         otherwise empty TRANS lines.
32803         * sysdeps/gnu/errlist.c: Regenerated.
32805         * catgets/gencat.c (error_print): Use (void) in function
32806         definition.
32807         * crypt/crypt_util.c (__init_des): Likewise.
32808         * crypt/speeds.c (Stop): Likewise.
32809         (main): Likewise.
32810         * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
32811         * inet/ruserpass.c (token): Likewise.
32812         * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
32813         * intl/localealias.c (extend_alias_table): Likewise.
32814         * intl/plural-exp.c (init_germanic_plural): Likewise.
32815         * libio/fcloseall.c (__fcloseall): Likewise.
32816         * libio/genops.c (_IO_flush_all): Likewise.
32817         (_IO_flush_all_linebuffered): Likewise.
32818         (_IO_cleanup): Likewise.
32819         (_IO_iter_begin): Likewise.
32820         (_IO_iter_end): Likewise.
32821         (_IO_list_lock): Likewise.
32822         (_IO_list_unlock): Likewise.
32823         (_IO_list_resetlock): Likewise.
32824         * libio/getchar.c (getchar): Likewise.
32825         * libio/getchar_u.c (getchar_unlocked): Likewise.
32826         * libio/getwchar.c (getwchar): Likewise.
32827         * libio/getwchar_u.c (getwchar_unlocked): Likewise.
32828         * libio/oldstdfiles.c (_IO_check_libio): Likewise.
32829         * login/getpt.c (__getpt): Likewise.
32830         * login/tst-utmp.c (main): Likewise.
32831         * malloc/hooks.c (__malloc_check_init): Likewise.
32832         * malloc/malloc.c (__malloc_stats): Likewise.
32833         * malloc/mtrace.c (tr_break): Likewise.
32834         (mtrace): Likewise.
32835         (muntrace): Likewise.
32836         * misc/fstab.c (endfsent): Likewise.
32837         * misc/getclktck.c (__getclktck): Likewise.
32838         * misc/getdtsz.c (__getdtablesize): Likewise.
32839         * misc/gethostid.c (gethostid): Likewise.
32840         * misc/getpagesize.c (__getpagesize): Likewise.
32841         * misc/getsysstats.c (__get_nprocs_conf): Likewise.
32842         (__get_nprocs): Likewise.
32843         (__get_phys_pages): Likewise.
32844         (__get_avphys_pages): Likewise.
32845         * misc/getttyent.c (getttyent): Likewise.
32846         (setttyent): Likewise.
32847         (endttyent): Likewise.
32848         * misc/getusershell.c (getusershell): Likewise.
32849         (endusershell): Likewise.
32850         (setusershell): Likewise.
32851         (initshells): Likewise.
32852         * misc/hsearch.c (__hdestroy): Likewise.
32853         * misc/sync.c (sync): Likewise.
32854         * misc/syslog.c (closelog_internal): Likewise.
32855         (closelog): Likewise.
32856         * misc/ttyslot.c (ttyslot): Likewise.
32857         * misc/vhangup.c (vhangup): Likewise.
32858         * posix/fork.c (__fork): Likewise.
32859         * posix/getegid.c (__getegid): Likewise.
32860         * posix/geteuid.c (__geteuid): Likewise.
32861         * posix/getgid.c (__getgid): Likewise.
32862         * posix/getpid.c (__getpid): Likewise.
32863         * posix/getppid.c (__getppid): Likewise.
32864         * posix/getuid.c (__getuid): Likewise.
32865         * posix/pause.c (pause): Likewise.
32866         * posix/setpgrp.c (setpgrp): Likewise.
32867         * posix/setsid.c (__setsid): Likewise.
32868         * posix/test-vfork.c (noop): Likewise.
32869         * resolv/gethnamaddr.c (_endhtent): Likewise.
32870         (_gethtent): Likewise.
32871         (ht_endhostent): Likewise.
32872         (gethostent): Likewise.
32873         (dns_service): Likewise.
32874         * stdlib/drand48.c (drand48): Likewise.
32875         * stdlib/lrand48.c (lrand48): Likewise.
32876         * stdlib/mrand48.c (mrand48): Likewise.
32877         * stdlib/rand.c (rand): Likewise.
32878         * stdlib/random.c (__random): Likewise.
32879         * stdlib/setenv.c (clearenv): Likewise.
32880         * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
32881         * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
32882         * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
32883         * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
32884         (__get_nprocs): Likewise.
32885         (__get_phys_pages): Likewise.
32886         (__get_avphys_pages): Likewise.
32887         * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
32888         * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
32889         * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
32890         * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
32891         * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
32892         * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
32893         * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
32894         * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
32895         * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
32896         * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
32897         * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
32898         * sysdeps/mach/hurd/sync.c (sync): Likewise.
32899         * sysdeps/posix/clock.c (clock): Likewise.
32900         * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
32901         * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
32902         * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
32903         * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
32904         * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
32905         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
32906         (__get_nprocs_conf): Likewise.
32907         (__get_phys_pages): Likewise.
32908         (__get_avphys_pages): Likewise.
32909         * time/clock.c (clock): Likewise.
32910         * time/tzset.c (__tzname_max): Likewise.
32912 2013-06-07  Joseph Myers  <joseph@codesourcery.com>
32914         * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
32915         (__bswap_32): Do not use "register".
32916         * crypt/crypt.c (_ufc_doit_r): Likewise.
32917         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
32918         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
32919         * gmon/gmon.c (__monstartup): Likewise.
32920         * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
32921         * hurd/hurdmalloc.c (more_memory): Likewise.
32922         (malloc): Likewise.
32923         (free): Likewise.
32924         (realloc): Likewise.
32925         (malloc_fork_prepare): Likewise.
32926         (malloc_fork_parent): Likewise.
32927         (malloc_fork_child): Likewise.
32928         * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
32929         (_svcauth_des): Likewise.
32930         * inet/inet_lnaof.c (inet_lnaof): Likewise.
32931         * inet/inet_net.c (inet_network): Likewise.
32932         * inet/inet_netof.c (inet_netof): Likewise.
32933         * inet/rcmd.c (__validuser2_sa): Likewise.
32934         * io/fts.c (fts_open): Likewise.
32935         (fts_load): Likewise.
32936         (fts_close): Likewise.
32937         (fts_read): Likewise.
32938         (fts_children): Likewise.
32939         (fts_build): Likewise.
32940         (fts_stat): Likewise.
32941         (fts_sort): Likewise.
32942         (fts_alloc): Likewise.
32943         (fts_lfree): Likewise.
32944         * libio/fileops.c (_IO_new_file_xsputn): Likewise.
32945         (_IO_file_xsgetn): Likewise.
32946         (_IO_file_xsgetn_mmap): Likewise.
32947         * libio/iofopncook.c (_IO_cookie_read): Likewise.
32948         (_IO_cookie_write): Likewise.
32949         * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
32950         * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
32951         * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
32952         * malloc/obstack.c (_obstack_begin): Likewise.
32953         (_obstack_begin_1): Likewise.
32954         (_obstack_newchunk): Likewise.
32955         (_obstack_allocated_p): Likewise.
32956         (obstack_free): Likewise.
32957         (_obstack_memory_used): Likewise.
32958         * misc/getttyent.c (getttynam): Likewise.
32959         (getttyent): Likewise.
32960         (skip): Likewise.
32961         (value): Likewise.
32962         * misc/getusershell.c (initshells): Likewise.
32963         * misc/syslog.c (__vsyslog_chk): Likewise.
32964         * misc/ttyslot.c (ttyslot): Likewise.
32965         * nis/nis_hash.c (__nis_hash): Likewise.
32966         * posix/fnmatch_loop.c (FCT): Likewise.
32967         * posix/getconf.c (print_all): Likewise.
32968         (main): Likewise.
32969         * posix/getopt.c (exchange): Likewise.
32970         * posix/glob.c (globfree): Likewise.
32971         (prefix_array): Likewise.
32972         (__glob_pattern_type): Likewise.
32973         * resolv/arpa/nameser.h (NS_GET16): Likewise.
32974         (NS_GET32): Likewise.
32975         (NS_PUT16): Likewise.
32976         (NS_PUT32): Likewise.
32977         * resolv/gethnamaddr.c (getanswer): Likewise.
32978         (gethostbyname2): Likewise.
32979         (gethostbyaddr): Likewise.
32980         (_gethtent): Likewise.
32981         (_gethtbyname2): Likewise.
32982         (_gethtbyaddr): Likewise.
32983         * resolv/ns_print.c (dst_s_get_int16): Likewise.
32984         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
32985         * resolv/res_init.c (__res_vinit): Likewise.
32986         (net_mask): Likewise.
32987         * resolv/res_mkquery.c (outchar): Likewise.
32988         (PRINT): Likewise.
32989         * stdio-common/printf_fp.c (outchar): Likewise.
32990         (PRINT): Likewise.
32991         * stdio-common/printf_fphex.c (outchar): Likewise.
32992         (PRINT): Likewise.
32993         * stdio-common/printf_size.c (outchar): Likewise.
32994         (PRINT): Likewise.
32995         * stdio-common/test_rdwr.c (main): Likewise.
32996         * stdio-common/tfformat.c (matches): Likewise.
32997         * stdio-common/vfprintf.c (outchar): Likewise.
32998         (printf_unknown): Likewise.
32999         (buffered_vfprintf): Likewise.
33000         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
33001         * stdio-common/xbug.c (AppendToBuffer): Likewise.
33002         (ReadFile): Likewise.
33003         * stdlib/qsort.c (SWAP): Likewise.
33004         (_quicksort): Likewise.
33005         * stdlib/setenv.c (__add_to_environ): Likewise.
33006         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
33007         * stdlib/strtol_l.c (__strtol_l): Likewise.
33008         * stdlib/tst-strtod.c (main): Likewise.
33009         * stdlib/tst-strtol.c (main): Likewise.
33010         * stdlib/tst-strtoll.c (main): Likewise.
33011         * string/bits/string2.h (__strcmp_cc): Likewise.
33012         (__strcmp_cg): Likewise.
33013         (__strcspn_c1): Likewise.
33014         (__strcspn_c2): Likewise.
33015         (__strcspn_c3): Likewise.
33016         (__strspn_c1): Likewise.
33017         (__strspn_c2): Likewise.
33018         (__strspn_c3): Likewise.
33019         (__strsep_1c): Likewise.
33020         (__strsep_2c): Likewise.
33021         (__strsep_3c): Likewise.
33022         * string/memccpy.c (__memccpy): Likewise.
33023         * string/stpcpy.c (__stpcpy): Likewise.
33024         * string/strcmp.c (strcmp): Likewise.
33025         * string/strrchr.c (strrchr): Likewise.
33026         * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
33027         Likewise.
33028         * sysdeps/mach/hurd/getcwd.c
33029         (_hurd_canonicalize_directory_name_internal): Likewise.
33030         * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
33031         * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
33032         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
33033         * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
33034         Likewise, in both definitions.
33035         * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
33036         definitions.
33037         [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
33038         64] (__bswap_64): Likewise.
33039         * time/test_time.c (main): Likewise.
33040         * time/tzfile.c (__tzfile_read): Likewise.
33041         (__tzfile_compute): Likewise.
33042         * time/tzset.c (__tzset_parse_tz): Likewise.
33043         (tzset_internal): Likewise.
33044         (compute_change): Likewise.
33045         * wcsmbs/wcscat.c (__wcscat): Likewise.
33046         * wcsmbs/wcschr.c (wcschr): Likewise.
33047         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
33048         * wcsmbs/wcscspn.c (wcscspn): Likewise.
33049         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
33050         * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
33051         * wcsmbs/wcsspn.c (wcsspn): Likewise.
33052         * wcsmbs/wcsstr.c (wcsstr): Likewise.
33053         * wcsmbs/wmemchr.c (wmemchr): Likewise.
33054         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
33055         * wcsmbs/wmemset.c (wmemset): Likewise.
33057 2013-06-06  Joseph Myers  <joseph@codesourcery.com>
33059         * scripts/config.guess: Update to version 2013-05-16.
33060         * scripts/config.sub: Update to version 2013-04-24.
33061         * scripts/install-sh: Update to version 2011-11-20.07.
33062         * scripts/mkinstalldirs: Update to version 2009-04-28.21.
33063         * scripts/move-if-change: Update to version 2012-01-06 07:23.
33065 2013-06-06   Ondřej Bílka  <neleai@seznam.cz>
33067         * debug/fgetws_u_chk.c: Fix leading whitespaces.
33068         * elf/sln.c: Likewise.
33069         * hurd/hurd/ioctl.h: Likewise.
33070         * hurd/hurdmalloc.c: Likewise.
33071         * hurd/xattr.c: Likewise.
33072         * include/shlib-compat.h: Likewise.
33073         * inet/ruserpass.c: Likewise.
33074         * libio/iofgets_u.c: Likewise.
33075         * libio/iofgetws_u.c: Likewise.
33076         * locale/programs/ld-identification.c: Likewise.
33077         * locale/programs/ld-time.c: Likewise.
33078         * mach/msg-destroy.c: Likewise.
33079         * nss/nss_files/files-netgrp.c: Likewise.
33080         * resolv/res_data.c: Likewise.
33081         * soft-fp/op-1.h: Likewise.
33082         * soft-fp/op-2.h: Likewise.
33083         * soft-fp/op-4.h: Likewise.
33084         * soft-fp/op-common.h: Likewise.
33085         * stdio-common/printf_fphex.c: Likewise.
33086         * stdlib/strtod_l.c: Likewise.
33087         * sunrpc/rpc/clnt.h: Likewise.
33088         * sysdeps/generic/framestate.c: Likewise.
33089         * sysdeps/i386/bsd-_setjmp.S: Likewise.
33090         * sysdeps/i386/bsd-setjmp.S: Likewise.
33091         * sysdeps/i386/__longjmp.S: Likewise.
33092         * sysdeps/i386/setjmp.S: Likewise.
33093         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
33094         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
33095         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
33096         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
33097         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
33098         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
33099         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
33100         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
33101         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
33102         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
33103         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
33104         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
33105         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
33106         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
33107         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
33108         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
33109         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
33110         * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
33111         * sysdeps/ieee754/support.c: Likewise.
33112         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
33113         * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
33114         * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
33115         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
33116         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
33117         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
33118         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
33119         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
33120         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
33121         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
33122         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
33123         * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
33124         * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
33125         * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
33126         * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
33127         * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
33128         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
33129         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
33131 2013-06-05  Ondřej Bílka  <neleai@seznam.cz>
33133         * posix/transbug.c: Remove executable mode.
33135 2013-06-05  Joseph Myers  <joseph@codesourcery.com>
33137         * crypt/speeds.c: Remove trailing whitespace.
33138         * dlfcn/default.c: Likewise.
33139         * elf/ifuncdep2.c: Likewise.
33140         * elf/ifuncmain1.c: Likewise.
33141         * elf/ifuncmain1vis.c: Likewise.
33142         * elf/testobj.h: Likewise.
33143         * elf/tst-stackguard1.c: Likewise.
33144         * gmon/sys/gmon.h: Likewise.
33145         * hurd/hurdmsg.c: Likewise.
33146         * hurd/new-fd.c: Likewise.
33147         * hurd/ports-get.c: Likewise.
33148         * iconvdata/ibm1008_420.c: Likewise.
33149         * inet/tst-getni1.c: Likewise.
33150         * inet/tst-getni2.c: Likewise.
33151         * libio/ioungetc.c: Likewise.
33152         * libio/wfiledoalloc.c: Likewise.
33153         * manual/libm-err-tab.pl: Likewise.
33154         * math/w_dremf.c: Likewise.
33155         * misc/ftruncate.c: Likewise.
33156         * posix/bug-glob2.c: Likewise.
33157         * posix/tst-pcre.c: Likewise.
33158         * posix/wait4.c: Likewise.
33159         * resolv/README: Likewise.
33160         * resolv/res_debug.h: Likewise.
33161         * resolv/tst-inet_ntop.c: Likewise.
33162         * setjmp/bug269-setjmp.c: Likewise.
33163         * soft-fp/extended.h: Likewise.
33164         * soft-fp/op-1.h: Likewise.
33165         * soft-fp/op-2.h: Likewise.
33166         * soft-fp/op-4.h: Likewise.
33167         * soft-fp/op-8.h: Likewise.
33168         * soft-fp/testit.c: Likewise.
33169         * stdio-common/bug16.c: Likewise.
33170         * stdlib/random.c: Likewise.
33171         * sunrpc/rpcsvc/rquota.x: Likewise.
33172         * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
33173         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
33174         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
33175         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
33176         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
33177         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
33178         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
33179         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
33180         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
33181         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
33182         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
33183         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
33184         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
33185         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
33186         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
33187         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
33188         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
33189         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
33190         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
33191         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
33192         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
33193         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
33194         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
33195         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
33196         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
33197         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
33198         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
33199         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
33200         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
33201         * sysdeps/ieee754/s_lib_version.c: Likewise.
33202         * sysdeps/mach/hurd/check_fds.c: Likewise.
33203         * sysdeps/mach/hurd/getsockname.c: Likewise.
33204         * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
33205         * sysdeps/mach/hurd/recvfrom.c: Likewise.
33206         * sysdeps/powerpc/bits/link.h: Likewise.
33207         * sysdeps/powerpc/dl-procinfo.c: Likewise.
33208         * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
33209         * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
33210         * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
33211         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
33212         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
33213         * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
33214         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
33215         * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
33216         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
33217         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
33218         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
33219         * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
33220         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
33221         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
33222         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
33223         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
33224         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
33225         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
33226         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
33227         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
33228         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
33229         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
33230         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
33231         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
33232         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
33233         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
33234         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
33235         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
33236         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
33237         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
33238         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
33239         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
33240         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
33241         * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
33242         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
33243         * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
33244         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
33245         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
33246         * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
33247         * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
33248         * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
33249         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
33250         * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
33251         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
33252         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
33253         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
33254         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
33255         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
33256         * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
33257         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
33258         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
33259         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
33260         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
33261         * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
33262         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
33263         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
33264         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
33265         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
33266         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
33267         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
33268         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
33269         * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
33270         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
33271         * sysdeps/powerpc/sysdep.h: Likewise.
33272         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
33273         * sysdeps/s390/s390-64/sub_n.S: Likewise.
33274         * sysdeps/sh/dl-trampoline.S: Likewise.
33275         * sysdeps/sh/memset.S: Likewise.
33276         * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
33277         * sysdeps/sh/strlen.S: Likewise.
33278         * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
33279         * sysdeps/sparc/sparc32/dotmul.S: Likewise.
33280         * sysdeps/sparc/sparc32/memcpy.S: Likewise.
33281         * sysdeps/sparc/sparc32/rem.S: Likewise.
33282         * sysdeps/sparc/sparc32/sdiv.S: Likewise.
33283         * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
33284         * sysdeps/sparc/sparc32/strchr.S: Likewise.
33285         * sysdeps/sparc/sparc32/udiv.S: Likewise.
33286         * sysdeps/sparc/sparc32/urem.S: Likewise.
33287         * sysdeps/sparc/sparc64/add_n.S: Likewise.
33288         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
33289         * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
33290         * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
33291         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
33292         * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
33293         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
33294         * sysdeps/sparc/sparc64/strncpy.S: Likewise.
33295         * sysdeps/unix/bsd/times.c: Likewise.
33296         * sysdeps/unix/sysv/linux/a.out.h: Likewise.
33297         * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
33298         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
33299         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
33300         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
33301         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
33302         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
33303         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
33304         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
33305         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
33306         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
33307         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
33308         * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
33309         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
33310         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
33311         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
33312         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
33313         * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
33314         * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
33315         * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
33316         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
33317         * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
33318         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
33319         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
33320         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
33321         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
33322         * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
33323         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
33324         * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
33325         * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
33326         * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
33327         * sysdeps/x86_64/strcspn.S: Likewise.
33329 2013-06-05  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
33331         * locale/C-translit.h: Revert #include <stdint.h> because this is a
33332         generated file.  Regenerate properly from gen-translit.pl.
33333         * locale/gen-translit.pl: Add #include <stdint.h>.  This generates
33334         locale/C-translit.h.
33336 2013-06-05  Andreas Schwab  <schwab@suse.de>
33338         [BZ #15100]
33339         * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
33340         week as 6 instead of -1.
33341         * time/tst-strptime.c (day_tests): Add test case.
33343 2013-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
33345         * sysdeps/generic/math_private.h
33346         (libc_feholdexcept_setround_53bit): Replace with
33347         libc_feholdsetround_53bit.
33348         (libc_feupdateenv_53bit): Replace with
33349         libc_feresetround_53bit.
33350         (SET_RESTORE_ROUND_53BIT): Adjust.
33352 2013-06-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
33354         * string/test-strchrnul.c: Add copyright header.
33356         * posix/tst-getaddrinfo4.c: Increase test timeout.
33358 2013-06-03  Carlos O'Donell  <carlos@redhat.com>
33360         [BZ #15536]
33361         * math/libm-test.inc (MAX_EXP): Remove
33362         (MIN_EXP): Define.
33363         (ulp): Use MIN_EXP - MANT_DIG.
33364         (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
33366 2013-05-31  Carlos O'Donell  <carlos@redhat.com>
33368         * po/be.po: Revert last change.
33369         * po/zh_CN.po: Likewise.
33370         * po/header.pot: Likewise.
33372 2013-05-31  Joseph Myers  <joseph@codesourcery.com>
33374         * Makefile ($(common-objpfx)linkobj/libc.so): Define
33375         link-libc-deps to empty as target-specific variable.
33376         * Makerules (link-libc-args): New variable.
33377         (libc-for-link): Likewise.
33378         (link-libc-deps): Likewise.
33379         (lib%.so): Depend on $(link-libc-deps).  Link with
33380         $(link-libc-args).
33381         (build-module): Link with $(link-libc-args).
33382         (build-module-asneeded): Likewise.
33383         (build-module-helper-objlist): Filter out $(link-libc-deps) from
33384         list of objects.
33385         ($(common-objpfx)libc.so): Define link-libc-deps to empty as
33386         target-specific variable.
33387         ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
33388         $(link-libc-deps) instead of libc.so and libc_nonshared.a.
33389         * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
33390         libc.
33391         * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
33392         libc and ld.so.
33393         ($(objpfx)libpcprofile.so): Likewise.
33394         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
33395         libc_nonshared.a.
33396         ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
33397         * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
33398         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
33399         $(link-libc-deps).
33400         ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
33401         * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
33402         * login/Makefile ($(objpfx)libutil.so): Likewise.
33403         * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
33404         * math/Makefile ($(objpfx)libm.so): Likewise.
33405         * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
33406         $(objpfx)libnsl.so): Define libc-for-link as target-specific
33407         variable instead of depending directly on libc.
33408         * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
33409         ($(objpfx)/libnss_test1.so): Change dependencies on libc to
33410         $(link-libc-deps).
33411         * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
33412         libc.
33413         [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
33414         ($(objpfx)libnss_dns.so): Remove dependencies on libc.
33415         ($(objpfx)libanl.so): Likewise.
33416         * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
33417         ld.so.
33418         * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
33419         $(link-libc-deps).
33420         * sysdeps/i386/fpu/Makefile: Remove file.
33421         * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
33422         ($(objpfx)libm.so): Remove dependency on ld.so.
33424 2013-05-30  Patsy Franklin  <pfrankli@redhat.com>
33426         [BZ # 15553]
33427         * nis/yp_xdr.c (XDRMAXNAME): Define.
33428         (XDRMAXRECORD): Define.
33429         (xdr_domainname): Use XDRMAXNAME.
33430         (xdr_mapname): Likewise.
33431         (xdr_peername): Likewise.
33432         (xdr_keydat): Use XDRMAXRECORD.
33433         (xdr_valdat): Likewise.
33435 2013-05-30  Jeff Law  <law@redhat.com>
33437         [BZ #14256]
33438         * manual/errno.texi (ESTALE): Update to account for more than
33439         just NFS file systems.
33440         * sysdeps/gnu/errlist.c: Regenerated.
33442 2013-05-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
33444         [BZ #15465]
33445         * elf/Makefile (tests): Add tst-null-argv.
33446         (modules-names):  Add tst-null-argv-lib.
33447         ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
33448         (tst-null-argv-ENV): Set environment for tst-null-argv.
33449         * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
33450         (RTLD_PROGNAME): New macro.
33451         * elf/tst-null-argv.c: New test case.
33452         * elf/tst-null-argv-lib.c: Library for test case.
33453         * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
33454         * elf/dl-deps.c (_dl_map_object_deps): Likewise.
33455         * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
33456         * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
33457         * elf/dl-init.c (call_init): Likewise.
33458         (_dl_init): Likewise.
33459         * elf/dl-load.c (print_search_path): Likewise.
33460         (_dl_map_object): Likewise.
33461         * elf/dl-lookup.c (do_lookup_x): Likewise.
33462         (add_dependency): Likewise.
33463         (_dl_lookup_symbol_x): Likewise.
33464         (_dl_debug_bindings): Likewise.
33465         * elf/dl-open.c (_dl_show_scope): Likewise.
33466         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
33467         * elf/dl-version.c (match_symbol): Likewise.
33468         (_dl_check_map_versions): Likewise.
33469         * elf/rtld.c (dl_main): Likewise.
33470         (print_unresolved): Use RTLD_PROGNAME.
33471         (print_missing_version): Likewise.
33472         * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
33473         (elf_machine_rela): Likewise.
33474         * sysdeps/powerpc/powerpc32/dl-machine.c
33475         (__process_machine_rela): Likewise.
33476         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
33477         Likewise.
33478         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
33479         Likewise.
33480         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
33481         Likewise.
33482         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
33483         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
33484         Likewise.
33485         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
33486         Likewise.
33487         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
33489 2013-05-28  Carlos O'Donell  <carlos@redhat.com>
33491         * po/be.po: Add descriptive title.
33492         * po/zh_CN.po: Likewise.
33493         * po/header.pot: Likewise.
33495 2013-05-28  Mike Frysinger  <vapier@gentoo.org>
33497         * locale/programs/locarchive.c (create_archive): Inlucde fname in
33498         error message.
33499         (enlarge_archive): Likewise.
33501 2013-05-28  Ben North  <ben@redfrontdoor.org>
33503         * manual/arith.texi (frexp): It is the magnitude of the return
33504         value which lies in [0.5, 1), not the return value itself.
33506 2013-05-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33508         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33510 2013-05-26  Thomas Schwinge  <thomas@codesourcery.com>
33512         * stdio-common/bug26.c (main): Correct fscanf template.
33514         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
33515         declare _dl_skip_args.
33517         * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
33518         Don't declare.
33520         * manual/platform.texi: Add missing @end deftypefun.
33522 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
33524         [BZ #15529]
33525         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
33526         bit of mantissa of 2^16382.
33527         * math/libm-test.inc (hypot_test_data): Add more tests.
33529         * math/libm-test.inc: Add drem and pow10 to list of tested
33530         functions.
33531         (pow10_test): New function.
33532         (drem_test): Likewise.
33533         (drem_test_tonearest): Likewise.
33534         (drem_test_towardzero): Likewise.
33535         (drem_test_downward): Likewise.
33536         (drem_test_upward): Likewise.
33537         (main): Call the new functions.
33539         * math/libm-test.inc (finite_test_data): Remove.
33540         (finite_test): Run tests from isfinite_test_data.
33541         (gamma_test_data): Remove.
33542         (gamma_test): Run tests from lgamma_test_data.
33543         * sysdeps/i386/fpu/libm-test-ulps: Update.
33544         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33546 2013-05-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33548         * manual/platform.texi: Add PowerPC PPR function set documentation.
33549         * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
33550         implementation.
33552 2013-05-24  Carlos O'Donell  <carlos@redhat.com>
33554         * math/libm-test.inc (MAX_EXP): Define.
33555         (ULPDIFF): Define.
33556         (ulp): New function.
33557         (check_float_internal): Use ULPDIFF.
33558         (cpow_test): Disable failing test.
33559         (check_ulp): Test ulp() implemetnation.
33560         (main): Call check_ulp before starting tests.
33562 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
33564         * math/gen-libm-test.pl (generate_testfile): Do not handle
33565         START_DATA and END_DATA.
33566         * math/libm-test.inc (acos_test_data): Do not use START_DATA and
33567         END_DATA.
33568         (acos_tonearest_test_data): Likewise.
33569         (acos_towardzero_test_data): Likewise.
33570         (acos_downward_test_data): Likewise.
33571         (acos_upward_test_data): Likewise.
33572         (acosh_test_data): Likewise.
33573         (asin_test_data): Likewise.
33574         (asin_tonearest_test_data): Likewise.
33575         (asin_towardzero_test_data): Likewise.
33576         (asin_downward_test_data): Likewise.
33577         (asin_upward_test_data): Likewise.
33578         (asinh_test_data): Likewise.
33579         (atan_test_data): Likewise.
33580         (atanh_test_data): Likewise.
33581         (atan2_test_data): Likewise.
33582         (cabs_test_data): Likewise.
33583         (cacos_test_data): Likewise.
33584         (cacosh_test_data): Likewise.
33585         (carg_test_data): Likewise.
33586         (casin_test_data): Likewise.
33587         (casinh_test_data): Likewise.
33588         (catan_test_data): Likewise.
33589         (catanh_test_data): Likewise.
33590         (cbrt_test_data): Likewise.
33591         (ccos_test_data): Likewise.
33592         (ccosh_test_data): Likewise.
33593         (ceil_test_data): Likewise.
33594         (cexp_test_data): Likewise.
33595         (cimag_test_data): Likewise.
33596         (clog_test_data): Likewise.
33597         (clog10_test_data): Likewise.
33598         (conj_test_data): Likewise.
33599         (copysign_test_data): Likewise.
33600         (cos_test_data): Likewise.
33601         (cos_tonearest_test_data): Likewise.
33602         (cos_towardzero_test_data): Likewise.
33603         (cos_downward_test_data): Likewise.
33604         (cos_upward_test_data): Likewise.
33605         (cosh_test_data): Likewise.
33606         (cosh_tonearest_test_data): Likewise.
33607         (cosh_towardzero_test_data): Likewise.
33608         (cosh_downward_test_data): Likewise.
33609         (cosh_upward_test_data): Likewise.
33610         (cpow_test_data): Likewise.
33611         (cproj_test_data): Likewise.
33612         (creal_test_data): Likewise.
33613         (csin_test_data): Likewise.
33614         (csinh_test_data): Likewise.
33615         (csqrt_test_data): Likewise.
33616         (ctan_test_data): Likewise.
33617         (ctan_tonearest_test_data): Likewise.
33618         (ctan_towardzero_test_data): Likewise.
33619         (ctan_downward_test_data): Likewise.
33620         (ctan_upward_test_data): Likewise.
33621         (ctanh_test_data): Likewise.
33622         (ctanh_tonearest_test_data): Likewise.
33623         (ctanh_towardzero_test_data): Likewise.
33624         (ctanh_downward_test_data): Likewise.
33625         (ctanh_upward_test_data): Likewise.
33626         (erf_test_data): Likewise.
33627         (erfc_test_data): Likewise.
33628         (exp_test_data): Likewise.
33629         (exp_tonearest_test_data): Likewise.
33630         (exp_towardzero_test_data): Likewise.
33631         (exp_downward_test_data): Likewise.
33632         (exp_upward_test_data): Likewise.
33633         (exp10_test_data): Likewise.
33634         (exp2_test_data): Likewise.
33635         (expm1_test_data): Likewise.
33636         (fabs_test_data): Likewise.
33637         (fdim_test_data): Likewise.
33638         (finite_test_data): Likewise.
33639         (floor_test_data): Likewise.
33640         (fma_test_data): Likewise.
33641         (fma_towardzero_test_data): Likewise.
33642         (fma_downward_test_data): Likewise.
33643         (fma_upward_test_data): Likewise.
33644         (fmax_test_data): Likewise.
33645         (fmin_test_data): Likewise.
33646         (fmod_test_data): Likewise.
33647         (fpclassify_test_data): Likewise.
33648         (frexp_test_data): Likewise.
33649         (gamma_test_data): Likewise.
33650         (hypot_test_data): Likewise.
33651         (ilogb_test_data): Likewise.
33652         (isfinite_test_data): Likewise.
33653         (isgreater_test_data): Likewise.
33654         (isgreaterequal_test_data): Likewise.
33655         (isinf_test_data): Likewise.
33656         (isless_test_data): Likewise.
33657         (islessequal_test_data): Likewise.
33658         (islessgreater_test_data): Likewise.
33659         (isnan_test_data): Likewise.
33660         (isnormal_test_data): Likewise.
33661         (issignaling_test_data): Likewise.
33662         (isunordered_test_data): Likewise.
33663         (j0_test_data): Likewise.
33664         (j1_test_data): Likewise.
33665         (jn_test_data): Likewise.
33666         (ldexp_test_data): Likewise.
33667         (lgamma_test_data): Likewise.
33668         (lrint_test_data): Likewise.
33669         (lrint_tonearest_test_data): Likewise.
33670         (lrint_towardzero_test_data): Likewise.
33671         (lrint_downward_test_data): Likewise.
33672         (lrint_upward_test_data): Likewise.
33673         (llrint_test_data): Likewise.
33674         (llrint_tonearest_test_data): Likewise.
33675         (llrint_towardzero_test_data): Likewise.
33676         (llrint_downward_test_data): Likewise.
33677         (llrint_upward_test_data): Likewise.
33678         (log_test_data): Likewise.
33679         (log10_test_data): Likewise.
33680         (log1p_test_data): Likewise.
33681         (log2_test_data): Likewise.
33682         (logb_test_data): Likewise.
33683         (logb_downward_test_data): Likewise.
33684         (lround_test_data): Likewise.
33685         (llround_test_data): Likewise.
33686         (modf_test_data): Likewise.
33687         (nearbyint_test_data): Likewise.
33688         (nextafter_test_data): Likewise.
33689         (nexttoward_test_data): Likewise.
33690         (pow_test_data): Likewise.
33691         (pow_tonearest_test_data): Likewise.
33692         (pow_towardzero_test_data): Likewise.
33693         (pow_downward_test_data): Likewise.
33694         (pow_upward_test_data): Likewise.
33695         (remainder_test_data): Likewise.
33696         (remainder_tonearest_test_data): Likewise.
33697         (remainder_towardzero_test_data): Likewise.
33698         (remainder_downward_test_data): Likewise.
33699         (remainder_upward_test_data): Likewise.
33700         (remquo_test_data): Likewise.
33701         (rint_test_data): Likewise.
33702         (rint_tonearest_test_data): Likewise.
33703         (rint_towardzero_test_data): Likewise.
33704         (rint_downward_test_data): Likewise.
33705         (rint_upward_test_data): Likewise.
33706         (round_test_data): Likewise.
33707         (scalb_test_data): Likewise.
33708         (scalbn_test_data): Likewise.
33709         (scalbln_test_data): Likewise.
33710         (signbit_test_data): Likewise.
33711         (sin_test_data): Likewise.
33712         (sin_tonearest_test_data): Likewise.
33713         (sin_towardzero_test_data): Likewise.
33714         (sin_downward_test_data): Likewise.
33715         (sin_upward_test_data): Likewise.
33716         (sincos_test_data): Likewise.
33717         (sinh_test_data): Likewise.
33718         (sinh_tonearest_test_data): Likewise.
33719         (sinh_towardzero_test_data): Likewise.
33720         (sinh_downward_test_data): Likewise.
33721         (sinh_upward_test_data): Likewise.
33722         (sqrt_test_data): Likewise.
33723         (tan_test_data): Likewise.
33724         (tan_tonearest_test_data): Likewise.
33725         (tan_towardzero_test_data): Likewise.
33726         (tan_downward_test_data): Likewise.
33727         (tan_upward_test_data): Likewise.
33728         (tanh_test_data): Likewise.
33729         (tgamma_test_data): Likewise.
33730         (trunc_test_data): Likewise.
33731         (y0_test_data): Likewise.
33732         (y1_test_data): Likewise.
33733         (yn_test_data): Likewise.
33734         (significand_test_data): Likewise.
33736         * math/gen-libm-test.pl (@functions): Remove variable.
33737         (generate_testfile): Don't handle START and END lines.
33738         * math/libm-test.inc (START): New macro.
33739         (END): Likewise.
33740         (END_COMPLEX): Likewise.
33741         (acos_test): Use END macro without arguments.
33742         (acos_test_tonearest): Likewise.
33743         (acos_test_towardzero): Likewise.
33744         (acos_test_downward): Likewise.
33745         (acos_test_upward): Likewise.
33746         (acosh_test): Likewise.
33747         (asin_test): Likewise.
33748         (asin_test_tonearest): Likewise.
33749         (asin_test_towardzero): Likewise.
33750         (asin_test_downward): Likewise.
33751         (asin_test_upward): Likewise.
33752         (asinh_test): Likewise.
33753         (atan_test): Likewise.
33754         (atanh_test): Likewise.
33755         (atan2_test): Likewise.
33756         (cabs_test): Likewise.
33757         (cacos_test): Use END_COMPLEX macro without arguments.
33758         (cacosh_test): Likewise.
33759         (carg_test): Use END macro without arguments.
33760         (casin_test): Use END_COMPLEX macro without arguments.
33761         (casinh_test): Likewise.
33762         (catan_test): Likewise.
33763         (catanh_test): Likewise.
33764         (cbrt_test): Use END macro without arguments.
33765         (ccos_test): Use END_COMPLEX macro without arguments.
33766         (ccosh_test): Likewise.
33767         (ceil_test): Use END macro without arguments.
33768         (cexp_test): Use END_COMPLEX macro without arguments.
33769         (cimag_test): Use END macro without arguments.
33770         (clog_test): Use END_COMPLEX macro without arguments.
33771         (clog10_test): Likewise.
33772         (conj_test): Likewise.
33773         (copysign_test): Use END macro without arguments.
33774         (cos_test): Likewise.
33775         (cos_test_tonearest): Likewise.
33776         (cos_test_towardzero): Likewise.
33777         (cos_test_downward): Likewise.
33778         (cos_test_upward): Likewise.
33779         (cosh_test): Likewise.
33780         (cosh_test_tonearest): Likewise.
33781         (cosh_test_towardzero): Likewise.
33782         (cosh_test_downward): Likewise.
33783         (cosh_test_upward): Likewise.
33784         (cpow_test): Use END_COMPLEX macro without arguments.
33785         (cproj_test): Likewise.
33786         (creal_test): Use END macro without arguments.
33787         (csin_test): Use END_COMPLEX macro without arguments.
33788         (csinh_test): Likewise.
33789         (csqrt_test): Likewise.
33790         (ctan_test): Likewise.
33791         (ctan_test_tonearest): Likewise.
33792         (ctan_test_towardzero): Likewise.
33793         (ctan_test_downward): Likewise.
33794         (ctan_test_upward): Likewise.
33795         (ctanh_test): Likewise.
33796         (ctanh_test_tonearest): Likewise.
33797         (ctanh_test_towardzero): Likewise.
33798         (ctanh_test_downward): Likewise.
33799         (ctanh_test_upward): Likewise.
33800         (erf_test): Use END macro without arguments.
33801         (erfc_test): Likewise.
33802         (exp_test): Likewise.
33803         (exp_test_tonearest): Likewise.
33804         (exp_test_towardzero): Likewise.
33805         (exp_test_downward): Likewise.
33806         (exp_test_upward): Likewise.
33807         (exp10_test): Likewise.
33808         (exp2_test): Likewise.
33809         (expm1_test): Likewise.
33810         (fabs_test): Likewise.
33811         (fdim_test): Likewise.
33812         (finite_test): Likewise.
33813         (floor_test): Likewise.
33814         (fma_test): Likewise.
33815         (fma_test_towardzero): Likewise.
33816         (fma_test_downward): Likewise.
33817         (fma_test_upward): Likewise.
33818         (fmax_test): Likewise.
33819         (fmin_test): Likewise.
33820         (fmod_test): Likewise.
33821         (fpclassify_test): Likewise.
33822         (frexp_test): Likewise.
33823         (gamma_test): Likewise.
33824         (hypot_test): Likewise.
33825         (ilogb_test): Likewise.
33826         (isfinite_test): Likewise.
33827         (isgreater_test): Likewise.
33828         (isgreaterequal_test): Likewise.
33829         (isinf_test): Likewise.
33830         (isless_test): Likewise.
33831         (islessequal_test): Likewise.
33832         (islessgreater_test): Likewise.
33833         (isnan_test): Likewise.
33834         (isnormal_test): Likewise.
33835         (issignaling_test): Likewise.
33836         (isunordered_test): Likewise.
33837         (j0_test): Likewise.
33838         (j1_test): Likewise.
33839         (jn_test): Likewise.
33840         (ldexp_test): Likewise.
33841         (lgamma_test): Likewise.
33842         (lrint_test): Likewise.
33843         (lrint_test_tonearest): Likewise.
33844         (lrint_test_towardzero): Likewise.
33845         (lrint_test_downward): Likewise.
33846         (lrint_test_upward): Likewise.
33847         (llrint_test): Likewise.
33848         (llrint_test_tonearest): Likewise.
33849         (llrint_test_towardzero): Likewise.
33850         (llrint_test_downward): Likewise.
33851         (llrint_test_upward): Likewise.
33852         (log_test): Likewise.
33853         (log10_test): Likewise.
33854         (log1p_test): Likewise.
33855         (log2_test): Likewise.
33856         (logb_test): Likewise.
33857         (logb_test_downward): Likewise.
33858         (lround_test): Likewise.
33859         (llround_test): Likewise.
33860         (modf_test): Likewise.
33861         (nearbyint_test): Likewise.
33862         (nextafter_test): Likewise.
33863         (nexttoward_test): Likewise.
33864         (pow_test): Likewise.
33865         (pow_test_tonearest): Likewise.
33866         (pow_test_towardzero): Likewise.
33867         (pow_test_downward): Likewise.
33868         (pow_test_upward): Likewise.
33869         (remainder_test): Likewise.
33870         (remainder_test_tonearest): Likewise.
33871         (remainder_test_towardzero): Likewise.
33872         (remainder_test_downward): Likewise.
33873         (remainder_test_upward): Likewise.
33874         (remquo_test): Likewise.
33875         (rint_test): Likewise.
33876         (rint_test_tonearest): Likewise.
33877         (rint_test_towardzero): Likewise.
33878         (rint_test_downward): Likewise.
33879         (rint_test_upward): Likewise.
33880         (round_test): Likewise.
33881         (scalb_test): Likewise.
33882         (scalbn_test): Likewise.
33883         (scalbln_test): Likewise.
33884         (signbit_test): Likewise.
33885         (sin_test): Likewise.
33886         (sin_test_tonearest): Likewise.
33887         (sin_test_towardzero): Likewise.
33888         (sin_test_downward): Likewise.
33889         (sin_test_upward): Likewise.
33890         (sincos_test): Likewise.
33891         (sinh_test): Likewise.
33892         (sinh_test_tonearest): Likewise.
33893         (sinh_test_towardzero): Likewise.
33894         (sinh_test_downward): Likewise.
33895         (sinh_test_upward): Likewise.
33896         (sqrt_test): Likewise.
33897         (tan_test): Likewise.
33898         (tan_test_tonearest): Likewise.
33899         (tan_test_towardzero): Likewise.
33900         (tan_test_downward): Likewise.
33901         (tan_test_upward): Likewise.
33902         (tanh_test): Likewise.
33903         (tgamma_test): Likewise.
33904         (trunc_test): Likewise.
33905         (y0_test): Likewise.
33906         (y1_test): Likewise.
33907         (yn_test): Likewise.
33908         (significand_test): Likewise.
33910 2013-05-24  Ondřej Bílka  <neleai@seznam.cz>
33912         [BZ #15381]
33913         * libio/genops.c (_IO_no_init): Initialize wide struct info.
33915 2013-05-23  Edjunior Machado  <emachado@linux.vnet.ibm.com>
33917         [BZ #14894]
33918         * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
33919         __ppc_mdoio and __ppc_mdoom.
33920         * manual/platform.texi: Document new functions __ppc_yield,
33921         __ppc_mdoio and __ppc_mdoom.
33923 2013-05-22  Carlos O'Donell  <carlos@redhat.com>
33925         * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
33926         (main): Mention "tls" pseudo-hwcap is legacy.
33927         * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
33929 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
33931         * math/gen-libm-test.pl (parse_args): Output only string of
33932         arguments as text for test name, not full call or descriptions of
33933         tests for extra outputs.
33934         (generate_testfile): Do not pass function name to parse_args.
33935         Generate this_func variable from START.
33936         * math/libm-test.inc (struct test_f_f_data): Rename test_name
33937         field to arg_str.
33938         (struct test_ff_f_data): Likewise.
33939         (test_ff_f_data_nexttoward): Likewise.
33940         (struct test_fi_f_data): Likewise.
33941         (struct test_fl_f_data): Likewise.
33942         (struct test_if_f_data): Likewise.
33943         (struct test_fff_f_data): Likewise.
33944         (struct test_c_f_data): Likewise.
33945         (struct test_f_f1_data): Likewise.  Remove field extra_name.
33946         (struct test_fF_f1_data): Likewise.
33947         (struct test_ffI_f1_data): Likewise.
33948         (struct test_c_c_data): Rename test_name field to arg_str.
33949         (struct test_cc_c_data): Likewise.
33950         (struct test_f_i_data): Likewise.
33951         (struct test_ff_i_data): Likewise.
33952         (struct test_f_l_data): Likewise.
33953         (struct test_f_L_data): Likewise.
33954         (struct test_fFF_11_data): Likewise.  Remove fields extra1_name
33955         and extra2_name.
33956         (COMMON_TEST_SETUP): New macro.
33957         (EXTRA_OUTPUT_TEST_SETUP): Likewise.
33958         (COMMON_TEST_CLEANUP): Likewise.
33959         (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
33960         (RUN_TEST_f_f): Take argument string.  Call new setup and cleanup
33961         macros.
33962         (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
33963         (RUN_TEST_2_f): Take argument string.  Call new setup and cleanup
33964         macros.
33965         (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
33966         (RUN_TEST_fff_f): Take argument string.  Call new setup and
33967         cleanup macros.
33968         (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
33969         (RUN_TEST_c_f): Take argument string.  Call new setup and cleanup
33970         macros.
33971         (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
33972         (RUN_TEST_f_f1): Take argument string.  Call new setup and cleanup
33973         macros.
33974         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
33975         (RUN_TEST_fF_f1): Take argument string.  Call new setup and
33976         cleanup macros.
33977         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
33978         (RUN_TEST_fI_f1): Take argument string.  Call new setup and
33979         cleanup macros.
33980         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
33981         (RUN_TEST_ffI_f1): Take argument string.  Call new setup and
33982         cleanup macros.
33983         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
33984         (RUN_TEST_c_c): Take argument string.  Call new setup and cleanup
33985         macros.
33986         (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
33987         (RUN_TEST_cc_c): Take argument string.  Call new setup and cleanup
33988         macros.
33989         (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
33990         (RUN_TEST_f_i): Take argument string.  Call new setup and cleanup
33991         macros.
33992         (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
33993         (RUN_TEST_f_i_tg): Take argument string.  Call new setup and
33994         cleanup macros.
33995         (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
33996         (RUN_TEST_ff_i_tg): Take argument string.  Call new setup and
33997         cleanup macros.
33998         (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
33999         (RUN_TEST_f_b): Take argument string.  Call new setup and cleanup
34000         macros.
34001         (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
34002         (RUN_TEST_f_b_tg): Take argument string.  Call new setup and
34003         cleanup macros.
34004         (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
34005         (RUN_TEST_f_l): Take argument string.  Call new setup and cleanup
34006         macros.
34007         (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
34008         (RUN_TEST_f_L): Take argument string.  Call new setup and cleanup
34009         macros.
34010         (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
34011         (RUN_TEST_fFF_11): Take argument string.  Call new setup and
34012         cleanup macros.
34013         (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
34015 2013-05-22  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
34017         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
34018         to _sifields.sigfault.
34019         (si_addr_lsb): Define new macro.
34020         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
34021         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
34022         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
34024 2013-05-03  Carlos O'Donell  <carlos at redhat.com>
34026         [BZ #15441]
34027         * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
34028         returns -1.
34029         (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
34030         null return -1.
34031         * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
34032         loading the domain.
34034 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
34036         * math/gen-libm-test.pl (parse_args): Do not include expected
34037         result in test name.
34038         * sysdeps/i386/fpu/libm-test-ulps: Update test names.
34039         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
34040         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
34041         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
34042         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
34043         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34045 2013-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
34047         * benchtests/Makefile: Sort function entries.
34049         * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
34050         tanh, asinh, acosh, atanh.
34051         * benchtests/acos-inputs: New file.
34052         * benchtests/acosh-inputs: New file.
34053         * benchtests/asin-inputs: New file.
34054         * benchtests/asinh-inputs: New file.
34055         * benchtests/atanh-inputs: New file.
34056         * benchtests/cosh-inputs: New file.
34057         * benchtests/log-inputs: New file.
34058         * benchtests/sinh-inputs: New file.
34059         * benchtests/tanh-inputs: New file.
34061 2013-05-21  Dmitry V. Levin  <ldv@altlinux.org>
34063         [BZ #15339]
34064         * posix/tst-getaddrinfo4.c: New test.
34065         * posix/Makefile (tests): Add it.
34067 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
34069         [BZ #15339]
34070         * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
34071         when no services were used.
34072         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
34073         Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
34075 2013-05-21  Andreas Schwab  <schwab@suse.de>
34077         [BZ #15014]
34078         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
34079         [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
34080         successful.
34081         * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
34082         redundant variable declarations and reallocation of buffer when
34083         parsing as IPv6 address.  Always set NSS status when called from
34084         reentrant functions.  Use NETDB_INTERNAL instead of TRY_AGAIN when
34085         buffer too small.  Correct computation of needed size.
34086         * nss/Makefile (tests): Add test-digits-dots.
34087         * nss/test-digits-dots.c: New test.
34089 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
34091         * benchtests/Makefile: Remove instructions for adding
34092         benchmark tests.
34093         * benchtests/README: New file to explain how to execute and
34094         enhance the benchmark tests.
34096 2013-05-21  Andreas Schwab  <schwab@suse.de>
34098         [BZ #15493]
34099         * setjmp/Makefile (tests): Add tst-sigsetjmp.
34100         * setjmp/tst-sigsetjmp.c: New test.
34102 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
34104         * sysdeps/x86_64/memset.S (memset): New implementation.
34105         (__bzero): Likewise.
34106         (__memset_tail): New function.
34108 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
34110         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
34111         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
34112         __memcpy_sse2_unaligned ifunc selection.
34113         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
34114         Add memcpy-sse2-unaligned.S.
34115         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
34116         Add: __memcpy_sse2_unaligned.
34118 2013-05-19  Joseph Myers  <joseph@codesourcery.com>
34120         [BZ #15490]
34121         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
34122         math_force_eval before restoring floating-point envrionment.
34123         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
34124         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
34125         Likewise.
34126         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
34127         <math_private.h>.
34128         (__nearbyintl): Use math_force_eval before restoring
34129         floating-point environment.
34130         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
34132         * math/gen-libm-test.pl (special_functions): Remove.
34133         (parse_args): Don't handle TEST_extra.  Handle functions with no
34134         return value.
34135         * math/libm-test.inc (struct test_sincos_data): Replace with
34136         struct test_fFF_11_data.
34137         (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
34138         (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
34139         (sincos_test_data): Change element type to struct
34140         test_fFF_11_data.  Use TEST_fFF_11 instead of TEST_extra.
34141         (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
34142         RUN_TEST_LOOP_sincos.
34143         * math/README.libm-test: Don't mention special handling of
34144         individual functions.
34145         * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
34146         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
34147         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
34148         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
34149         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
34150         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34152         * math/gen-libm-test.pl (get_variable): Remove function.
34153         (parse_args): Don't show pointer parameters to call in test
34154         names.  Use "extra output N" in test names for extra outputs
34155         rather than naming variables.
34157 2013-05-18  Joseph Myers  <joseph@codesourcery.com>
34159         [BZ #15488]
34160         * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
34161         __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
34162         * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
34163         double tests.
34164         * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
34165         disable.
34166         (do_test) [NO_LONG_DOUBLE]: Do not disable call to
34167         check_long_double.
34169         * math/gen-libm-test.pl (@tests): Remove variable.
34170         ($count): Likewise.
34171         (new_test): Remove function.
34172         (show_exceptions): New function.
34173         (special_functions): Use show_exceptions instead of new_test.
34174         (parse_args): Likewise.
34175         (generate_testfile): Pass only function name in generated call to
34176         print_max_error or print_complex_max_error.
34177         (get_ulps): Do not handle complex tests specially.
34178         (output_test): Rename to ...
34179         (get_all_ulps_for_test): ... this.  Return a string rather than
34180         printing to a file.  Require ulps to be present.
34181         (output_ulps): Generate arrays rather than #defines.
34182         * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
34183         (struct ulp_data): New type.
34184         (BUILD_COMPLEX_ULP): Remove macro.
34185         (compare_ulp_data): New function.
34186         (find_ulps): Likewise.
34187         (find_test_ulps): Likewise.
34188         (find_function_ulps): Likewise.
34189         (find_complex_function_ulps): Likewise.
34190         (print_max_error): Determine allowed ulps using
34191         find_function_ulps.
34192         (print_complex_max_error): Determine allowed ulps using
34193         find_complex_function_ulps.
34194         (check_float_internal): Determine max ulps using find_test_ulps.
34195         (check_float): Do not take max_ulp parameter.  Update call to
34196         check_float_internal.
34197         (check_complex): Likewise.
34198         (check_int): Do not take max_ulp parameter.
34199         (check_long): Likewise.
34200         (check_bool): Likewise.
34201         (check_longlong): Likewise.
34202         (struct test_f_f_data): Remove max_ulp field.
34203         (struct test_ff_f_data): Likewise.
34204         (struct test_ff_f_data_nexttoward): Likewise.
34205         (struct test_fi_f_data): Likewise.
34206         (struct test_fl_f_data): Likewise.
34207         (struct test_if_f_data): Likewise.
34208         (struct test_fff_f_data): Likewise.
34209         (struct test_c_f_data): Likewise.
34210         (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
34211         (struct test_fF_f1_data): Likewise.
34212         (struct test_ffI_f1_data): Likewise.
34213         (struct test_c_c_data): Remove max_ulp field.
34214         (struct test_cc_c_data): Likewise.
34215         (struct test_f_i_data): Likewise.
34216         (struct test_ff_i_data): Likewise.
34217         (struct test_f_l_data): Likewise.
34218         (struct test_f_L_data): Likewise.
34219         (struct test_sincos_data): Likewise.
34220         (RUN_TEST_f_f): Do not handle ulps.
34221         (RUN_TEST_LOOP_f_f): Likewise.
34222         (RUN_TEST_2_f): Likewise.
34223         (RUN_TEST_LOOP_2_f): Likewise.
34224         (RUN_TEST_fff_f): Likewise.
34225         (RUN_TEST_LOOP_fff_f): Likewise.
34226         (RUN_TEST_c_f): Likewise.
34227         (RUN_TEST_LOOP_c_f): Likewise.
34228         (RUN_TEST_f_f1): Likewise.
34229         (RUN_TEST_LOOP_f_f1): Likewise.
34230         (RUN_TEST_fF_f1): Likewise.
34231         (RUN_TEST_LOOP_fF_f1): Likewise.
34232         (RUN_TEST_fI_f1): Likewise.
34233         (RUN_TEST_LOOP_fI_f1): Likewise.
34234         (RUN_TEST_ffI_f1): Likewise.
34235         (RUN_TEST_LOOP_ffI_f1): Likewise.
34236         (RUN_TEST_c_c): Likewise.
34237         (RUN_TEST_LOOP_c_c): Likewise.
34238         (RUN_TEST_cc_c): Likewise.
34239         (RUN_TEST_LOOP_cc_c): Likewise.
34240         (RUN_TEST_f_i): Likewise.
34241         (RUN_TEST_LOOP_f_i): Likewise.
34242         (RUN_TEST_f_i_tg): Likewise.
34243         (RUN_TEST_LOOP_f_i_tg): Likewise.
34244         (RUN_TEST_ff_i_tg): Likewise.
34245         (RUN_TEST_LOOP_ff_i_tg): Likewise.
34246         (RUN_TEST_f_b): Likewise.
34247         (RUN_TEST_LOOP_f_b): Likewise.
34248         (RUN_TEST_f_b_tg): Likewise.
34249         (RUN_TEST_LOOP_f_b_tg): Likewise.
34250         (RUN_TEST_f_l): Likewise.
34251         (RUN_TEST_LOOP_f_l): Likewise.
34252         (RUN_TEST_f_L): Likewise.
34253         (RUN_TEST_LOOP_f_L): Likewise.
34254         (RUN_TEST_sincos): Likewise.
34255         (RUN_TEST_LOOP_sincos): Likewise.
34257 2013-05-17  Joseph Myers  <joseph@codesourcery.com>
34259         [BZ #15480]
34260         [BZ #15485]
34261         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
34262         main case of finite arguments, set rounding mode to FE_TONEAREST
34263         and discard exceptions.
34264         * math/libm-test.inc (remainder_test_data): Disallow "inexact"
34265         exceptions.
34266         (remainder_tonearest_test_data): New variable.
34267         (remainder_test_tonearest): New function.
34268         (remainder_towardzero_test_data): New variable.
34269         (remainder_test_towardzero): New function.
34270         (remainder_downward_test_data): New variable.
34271         (remainder_test_downward): New function.
34272         (remainder_upward_test_data): New variable.
34273         (remainder_test_upward): New function.
34274         (main): Call the new test functions.
34276         * math/libm-test.inc (struct test_f_f1_data): Remove field
34277         extra_init.
34278         (struct test_fF_f1_data): Likewise.
34279         (struct test_ffI_f1_data): Likewise.
34280         (RUN_TEST_f_f1): Remove argument EXTRA_INIT.  Initialize EXTRA_VAR
34281         based on value of EXTRA_EXPECTED.
34282         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
34283         (RUN_TEST_fF_f1): Remove argument EXTRA_INIT.  Initialize
34284         EXTRA_VAR based on value of EXTRA_EXPECTED.
34285         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
34286         (RUN_TEST_fI_f1): Remove argument EXTRA_INIT.  Initialize
34287         EXTRA_VAR based on value of EXTRA_EXPECTED.
34288         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
34289         (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT.  Initialize
34290         EXTRA_VAR based on value of EXTRA_EXPECTED.
34291         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
34292         * math/gen-libm-test.pl (parse_args): Don't output initializers
34293         for extra output values.
34295         * math/libm-test.inc (check_int): Expect result to be exactly
34296         equal to expected value and do not handle ulps.
34297         (check_long): Likewise.
34298         (check_longlong): Likewise.
34300         * math/libm-test.inc (ceil_test_data): Test for "inexact"
34301         exceptions.
34302         (cimag_test_data): Likewise.
34303         (conj_test_data): Likewise.
34304         (copysign_test_data): Likewise.
34305         (cproj_test_data): Likewise.
34306         (creal_test_data): Likewise.
34307         (fabs_test_data): Likewise.
34308         (fdim_test_data): Likewise.
34309         (finite_test_data): Likewise.
34310         (floor_test_data): Likewise.
34311         (fmax_test_data): Likewise.
34312         (fmin_test_data): Likewise.
34313         (fmod_test_data): Likewise.
34314         (fpclassify_test_data): Likewise.
34315         (frexp_test_data): Likewise.
34316         (ilogb_test_data): Likewise.
34317         (isfinite_test_data): Likewise.
34318         (isgreater_test_data): Likewise.
34319         (isgreaterequal_test_data): Likewise.
34320         (isinf_test_data): Likewise.
34321         (isless_test_data): Likewise.
34322         (islessequal_test_data): Likewise.
34323         (islessgreater_test_data): Likewise.
34324         (isnan_test_data): Likewise.
34325         (isnormal_test_data): Likewise.
34326         (issignaling_test_data): Likewise.
34327         (isunordered_test_data): Likewise.
34328         (ldexp_test_data): Likewise.
34329         (lrint_test_data): Likewise.
34330         (lrint_test_data) [TEST_FLOAT]: Disable one test.
34331         (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
34332         (lrint_tonearest_test_data): Test for "inexact" exceptions.
34333         (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
34334         (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
34335         (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
34336         test input.
34337         (lrint_towardzero_test_data): Test for "inexact" exceptions.
34338         (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
34339         (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
34340         (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
34341         that test input.
34342         (lrint_downward_test_data): Test for "inexact" exceptions.
34343         (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
34344         (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
34345         (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
34346         test input.
34347         (lrint_upward_test_data): Test for "inexact" exceptions.
34348         (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
34349         test input.
34350         (llrint_test_data): Test for "inexact" exceptions.
34351         (llrint_test_data) [TEST_FLOAT]: Disable one test.
34352         (llrint_tonearest_test_data): Test for "inexact" exceptions.
34353         (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
34354         (llrint_towardzero_test_data): Test for "inexact" exceptions.
34355         (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
34356         (llrint_downward_test_data): Test for "inexact" exceptions.
34357         (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
34358         (llrint_upward_test_data): Test for "inexact" exceptions.
34359         (logb_test_data): Likewise.
34360         (logb_downward_test_data): Likewise.
34361         (nextafter_test_data): Likewise.
34362         (nexttoward_test_data): Likewise.
34363         (remainder_test_data): Likewise.
34364         (remquo_test_data): Likewise.
34365         (scalbn_test_data): Likewise.
34366         (scalbln_test_data): Likewise.
34367         (signbit_test_data): Likewise.
34368         (sqrt_test_data): Likewise.
34369         (significand_test_data): Likewise.
34371 2013-05-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
34373         [BZ #15424]
34374         * benchtests/bench-modf.c (struct args): Mark arg0 as
34375         volatile.
34376         * scripts/bench.pl: Mark members of struct args as volatile.
34378 2013-05-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34380         [BZ # 15497]
34381         * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
34382         negative infinity on POWER6 or lower.
34383         * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
34385 2013-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
34387         [BZ #15442]
34388         * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
34389         (_FP_FRAC_SNANP_SEMIRAW): Likewise.
34390         (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
34391         (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
34392         (_FP_SETQNAN): New macro.
34393         (_FP_SETQNAN_SEMIRAW): Likewise.
34394         (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
34395         (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
34396         (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
34397         (FP_EXTEND): Use _FP_FRAC_SNANP.
34398         (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
34399         * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
34400         into account.
34401         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
34402         New macro.
34403         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
34404         Likewise.
34406 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
34408         * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
34409         with DIVIDE_BY_ZERO_EXCEPTION.
34410         (gamma_test_data): Likewise.
34411         (lgamma_test_data): Likewise.
34412         (log_test_data): Likewise.
34413         (log10_test_data): Likewise.
34414         (log2_test_data): Likewise.
34415         (tgamma_test_data): Likewise.
34417         * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
34418         (acos_test_tonearest): Likewise.
34419         (acos_test_towardzero): Likewise.
34420         (acos_test_downward): Likewise.
34421         (acos_test_upward): Likewise.
34422         (acosh_test): Likewise.
34423         (asin_test): Likewise.
34424         (asin_test_tonearest): Likewise.
34425         (asin_test_towardzero): Likewise.
34426         (asin_test_downward): Likewise.
34427         (asin_test_upward): Likewise.
34428         (asinh_test): Likewise.
34429         (atan_test): Likewise.
34430         (atanh_test): Likewise.
34431         (atan2_test): Likewise.
34432         (cabs_test): Likewise.
34433         (cacos_test): Likewise.
34434         (cacosh_test): Likewise.
34435         (casin_test): Likewise.
34436         (casinh_test): Likewise.
34437         (catan_test): Likewise.
34438         (catanh_test): Likewise.
34439         (cbrt_test): Likewise.
34440         (ccos_test): Likewise.
34441         (ccosh_test): Likewise.
34442         (cexp_test): Likewise.
34443         (clog_test): Likewise.
34444         (clog10_test): Likewise.
34445         (cos_test): Likewise.
34446         (cos_test_tonearest): Likewise.
34447         (cos_test_towardzero): Likewise.
34448         (cos_test_downward): Likewise.
34449         (cos_test_upward): Likewise.
34450         (cosh_test): Likewise.
34451         (cosh_test_tonearest): Likewise.
34452         (cosh_test_towardzero): Likewise.
34453         (cosh_test_downward): Likewise.
34454         (cosh_test_upward): Likewise.
34455         (cpow_test): Likewise.
34456         (csin_test): Likewise.
34457         (csinh_test): Likewise.
34458         (csqrt_test): Likewise.
34459         (ctan_test): Likewise.
34460         (ctan_test_tonearest): Likewise.
34461         (ctan_test_towardzero): Likewise.
34462         (ctan_test_downward): Likewise.
34463         (ctan_test_upward): Likewise.
34464         (ctanh_test): Likewise.
34465         (ctanh_test_tonearest): Likewise.
34466         (ctanh_test_towardzero): Likewise.
34467         (ctanh_test_downward): Likewise.
34468         (ctanh_test_upward): Likewise.
34469         (erf_test): Likewise.
34470         (erfc_test): Likewise.
34471         (exp_test): Likewise.
34472         (exp_test_tonearest): Likewise.
34473         (exp_test_towardzero): Likewise.
34474         (exp_test_downward): Likewise.
34475         (exp_test_upward): Likewise.
34476         (exp10_test): Likewise.
34477         (exp2_test): Likewise.
34478         (expm1_test): Likewise.
34479         (fmod_test): Likewise.
34480         (gamma_test): Likewise.
34481         (hypot_test): Likewise.
34482         (j0_test): Likewise.
34483         (j1_test): Likewise.
34484         (jn_test): Likewise.
34485         (lgamma_test): Likewise.
34486         (log_test): Likewise.
34487         (log10_test): Likewise.
34488         (log1p_test): Likewise.
34489         (log2_test): Likewise.
34490         (logb_test_downward): Likewise.
34491         (pow_test): Likewise.
34492         (pow_test_tonearest): Likewise.
34493         (pow_test_towardzero): Likewise.
34494         (pow_test_downward): Likewise.
34495         (pow_test_upward): Likewise.
34496         (remainder_test): Likewise.
34497         (remquo_test): Likewise.
34498         (sin_test): Likewise.
34499         (sin_test_tonearest): Likewise.
34500         (sin_test_towardzero): Likewise.
34501         (sin_test_downward): Likewise.
34502         (sin_test_upward): Likewise.
34503         (sincos_test): Likewise.
34504         (sinh_test): Likewise.
34505         (sinh_test_tonearest): Likewise.
34506         (sinh_test_towardzero): Likewise.
34507         (sinh_test_downward): Likewise.
34508         (sinh_test_upward): Likewise.
34509         (sqrt_test): Likewise.
34510         (tan_test): Likewise.
34511         (tan_test_tonearest): Likewise.
34512         (tan_test_towardzero): Likewise.
34513         (tan_test_downward): Likewise.
34514         (tan_test_upward): Likewise.
34515         (tanh_test): Likewise.
34516         (tgamma_test): Likewise.
34517         (y0_test): Likewise.
34518         (y1_test): Likewise.
34519         (yn_test): Likewise.
34521         * math/gen-libm-test.pl (adjust_arg): Remove function.
34522         (special_function): Remove argument $in_func.  Only handle
34523         generating output for tables of tests, not inside functions.
34524         (parse_args): Likewise.
34525         (generate_testfile): Remove variable $in_func.  Update call to
34526         parse_args.
34527         * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
34528         (MINUS_ZERO_INIT): Rename macro to minus_zero.
34529         (PLUS_INFTY_INIT): Rename macro to plus_infty.
34530         (MINUS_INFTY_INIT): Rename macro to minus_infty.
34531         (QNAN_VALUE_INIT): Rename macro to qnan_value.
34532         (MAX_VALUE_INIT): Rename macro to max_value.
34533         (MIN_VALUE_INIT): Rename macro to min_value.
34534         (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
34535         (plus_zero): Remove variable.
34536         (minus_zero): Likewise.
34537         (plus_infty): Likewise.
34538         (minus_infty): Likewise.
34539         (qnan_value): Likewise.
34540         (max_value): Likewise.
34541         (min_value): Likewise.
34542         (min_subnorm_value): Likewise.
34544 2013-05-16  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
34546         * crypt/sha512-block.c: Add missing #include <stdint.h> due to
34547         uint64_t or uint32_t usage.
34548         * crypt/sha256-block.c: Likewise.
34549         * crypt/sha256-crypt.c: Likewise.
34550         * crypt/sha256.c: Likewise.
34551         * crypt/sha512-block.c: Likewise.
34552         * crypt/sha512-crypt.c: Likewise.
34553         * crypt/sha512.c: Likewise.
34554         * debug/backtrace-tst.c: Likewise.
34555         * debug/pcprofiledump.c: Likewise.
34556         * elf/cache.c: Likewise.
34557         * elf/dl-cache.c: Likewise.
34558         * elf/dl-misc.c: Likewise.
34559         * elf/dl-profile.c: Likewise.
34560         * elf/dl-support.c: Likewise.
34561         * elf/ldconfig.c: Likewise.
34562         * elf/sprof.c: Likewise.
34563         * iconv/dummy-repertoire.c: Likewise.
34564         * iconv/iconv_charmap.c: Likewise.
34565         * iconv/skeleton.c: Likewise.
34566         * iconvdata/8bit-generic.c: Likewise.
34567         * iconvdata/cp737.h: Likewise.
34568         * iconvdata/cp775.h: Likewise.
34569         * iconvdata/ibm1008.h: Likewise.
34570         * iconvdata/ibm1025.h: Likewise.
34571         * iconvdata/ibm1046.h: Likewise.
34572         * iconvdata/ibm1097.h: Likewise.
34573         * iconvdata/ibm1112.h: Likewise.
34574         * iconvdata/ibm1122.h: Likewise.
34575         * iconvdata/ibm1123.h: Likewise.
34576         * iconvdata/ibm1124.h: Likewise.
34577         * iconvdata/ibm1129.h: Likewise.
34578         * iconvdata/ibm1130.h: Likewise.
34579         * iconvdata/ibm1132.h: Likewise.
34580         * iconvdata/ibm1133.h: Likewise.
34581         * iconvdata/ibm1137.h: Likewise.
34582         * iconvdata/ibm1140.h: Likewise.
34583         * iconvdata/ibm1141.h: Likewise.
34584         * iconvdata/ibm1142.h: Likewise.
34585         * iconvdata/ibm1143.h: Likewise.
34586         * iconvdata/ibm1144.h: Likewise.
34587         * iconvdata/ibm1145.h: Likewise.
34588         * iconvdata/ibm1146.h: Likewise.
34589         * iconvdata/ibm1147.h: Likewise.
34590         * iconvdata/ibm1148.h: Likewise.
34591         * iconvdata/ibm1149.h: Likewise.
34592         * iconvdata/ibm1153.h: Likewise.
34593         * iconvdata/ibm1154.h: Likewise.
34594         * iconvdata/ibm1155.h: Likewise.
34595         * iconvdata/ibm1156.h: Likewise.
34596         * iconvdata/ibm1157.h: Likewise.
34597         * iconvdata/ibm1158.h: Likewise.
34598         * iconvdata/ibm1160.h: Likewise.
34599         * iconvdata/ibm1161.h: Likewise.
34600         * iconvdata/ibm1162.h: Likewise.
34601         * iconvdata/ibm1163.h: Likewise.
34602         * iconvdata/ibm1164.h: Likewise.
34603         * iconvdata/ibm1166.h: Likewise.
34604         * iconvdata/ibm1167.h: Likewise.
34605         * iconvdata/ibm12712.h: Likewise.
34606         * iconvdata/ibm1390.h: Likewise.
34607         * iconvdata/ibm1399.h: Likewise.
34608         * iconvdata/ibm16804.h: Likewise.
34609         * iconvdata/ibm4517.h: Likewise.
34610         * iconvdata/ibm4899.h: Likewise.
34611         * iconvdata/ibm4909.h: Likewise.
34612         * iconvdata/ibm4971.h: Likewise.
34613         * iconvdata/ibm5347.h: Likewise.
34614         * iconvdata/ibm803.h: Likewise.
34615         * iconvdata/ibm856.h: Likewise.
34616         * iconvdata/ibm901.h: Likewise.
34617         * iconvdata/ibm902.h: Likewise.
34618         * iconvdata/ibm9030.h: Likewise.
34619         * iconvdata/ibm9066.h: Likewise.
34620         * iconvdata/ibm921.h: Likewise.
34621         * iconvdata/ibm922.h: Likewise.
34622         * iconvdata/ibm9448.h: Likewise.
34623         * iconvdata/isiri-3342.h: Likewise.
34624         * iconvdata/jis0201.h: Likewise.
34625         * include/link.h: Likewise.
34626         * include/netdb.h: Likewise.
34627         * inet/check_native.c: Likewise.
34628         * inet/check_pf.c: Likewise.
34629         * inet/getipv4sourcefilter.c: Likewise.
34630         * inet/getnameinfo.c: Likewise.
34631         * inet/getsourcefilter.c: Likewise.
34632         * inet/htonl.c: Likewise.
34633         * inet/setipv4sourcefilter.c: Likewise.
34634         * inet/setsourcefilter.c: Likewise.
34635         * inet/test-inet6_opt.c: Likewise.
34636         * inet/tst-network.c: Likewise.
34637         * locale/C-collate.c: Likewise.
34638         * locale/C-ctype.c: Likewise.
34639         * locale/C-time.c: Likewise.
34640         * locale/C-translit.h: Likewise.
34641         * locale/loadarchive.c: Likewise.
34642         * locale/programs/3level.h: Likewise.
34643         * locale/programs/charmap.c: Likewise.
34644         * locale/programs/charmap.h: Likewise.
34645         * locale/programs/ld-address.c: Likewise.
34646         * locale/programs/ld-collate.c: Likewise.
34647         * locale/programs/ld-ctype.c: Likewise.
34648         * locale/programs/ld-identification.c: Likewise.
34649         * locale/programs/ld-measurement.c: Likewise.
34650         * locale/programs/ld-messages.c: Likewise.
34651         * locale/programs/ld-monetary.c: Likewise.
34652         * locale/programs/ld-name.c: Likewise.
34653         * locale/programs/ld-numeric.c: Likewise.
34654         * locale/programs/ld-paper.c: Likewise.
34655         * locale/programs/ld-telephone.c: Likewise.
34656         * locale/programs/ld-time.c: Likewise.
34657         * locale/programs/linereader.c: Likewise.
34658         * locale/programs/locale.c: Likewise.
34659         * locale/programs/locarchive.c: Likewise.
34660         * locale/programs/locfile.h: Likewise.
34661         * locale/programs/repertoire.c: Likewise.
34662         * locale/programs/simple-hash.c: Likewise.
34663         * locale/programs/simple-hash.h: Likewise.
34664         * malloc/memusage.c: Likewise.
34665         * malloc/memusagestat.c: Likewise.
34666         * nis/nis_defaults.c: Likewise.
34667         * nis/nis_hash.c: Likewise.
34668         * nis/nis_print.c: Likewise.
34669         * nis/nis_xdr.c: Likewise.
34670         * nscd/connections.c: Likewise.
34671         * nscd/hstcache.c: Likewise.
34672         * nscd/nscd_gethst_r.c: Likewise.
34673         * nscd/nscd_getserv_r.c: Likewise.
34674         * nscd/nscd_helper.c: Likewise.
34675         * nscd/servicescache.c: Likewise.
34676         * nss/makedb.c: Likewise.
34677         * nss/nss_db/db-XXX.c: Likewise.
34678         * nss/nss_db/db-initgroups.c: Likewise.
34679         * nss/nss_db/db-netgrp.c: Likewise.
34680         * nss/nss_files/files-network.c: Likewise.
34681         * nss/nss_files/files-parse.c: Likewise.
34682         * posix/bug-regex5.c: Likewise.
34683         * posix/fnmatch_loop.c: Likewise.
34684         * posix/regcomp.c: Likewise.
34685         * posix/regexec.c: Likewise.
34686         * posix/tst-rfc3484-2.c: Likewise.
34687         * posix/tst-rfc3484-3.c: Likewise.
34688         * posix/tst-rfc3484.c: Likewise.
34689         * resolv/nss_dns/dns-canon.c: Likewise.
34690         * resolv/nss_dns/dns-network.c: Likewise.
34691         * resolv/res_init.c: Likewise.
34692         * resolv/res_mkquery.c: Likewise.
34693         * resolv/tst-aton.c: Likewise.
34694         * stdlib/cxa_atexit.c: Likewise.
34695         * stdlib/cxa_finalize.c: Likewise.
34696         * stdlib/gen-fpioconst.c: Likewise.
34697         * stdlib/strtol_l.c: Likewise.
34698         * string/tst-endian.c: Likewise.
34699         * sunrpc/auth_des.c: Likewise.
34700         * sunrpc/clnt_udp.c: Likewise.
34701         * sunrpc/rtime.c: Likewise.
34702         * sunrpc/svcauth_des.c: Likewise.
34703         * sunrpc/xdr.c: Likewise.
34704         * sunrpc/xdr_intXX_t.c: Likewise.
34705         * sunrpc/xdr_rec.c: Likewise.
34706         * sysdeps/generic/ldconfig.h: Likewise.
34707         * sysdeps/generic/ldsodefs.h: Likewise.
34708         * sysdeps/generic/memusage.h: Likewise.
34709         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
34710         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
34711         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
34712         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
34713         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
34714         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
34715         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
34716         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
34717         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
34718         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
34719         * sysdeps/posix/getaddrinfo.c: Likewise.
34720         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
34721         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
34722         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
34723         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
34724         * sysdeps/powerpc/test-gettimebase.c: Likewise.
34725         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
34726         * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
34727         * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
34728         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
34729         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
34730         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
34731         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
34732         * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
34733         * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
34734         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
34735         * sysdeps/x86_64/dl-tls.h: Likewise.
34736         * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
34737         * time/alt_digit.c: Likewise.
34738         * time/era.c: Likewise.
34739         * wcsmbs/tst-c16c32-1.c: Likewise.
34741 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
34743         * math/libm-test.inc (struct test_sincos_data): New type.
34744         (RUN_TEST_LOOP_sincos): New macro.
34745         (sincos_test_data): New variable.
34746         (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
34748 2013-05-16  Richard Henderson  <rth@redhat.com>
34750         * math/atest-exp2.c (LIMB64): New macro.
34751         (CONSTSZ): New macro.
34752         (mp_exp1, mp_exp_m1, mp_log2): New variables.
34753         (hexdig): Move ...
34754         (print_mpn_fp): ... to function scope.
34755         (read_mpn_hex): Remove.
34756         (get_log2): Remove.
34757         (exp2_mpn): Use mp_log2.
34758         (main): Use mp_exp1.
34760 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
34762         * math/libm-test.inc: Remove comment about not testing "inexact"
34763         exceptions.
34764         (INEXACT_EXCEPTION): New macro.
34765         (NO_INEXACT_EXCEPTION): Likewise.
34766         (INVALID_EXCEPTION_OK): Update value.
34767         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
34768         (OVERFLOW_EXCEPTION_OK): Likewise.
34769         (UNDERFLOW_EXCEPTION_OK): Likewise.
34770         (IGNORE_ZERO_INF_SIGN): Likewise.
34771         (ERRNO_UNCHANGED): Likewise.
34772         (ERRNO_EDOM): Likewise.
34773         (ERRNO_ERANGE): Likewise.
34774         (test_exceptions): Handle testing "inexact" exceptions.
34775         (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
34776         (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
34777         (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
34778         (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
34779         INEXACT_EXCEPTION.
34780         (rint_towardzero_test_data): Likewise.
34781         (rint_downward_test_data): Likewise.
34782         (rint_upward_test_data): Likewise.
34784         * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
34785         with OVERFLOW_EXCEPTION.
34786         (exp10_test_data): Likewise.
34787         (exp2_test_data): Likewise.
34788         (expm1_test_data): Likewise.
34789         (lgamma_test_data): Likewise.
34790         (pow_test_data): Likewise.
34791         (tgamma_test_data): Likewise.
34792         (yn_test_data): Remove duplicate test of overflow.
34794         * math/libm-test.inc (struct test_cc_c_data): New type.
34795         (RUN_TEST_LOOP_cc_c): New macro.
34796         (cpow_test_data): New variable.
34797         (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
34799         * math/libm-test.inc (struct test_f_L_data): New type.
34800         (RUN_TEST_LOOP_f_L): New macro.
34801         (llrint_test_data): New variable.
34802         (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
34803         (llrint_tonearest_test_data): New variable.
34804         (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
34805         (llrint_towardzero_test_data): New variable.
34806         (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
34807         (llrint_downward_test_data): New variable.
34808         (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
34809         (llrint_upward_test_data): New variable.
34810         (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
34811         (llround_test_data): New variable.
34812         (llround_test): Run tests with RUN_TEST_LOOP_f_L.
34814 2013-05-13  Peter Collingbourne  <pcc@google.com>
34816         * math/atest-exp2.c (get_log2): Remove const attribute.
34818 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
34820         * math/libm-test.inc (struct test_f_l_data): New type.
34821         (RUN_TEST_LOOP_f_l): New macro.
34822         (lrint_test_data): New variable.
34823         (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
34824         (lrint_tonearest_test_data): New variable.
34825         (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
34826         (lrint_towardzero_test_data): New variable.
34827         (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
34828         (lrint_downward_test_data): New variable.
34829         (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
34830         (lrint_upward_test_data): New variable.
34831         (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
34832         (lround_test_data): New variable.
34833         (lround_test): Run tests with RUN_TEST_LOOP_f_l.
34835 2013-05-15  Peter Collingbourne  <pcc@google.com>
34837         * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
34838         (EXTRACT_WORDS64) Use where appropriate.
34839         (INSERT_WORDS64) Likewise.
34841         * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
34842         constraints with x constraints.
34843         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
34845         * malloc/obstack.c (_obstack_compat): Add initializer.
34847 2013-05-15  Edjunior Machado  <emachado@linux.vnet.ibm.com>
34849         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
34850         si_trapno and add si_addr_lsb to _sifields.sigfault.
34851         (si_trapno): Remove macro.
34852         (si_addr_lsb): Define new macro.
34853         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
34855 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
34857         * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
34858         instead of TEST_f_l.
34859         (llrint_test_tonearest): Likewise.
34860         (llrint_test_towardzero): Likewise.
34861         (llrint_test_downward): Likewise.
34862         (llrint_test_upward): Likewise.
34863         (llround_test): Likewise.
34865         * math/libm-test.inc (struct test_f_i_data): Add comment.
34866         (RUN_TEST_LOOP_f_b): New macro.
34867         (RUN_TEST_LOOP_f_b_tg): Likewise.
34868         (finite_test_data): New variable.
34869         (finite_test): Run tests with RUN_TEST_LOOP_f_b.
34870         (isfinite_test_data): New variable.
34871         (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
34872         (isinf_test_data): New variable.
34873         (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
34874         (isnan_test_data): New variable.
34875         (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
34876         (isnormal_test_data): New variable.
34877         (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
34878         (issignaling_test_data): New variable.
34879         (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
34880         (signbit_test_data): New variable.
34881         (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
34883         * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
34884         with INVALID_EXCEPTION.
34885         (acosh_test_data): Likewise.
34886         (asin_test_data): Likewise.
34887         (atanh_test_data): Likewise.
34888         (fmod_test_data): Likewise.
34889         (log_test_data): Likewise.
34890         (log10_test_data): Likewise.
34891         (log2_test_data): Likewise.
34892         (pow_test_data): Likewise.
34893         (sqrt_test_data): Likewise.
34894         (y0_test_data): Likewise.
34895         (y1_test_data): Likewise.
34896         (yn_test_data): Likewise.
34898         * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
34899         function contents.
34901         * math/libm-test.inc (struct test_ff_i_data): New type.
34902         (RUN_TEST_LOOP_ff_i_tg): New macro.
34903         (isgreater_test_data): New variable.
34904         (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
34905         (isgreaterequal_test_data): New variable.
34906         (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
34907         (isless_test_data): New variable.
34908         (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
34909         (islessequal_test_data): New variable.
34910         (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
34911         (islessgreater_test_data): New variable.
34912         (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
34913         (isunordered_test_data): New variable.
34914         (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
34916 2013-05-14  David S. Miller  <davem@davemloft.net>
34918         * sysdeps/sparc/fpu/libm-test-ulps: Update.
34920 2013-05-14  Joseph Myers  <joseph@codesourcery.com>
34922         * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
34924         * math/libm-test.inc (struct test_fF_f1_data): Change type of
34925         extra_test to int.
34926         (struct test_f_i_data): Change type of max_ulp to int.
34928         * math/libm-test.inc (test_ffI_f1_data): New type.
34929         (RUN_TEST_LOOP_ffI_f1): New macro.
34930         (remquo_test_data): New variable.
34931         (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
34933         * setjmp/tst-setjmp-fp.c: New file.
34934         * setjmp/Makefile (tests): Add tst-setjmp-fp.
34935         (link-libm): New variable.
34936         ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
34938         * math/libm-test.inc (struct test_f_i_data): New type.
34939         (RUN_TEST_LOOP_f_i): New macro.
34940         (RUN_TEST_LOOP_f_i_tg): Likewise.
34941         (fpclassify_test_data): New variable.
34942         (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
34943         (ilogb_test_data): New variable.
34944         (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
34946         * math/libm-test.inc (scalbln_test): Correct function name in END
34947         call.
34949         * math/libm-test.inc (struct test_f_f1_data): Add comment.
34950         (RUN_TEST_LOOP_fI_f1): New macro.
34951         (frexp_test_data): New variable.
34952         (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
34954         * math/libm-test.inc (struct test_fF_f1_data): New type.
34955         (RUN_TEST_LOOP_fF_f1): New macro.
34956         (modf_test_data): New variable.
34957         (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
34959         * math/libm-test.inc (struct test_f_f1_data): New type.
34960         (RUN_TEST_LOOP_f_f1): New macro.
34961         (gamma_test_data): New variable.
34962         (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
34963         (lgamma_test_data): New variable.
34964         (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
34966 2013-05-13  Carlos O'Donell  <carlos@redhat.com>
34968         * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
34969         * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
34970         (main): Comment "tls" pseudo-hwcap.
34972 2013-05-13  Joseph Myers  <joseph@codesourcery.com>
34974         * math/libm-test.inc (struct test_fl_f_data): New type.
34975         (RUN_TEST_LOOP_fl_f): New variable.
34976         (scalbln_test_data): New variable.
34977         (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
34979         * math/libm-test.inc (struct test_fi_f_data): New type.
34980         (RUN_TEST_LOOP_fi_f): New macro.
34981         (ldexp_test_data): New variable.
34982         (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
34983         (scalbn_test_data): New variable.
34984         (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
34986         * math/libm-test.inc (struct test_c_f_data): New type.
34987         (RUN_TEST_LOOP_c_f): New macro.
34988         (cabs_test_data): New variable.
34989         (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
34990         (carg_test_data): New variable.
34991         (carg_test): Run tests with RUN_TEST_LOOP_c_f.
34992         (cimag_test_data): New variable.
34993         (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
34994         (creal_test_data): New variable.
34995         (creal_test): Run tests with RUN_TEST_LOOP_c_f.
34997         * math/libm-test.inc (struct test_if_f_data): New type.
34998         (RUN_TEST_LOOP_if_f): New macro.
34999         (jn_test_data): New variable.
35000         (jn_test): Run tests with RUN_TEST_LOOP_if_f.
35001         (yn_test_data): New variable.
35002         (yn_test): Run tests with RUN_TEST_LOOP_if_f.
35004         * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
35006 2013-05-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35008         * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
35009         (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
35011 2013-05-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
35013         * benchtests/Makefile (CPPFLAGS-nonlib): Add
35014         -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
35015         (bench-deps): Add bench-timing.h.
35016         * benchtests-bench-skeleton.c: Include bench-timing.h.
35017         (main): Use TIMING_* macros instead of clock_gettime.
35018         * benchtests/bench-timing.h: New file.
35020         [BZ #14582]
35021         * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
35022         Renamed from _LIB_VERSION.
35023         (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
35025 2013-05-12  Joseph Myers  <joseph@codesourcery.com>
35027         * math/libm-test.inc (struct test_fff_f_data): New type.
35028         (RUN_TEST_LOOP_fff_f): New macro.
35029         (fma_test_data): New variable.
35030         (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
35031         (fma_towardzero_test_data): New variable.
35032         (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
35033         (fma_downward_test_data): New variable.
35034         (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
35035         (fma_upward_test_data): New variable.
35036         (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
35038         * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
35039         (struct test_c_c_data): New type.
35040         (RUN_TEST_LOOP_c_c): New macro.
35041         (cacos_test_data): New variable.
35042         (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
35043         (cacosh_test_data): New variable.
35044         (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
35045         (casin_test_data): New variable.
35046         (casin_test): Run tests with RUN_TEST_LOOP_c_c.
35047         (casinh_test_data): New variable.
35048         (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
35049         (catan_test_data): New variable.
35050         (catan_test): Run tests with RUN_TEST_LOOP_c_c.
35051         (catanh_test_data): New variable.
35052         (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
35053         (ccos_test_data): New variable.
35054         (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
35055         (ccosh_test_data): New variable.
35056         (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
35057         (cexp_test_data): New variable.
35058         (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
35059         (clog_test_data): New variable.
35060         (clog_test): Run tests with RUN_TEST_LOOP_c_c.
35061         (clog10_test_data): New variable.
35062         (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
35063         (conj_test_data): New variable.
35064         (conj_test): Run tests with RUN_TEST_LOOP_c_c.
35065         (cproj_test_data): New variable.
35066         (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
35067         (csin_test_data): New variable.
35068         (csin_test): Run tests with RUN_TEST_LOOP_c_c.
35069         (csinh_test_data): New variable.
35070         (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
35071         (csqrt_test_data): New variable.
35072         (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
35073         (ctan_test_data): New variable.
35074         (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
35075         (ctan_tonearest_test_data): New variable.
35076         (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
35077         (ctan_towardzero_test_data): New variable.
35078         (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
35079         (ctan_downward_test_data): New variable.
35080         (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
35081         (ctan_upward_test_data): New variable.
35082         (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
35083         (ctanh_test_data): New variable.
35084         (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
35085         (ctanh_tonearest_test_data): New variable.
35086         (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
35087         (ctanh_towardzero_test_data): New variable.
35088         (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
35089         (ctanh_downward_test_data): New variable.
35090         (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
35091         (ctanh_upward_test_data): New variable.
35092         (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
35093         * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
35094         of BUILD_COMPLEX.
35096         * math/libm-test.inc (struct test_ff_f_data): New type.
35097         (struct test_ff_f_data_nexttoward): Likewise.
35098         (RUN_TEST_LOOP_2_f): New macro.
35099         (RUN_TEST_LOOP_ff_f): Likewise.
35100         (atan2_test_data): New variable.
35101         (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
35102         (copysign_test_data): New variable.
35103         (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
35104         (fdim_test_data): New variable.
35105         (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
35106         (fmax_test_data): New variable.
35107         (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
35108         (fmin_test_data): New variable.
35109         (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
35110         (fmod_test_data): New variable.
35111         (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
35112         (hypot_test_data): New variable.
35113         (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
35114         (nextafter_test_data): New variable.
35115         (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
35116         (nexttoward_test_data): New variable.
35117         (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
35118         (pow_test_data): New variable.
35119         (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
35120         (pow_tonearest_test_data): New variable.
35121         (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
35122         (pow_towardzero_test_data): New variable.
35123         (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
35124         (pow_downward_test_data): New variable.
35125         (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
35126         (pow_upward_test_data): New variable.
35127         (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
35128         (remainder_test_data): New variable.
35129         (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
35130         (scalb_test_data): New variable.
35131         (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
35132         * sysdeps/i386/fpu/libm-test-ulps: Update.
35134 2013-05-11  Joseph Myers  <joseph@codesourcery.com>
35136         * math/libm-test.inc (fma_test): Use max_value instead of local
35137         variable fltmax.
35138         (nextafter_test): Likewise.
35140         * math/libm-test.inc (acos_towardzero_test_data): New variable.
35141         (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
35142         (acos_downward_test_data): New variable.
35143         (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
35144         (acos_upward_test_data): New variable.
35145         (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
35146         (acosh_test_data): New variable.
35147         (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
35148         (asin_test_data): New variable.
35149         (asin_test): Run tests with RUN_TEST_LOOP_f_f.
35150         (asin_tonearest_test_data): New variable.
35151         (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
35152         (asin_towardzero_test_data): New variable.
35153         (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
35154         (asin_downward_test_data): New variable.
35155         (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
35156         (asin_upward_test_data): New variable.
35157         (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
35158         (asinh_test_data): New variable.
35159         (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
35160         (atan_test_data): New variable.
35161         (atan_test): Run tests with RUN_TEST_LOOP_f_f.
35162         (atanh_test_data): New variable.
35163         (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
35164         (cbrt_test_data): New variable.
35165         (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
35166         (ceil_test_data): New variable.
35167         (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
35168         (cos_test_data): New variable.
35169         (cos_test): Run tests with RUN_TEST_LOOP_f_f.
35170         (cos_tonearest_test_data): New variable.
35171         (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
35172         (cos_towardzero_test_data): New variable.
35173         (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
35174         (cos_downward_test_data): New variable.
35175         (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
35176         (cos_upward_test_data): New variable.
35177         (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
35178         (cosh_test_data): New variable.
35179         (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
35180         (cosh_tonearest_test_data): New variable.
35181         (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
35182         (cosh_towardzero_test_data): New variable.
35183         (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
35184         (cosh_downward_test_data): New variable.
35185         (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
35186         (cosh_upward_test_data): New variable.
35187         (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
35188         (erf_test_data): New variable.
35189         (erf_test): Run tests with RUN_TEST_LOOP_f_f.
35190         (erfc_test_data): New variable.
35191         (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
35192         (exp_test_data): New variable.
35193         (exp_test): Run tests with RUN_TEST_LOOP_f_f.
35194         (exp_tonearest_test_data): New variable.
35195         (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
35196         (exp_towardzero_test_data): New variable.
35197         (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
35198         (exp_downward_test_data): New variable.
35199         (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
35200         (exp_upward_test_data): New variable.
35201         (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
35202         (exp10_test_data): New variable.
35203         (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
35204         (exp2_test_data): New variable.
35205         (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
35206         (expm1_test_data): New variable.
35207         (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
35208         (fabs_test_data): New variable.
35209         (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
35210         (floor_test_data): New variable.
35211         (floor_test): Run tests with RUN_TEST_LOOP_f_f.
35212         (j0_test_data): New variable.
35213         (j0_test): Run tests with RUN_TEST_LOOP_f_f.
35214         (j1_test_data): New variable.
35215         (j1_test): Run tests with RUN_TEST_LOOP_f_f.
35216         (log_test_data): New variable.
35217         (log_test): Run tests with RUN_TEST_LOOP_f_f.
35218         (log10_test_data): New variable.
35219         (log10_test): Run tests with RUN_TEST_LOOP_f_f.
35220         (log1p_test_data): New variable.
35221         (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
35222         (log2_test_data): New variable.
35223         (log2_test): Run tests with RUN_TEST_LOOP_f_f.
35224         (logb_test_data): New variable.
35225         (logb_test): Run tests with RUN_TEST_LOOP_f_f.
35226         (logb_downward_test_data): New variable.
35227         (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
35228         (nearbyint_test_data): New variable.
35229         (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
35230         (rint_test_data): New variable.
35231         (rint_test): Run tests with RUN_TEST_LOOP_f_f.
35232         (rint_tonearest_test_data): New variable.
35233         (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
35234         (rint_towardzero_test_data): New variable.
35235         (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
35236         (rint_downward_test_data): New variable.
35237         (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
35238         (rint_upward_test_data): New variable.
35239         (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
35240         (round_test_data): New variable.
35241         (round_test): Run tests with RUN_TEST_LOOP_f_f.
35242         (sin_test_data): New variable.
35243         (sin_test): Run tests with RUN_TEST_LOOP_f_f.
35244         (sin_tonearest_test_data): New variable.
35245         (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
35246         (sin_towardzero_test_data): New variable.
35247         (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
35248         (sin_downward_test_data): New variable.
35249         (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
35250         (sin_upward_test_data): New variable.
35251         (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
35252         (sinh_test_data): New variable.
35253         (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
35254         (sinh_tonearest_test_data): New variable.
35255         (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
35256         (sinh_towardzero_test_data): New variable.
35257         (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
35258         (sinh_downward_test_data): New variable.
35259         (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
35260         (sinh_upward_test_data): New variable.
35261         (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
35262         (sqrt_test_data): New variable.
35263         (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
35264         (tan_test_data): New variable.
35265         (tan_test): Run tests with RUN_TEST_LOOP_f_f.
35266         (tan_tonearest_test_data): New variable.
35267         (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
35268         (tan_towardzero_test_data): New variable.
35269         (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
35270         (tan_downward_test_data): New variable.
35271         (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
35272         (tan_upward_test_data): New variable.
35273         (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
35274         (tanh_test_data): New variable.
35275         (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
35276         (tgamma_test_data): New variable.
35277         (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
35278         (trunc_test_data): New variable.
35279         (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
35280         (y0_test_data): New variable.
35281         (y0_test): Run tests with RUN_TEST_LOOP_f_f.
35282         (y1_test_data): New variable.
35283         (y1_test): Run tests with RUN_TEST_LOOP_f_f.
35284         (significand_test_data): New variable.
35285         (significand_test): Run tests with RUN_TEST_LOOP_f_f.
35287 2013-05-10  Christian Grönke  <cgr_bugs@sysgo.com>
35289         [BZ #12387]
35290         * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
35292 2013-05-10  Pino Toscano  <toscano.pino@tiscali.it>
35294         * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
35296 2013-05-10  Andreas Jaeger  <aj@suse.de>
35298         [BZ #15448]
35299         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
35300         (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
35302 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
35304         * math/gen-libm-test.pl (adjust_arg): New function.
35305         (special_functions): Handle generating output in both functions
35306         and arrays.
35307         (parse_args): Likewise.
35308         (generate_testfile): Handle START_DATA and END_DATA.  Pass extra
35309         $in_func argument to parse_args.
35310         * math/libm-test.inc (struct test_f_f_data): New type.
35311         (IF_ROUND_INIT_): New macro.
35312         (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
35313         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
35314         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
35315         (IF_ROUND_INIT_FE_UPWARD): Likewise.
35316         (ROUND_RESTORE_): Likewise.
35317         (ROUND_RESTORE_FE_DOWNWARD): Likewise.
35318         (ROUND_RESTORE_FE_TONEAREST): Likewise.
35319         (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
35320         (ROUND_RESTORE_FE_UPWARD): Likewise.
35321         (RUN_TEST_LOOP_f_f): New macro.
35322         (acos_test_data): New variable.
35323         (acos_test): Run tests with RUN_TEST_LOOP_f_f.
35324         (acos_tonearest_test_data): New variable.
35325         (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
35327 2013-05-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
35329         * benchtests/bench-skeleton.c (startup): Fix coding style.
35331 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
35333         [BZ #6809]
35334         * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
35335         negative infinity argument.
35336         * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
35337         negative infinity argument.
35338         * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
35339         negative infinity argument.
35340         * math/libm-test.inc (tgamma_test): Expect errno to be set for
35341         domain errors.
35343 2013-05-10  Florian Weimer  <fweimer@redhat.com>
35345         * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
35346         * iconv/iconv_charmap.c (charmap_conversion): Likewise.
35347         * iconv/iconv_prog.c (main): Likewise.
35348         * locale/programs/charmap-dir.c (charmap_readdir)
35349         (fopen_uncompressed): Likewise.
35350         * locale/programs/locfile.c (siblings_uncached)
35351         (write_locale_data): Use lstat64 instead of lstat.
35352         * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
35353         stat.
35355 2013-05-10  Andreas Jaeger  <aj@suse.de>
35357         [BZ #15395]
35358         * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
35359         localization.
35360         Include <locale.h>.
35362 2013-05-09  Carlos O'Donell  <carlos@redhat.com>
35364         * elf/dl-close.c (_dl_close_worker): Add comments.
35366 2013-05-09  Joseph Myers  <joseph@codesourcery.com>
35368         [BZ #15359]
35369         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
35370         high part of pi/2.
35371         (__ieee754_rem_pio2l): Update comments.
35373         [BZ #15429]
35374         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
35375         high part of pi/2.
35376         (__ieee754_rem_pio2l): Update comments.
35378         * math/libm-test.inc (M_SQRT_2_2): Remove macro.
35379         (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
35381         * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
35382         M_PI_4l.
35384         * math/libm-test.inc (M_PI_34l): Define using decimal constant.
35385         (M_PI_34_LOG10El): Likewise.
35386         (M_PI2_LOG10El): Likewise.
35387         (M_PI4_LOG10El): Likewise.
35388         (M_PI_LOG10El): Likewise.
35390 2013-05-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35392         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35394 2013-05-08  Joseph Myers  <joseph@codesourcery.com>
35396         * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
35397         (MINUS_ZERO_INIT): Likewise.
35398         (PLUS_INFTY_INIT): Likewise.
35399         (MINUS_INFTY_INIT): Likewise.
35400         (QNAN_VALUE_INIT): Likewise.
35401         (MAX_VALUE_INIT): Likewise.
35402         (MIN_VALUE_INIT): Likewise.
35403         (MIN_SUBNORM_VALUE_INIT): Likewise.
35404         (plus_zero): Initialize with PLUS_ZERO_INIT.
35405         (minus_zero): Initialize with MINUS_ZERO_INIT.
35406         (plus_infty): Initialize with PLUS_INFTY_INIT.
35407         (minus_infty): Initialize with MINUS_INFTY_INIT.
35408         (qnan_value): Initialize with QNAN_VALUE_INIT.
35409         (max_value): Initialize with MAX_VALUE_INIT.
35410         (min_value): Initialize with MIN_VALUE_INIT.
35411         (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
35413         * math/libm-test.inc (RUN_TEST_if_f): New macro.
35414         (jn_test): Use TEST_if_f instead of TEST_ff_f.
35415         (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
35416         (yn_test): Use TEST_if_f instead of TEST_ff_f.
35418         * math/libm-test.inc (RUN_TEST_f_f): New macro.
35419         (RUN_TEST_2_f): Likewise.
35420         (RUN_TEST_ff_f): Likewise.
35421         (RUN_TEST_fi_f): Likewise.
35422         (RUN_TEST_fl_f): Likewise.
35423         (RUN_TEST_fff_f): Likewise.
35424         (RUN_TEST_c_f): Likewise.
35425         (RUN_TEST_f_f1): Likewise.
35426         (RUN_TEST_fF_f1): Likewise.
35427         (RUN_TEST_fI_f1): Likewise.
35428         (RUN_TEST_ffI_f1): Likewise.
35429         (RUN_TEST_c_c): Likewise.
35430         (RUN_TEST_cc_c): Likewise.
35431         (RUN_TEST_f_i): Likewise.
35432         (RUN_TEST_f_i_tg): Likewise.
35433         (RUN_TEST_ff_i_tg): Likewise.
35434         (RUN_TEST_f_b): Likewise.
35435         (RUN_TEST_f_b_tg): Likewise.
35436         (RUN_TEST_f_l): Likewise.
35437         (RUN_TEST_f_L): Likewise.
35438         (RUN_TEST_sincos): Likewise.
35439         * math/gen-libm-test.pl (new_test): Take new argument to indicate
35440         whether to show exceptions.  Do not include ");\n" in return
35441         value.
35442         (special_functions): Output call to RUN_TEST_sincos instead of
35443         check_float calls.  Update calls to new_test.
35444         (parse_args): Output call to single RUN_TEST_* macro instead of
35445         check_* calls and other assignments.  Update calls to new_test.
35447         [BZ #2546]
35448         [BZ #2560]
35449         [BZ #5159]
35450         [BZ #15426]
35451         * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
35452         input to result for tgamma overflow.
35453         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
35454         (gamma_coeff): New variable.
35455         (NCOEFF): New macro.
35456         (gamma_positive): New function.
35457         (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
35458         underflow here.  Use gamma_positive instead of exp (lgamma) for
35459         other arguments.
35460         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
35461         (gamma_coeff): New variable.
35462         (NCOEFF): New macro.
35463         (gammaf_positive): New function.
35464         (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
35465         underflow here.  Use gamma_positive instead of exp (lgamma) for
35466         other arguments.
35467         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
35468         (gamma_coeff): New variable.
35469         (NCOEFF): New macro.
35470         (gammal_positive): New function.
35471         (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
35472         underflow here.  Use gamma_positive instead of exp (lgamma) for
35473         other arguments.
35474         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
35475         (gamma_coeff): New variable.
35476         (NCOEFF): New macro.
35477         (gammal_positive): New function.
35478         (__ieee754_gammal_r): Handle positive infinity, overflow and
35479         underflow here.  Handle NaN the same as positive infinity.  Remove
35480         check x < 0xffffffff for negative integers.  Use gamma_positive
35481         instead of exp (lgamma) for other arguments.
35482         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
35483         (gamma_coeff): New variable.
35484         (NCOEFF): New macro.
35485         (gammal_positive): New function.
35486         * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
35487         * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
35488         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
35489         * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
35490         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
35491         * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
35492         * sysdeps/generic/math_private.h (__gamma_productf): New
35493         prototype.
35494         (__gamma_product): Likewise.
35495         (__gamma_productl): Likewise.
35496         * math/Makefile (libm-calls): Add gamma_product.
35497         * math/libm-test.inc (tgamma_test): Add more tests.
35498         * sysdeps/i386/fpu/libm-test-ulps: Update.
35499         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35501 2013-05-08  Ondřej Bílka  <neleai@seznam.cz>
35503         * benchtests/bench-skeleton.c (main): Preheat CPU.
35505 2013-05-07  Aurelien Jarno <aurelien@aurel32.net>
35507         * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
35509 2013-05-07  Roland McGrath  <roland@hack.frob.com>
35511         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
35512         and _dl_skip_args_internal.
35514 2013-05-07  Carlos O'Donell  <carlos@redhat.com>
35516         * manual/message.texi (Message Translation): Talk about users.
35517         Message to key mapping impacts design.
35519 2013-05-06  Roland McGrath  <roland@hack.frob.com>
35521         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
35523         * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
35525         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
35526         * sysdeps/wordsize-64/glob64.c: ... here.
35528         * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
35529         (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
35530         New macros.
35532         * debug/getlogin_r_chk.c: Moved to ...
35533         * login/getlogin_r_chk.c: ... here.
35534         * debug/Makefile (routines): Move getlogin_r_chk to ...
35535         * login/Makefile (routines): ... here.
35536         * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
35537         * login/Versions (libc: GLIBC_2.4): ... here.
35539         * io/poll.c (__poll): Renamed from poll.
35540         Add libc_hidden_def.
35541         (poll): Define as weak alias.
35543         * debug/ptsname_r_chk.c: Moved to ...
35544         * login/ptsname_r_chk.c: ... here.
35545         * debug/Makefile (routines): Move ptsname_r_chk to ...
35546         * login/Makefile (routines): ... here.
35547         * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
35548         * login/Versions (libc: GLIBC_2.4): ... here.
35550         * posix/getlogin.c: Moved to ...
35551         * login/getlogin.c: ... here.
35552         * posix/getlogin_r.c: Moved to ...
35553         * login/getlogin_r.c: ... here.
35554         * posix/getlogin_r.c: Moved to ...
35555         * login/getlogin_r.c: ... here.
35556         * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
35557         * login/Makefile (routines): ... here.
35558         * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
35559         * login/Versions (libc: GLIBC_2.0): ... here.
35561         * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
35562         (setrlimit): Define as weak alias.
35564         * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
35565         Call __ names for open, ftruncate, and close.
35566         For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
35567         (truncate): Define as weak alias.
35569 2013-05-06  Joseph Myers  <joseph@codesourcery.com>
35571         * math/gen-libm-test.pl (parse_args): Initialize x before each
35572         test of frexp, modf and remquo.
35574         * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
35575         test signgam value.
35577 2013-05-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35579         [BZ #15418]
35580         [BZ #15419]
35581         * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
35582         internal tests.
35583         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
35585 2013-05-06  Roland McGrath  <roland@hack.frob.com>
35587         * elf/dl-writev.h: New file.
35588         * elf/dl-misc.c: Include it.
35589         (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
35590         * sysdeps/unix/sysv/linux/dl-writev.h: New file.
35592 2013-05-04  Joseph Myers  <joseph@codesourcery.com>
35594         * math/libm-test.inc (noXFails): Remove variable.
35595         (noXPasses): Likewise.
35596         (BUILD_COMPLEX_INT): Remove macro.
35597         (print_screen): Remove xfail argument.
35598         (print_screen_max_error): Likewise.
35599         (update_stats): Likewise.
35600         (print_max_error): Likewise.  Update calls to other affected
35601         functions.
35602         (print_complex_max_error): Likewise.
35603         (test_single_exception): Update calls to print_screen.
35604         (test_single_errno): Likewise.
35605         (check_float_internal): Remove xfail argument.  Update calls to
35606         other affected functions.
35607         (check_float): Likewise.
35608         (check_complex): Likewise.
35609         (check_int): Likewise.
35610         (check_long): Likewise.
35611         (check_bool): Likewise.
35612         (check_longlong): Likewise.
35613         (main): Don't print noXFails and noXPasses.
35614         * math/gen-libm-test.pl (top level): Don't mention expected
35615         failure handling in comment.
35616         (new_test): Don't handle expected failures.
35617         (parse_args): Don't mention expected failure handling in comment.
35618         (generate_testfile): Don't handle expected failures.
35619         (parse_ulps): Likewise.
35620         (print_ulps_file): Likewise.
35621         (get_failure): Remove function.
35622         (output_test): Don't handle expected failures.
35623         * make/README.libm-test: Don't mention expected failure handling.
35625         * math/libm-test.inc (plus_zero): Make const.  Add initializer.
35626         (minus_zero): Likewise.
35627         (plus_infty): Likewise.
35628         (minus_infty): Likewise.
35629         (qnan_value): Likewise.
35630         (max_value): Likewise.
35631         (min_value): Likewise.
35632         (min_subnorm_value): Likewise.
35633         (initialize): Do not initialize those variables dynamically.
35635 2013-05-03  Roland McGrath  <roland@hack.frob.com>
35637         * io/open.c (__open_2): Moved to ...
35638         * io/open_2.c: ... this new file.
35639         * io/open64.c (__open64_2): Moved to ...
35640         * io/open64_2.c: ... this new file.
35641         * io/openat.c (__openat_2): Moved to ...
35642         * io/openat_2.c: ... this new file.
35643         * io/openat64.c (__openat64_2): Moved to ...
35644         * io/openat64_2.c: ... this new file.
35645         * io/Makefile (routines): Add them.
35646         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
35647         * sysdeps/unix/sysv/linux/open_2.c: File removed.
35648         * sysdeps/unix/sysv/linux/open64_2.c: File removed.
35649         * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
35650         * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
35651         * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
35652         (__openat64): Add hidden_ver.
35653         * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
35654         * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
35656         * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
35657         Separately conditionalize setting of GLRO(dl_sysinfo) so
35658         that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
35659         as well, but the actual setting is only under [NEED_DL_SYSINFO].
35661 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35663         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
35664         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
35665         definition.
35666         (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
35667         * sysdeps/unix/sysv/linux/powerpc/init-first.c
35668         (_libc_vdso_platform_setup): Add __vdso_time initialization.
35669         * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
35670         for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
35672 2013-05-03  Joseph Myers  <joseph@codesourcery.com>
35674         * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
35675         test signgam value.
35677         * math/libm-test.inc (hypot_test): Do not use
35678         IGNORE_ZERO_INF_SIGN.
35680 2013-05-03  Andreas Jaeger  <aj@suse.de>
35682         * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
35683         Linux 3.9.
35684         * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
35685         (PF_MAX): Adjust for VSOCK change.
35687 2013-05-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35689         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35691 2013-05-02  Carlos O'Donell  <carlos@redhat.com>
35693         [BZ #15264]
35694         * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
35695         * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
35696         * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
35698 2013-05-02  David S. Miller  <davem@davemloft.net>
35700         * sysdeps/sparc/fpu/libm-test-ulps: Update.
35702 2013-05-01  Ondřej Bílka  <neleai@seznam.cz>
35704         * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
35706 2013-05-01  Roland McGrath  <roland@hack.frob.com>
35708         * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
35710 2013-05-01  Richard Smith  <richard@metafoo.co.uk>
35712         [BZ #14952]
35713         * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
35714         [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
35715         Use __attribute__ ((__gnu_inline__)).
35716         [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
35717         Don't use __attribute__ ((__gnu_inline__)).
35719 2013-05-01  Joseph Myers  <joseph@codesourcery.com>
35721         [BZ #15423]
35722         * math/s_catan.c (__catan): Handle small real or imaginary part of
35723         input specially to avoid spurious underflow.
35724         * math/s_catanf.c (__catanf): Likewise.
35725         * math/s_catanh.c (__catanh): Likewise.
35726         * math/s_catanhf.c (__catanhf): Likewise.
35727         * math/s_catanhl.c (__catanhl): Likewise.
35728         * math/s_catanl.c (__catanl): Likewise.
35729         * math/libm-test.inc (catan_test): Add more tests.
35730         (catanh_test): Likewise.
35731         * sysdeps/i386/fpu/libm-test-ulps: Update.
35732         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35734 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35736         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35738 2013-04-30  Joseph Myers  <joseph@codesourcery.com>
35740         [BZ #15416]
35741         * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
35742         accurately for denominator in atan2.
35743         * math/s_catanf.c (__catanf): Likewise.
35744         * math/s_catanh.c (__catanh): Likewise.
35745         * math/s_catanhf.c (__catanhf): Likewise.
35746         * math/s_catanhl.c (__catanhl): Likewise.
35747         * math/s_catanl.c (__catanl): Likewise.
35748         * math/libm-test.inc (catan_test): Add more tests.
35749         (catanh_test): Likewise.
35750         * sysdeps/i386/fpu/libm-test-ulps: Update.
35751         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35753 2013-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
35755         * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
35757         * benchtests/Makefile (bench): Remove slow benchmarks.
35758         * benchtests/atan-inputs: Add slow benchmark inputs.
35759         * benchtests/bench-modf.c (NUM_VARIANTS): Define.
35760         (BENCH_FUNC): Accept variant offset.
35761         (VARIANT): Define.
35762         * benchtests/bench-skeleton.c (main): Run benchmark for each
35763         variant.
35764         * benchtests/cos-inputs: Add slow benchmark inputs.
35765         * benchtests/exp-inputs: Likewise.
35766         * benchtests/pow-inputs: Likewise.
35767         * benchtests/sin-inputs: Likewise.
35768         * benchtests/slowatan-inputs: Remove.
35769         * benchtests/slowatan.c: Remove.
35770         * benchtests/slowcos-inputs: Remove.
35771         * benchtests/slowcos.c: Remove.
35772         * benchtests/slowexp-inputs: Remove.
35773         * benchtests/slowexp.c: Remove.
35774         * benchtests/slowpow-inputs: Remove.
35775         * benchtests/slowpow.c: Remove.
35776         * benchtests/slowsin-inputs: Remove.
35777         * benchtests/slowsin.c: Remove.
35778         * benchtests/slowtan-inputs: Remove.
35779         * benchtests/slowtan.c: Remove.
35780         * benchtests/tan-inputs: Add slow benchmark inputs.
35781         * scripts/bench.pl: Parse comments and directives.
35783         * benchtests/Makefile: Remove *-ITER.  Define BENCH_DURATION
35784         in CPPFLAGS.
35785         ($(objpfx)bench-%.c): Remove *-ITER.
35786         * benchtests/bench-modf.c: Remove definition of ITER.
35787         * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
35788         (main): Loop for DURATION seconds instead of fixed number of
35789         iterations.
35790         * scripts/bench.pl: Don't expect iterations in parameters.
35792 2013-04-29  Roland McGrath  <roland@hack.frob.com>
35794         * io/fchdir.c (__fchdir): Renamed from fchdir.
35795         (fchdir): Define as weak alias.
35797 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
35799         * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
35800         (ERRNO_EDOM): Likewise.
35801         (ERRNO_ERANGE): Likewise.
35802         (noErrnoTests): New variable.
35803         (init_max_error): Set errno to 0.
35804         (test_single_errno): New function.
35805         (test_errno): Likewise.
35806         (check_float_internal): Call test_errno.  Set errno to 0.
35807         (check_complex): Refer to errno tests in comment.
35808         (check_int): Call test_errno.  Set errno to 0.
35809         (check_long): Likewise.
35810         (check_bool): Likewise.
35811         (check_longlong): Likewise.
35812         (cos_test): Use ERRNO_* flags for errno tests instead of
35813         check_int.
35814         (expm1_test): Likewise.
35815         (fmod_test): Likewise.
35816         (ilogb_test): Likewise.
35817         (lgamma_test): Likewise.
35818         (pow_test): Likewise.
35819         (remainder_test): Likewise.
35820         (sin_test): Likewise.
35821         (tan_test): Likewise.
35822         (yn_test): Likewise.
35823         (initialize): Set errno to 0.
35824         (main): Print number of errno tests.
35825         * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
35827 2013-04-29  Andreas Jaeger  <aj@suse.de>
35829         [BZ #15084]
35830         * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
35831         and RES_USEVC.
35833         [BZ #15085]
35834         * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
35835         * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
35836         unimplemented.
35838         [BZ #15380]
35839         * stdlib/random.c (__initstate): Return NULL if
35840         __initstate fails.
35842         [BZ #15086]
35843         * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
35844         RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
35845         RES_SNGLKUPREOP.
35847 2013-04-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35849         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35851 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
35853         * math/libm-test.inc (cacos_test): Add missing semicolons at ends
35854         of individual tests.
35855         (casin_test): Likewise.
35856         (casinh_test): Likewise.
35858 2013-04-27  Joseph Myers  <joseph@codesourcery.com>
35860         [BZ #15409]
35861         * math/s_catan.c (__catan): Handle arguments with large real or
35862         imaginary part separately without squaring.
35863         * math/s_catanf.c (__catanf): Likewise.
35864         * math/s_catanh.c (__catanh): Likewise.
35865         * math/s_catanhf.c (__catanhf): Likewise.
35866         * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
35867         and redefine.
35868         (__catanhl): Handle arguments with large real or imaginary part
35869         separately without squaring.
35870         * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
35871         and redefine.
35872         (__catanl): Handle arguments with large real or imaginary part
35873         separately without squaring.
35874         * math/libm-test.inc (catan_test): Add more tests.
35875         (catanh_test): Likewise.
35876         * sysdeps/i386/fpu/libm-test-ulps: Update.
35877         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35879 2013-04-27  Andreas Jaeger  <aj@suse.de>
35881         [BZ #15007]
35882         * stdlib/stdlib.h: Update guards for qecvt.
35883         * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
35884         <stdlib.h>.
35886 2013-04-27  Allan McRae  <allan@archlinux.org>
35888         * sysdeps/i386/fpu/libm-test-ulps: Update.
35890 2013-04-26  Joseph Myers  <joseph@codesourcery.com>
35892         [BZ #15406]
35893         * math/s_catan.c: Include <float.h>.
35894         (__catan): Ensure underflow exception occurs for underflowed
35895         result.
35896         * math/s_catanf.c: Include <float.h>.
35897         (__catanf): Ensure underflow exception occurs for underflowed
35898         result.
35899         * math/s_catanh.c: Include <float.h>.
35900         (__catanh): Ensure underflow exception occurs for underflowed
35901         result.
35902         * math/s_catanhf.c: Include <float.h>.
35903         (__catanhf): Ensure underflow exception occurs for underflowed
35904         result.
35905         * math/s_catanhl.c: Include <float.h>.
35906         (__catanhl): Ensure underflow exception occurs for underflowed
35907         result.
35908         * math/s_catanl.c: Include <float.h>.
35909         (__catanl): Ensure underflow exception occurs for underflowed
35910         result.
35911         * math/libm-test.inc (catan_test): Add more tests.
35912         (catanh_test): Likewise.
35914         [BZ #15405]
35915         * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
35916         underflowed result.
35917         * math/s_ccoshf.c (__ccoshf): Likewise.
35918         * math/s_ccoshl.c (__ccoshl): Likewise.
35919         * math/s_csin.c (__csin): Likewise.
35920         * math/s_csinf.c (__csinf): Likewise.
35921         * math/s_csinh.c (__csinh): Likewise.
35922         * math/s_csinhf.c (__csinhf): Likewise.
35923         * math/s_csinhl.c (__csinhl): Likewise.
35924         * math/s_csinl.c (__csinl): Likewise.
35925         * math/libm-test.inc (ccos_test): Add more tests.
35926         (ccosh_test): Likewise.
35927         (csin_test): Likewise.
35928         (csinh_test): Likewise.
35930 2013-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35932         * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
35933         * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
35934         * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
35935         * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
35936         * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
35937         powerpc/power5+/fpu folders.
35938         * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
35941 2013-04-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
35943         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
35945 2013-04-25  Joseph Myers  <joseph@codesourcery.com>
35947         * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
35948         additions to variable.
35949         [$(config-machine) = x86_64] (modules-names): Likewise.
35950         ($(objpfx)tst-audit3): Remove dependency.
35951         ($(objpfx)tst-audit3.out): Likewise.
35952         ($(objpfx)tst-audit4): Likewise.
35953         ($(objpfx)tst-audit4.out): Likewise.
35954         ($(objpfx)tst-audit5): Likewise.
35955         ($(objpfx)tst-audit5.out): Likewise.
35956         ($(objpfx)tst-audit6): Likewise.
35957         ($(objpfx)tst-audit6.out): Likewise.
35958         ($(objpfx)tst-audit7): Likewise.
35959         ($(objpfx)tst-audit7.out): Likewise.
35960         (tst-audit3-ENV): Remove variable.
35961         (tst-audit4-ENV): Likewise.
35962         (tst-audit5-ENV): Likewise.
35963         (tst-audit6-ENV): Likewise.
35964         (tst-audit7-ENV): Likewise.
35965         [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
35966         [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
35967         addition to variable.
35968         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
35969         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
35970         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
35971         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
35972         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
35973         * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
35974         tst-audit3, tst-audit4 and tst-audit5.
35975         [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
35976         tst-audit6 and tst-audit7.
35977         [$(subdir) = elf] (modules-names): Add audit modules for those
35978         tests.
35979         [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
35980         [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
35981         [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
35982         [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
35983         [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
35984         [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
35985         [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
35986         [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
35987         [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
35988         [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
35989         [$(subdir) = elf] (tst-audit3-ENV): New variable.
35990         [$(subdir) = elf] (tst-audit4-ENV): Likewise.
35991         [$(subdir) = elf] (tst-audit5-ENV): Likewise.
35992         [$(subdir) = elf] (tst-audit6-ENV): Likewise.
35993         [$(subdir) = elf] (tst-audit7-ENV): Likewise.
35994         [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
35995         Likewise.
35996         [$(subdir) = elf && $(config-cflags-avx) = yes]
35997         (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
35998         [$(subdir) = elf && $(config-cflags-avx) = yes]
35999         (CFLAGS-tst-auditmod4a.c): Likewise.
36000         [$(subdir) = elf && $(config-cflags-avx) = yes]
36001         (CFLAGS-tst-auditmod4b.c): Likewise.
36002         [$(subdir) = elf && $(config-cflags-avx) = yes]
36003         (CFLAGS-tst-auditmod6b.c): Likewise.
36004         [$(subdir) = elf && $(config-cflags-avx) = yes]
36005         (CFLAGS-tst-auditmod6c.c): Likewise.
36006         [$(subdir) = elf && $(config-cflags-avx) = yes]
36007         (CFLAGS-tst-auditmod7b.c): Likewise.
36008         * elf/tst-audit3.c: Move to ...
36009         * sysdeps/x86_64/tst-audit3.c: ... here.
36010         * elf/tst-audit4.c: Move to ...
36011         * sysdeps/x86_64/tst-audit4.c: ... here.
36012         * elf/tst-audit5.c: Move to ...
36013         * sysdeps/x86_64/tst-audit5.c: ... here.
36014         * elf/tst-audit6.c: Move to ...
36015         * sysdeps/x86_64/tst-audit6.c: ... here.
36016         * elf/tst-audit7.c: Move to ...
36017         * sysdeps/x86_64/tst-audit7.c: ... here.
36018         * elf/tst-auditmod3a.c: Move to ...
36019         * sysdeps/x86_64/tst-auditmod3a.c: ... here.
36020         * elf/tst-auditmod3b.c: Move to ...
36021         * sysdeps/x86_64/tst-auditmod3b.c: ... here.
36022         * elf/tst-auditmod4a.c: Move to ...
36023         * sysdeps/x86_64/tst-auditmod4a.c: ... here.
36024         * elf/tst-auditmod4b.c: Move to ...
36025         * sysdeps/x86_64/tst-auditmod4b.c: ... here.
36026         * elf/tst-auditmod5a.c: Move to ...
36027         * sysdeps/x86_64/tst-auditmod5a.c: ... here.
36028         * elf/tst-auditmod5b.c: Move to ...
36029         * sysdeps/x86_64/tst-auditmod5b.c: ... here.
36030         * elf/tst-auditmod6a.c: Move to ...
36031         * sysdeps/x86_64/tst-auditmod6a.c: ... here.
36032         * elf/tst-auditmod6b.c: Move to ...
36033         * sysdeps/x86_64/tst-auditmod6b.c: ... here.
36034         * elf/tst-auditmod6c.c: Move to ...
36035         * sysdeps/x86_64/tst-auditmod6c.c: ... here.
36036         * elf/tst-auditmod7a.c: Move to ...
36037         * sysdeps/x86_64/tst-auditmod7a.c: ... here.
36038         * elf/tst-auditmod7b.c: Move to ...
36039         * sysdeps/x86_64/tst-auditmod7b.c: ... here.
36041 2013-04-25  Paul Pluzhnikov  <ppluzhnikov@google.com>
36043         [BZ #15366]
36044         * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
36045         define unconditionally.
36046         * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
36047         define unconditionally.
36048         (INT8_C, INT16_C, etc.): Likewise.
36050 2013-04-25  Maciej W. Rozycki  <macro@codesourcery.com>
36052         * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
36053         __ehdr_start with hidden visibility.
36055         * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
36057 2013-04-24  Carlos O'Donell  <carlos@redhat.com>
36059         * math/libm-test.inc (cos_test): Use accurate hex constants.
36060         (sincost_test): Likewise.
36062 2013-04-24  Joseph Myers  <joseph@codesourcery.com>
36064         * math/libm-test.inc (catan_test): Add more tests.
36065         (catanh_test): Likewise.
36067         * math/s_catanf.c (__catanf): Use suffixed floating-point
36068         constants.
36069         * math/s_catanhf.c (__catanhf): Likewise.
36070         * math/s_catanhl.c (__catanhl): Likewise.
36071         * math/s_catanl.c (__catanl): Likewise.
36073         [BZ #15394]
36074         * math/s_catan.c (__catan): Calculate imaginary part of result
36075         with log1p not log unless computing log of number close to 0.
36076         * math/s_catanf.c (__catanf): Likewise.
36077         * math/s_catanl.c (__catanl): Likewise.
36078         * math/s_catanh.c (__catanh): Calculate real part of result with
36079         log1p not log unless computing log of number close to 0.
36080         * math/s_catanhf.c (__catanhf): Likewise.
36081         * math/s_catanhl.c (__catanhl): Likewise.
36082         * math/libm-test.inc (catan_test): Add more tests.
36083         (catanh_test): Likewise.
36084         * sysdeps/i386/fpu/libm-test-ulps: Update.
36085         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36087 2013-04-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
36089         * benchtests/Makefile: Mention files in which fast and slow
36090         paths of math functions are implemented.
36092 2013-04-23  Roland McGrath  <roland@hack.frob.com>
36094         * sysdeps/posix/timespec_get.c: New file.
36096 2013-04-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36098         * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
36099         POWER.
36100         * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
36101         for POWER.
36102         * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
36103         powerpc/power5/fpu folders.
36104         * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
36105         * benchtests/Makefile: Add modf testcase.
36106         * benchtests/bench-modf.c: New file: Benchmark test for mo
36108 2013-04-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
36110         [BZ #14888]
36111         * time/Makefile (tests): Add tst-strptime-whitespace.
36112         * time/strptime_l.c (get_number): Use ISSPACE.
36113         (__strptime_internal): Likewise.
36114         * time/tst-strptime-whitespace.c: New test case.
36116 2013-04-23  Andreas Schwab  <schwab@linux-m68k.org>
36118         * nss/nss_files/files-init.c (TF): Don't initialize flexible array
36119         member.
36120         (_nss_files_init): Set it here.
36122 2013-04-23  Heiko Carstens  <heiko.carstens@de.ibm.com>
36124         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
36125         f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
36126         unsigned.
36128 2013-04-22  Jan-Benedict Glaw  <jbglaw@getslash.de>
36130         * nss/getent.c (shadow_keys): Call endspent, not endpwent.
36132 2013-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
36134         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
36135         size just once.
36137 2013-04-21  David S. Miller  <davem@davemloft.net>
36139         * po/ru.po: Update Russion translation from translation project.
36141 2013-04-17  Adam Conrad  <adconrad@0c3.net>
36143         * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
36144         and setfsgid.
36146 2013-04-17  Carlos O'Donell  <carlos@redhat.com>
36148         * configure.in: Remove i386 configure warning. Remove i386 case.
36149         * configure: Regenerate.
36150         * sysdeps/i386/configure.in: Raise error if config_machine is i386.
36151         Add example to error message.
36152         * sysdeps/i386/configure: Regenerate.
36154 2013-04-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
36156         * benchtests/Makefile (bench): Add cos, tan, slowcos and
36157         slowtan.
36158         * benchtests/cos-inputs: New file.
36159         * benchtests/slowcos-inputs: New file.
36160         * benchtests/slowcos.c: New file.
36161         * benchtests/slowtan-inputs: New file.
36162         * benchtests/slowtan.c: New file.
36163         * benchtests/tan-inputs: New file.
36165 2013-04-16  Roland McGrath  <roland@hack.frob.com>
36167         * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
36168         considered kosher.
36170 2013-04-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
36172         * benchtests/Makefile: Include cppflags-iterator.mk to add
36173         -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
36175         * Makefile.in (bench-clean): New target.
36176         * benchtests/Makefile (bench-clean): Likewise.
36178 2013-04-16  David Holsgrove  <david.holsgrove@xilinx.com>
36180         * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
36182 2013-04-15  Thomas Schwinge  <thomas@codesourcery.com>
36184         * stdio-common/tstdiomisc.c: Fix coding-style violation.
36186 2013-04-15  Andreas Schwab  <schwab@suse.de>
36188         * nscd/grpcache.c (cache_addgr): Properly check for short write.
36189         * nscd/initgrcache.c (addinitgroupsX): Likewise.
36190         * nscd/pwdcache.c (cache_addpw): Likewise.
36191         * nscd/servicescache.c (cache_addserv): Likewise.  Don't write
36192         more than recsize.
36194 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
36196         * benchtests/Makefile (bench): Write all output to
36197         bench-out.tmp together.
36199 2013-04-15  Andreas Schwab  <schwab@suse.de>
36201         * nscd/nscd.c (main): Don't fork again after closing files.
36203 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
36205         * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
36207         * benchtests/Rules (bench-deps): Collect dependencies into a
36208         single variable.  Add Makefile to dependencies.
36209         ($(objpfx)bench-%.c): Depend on bench-deps.
36211 2013-04-12  Roland McGrath  <roland@hack.frob.com>
36212             Xavier Roche  <roche+kml2@exalead.com>
36214         [BZ #15361]
36215         * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
36216         just that it's a file descriptor.
36217         * manual/llio.texi (Synchronizing AIO Operations): Update description
36218         for EBADF error from aio_fsync.
36220 2013-04-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
36222         * Rules (bench): Move target definition...
36223         * benchtests/Makefile: ... here.
36225 2013-04-11  Carlos O'Donell  <carlos@redhat.com>
36227         * math/libm-test.inc (cos_test): Fix PI/2 test.
36228         (sincos_test): Likewise.
36229         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
36230         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
36232 2013-04-11  Andreas Schwab  <schwab@suse.de>
36234         [BZ #13988]
36235         * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
36236         accept exponent character only when digits were seen.
36237         * stdio-common/Makefile (tests): Add bug26.
36238         * stdio-common/bug26.c: New file.
36240         [BZ #14293]
36241         * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
36242         non-freeable.
36244 2013-04-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
36246         * Makeconfig (rtld-prefix): Define built linker prefix.
36247         * Rules (run-bench): Use it.
36248         * math/Makefile (run-regen-ulps): Likewise.
36250         * Rules (bench): Remove eval.
36252 2013-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
36253             Roland McGrath  <roland@hack.frob.com>
36254             Ondrej Bilka  <neleai@seznam.cz>
36256         [BZ #15346]
36257         * time/getdate.c: Include ctype.h and alloca.h.
36258         (__getdate_r): Trim leading and trailing spaces of input.
36259         * time/tst-getdate.c (tests): Add tests with leading and
36260         trailing spaces.
36262 2013-04-08  Roland McGrath  <roland@hack.frob.com>
36264         [BZ #14280]
36265         * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
36266         when computing value.
36268 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
36270         * math/README.libm-test (How can I generate "libm-test-ulps"?):
36271         Use testrun.sh to run libm tests.
36273         [BZ #15309]
36274         * elf/dl-open.c (dl_open_worker): memset all of seen array.
36276 2013-04-06  Marko Myllynen  <myllynen@redhat.com>
36278         [BZ #15264]
36279         * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
36281 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
36283         * Makefile.in (regen-ulps): New target.
36284         * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
36285         [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
36286         [ifneq (no,$(PERL)] (regen-ulps): New target.
36287         [ifeq (no,$(PERL)] (regen-ulps): New target.
36288         * math/libm-test.inc (ulps_file_name): Define.
36289         (output_dir): New variable.
36290         (options): Add "output-dir" option.
36291         (parse_opt): Handle 'o' case.
36292         (main): If output_dir is non-NULL use it as a prefix
36293         otherwise use "".
36294         * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
36296 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
36298         [BZ #10060, #10062]
36299         * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
36300         * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
36301         fail configure if __sync_val_compare_and_swap is not inlined.
36302         * sysdeps/i386/configure: Regenerate.
36303         * configure.in: Build for i686 when configured for i386.
36304         * configure: Regenerate.
36305         * README: Remove i386 reference.
36307 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
36309         * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
36310         * sysdeps/s390/s390-64/sysdep.h: Likewise.
36312 2013-04-05  Thomas Schwinge  <thomas@codesourcery.com>
36314         * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
36315         (lmsnanval): New variables.
36316         (F): Add conversion tests.
36317         * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
36318         * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
36320         * stdio-common/tstdiomisc.c (F): Properly collect individual
36321         tests' results.
36323         [BZ #14686, #15336]
36324         * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
36325         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
36326         Instead, use input NaN values or generate a qNaN by arithmetic
36327         operation.  Also fix bugs to comply with the standard.
36328         * math/libm-test.inc (remainder_test): Add more tests.
36330         [BZ #15335, #15342]
36331         * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
36332         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
36333         input NaN values or generate a qNaN by arithmetic operation.
36335         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
36336         unreachable code.
36338         * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
36339         definitions.
36341 2013-04-03  Joseph Myers  <joseph@codesourcery.com>
36343         [BZ #14478]
36344         * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
36345         underflowed result.
36346         * math/s_cexpf.c (__cexpf): Likewise.
36347         * math/s_cexpl.c (__cexpl): Likewise.
36348         * math/libm-test.inc (cexp_test): Add more tests.
36350 2013-04-03  Andreas Schwab  <schwab@suse.de>
36352         [BZ #15330]
36353         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
36354         order arrays from heap if bigger than alloca cutoff.
36356 2013-04-03  Thomas Schwinge  <thomas@codesourcery.com>
36358         * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
36359         (SNAN_TESTS_double): Refer to GCC PR56831.
36360         * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
36361         GCC PR56828.
36363 2013-04-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
36365         * Rules (bench): Move bench.out after the run is complete.
36367         * Rules (bench): Echo currently running benchmark.
36369         * benchtests/Makefile (bench): Add atan and slowatan.
36370         * benchtests/atan-inputs: New file.
36371         * benchtests/slowatan-inputs: New file.
36372         * benchtests/slowatan.c: New file.
36374         * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
36375         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
36376         its value.
36378         [BZ #15305]
36379         * sysdeps/unix/sysv/linux/kernel-features.h
36380         [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
36381         __ASSUME_XFS_RESTRICTED_CHOWN.
36382         * sysdeps/unix/sysv/linux/pathconf.c
36383         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
36384         Save and restore errno.
36386 2013-04-02  Joseph Myers  <joseph@codesourcery.com>
36388         [BZ #15327]
36389         * math/s_cacosh.c (__cacosh): Implement for finite nonzero
36390         arguments using __kernel_casinh.
36391         * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
36392         arguments using __kernel_casinhf.
36393         * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
36394         arguments using __kernel_casinhl.
36395         * math/libm-test.inc (cacosh_test): Add more tests.
36396         * sysdeps/i386/fpu/libm-test-ulps: Update.
36397         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36399 2013-04-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
36401         * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
36402         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
36404         * bench/Makefile (bench): Add sin and slowsin.
36405         * benchtests/sin-inputs: New file.
36406         * benchtests/slowsin-inputs: New file.
36407         * benchtests/slowsin.c: New file.
36409         * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
36410         (bench): Add slowexp and slowpow.
36411         (exp-ITER): Increase iterations.
36412         (pow-ITER): Likewise.
36413         * benchtests/exp-inputs: Change input.
36414         * benchtests/pow-inputs: Likewise.
36415         * benchtests/slowexp-inputs: New file.
36416         * benchtests/slowexp.c: New file.
36417         * benchtests/slowpow-inputs: New file.
36418         * benchtests/slowpow.c: New file.
36420 2013-04-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36422         * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
36423         instructions.
36424         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
36425         * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
36426         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
36427         * benchtests/Makefile: Add rint benchtest.
36428         * benchtests/rint-inputs: Input for rint benchtest.
36430 2013-04-02  Thomas Schwinge  <thomas@codesourcery.com>
36432         * Versions.def (libm): Add GLIBC_2.18.
36433         * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
36434         hidden libm prototypes.
36435         [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
36436         * math/Makefile (libm-calls): Add s_issignaling.
36437         * math/Versions (libm: GLIBC_2.18): Add __issignaling,
36438         __issignalingf, __issignalingl.  Adjust all libm.abilist files.
36439         * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
36440         declaration.
36441         * math/math.h [__USE_GNU] (issignaling): New macro.
36442         * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
36443         * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
36444         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
36445         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
36446         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
36447         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
36448         * manual/arith.texi (issignaling): New section.
36449         * manual/libm-err-tab.pl (@all_functions): Update comment.
36450         * math/gen-libm-test.pl (parse_args): Apply special handling for
36451         issignaling.
36452         * math/libm-test.inc (print_float, issignaling_test): New
36453         functions.
36454         (check_float_internal): Add issignaling checks.
36455         * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
36456         default definition.
36457         * sysdeps/powerpc/math-tests.h: New file.
36458         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
36459         tests.
36460         * math/test-snan.c (TEST_FUNC): Likewise.
36462 2013-03-30  David S. Miller  <davem@davemloft.net>
36464         * po/de.po: Update from translation team.
36466 2013-03-30  Joseph Myers  <joseph@codesourcery.com>
36468         [BZ #10357]
36469         * math/k_casinh.c (__kernel_casinh): Handle arguments with
36470         imaginary part less than 1.0 and real part less than 0.5
36471         specially.
36472         * math/k_casinhf.c (__kernel_casinhf): Likewise.
36473         * math/k_casinhl.c (__kernel_casinhl): Likewise.
36474         * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
36475         (cacos_test): Add more tests.
36476         (casin_test): Likewise.
36477         (casinh_test): Likewise.
36478         * sysdeps/i386/fpu/libm-test-ulps: Update.
36479         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36481 2013-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
36483         * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
36484         ONE with its value.
36486         * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
36487         (__pow_mp): Replace ONE and MONE with their values.
36488         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
36489         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
36490         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
36491         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
36492         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
36493         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
36495         * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
36497         * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
36498         (__pow_mp): Replace ZERO and MZERO with their values.
36499         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
36500         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
36501         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
36502         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
36503         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
36504         * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
36505         (__sqr): Likewise.
36507         * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
36509         * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
36511 2013-03-28  Roland McGrath  <roland@hack.frob.com>
36513         * include/stdlib.h [!SHARED] (__call_tls_dtors):
36514         Declare with __attribute__ ((weak)).
36515         * stdlib/exit.c (__libc_atexit) [!SHARED]:
36516         Call __call_tls_dtors only if it's not NULL.
36518 2013-03-28  Roland McGrath  <roland@hack.frob.com>
36520         * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
36521         didn't do it already, then set _dl_phdr and _dl_phnum based on the
36522         magic __ehdr_start linker symbol if it's defined.
36523         * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
36524         them up here if it was already done.
36526         * elf/dl-support.c (_dl_phdr): Make pointer to const.
36527         (_dl_aux_init): Use const in cast when setting it.
36528         * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
36529         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
36530         * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
36532         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
36533         Declare them here.
36534         * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
36535         * csu/libc-tls.c: Nor here.
36536         * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
36538         * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
36539         (__libc_message): Never call vsyslog.
36541 2013-03-28  Alan Modra  <amodra@gmail.com>
36543         * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
36544         Define as empty.
36545         * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
36546         Likewise.
36548 2013-03-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36550         [BZ #15214]
36551         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
36552         underflow.
36553         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36555 2013-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
36557         [BZ #15304]
36558         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
36559         Don't add gid passed as argument.
36561         * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
36563 2013-03-27  Joseph Myers  <joseph@codesourcery.com>
36565         [BZ #15307]
36566         * math/k_casinh.c (__kernel_casinh): Handle arguments with
36567         imaginary part between 1.0 and 1.5 and real part less than 0.5
36568         specially.
36569         * math/k_casinhf.c (__kernel_casinhf): Likewise.
36570         * math/k_casinhl.c (__kernel_casinhl): Likewise.
36571         * math/libm-test.inc (cacos_test): Add more tests.
36572         (casin_test): Likewise.
36573         (casinh_test): Likewise.
36574         * sysdeps/i386/fpu/libm-test-ulps: Update.
36575         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36577 2013-03-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
36579         * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
36580         constants.
36581         (norm): Likewise.
36582         (denorm): Likewise.
36583         (__dbl_mp): Likewise.
36584         (add_magnitudes): Likewise.
36585         (sub_magnitudes): Likewise.
36586         (__add): Likewise.
36587         (__sub): Likewise.
36588         (__mul): Likewise.
36589         (__sqr): Likewise.
36590         (__inv): Likewise.
36591         (__dvd): Likewise.
36593         * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
36594         commented code.
36595         * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
36596         (__dubcos): Likewise.
36597         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
36598         (__ieee754_acos): Likewise.
36599         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
36600         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
36601         (__exp1): Likewise.
36602         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
36603         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
36604         (log1): Likewise.
36605         (my_log2): Likewise.
36606         (checkint): Likewise.
36607         * sysdeps/ieee754/dbl-64/e_remainder.c
36608         (__ieee754_remainder): Likewise.
36609         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
36610         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
36611         (bsloww): Likewise.
36612         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
36614         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
36615         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
36616         MANTISSA_STORE_T to store computations on mantissa.  Use
36617         macros for rounding and division.
36618         (denorm): Likewise.
36619         (__dbl_mp): Likewise.
36620         (add_magnitudes): Likewise.
36621         (sub_magnitudes): Likewise.
36622         (__mul): Likewise.
36623         (__sqr): Likewise.
36624         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
36625         powers of two in terms of TWOPOW macro.
36626         (mp_no): Make type of mantissa as MANTISSA_T.
36627         [!RADIXI]: Define RADIXI.
36628         [!TWO52]: Define TWO52.
36629         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
36631 2013-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36633         * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
36634         llroundl symbol when building for PPC32.
36636 2013-03-24  Mark H Weaver  <mhw@netris.org>
36638         * manual/arith.texi (Normalization Functions): Fix prototypes for
36639         scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
36641 2013-03-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36643         [BZ #13889]
36644         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
36645         high value to check if expl overflow.
36646         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
36647         to check for underflow and overflow.
36648         * math/libm-test.inc: Add exp test.
36650 2013-03-21  Dmitry V. Levin  <ldv@altlinux.org>
36652         [BZ #11120]
36653         * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
36654         with NOT_IN_libc.
36656 2013-03-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36658         * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
36659         symbol.
36661 2013-03-21  Thomas Schwinge  <thomas@codesourcery.com>
36663         * math/gen-libm-test.pl (parse_args, special_functions): Properly
36664         wrap blocks consisting of several statements.
36666         * sysdeps/generic/math-tests.h: New file.
36667         * sysdeps/i386/fpu/math-tests.h: Likewise.
36668         * math/test-snan.c: Include it.
36669         (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
36671 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
36673         [BZ #15285]
36674         * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
36675         (__ieee754_j0l): Do not improve calculations using cos of twice
36676         input for inputs above LDBL_MAX / 2.0L.
36677         (__ieee754_y0l): Likewise.
36678         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
36679         (__ieee754_j1l): Do not improve calculations using cos of twice
36680         input for inputs above LDBL_MAX / 2.0L.
36681         (__ieee754_y1l): Likewise.
36682         * math/libm-test.inc (j0_test): Add another test.
36683         (j1_test): Likewise.
36684         (y0_test): Likewise.
36685         (y1_test): Likewise.
36686         * sysdeps/i386/fpu/libm-test-ulps: Update.
36688 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
36690         * Rules ($(objpfx)bench-%.c): Include code from a C source
36691         file.
36693 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
36695         [BZ #15287]
36696         * math/k_casinh.c (__kernel_casinh): Handle arguments with
36697         imaginary part 1.0 and real part less than 0.5 specially.
36698         * math/k_casinhf.c (__kernel_casinhf): Likewise.
36699         * math/k_casinhl.c (__kernel_casinhl): Likewise.
36700         * math/libm-test.inc (cacos_test): Add more tests.
36701         (casin_test): Likewise.
36702         (casinh_test): Likewise.
36703         * sysdeps/i386/fpu/libm-test-ulps: Update.
36704         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36706 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
36708         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
36709         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
36711 2013-03-20  Joseph Myers  <joseph@codesourcery.com>
36713         * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
36714         * config.make.in (config-cflags-sse4): Remove variable.
36715         (config-cflags-avx): Likewise.
36716         (config-cflags-sse2avx): Likewise.
36717         (config-cflags-novzeroupper): Likewise.
36718         (config-asflags-i686): Likewise.
36719         (have-mfma4): Likewise.
36720         (have-as-vis3): Likewise.
36721         (MIG): Likewise.
36722         * configure.in (MIG): Do not AC_SUBST.
36723         (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
36724         (libc_cv_cc_sse4): Do not AC_SUBST.
36725         (libc_cv_cc_avx): Likewise.
36726         (libc_cv_cc_sse2avx): Likewise.
36727         (libc_cv_cc_novzeroupper): Likewise.
36728         (libc_cv_cc_fma4): Likewise.
36729         (libc_cv_as_i686): Likewise.
36730         (libc_cv_sparc_as_vis3): Likewise.
36731         * sysdeps/i386/configure.in (config-cflags-sse4): Set using
36732         LIBC_CONFIG_VAR.
36733         (config-asflags-i686): Likewise.
36734         (config-cflags-avx): Likewise.
36735         (config-cflags-sse2avx): Likewise.
36736         (have-mfma4): Likewise.
36737         (config-cflags-novzeroupper): Likewise.
36738         * sysdeps/mach/configure.in (MIG): Likewise.
36739         * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
36740         * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
36741         LIBC_CONFIG_VAR.
36742         (config-cflags-avx): Likewise.
36743         (config-cflags-sse2avx): Likewise.
36744         (have-mfma4): Likewise.
36745         (config-cflags-novzeroupper): Likewise.
36746         * configure: Regenerated.
36747         * sysdeps/i386/configure: Likewise.
36748         * sysdeps/mach/configure: Likewise.
36749         * sysdeps/sparc/configure: Likewise.
36750         * sysdeps/x86_64/configure: Likewise.
36752 2013-03-20  Roland McGrath  <roland@hack.frob.com>
36754         [BZ #14812]
36755         * locale/programs/localedef.c (options): Put N_ translation marker
36756         on argument names, not just descriptions.
36758 2013-03-20  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
36760         * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
36762 2013-03-20  Ondřej Bílka  <neleai@seznam.cz>
36764         [BZ #14176]
36765         * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
36767 2013-03-19  Roland McGrath  <roland@hack.frob.com>
36769         * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
36770         [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
36771         [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
36772         [!BEFORE_ABORT] (before_abort): New function.
36773         [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
36774         * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
36775         (writev_for_fatal): New function.
36776         (WRITEV_FOR_FATAL): New macro; call that.
36777         (backtrace_and_maps): New function.
36778         (BEFORE_ABORT): New macro; call that.
36779         (struct str_list): Type removed.
36780         (__libc_message, __libc_fatal): Functions removed.
36781         Include <sysdeps/posix/libc_fatal.c> instead.
36783 2013-03-19  Joseph Myers  <joseph@codesourcery.com>
36785         * math/k_casinhf.c (__kernel_casinhf): Consistently use float
36786         constants.
36787         * math/k_casinhl.c (__kernel_casinhl): Consistently use long
36788         double constants.
36790 2013-03-19  Andreas Schwab  <schwab@suse.de>
36792         * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
36793         * sysdeps/gnu/configure: Regenerate.
36795         * configure.in: Substitute libc_cv_rtlddir.
36796         * configure: Regenerate.
36797         * config.make.in (rtlddir): Set from libc_cv_rtlddir.
36798         * Makeconfig (rtlddir, inst_rtlddir): New variables.
36799         (rtld-LDFLAGS): Use them with $(rtld-installed-name).
36800         * elf/Makefile (install-others, CFLAGS-interp.c)
36801         (ldso_install, common-ldd-rewrite): Likewise.
36802         ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
36803         $(inst_slibdir)/$(rtld-installed-name).
36804         * scripts/rellns-sh: Add -p option.
36805         * Makerules (make-shlib-link): Use rellns-sh to get relative name
36806         for source.
36808 2013-03-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
36810         * manual/nptl.texi: Renamed to ...
36811         * manual/threads.texi: ... this.
36812         * manual/Makefile (chapters): Update.
36814 2013-03-18  Roland McGrath  <roland@hack.frob.com>
36816         [BZ #14812]
36817         * argp/argp-parse.c (argp_default_options): Put N_ translation marker
36818         on argument names, not just descriptions.
36819         * malloc/memusagestat.c (options): Likewise.
36820         * nss/getent.c (options): Likewise.
36822 2013-03-18  Benno Schulenberg  <bensberg@justemail.net>
36824         [BZ #14812]
36825         * iconv/iconv_prog.c (options): Put N_ translation marker
36826         on argument names, not just descriptions.
36827         * iconv/iconvconfig.c (options): Likewise.
36829 2013-03-18  Ondrej Bilka  <neleai@seznam.cz>
36831         * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
36832         implementation which is faster on all x86_64 architectures.
36833         Tested on AMD, Intel Nehalem, SNB, IVB.
36834         * sysdeps/x86_64/strnlen.S: Likewise.
36836         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
36837         Remove all multiarch strlen and strnlen versions.
36838         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
36839         Remove strlen and strnlen related parts.
36841         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
36842         Inline strlen part.
36843         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
36845         * sysdeps/x86_64/multiarch/strlen.S: Remove.
36846         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
36847         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
36848         * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
36849         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
36850         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
36852 2013-03-17  Carlos O'Donell  <carlos@redhat.com>
36854         * manual/memory.texi (Malloc Tunable Parameters):
36855         Sort parameters alphabetically. Add comments for missing entries.
36857 2013-03-17  David S. Miller  <davem@davemloft.net>
36859         * sysdeps/sparc/fpu/libm-test-ulps: Update.
36861 2013-03-16  Joseph Myers  <joseph@codesourcery.com>
36863         [BZ #15283]
36864         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
36865         for arguments at most half maximum finite value.
36866         * math/libm-test.inc (j0_test): Add more tests.
36867         (j1_test): Likewise.
36868         (y0_test): Likewise.
36869         (y1_test): Likewise.
36870         * sysdeps/i386/fpu/libm-test-ulps: Update.
36871         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36873         [BZ #14155]
36874         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
36875         1 / x and functions P and Q for arguments above 0x1p256L.
36876         (__ieee754_y0l): Likewise.
36877         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
36878         (__ieee754_y1l): Likewise.
36879         * math/libm-test.inc (j0_test): Do not allow spurious underflows.
36880         (j1_test): Likewise.
36881         (y0_test): Likewise.
36882         (y1_test): Likewise.
36884 2013-03-16  Thomas Schwinge  <thomas@codesourcery.com>
36886         * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
36887         variable.
36889 2013-03-15  Roland McGrath  <roland@hack.frob.com>
36891         * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
36892         (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
36893         zero since it's initialized to EXEC_PAGESIZE.
36895         * sysdeps/unix/sysv/linux/ldsodefs.h
36896         (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
36897         * sysdeps/generic/ldsodefs.h: ... here.
36899 2013-03-15  Thomas Schwinge  <thomas@codesourcery.com>
36901         * math/libm-test.inc (ldexp_test): Add missing START/END markers.
36903         * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
36904         math/test-snan.c.
36905         * math/test-snan.c: Renamed from
36906         sysdeps/powerpc/fpu/test-powerpc-snan.c.
36907         * math/Makefile (tests): Add test-snan.
36908         * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
36909         test-powerpc-snan.
36911         * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
36912         SUFFIX.  Initialize qNaN_var with __builtin_nan family of
36913         functions.
36914         (TEST_TRUNC): Add SUFFIX argument.  Initialize qNaN_var with
36915         __builtin_nan family of functions.
36916         * math/libm-test.inc (initialize): Initialize qnan_value with
36917         __builtin_nan family of functions.
36918         * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
36919         Remove variables.
36920         (init_signaling_nan, snan_float, snan_double, snan_ldouble):
36921         Remove functions.
36922         (TEST_FUNC): Add SUFFIX argument.  Move sNaN_var into static
36923         storage class.  Initialize qNaN_var and sNaN_var with
36924         __builtin_nan and __builtin_nans families of functions,
36925         respectively.
36927         * math/libm-test.inc (acosh_test): Also test with qNaN input.
36928         (sqrt_test): Remove duplicate test with qNaN input.
36929         (lrint_test, llrint_test, lround_test, llround_test, rint_test)
36930         (round_test, signbit_test, significand_test): Note missing +/-Inf
36931         as well as qNaN tests.
36933         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
36934         qNaN_var.  Fix a few strings, too.
36935         * math/libm-test.inc (nan_value): Rename to qnan_value.
36936         * math/gen-libm-test.pl (%beautify): Adjust to that.
36937         * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
36938         * math/test-misc.c (main): Likewise.
36939         * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
36940         to __qnan_bytes, and __qnan_union, respectively.
36941         * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
36942         Likewise.
36943         * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
36944         and lqnanval, respectively.
36945         * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
36946         * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
36947         * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
36948         and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
36950         * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
36951         * math/test-misc.c (main) [__x86_64__]: Enable test for long
36952         doubles.
36954         * math/test-misc.c (main): Fix copy'n'pastos.
36955         * misc/tst-efgcvt.c (special): Likewise.
36957         * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
36958         Remove declarations.
36960 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
36962         * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
36963         * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
36964         * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
36965         * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
36967 2013-03-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36969         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
36970         macro to return vdso values correctly in IFUNC implementations.
36971         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
36972         Optimization by using IFUNC.
36974 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
36975             Richard Henderson  <rth@redhat.com>
36976             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
36978         * Makefile.in (bench): New target.
36979         * NEWS: Mention the benchmark framework.
36980         * Rules (bench): Likewise.
36981         (binaries-bench): Generate binaries for functions to
36982         benchmark.
36983         * benchtests/Makefile: New makefile for benchmark tests.
36984         * benchtests/bench-skeleton.c: New skeleton file for benchmark
36985         programs.
36986         * benchtests/exp-inputs: New input file for EXP function.
36987         * benchtests/pow-inputs: New input file for POW function.
36988         * scripts/bench.pl: New script to generate source files for
36989         benchmark programs.
36991 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
36993         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
36994         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
36995         computations on mantissa.  Use macros for rounding and
36996         division.
36997         (denorm): Likewise.
36998         (__dbl_mp): Likewise.
36999         (add_magnitudes): Likewise.
37000         (sub_magnitudes): Likewise.
37001         (__mul): Likewise.
37002         (__sqr): Likewise.
37003         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
37004         powers of two in terms of TWOPOW macro.
37005         (mp_no): Make type of mantissa as MANTISSA_T.
37006         [!RADIXI]: Define RADIXI.
37007         [!TWO52]: Define TWO52.
37008         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
37010         * manual/nptl.texi (cindex): Modify threads to pthreads.
37012 2013-03-15  Joseph Myers  <joseph@codesourcery.com>
37014         * sysdeps/x86_64/preconfigure: Regenerated.
37016 2013-03-14  Joseph Myers  <joseph@codesourcery.com>
37018         [BZ #14155]
37019         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
37020         0x1p28 and above.
37021         (qzero): Return -0.125 / x for arguments 0x1p28 and above.
37022         * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
37023         0x1p28 and above.
37024         (qzero): Return 0.375 / x for arguments 0x1p28 and above.
37025         * math/libm-test.inc (j0_test): Do not allow one spurious
37026         underflow exception.
37027         (y1_test): Likewise.
37029 2013-03-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
37031         * manual/Makefile (chapters): Add nptl.
37032         * manual/debug.texi (Debugging Support): Add link to Threads
37033         chapter.
37034         * manual/nptl.texi: New file.
37036         * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
37038 2013-03-14  Petr Baudis  <pasky@ucw.cz>
37040         * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
37041         for non-NULL pointer before the memory validity test. Pointed
37042         out by Holger Brunck <holger.brunck@keymile.com>.
37044 2013-03-13  Andreas Schwab  <schwab@suse.de>
37046         * extra-lib.mk (extra-objs): Add static-only-routines as .oS
37047         instead of .os.
37049 2013-03-13  Joseph Myers  <joseph@codesourcery.com>
37051         * timezone/zic.c: Update from tzcode 2013b.
37053 2013-03-12  Carlos O'Donell  <carlos@redhat.com>
37055         * manual/install.texi (Configuring and compiling):
37056         Mention i686 and i586.
37057         * INSTALL: Regenerate.
37059 2013-03-12  Roland McGrath  <roland@hack.frob.com>
37061         * sysdeps/init_array/elf-init.c: New file.
37062         * csu/elf-init.c
37063         (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
37064         (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
37066         * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
37067         __gmon_start__ as global, but as static with a .preinit_array pointer.
37068         * sysdeps/init_array/gmon-start.c: New file.  Use that.
37069         * sysdeps/init_array/crti.S: New file, empty except for comments.
37070         * sysdeps/init_array/crtn.S: Likewise.
37072 2013-03-11  Ondřej Bílka  <neleai@seznam.cz>
37074         * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
37075         definining bcopy.
37076         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
37077         Remove Prefer_SSE_for_memop.
37078         * sysdeps/x86_64/multiarch/init-arch.h: Remove
37079         bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
37080         HAS_PREFER_SSE_FOR_MEMOP.
37081         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
37082         memset-x86-64.
37083         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
37084         Remove bzero, memset ifunc support.
37085         * sysdeps/x86_64/multiarch/bzero.S: Remove file.
37086         * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
37087         * sysdeps/x86_64/multiarch/memset.S: Likewise.
37088         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
37090 2013-03-11  Andreas Schwab  <schwab@suse.de>
37092         [BZ #15234]
37093         * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
37094         by SHLIB_COMPAT.
37095         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
37096         (GLIBC_2.16): Remove pthread_atfork.
37098 2013-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
37100         * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
37101         (ptestcases.h): Likewise.
37103 2013-03-08  Roland McGrath  <roland@hack.frob.com>
37105         * Makeconfig ($(common-objpfx)config.status): Depend on
37106         sysdeps/*/preconfigure{,.in} too.
37108 2013-03-08  Joseph Myers  <joseph@codesourcery.com>
37110         * malloc/malloc.h (__malloc_ptr_t): Remove macro.
37111         (__free_hook): Use void * instead of __malloc_ptr_t.
37112         (__malloc_hook): Likewise.
37113         (__realloc_hook): Likewise.
37114         (__memalign_hook): Likewise.
37115         (__after_morecore_hook): Likewise.
37116         * malloc/arena.c (save_malloc_hook): Likewise.
37117         (save_free_hook): Likewise.
37118         * malloc/hooks.c (malloc_hook_ini): Likewise.
37119         (realloc_hook_ini): Likewise.
37120         (memalign_hook_ini): Likewise.
37121         * malloc/malloc.c (malloc_hook_ini): Likewise.
37122         (realloc_hook_ini): Likewise.
37123         (memalign_hook_ini): Likewise.
37124         (__free_hook): Likewise.
37125         (__malloc_hook): Likewise.
37126         (__realloc_hook): Likewise.
37127         (__memalign_hook): Likewise.
37128         (__libc_malloc): Likewise.
37129         (__libc_free): Likewise.
37130         (__libc_realloc): Likewise.
37131         (__libc_memalign): Likewise.
37132         (__libc_valloc): Likewise.
37133         (__libc_pvalloc): Likewise.
37134         (__libc_calloc): Likewise.
37135         (__posix_memalign): Likewise.
37136         * malloc/morecore.c (__sbrk): Likewise.
37137         (__default_morecore): Likewise.
37139         * malloc/morecore.c (__default_morecore): Use ISO C prototype.
37141         * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
37142         * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
37143         __malloc_ptrdiff_t.
37145         * malloc/malloc.h (__malloc_size_t): Remove macro.
37146         * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
37147         __malloc_size_t.
37148         (old_memalign_hook): Likewise.
37149         (old_realloc_hook): Likewise.
37150         (struct hdr): Likewise.
37151         (flood): Likewise.
37152         (mallochook): Likewise.
37153         (memalignhook): Likewise.
37154         (reallochook): Likewise.
37155         * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
37156         (tr_old_realloc_hook): Likewise.
37157         (tr_old_memalign_hook): Likewise.
37158         (tr_mallochook): Likewise.
37159         (tr_reallochook): Likewise.
37160         (tr_memalignhook): Likewise.
37162 2013-03-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37164         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
37165         default_ldbl_pack and using as default implementation.
37166         (ldbl_unpack): Rename to default_ldbl_unpack and using as default
37167         implementation.
37168         * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
37169         redundant definition.
37170         (ldbl_insert_mantissa): Likewise.
37171         (ldbl_canonicalize): Likewise.
37172         (ldbl_nearbyint): Likewise.
37173         (ldbl_pack): Rename to ldbl_pack_ppc.
37174         (ldbl_unpack): Rename to ldbl_unpack_ppc.
37175         * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
37176         * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
37178 2013-03-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
37180         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
37181         * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
37182         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
37183         * sysdeps/powerpc/power4/fpu/Makefile: ... here.
37184         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
37185         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
37186         * sysdeps/powerpc/powerpc32/power4/Implies: New file.
37187         * sysdeps/powerpc/powerpc64/power4/Implies: New file.
37189 2013-03-07  Andreas Jaeger  <aj@suse.de>
37191         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
37192         bits/mman-linux.h.
37194 2013-03-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
37196         * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
37197         Include mpa.h and declare __MPEXP.
37198         [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
37199         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
37200         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
37201         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
37202         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
37203         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
37204         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
37206         * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
37207         (__slowpow): Use long double EXPL and LOGL functions to
37208         compute POW.
37209         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
37210         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
37211         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
37212         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
37213         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
37214         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
37216         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
37217         intermediate variable to calculate exponent.
37218         (__sqr): Likewise.
37219         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
37220         Likewise.
37221         (__sqr): Likewise.
37223         * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
37224         [!NO__SQR]: Define __sqr.
37225         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
37226         and NO__SQR.  Remove all code except __mul and __sqr.  Include
37227         sysdeps/ieee754/dbl-64/mpa.c.
37228         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
37230         [BZ #12723]
37231         * posix/Makefile (tests): Add tst-pathconf.
37232         * posix/tst-pathconf.c: New test case.
37233         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
37234         _PC_PIPE_BUF.
37235         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
37237 2013-03-06  Patsy Franklin  <pfrankli@redhat.com>
37239         * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
37241 2013-03-06  Andreas Jaeger  <aj@suse.de>
37243         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
37244         definition via __MAP_ANONYMOUS.
37246         * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
37247         it's not part of Linux headers.
37249         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
37250         (MAP_HUGE_MASK): Define.
37252         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
37253         Define.
37254         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
37255         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
37256         Define.
37257         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
37258         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
37259         Define.
37260         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
37261         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
37262         Define.
37263         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
37265         * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
37266         * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
37267         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
37268         * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
37269         * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
37270         * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
37272         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
37273         Handle f2fs.
37275         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
37276         Handle f2fs and efivarfs.
37278         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
37279         f2fs.
37281         * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
37282         (EFIVARFS_MAGIC): Add.
37283         (F2FS_LINK_MAX): Add.
37285 2013-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
37287         * stdio-common/vfprintf.c: Replace __builtin_expect with
37288         __glibc_unlikely.
37290 2013-03-06  Joseph Myers  <joseph@codesourcery.com>
37292         [BZ #13550]
37293         * sysdeps/generic/bp-sym.h: Remove file.
37294         * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
37295         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
37296         <bp-sym.h> and <bp-asm.h>.
37297         (__longjmp): Don't use BP_SYM.
37298         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
37299         and <bp-asm.h>.
37300         (memcpy): Don't use BP_SYM.
37301         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
37302         <bp-sym.h> and <bp-asm.h>.
37303         (memcpy): Don't use BP_SYM.
37304         * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
37305         <bp-asm.h>.
37306         (memcpy): Don't use BP_SYM.
37307         * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
37308         <bp-asm.h>.
37309         (memset): Don't use BP_SYM.
37310         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
37311         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
37312         (__bzero): Don't use BP_SYM.
37313         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
37314         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
37315         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
37316         <bp-sym.h> and <bp-asm.h>.
37317         (memcmp): Don't use BP_SYM.  Remove comment about bounded
37318         pointers.
37319         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
37320         <bp-sym.h> and <bp-asm.h>.
37321         (memcpy): Don't use BP_SYM.
37322         * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
37323         <bp-sym.h> and <bp-asm.h>.
37324         (memset): Don't use BP_SYM.
37325         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
37326         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
37327         (__bzero): Don't use BP_SYM.
37328         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
37329         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
37330         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
37331         <bp-sym.h> and <bp-asm.h>.
37332         (strncmp): Don't use BP_SYM.  Remove comment about bounded
37333         pointers.
37334         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
37335         <bp-sym.h> and <bp-asm.h>.
37336         (memcpy): Don't use BP_SYM.
37337         * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
37338         <bp-sym.h> and <bp-asm.h>.
37339         (memset): Don't use BP_SYM.
37340         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
37341         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
37342         (__bzero): Don't use BP_SYM.
37343         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
37344         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
37345         * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
37346         <bp-sym.h> and <bp-asm.h>.
37347         (__memchr): Don't use BP_SYM.
37348         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
37349         <bp-sym.h> and <bp-asm.h>.
37350         (memcmp): Don't use BP_SYM.  Remove comment about bounded
37351         pointers.
37352         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
37353         <bp-sym.h> and <bp-asm.h>.
37354         (memcpy): Don't use BP_SYM.
37355         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
37356         <bp-sym.h> and <bp-asm.h>.
37357         (__mempcpy): Don't use BP_SYM.
37358         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
37359         <bp-sym.h> and <bp-asm.h>.
37360         (__memrchr): Don't use BP_SYM.
37361         * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
37362         <bp-sym.h> and <bp-asm.h>.
37363         (memset): Don't use BP_SYM.
37364         (__bzero): Likewise.
37365         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
37366         <bp-sym.h> and <bp-asm.h>.
37367         (__rawmemchr): Don't use BP_SYM.
37368         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
37369         <bp-sym.h> and <bp-asm.h>.
37370         (__STRCMP): Don't use BP_SYM.
37371         * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
37372         <bp-sym.h> and <bp-asm.h>.
37373         (strchr): Don't use BP_SYM.
37374         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
37375         <bp-sym.h> and <bp-asm.h>.
37376         (__strchrnul): Don't use BP_SYM.
37377         * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
37378         <bp-sym.h> and <bp-asm.h>.
37379         (strlen): Don't use BP_SYM.
37380         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
37381         <bp-sym.h> and <bp-asm.h>.
37382         (strncmp): Don't use BP_SYM.  Remove comment about bounded
37383         pointers.
37384         * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
37385         <bp-sym.h> and <bp-asm.h>.
37386         (__strnlen): Don't use BP_SYM.
37387         * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
37388         <bp-sym.h> and <bp-asm.h>.
37389         (__GI__setjmp): Don't use BP_SYM.
37390         (_setjmp): Likewise.
37391         (__sigsetjmp): Likewise.
37392         * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
37393         (L(start_addresses)): Don't use BP_SYM.
37394         (_start): Likewise.
37395         * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
37396         <bp-asm.h>.
37397         (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
37398         STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
37399         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
37400         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
37401         * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
37402         <bp-asm.h>.
37403         (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
37404         CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE.  Remove comment
37405         about bounded pointers.
37406         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
37407         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
37408         * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
37409         <bp-asm.h>.
37410         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
37411         about bounded pointers.  Remove GKM FIXME comments.
37412         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
37413         * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
37414         <bp-asm.h>.
37415         (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
37416         STORE_RETURN_BOUNDS.  Remove comment about bounded pointers.
37417         Remove GKM FIXME comments.
37418         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
37419         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
37420         * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
37421         <bp-asm.h>.
37422         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
37423         about bounded pointers.  Remove GKM FIXME comment.
37424         * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
37425         and <bp-asm.h>.
37426         (strncmp): Don't use BP_SYM.  Remove comment about bounded
37427         pointers.
37428         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
37429         <bp-sym.h> and <bp-asm.h>.
37430         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
37431         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
37432         <bp-sym.h> and <bp-asm.h>.
37433         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
37434         comment.
37436 2013-03-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
37438         * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
37439         call free(NULL).
37441 2013-03-05  David S. Miller  <davem@davemloft.net>
37443         * po/es.po: Update from translation team.
37445 2013-03-05  Andreas Jaeger  <aj@suse.de>
37447         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
37448         <bits/mman-linux.h>.
37449         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
37450         is fine.
37451         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
37452         <bits/mman-linux.h> to end of file.
37453         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
37454         is fine.
37455         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
37456         <bits/mman-linux.h> to end of file.
37457         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
37458         is fine.
37459         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
37460         <bits/mman-linux.h> to end of file.
37462         * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
37463         (MCL_CURRENT, MCL_FUTURE): Define here.
37465 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
37467         [BZ #15232]
37468         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
37469         attribute_hidden.
37470         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
37472 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
37474         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
37475         fourth parameter needed for rt_sigprocmask syscall.
37476         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
37477         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
37478         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
37479         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
37480         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
37481         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
37483 2013-03-04  Joseph Myers  <joseph@codesourcery.com>
37485         [BZ #13550]
37486         * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
37487         comment about bounded pointers.
37488         * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
37489         * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
37491 2013-03-04  Andreas Jaeger  <aj@suse.de>
37493         * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
37494         common definitions.
37496         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
37497         provided by bits/mman-linux.h and include <bits/mman-linux.h>.
37498         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
37499         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
37500         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
37501         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
37503 2013-03-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37505         [BZ #15055]
37506         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
37507         __ieee754_sqrl instead of __sqrl.
37509 2013-03-01  Joseph Myers  <joseph@codesourcery.com>
37511         * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
37512         * sysdeps/powerpc/fpu_control.h: ... here.
37513         * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
37514         * sysdeps/powerpc/bits/fenvinline.h: ... here.
37515         * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
37516         * sysdeps/powerpc/bits/mathinline.h: ... here.
37518 2013-03-01  Roland McGrath  <roland@hack.frob.com>
37520         * elf/dl-hwcaps.c (_dl_important_hwcaps):
37521         Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
37522         to just [NEED_DL_SYSINFO_DSO].
37523         * elf/dl-support.c: Likewise.
37524         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
37525         * elf/rtld.c (dl_main): Likewise.
37526         * elf/setup-vdso.h (setup_vdso): Likewise.
37527         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
37528         * sysdeps/unix/sysv/linux/dl-sysdep.c
37529         (_dl_discover_osversion): Likewise.
37531 2013-03-01  Carlos O'Donell  <carlos@redhat.com>
37533         * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
37534         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
37536 2013-03-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
37538         * NEWS: Mention libm performance improvements and non-x86 PI
37539         futex support.
37541         * csu/libc-start.c (__pthread_initialize_minimal): Change
37542         function arguments.
37543         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
37545 2013-02-28  Joseph Myers  <joseph@codesourcery.com>
37547         [BZ #13550]
37548         * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
37549         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
37550         <bp-sym.h> and <bp-asm.h>.
37551         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
37552         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
37553         and <bp-asm.h>.
37554         (memcpy): Don't use BP_SYM.
37555         * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
37556         <bp-asm.h>.
37557         (__mpn_add_n): Don't use BP_SYM.
37558         (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
37559         * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
37560         and <bp-asm.h>.
37561         (__mpn_addmul_1): Don't use BP_SYM.
37562         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
37563         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
37564         <bp-sym.h>.
37565         (_setjmp): Don't use BP_SYM.
37566         (__novmx_setjmp): Likewise.
37567         (__GI__setjmp): Likewise.
37568         (__vmx_setjmp): Likewise.
37569         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
37570         <bp-sym.h>.
37571         * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
37572         (__bzero): Don't use BP_SYM.
37573         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
37574         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
37575         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
37576         <bp-sym.h> and <bp-asm.h>.
37577         (memcpy): Don't use BP_SYM.
37578         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
37579         <bp-sym.h> and <bp-asm.h>.
37580         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
37581         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
37582         <bp-sym.h> and <bp-asm.h>.
37583         (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
37584         * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
37585         <bp-asm.h>.
37586         (__mpn_lshift): Don't use BP_SYM.
37587         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
37588         * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
37589         <bp-asm.h>.
37590         (memset): Don't use BP_SYM.
37591         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
37592         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
37593         * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
37594         <bp-asm.h>.
37595         (__mpn_mul_1): Don't use BP_SYM.
37596         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
37597         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
37598         <bp-sym.h> and <bp-asm.h>.
37599         (memcmp): Don't use BP_SYM.
37600         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
37601         <bp-sym.h> and <bp-asm.h>.
37602         (memcpy): Don't use BP_SYM.
37603         * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
37604         <bp-sym.h> and <bp-asm.h>.
37605         (memset): Don't use BP_SYM.
37606         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
37607         <bp-sym.h> and <bp-asm.h>.
37608         (strncmp): Don't use BP_SYM.
37609         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
37610         <bp-sym.h> and <bp-asm.h>.
37611         (memcpy): Don't use BP_SYM.
37612         * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
37613         <bp-sym.h> and <bp-asm.h>.
37614         (memset): Don't use BP_SYM.
37615         * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
37616         <bp-sym.h> and <bp-asm.h>.
37617         (__memchr): Don't use BP_SYM.
37618         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
37619         <bp-sym.h> and <bp-asm.h>.
37620         (memcmp): Don't use BP_SYM.
37621         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
37622         <bp-sym.h> and <bp-asm.h>.
37623         (memcpy): Don't use BP_SYM.
37624         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
37625         <bp-sym.h> and <bp-asm.h>.
37626         (__mempcpy): Don't use BP_SYM.
37627         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
37628         <bp-sym.h> and <bp-asm.h>.
37629         (__memrchr): Don't use BP_SYM.
37630         * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
37631         <bp-sym.h> and <bp-asm.h>.
37632         (memset): Don't use BP_SYM.
37633         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
37634         <bp-sym.h> and <bp-asm.h>.
37635         (__rawmemchr): Don't use BP_SYM.
37636         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
37637         <bp-sym.h> and <bp-asm.h>.
37638         (__STRCMP): Don't use BP_SYM.
37639         * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
37640         <bp-sym.h> and <bp-asm.h>.
37641         (strchr): Don't use BP_SYM.
37642         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
37643         <bp-sym.h> and <bp-asm.h>.
37644         (__strchrnul): Don't use BP_SYM.
37645         * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
37646         <bp-sym.h> and <bp-asm.h>.
37647         (strlen): Don't use BP_SYM.
37648         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
37649         <bp-sym.h> and <bp-asm.h>.
37650         (strncmp): Don't use BP_SYM.
37651         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
37652         <bp-sym.h> and <bp-asm.h>.
37653         (__strnlen): Don't use BP_SYM.
37654         * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
37655         <bp-asm.h>.
37656         (__mpn_rshift): Don't use BP_SYM.
37657         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
37658         * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
37659         <bp-sym.h> and <bp-asm.h>.
37660         (__sigsetjmp): Don't use BP_SYM.
37661         * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
37662         (L(start_addresses)): Don't use BP_SYM.
37663         (_start): Likewise.
37664         * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
37665         <bp-asm.h>.
37666         (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
37667         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
37668         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
37669         * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
37670         <bp-asm.h>.
37671         (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
37672         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
37673         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
37674         * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
37675         <bp-asm.h>.
37676         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
37677         comments.
37678         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
37679         * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
37680         <bp-asm.h>.
37681         (strcpy): Don't use BP_SYM and macros from bp-asm.h.  Remove GKM
37682         FIXME comments.
37683         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
37684         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
37685         * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
37686         <bp-asm.h>.
37687         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
37688         comment.
37689         * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
37690         and <bp-asm.h>.
37691         (strncmp): Don't use BP_SYM,
37692         * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
37693         <bp-asm.h>.
37694         (__mpn_sub_n): Don't use BP_SYM.
37695         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
37696         * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
37697         and <bp-asm.h>.
37698         (__mpn_submul_1): Don't use BP_SYM.
37699         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
37700         * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
37701         <bp-sym.h> and <bp-asm.h>.
37702         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
37703         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
37704         <bp-sym.h> and <bp-asm.h>.
37705         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
37706         comment.
37708 2013-02-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
37710         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
37711         Use ZK to minimize writes to Z.
37712         (sub_magnitudes): Simplify code a bit.
37713         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
37714         Use ZK to minimize writes to Z.
37715         (sub_magnitudes): Simplify code a bit.
37717 2013-02-27  Roland McGrath  <roland@hack.frob.com>
37719         * csu/gmon-start.c: Add special exception to license text.
37721 2013-02-27  Richard Henderson  <rth@redhat.com>
37723         * scripts/config.guess: Update from config.git.
37724         * scripts/config.sub: Likewise.
37726 2013-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
37728         * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
37730         * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
37732         * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
37734         * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
37736         * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
37738 2013-02-26  Roland McGrath  <roland@hack.frob.com>
37740         * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
37741         [$(build-shared = yes].
37743 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
37745         * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
37746         (__mul): Reduce iterations for calculating mantissa.
37748         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
37749         MPTWO.
37750         (__mpranred): Likewise.
37752         [BZ #15160]
37753         * malloc/memusagestat.c (main): Draw graphs for heap and stack
37754         only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
37756 2013-02-26  Paul Eggert  <eggert@cs.ucla.edu>
37758         * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
37759         Define __attribute__.
37761 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
37763         * locale/elem-hash.h (elem_hash): Mark as pure and possibly
37764         unused.
37765         * posix/regex_internal.h (__attribute): Remove.
37766         [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
37767         (re_string_context_at): Likewise.
37768         (bitset_not): Use __attribute__ and mark function as possibly
37769         unused.
37770         (bitset_merge): Likewise.
37771         (bitset_mask): Likewise.
37772         (re_string_char_size_at): Likewise.
37773         (re_string_wchar_at): Likewise.
37774         (re_string_elem_size_at): Likewise.
37776 2013-02-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
37778         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
37779         code.
37780         (cc32): Likewise.
37782         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
37783         (__acr): Likewise.
37784         (__cpy): Likewise.
37785         (norm): Likewise.
37786         (denorm): Likewise.
37787         (__dbl_mp): Likewise.
37788         (add_magnitudes): Likewise.
37789         (sub_magnitudes): Likewise.
37790         (__mul): Likewise.
37791         (__inv): Likewise.
37793         * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
37794         style.
37796         * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
37797         style.
37799         * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
37800         code.
37802         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
37803         up changes with default code.
37804         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
37805         Likewise.
37807 2013-02-24  Allan McRae  <allan@archlinux.org>
37809         * manual/socket.texi (The Internet Namespace): Order menu items
37810         to match that in the file.
37812         * manual/libc-texinfo.sh: Use @detailmenu around the detailed
37813         node listing of the info page menu.
37815 2013-02-21  Joseph Myers  <joseph@codesourcery.com>
37817         [BZ #13550]
37818         * sysdeps/i386/bp-asm.h: Remove file.
37819         * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
37820         (PARMS): Do not use macros from bp-asm.h.
37821         (S1): Likewise.
37822         (S2): Likewise.
37823         (SIZE): Likewise.
37824         (__mpn_add_n): Do not use BP_SYM
37825         * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
37826         "bp-asm.h".
37827         (PARMS): Do not use macros from bp-asm.h.
37828         (S1): Likewise.
37829         (SIZE): Likewise.
37830         (__mpn_addmul_1): Do not use BP_SYM
37831         * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
37832         "bp-asm.h".
37833         (PARMS): Do not use macros from bp-asm.h.
37834         (SIGMSK): Likewise.
37835         (_setjmp): Likewise.  Do not use BP_SYM.
37836         * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
37837         "bp-asm.h".
37838         (PARMS): Do not use macros from bp-asm.h.
37839         (SIGMSK): Likewise.
37840         (setjmp): Likewise.  Do not use BP_SYM.
37841         * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
37842         "bp-asm.h".
37843         (PARMS): Do not use macros from bp-asm.h.
37844         (__frexp): Do not use BP_SYM.
37845         (frexp): Likewise.
37846         * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
37847         "bp-asm.h".
37848         (PARMS): Do not use macros from bp-asm.h.
37849         (__frexpf): Do not use BP_SYM.
37850         (frexpf): Likewise.
37851         * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
37852         "bp-asm.h".
37853         (PARMS): Do not use macros from bp-asm.h.
37854         (__frexpl): Do not use BP_SYM.
37855         (frexpl): Likewise.
37856         * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
37857         "bp-asm.h".
37858         (PARMS): Do not use macros from bp-asm.h.
37859         (__remquo): Do not use BP_SYM.
37860         (remquo): Likewise.
37861         * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
37862         "bp-asm.h".
37863         (PARMS): Do not use macros from bp-asm.h.
37864         (__remquof): Do not use BP_SYM.
37865         (remquof): Likewise.
37866         * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
37867         "bp-asm.h".
37868         (PARMS): Do not use macros from bp-asm.h.
37869         (__remquol): Do not use BP_SYM.
37870         (remquol): Likewise.
37871         * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
37872         "bp-asm.h".
37873         (PARMS): Do not use macros from bp-asm.h.
37874         (DEST): Likewise.
37875         (SRC): Likewise.
37876         (strcat): Remove GKM FIXME comment.  Do not use BP_SYM.
37877         * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
37878         "bp-asm.h".
37879         (PARMS): Do not use macros from bp-asm.h.
37880         (strlen): Do not use BP_SYM.
37881         * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
37882         "bp-asm.h".
37883         (PARMS): Do not use macros from bp-asm.h.
37884         (S1): Likewise.
37885         (S2): Likewise.
37886         (SIZE): Likewise.
37887         (__mpn_add_n): Do not use BP_SYM.
37888         * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
37889         "bp-asm.h".
37890         (PARMS): Do not use macros from bp-asm.h.
37891         (S1): Likewise.
37892         (SIZE): Likewise.
37893         (__mpn_addmul_1): Do not use BP_SYM.
37894         * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
37895         weak_alias.
37896         (bzero): Likewise.
37897         * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
37898         "bp-asm.h".
37899         (PARMS): Do not use macros from bp-asm.h.
37900         (S): Likewise.
37901         (SIZE): Likewise.
37902         (__mpn_lshift): Do not use BP_SYM.
37903         * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
37904         "bp-asm.h".
37905         (PARMS): Do not use macros from bp-asm.h.
37906         (DEST): Likewise.
37907         (SRC): Likewise.
37908         (LEN): Likewise.
37909         (memcpy): Likewise.  Do not use BP_SYM.
37910         * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
37911         libc_hidden_def and weak_alias.
37912         (mempcpy): Do not use BP_SYM in weak_alias.
37913         * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
37914         "bp-asm.h".
37915         (PARMS): Do not use macros from bp-asm.h.
37916         (DEST): Likewise.
37917         (LEN): Likewise.
37918         [!BZERO_P] (CHR): Likewise.
37919         (memset): Likewise.  Do not use BP_SYM.
37920         * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
37921         "bp-asm.h".
37922         (PARMS): Do not use macros from bp-asm.h.
37923         (S1): Likewise.
37924         (SIZE): Likewise.
37925         (__mpn_mul_1): Do not use BP_SYM.
37926         * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
37927         "bp-asm.h".
37928         (PARMS): Do not use macros from bp-asm.h.
37929         (S): Likewise.
37930         (SIZE): Likewise.
37931         (__mpn_rshift): Do not use BP_SYM.
37932         * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
37933         "bp-asm.h".
37934         (PARMS): Do not use macros from bp-asm.h.
37935         (STR): Likewise.
37936         (CHR): Likewise.
37937         (strchr): Likewise.  Do not use BP_SYM.
37938         (index): Do not use BP_SYM in weak_alias.
37939         * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
37940         "bp-asm.h".
37941         (PARMS): Do not use macros from bp-asm.h.
37942         (DEST): Likewise.
37943         (SRC): Likewise.
37944         (STRCPY): Likewise.  Remove GKM FIXME comment.  Do not use BP_SYM.
37945         * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
37946         "bp-asm.h".
37947         (PARMS): Do not use macros from bp-asm.h.
37948         (strlen): Do not use BP_SYM.
37949         * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
37950         "bp-asm.h".
37951         (PARMS): Do not use macros from bp-asm.h.
37952         (S1): Likewise.
37953         (S2): Likewise.
37954         (SIZE): Likewise.
37955         (__mpn_sub_n): Do not use BP_SYM.
37956         * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
37957         "bp-asm.h".
37958         (PARMS): Do not use macros from bp-asm.h.
37959         (S1): Likewise.
37960         (SIZE): Likewise.
37961         (__mpn_submul_1): Do not use BP_SYM.
37962         * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
37963         "bp-asm.h".
37964         (PARMS): Do not use macros from bp-asm.h.
37965         (S1): Likewise.
37966         (S2): Likewise.
37967         (SIZE): Likewise.
37968         (__mpn_add_n): Do not use BP_SYM.
37969         * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
37970         weak_alias.
37971         (bzero): Likewise.
37972         * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
37973         "bp-asm.h".
37974         (PARMS): Do not use macros from bp-asm.h.
37975         (BLK2): Likewise.
37976         (LEN): Likewise.
37977         (memcmp): Do not use BP_SYM.
37978         (bcmp): Do not use BP_SYM in weak_alias.
37979         * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
37980         "bp-asm.h".
37981         (PARMS): Do not use macros from bp-asm.h.
37982         (DEST): Likewise.
37983         (SRC): Likewise.
37984         (LEN): Likewise.
37985         (memcpy): Likewise.  Do not use BP_SYM.
37986         * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
37987         "bp-asm.h".
37988         (PARMS): Do not use macros from bp-asm.h.
37989         (DEST): Likewise.
37990         (SRC): Likewise.
37991         (LEN): Likewise.
37992         (memmove): Likewise.  Do not use BP_SYM.
37993         * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
37994         "bp-asm.h".
37995         (PARMS): Do not use macros from bp-asm.h.
37996         (DEST): Likewise.
37997         (SRC): Likewise.
37998         (LEN): Likewise.
37999         (__mempcpy): Likewise.  Do not use BP_SYM.
38000         (mempcpy): Do not use BP_SYM in weak_alias.
38001         * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
38002         "bp-asm.h".
38003         (PARMS): Do not use macros from bp-asm.h.
38004         (DEST): Likewise.
38005         (LEN): Likewise.
38006         [!BZERO_P] (CHR): Likewise.
38007         (memset): Likewise.  Do not use BP_SYM.
38008         * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
38009         "bp-asm.h".
38010         (PARMS): Do not use macros from bp-asm.h.
38011         (STR2): Likewise.
38012         (strcmp): Do not use BP_SYM.
38013         * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
38014         "bp-asm.h".
38015         (PARMS): Do not use macros from bp-asm.h.
38016         (STR): Likewise.
38017         (DELIM): Likewise.
38018         [USE_AS_STRTOK_R] (SAVE): Likewise.
38019         (FUNCTION): Likewise.  Do not use BP_SYM.
38020         * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
38021         aliases.
38022         (strtok_r): Likewise.
38023         (__GI___strtok_r): Likewise.
38024         * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
38025         (PARMS): Do not use macros from bp-asm.h.
38026         (S): Likewise.
38027         (SIZE): Likewise.
38028         (__mpn_lshift): Do not use BP_SYM.
38029         * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
38030         (PARMS): Do not use macros from bp-asm.h.
38031         (STR): Likewise.
38032         (CHR): Likewise.
38033         (__memchr): Do not use BP_SYM.
38034         (memchr): Do not use BP_SYM in weak_alias.
38035         * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
38036         (PARMS): Do not use macros from bp-asm.h.
38037         (BLK2): Likewise.
38038         (LEN): Likewise.
38039         (memcmp): Do not use BP_SYM.
38040         (bcmp): Do not use BP_SYM in weak_alias.
38041         * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
38042         (PARMS): Do not use macros from bp-asm.h.
38043         (S1): Likewise.
38044         (SIZE): Likewise.
38045         (__mpn_mul_1): Do not use BP_SYM.
38046         * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
38047         "bp-asm.h".
38048         (PARMS): Do not use macros from bp-asm.h.
38049         (STR): Likewise.
38050         (CHR): Likewise.
38051         (__rawmemchr): Do not use BP_SYM.
38052         (rawmemchr): Do not use BP_SYM in weak_alias.
38053         * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
38054         (PARMS): Do not use macros from bp-asm.h.
38055         (S): Likewise.
38056         (SIZE): Likewise.
38057         (__mpn_rshift): Do not use BP_SYM.
38058         * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
38059         (PARMS): Do not use macros from bp-asm.h.
38060         (SIGMSK): Likewise.
38061         (__sigsetjmp): Likewise.  Do not use BP_SYM.
38062         * sysdeps/i386/start.S: Do not include "bp-sym.h".
38063         (_start): Do not use BP_SYM.
38064         * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
38065         (PARMS): Do not use macros from bp-asm.h.
38066         (DEST): Likewise.
38067         (SRC): Likewise.
38068         (__stpcpy): Likewise.  Do not use BP_SYM.
38069         (stpcpy): Do not use BP_SYM in weak_alias.
38070         * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
38071         "bp-asm.h".
38072         (PARMS): Do not use macros from bp-asm.h.
38073         (DEST): Likewise.
38074         (SRC): Likewise.
38075         (LEN): Likewise.
38076         (__stpncpy): Likewise.  Do not use BP_SYM.
38077         (stpncpy): Do not use BP_SYM in weak_alias.
38078         * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
38079         (PARMS): Do not use macros from bp-asm.h.
38080         (STR): Likewise.
38081         (CHR): Likewise.
38082         (strchr): Likewise.  Do not use BP_SYM.
38083         * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
38084         "bp-asm.h".
38085         (PARMS): Do not use macros from bp-asm.h.
38086         (STR): Likewise.
38087         (CHR): Likewise.
38088         (__strchrnul): Likewise.  Do not use BP_SYM.
38089         (strchrnul): Do not use BP_SYM in weak_alias.
38090         * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
38091         "bp-asm.h".
38092         (PARMS): Do not use macros from bp-asm.h.
38093         (STOP): Likewise.
38094         (strcspn): Do not use BP_SYM.
38095         * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
38096         "bp-asm.h".
38097         (PARMS): Do not use macros from bp-asm.h.
38098         (STR): Likewise.
38099         (STOP): Likewise.
38100         (strpbrk): Likewise.  Do not use BP_SYM.
38101         * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
38102         "bp-asm.h".
38103         (PARMS): Do not use macros from bp-asm.h.
38104         (STR): Likewise.
38105         (CHR): Likewise.
38106         (strrchr): Likewise.  Do not use BP_SYM.
38107         * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
38108         (PARMS): Do not use macros from bp-asm.h.
38109         (SKIP): Likewise.
38110         (strspn): Do not use BP_SYM.
38111         * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
38112         (PARMS): Do not use macros from bp-asm.h.
38113         (STR): Likewise.
38114         (DELIM): Likewise.
38115         (SAVE): Likewise.
38116         (FUNCTION): Likewise.  Do not use BP_SYM.
38117         * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
38118         aliases.
38119         (strtok_r): Likewise.
38120         (__GI___strtok_r): Likewise.
38121         * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
38122         (PARMS): Do not use macros from bp-asm.h.
38123         (S1): Likewise.
38124         (S2): Likewise.
38125         (SIZE): Likewise.
38126         (__mpn_sub_n): Do not use BP_SYM.
38127         * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
38128         "bp-asm.h".
38129         (PARMS): Do not use macros from bp-asm.h.
38130         (S1): Likewise.
38131         (SIZE): Likewise.
38132         (__mpn_submul_1): Do not use BP_SYM.
38133         * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
38134         <bp-sym.h>.
38135         * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
38136         and <bp-asm.h>.
38137         (PARMS): Do not use macros from bp-asm.h.
38138         (FLAGS): Likewise.
38139         (PTID): Likewise.
38140         (TLS): Likewise.
38141         (CTID): Likewise.
38142         (__clone): Do not use BP_SYM.
38143         (clone): Do not use BP_SYM in weak_alias.
38144         * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
38145         and <bp-asm.h>.
38146         (PARMS): Do not use macros from bp-asm.h.
38147         (LEN): Likewise.
38148         (__mmap64): Do not use BP_SYM.
38149         (mmap64): Do not use BP_SYM in weak_alias.
38150         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
38151         <bp-sym.h> and <bp-asm.h>.
38152         (PARMS): Do not use macros from bp-asm.h.
38153         (__posix_fadvise64_l64): Do not use BP_SYM.
38154         * sysdeps/unix/sysv/linux/i386/semtimedop.S
38155         (PARMS): Do not use macros from bp-asm.h.
38156         (NSOPS): Likewise.
38157         (semtimedop): Do not use BP_SYM.
38158         * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
38159         and <bp-asm.h>.
38161 2013-02-21  Allan McRae  <allan@archlinux.org>
38163         * manual/message.texi (Charset conversion in gettext):
38164         Move @end statement to beginning of line.
38166 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
38168         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
38169         static.
38170         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
38171         Likewise.
38173         * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
38174         (denorm): Likewise.
38175         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
38176         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
38178 2013-02-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
38180         * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
38181         tail-call to the resolved function if pltexit isn't needed.
38183 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
38185         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
38186         or Y being zero as being unlikely.
38187         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
38188         Likewise.
38190 2013-02-20  Carlos O'Donell  <carlos@redhat.com>
38192         * manual/nss.texi (System Databases and Name Service Switch):
38193         Remove frobnicate @pxref.
38195 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
38197         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
38198         __attribute__ ((unused)) to __attribute__ ((__unused__)).
38200 2013-02-20  Petr Machata  <pmachata@redhat.com>
38202         * elf/elf.h (R_ARM_TARGET1): New macro.
38203         (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
38204         (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
38205         (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
38206         (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
38207         (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
38208         (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
38209         (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
38210         (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
38211         (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
38212         (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
38213         (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
38214         (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
38215         (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
38216         (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
38217         (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
38218         (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
38219         (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
38220         (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
38221         (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
38222         (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
38223         (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
38224         (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
38225         (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
38226         (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
38227         (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
38228         (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
38229         (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
38230         (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
38231         (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
38232         (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
38233         (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
38234         (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
38235         (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
38236         (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
38237         (R_ARM_THM_GOT_BREL12): Likewise.
38238         (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
38239         (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
38240         (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
38241         (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
38242         (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
38243         (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
38244         (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
38245         (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
38246         (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
38248 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
38250         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
38251         __attribute_used__ to __attribute__ ((unused)).
38253 2013-02-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
38255         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
38256         powerpc mpa.c.
38257         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
38258         comment formatting.
38259         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
38261 2013-02-19  Joseph Myers  <joseph@codesourcery.com>
38263         [BZ #13550]
38264         * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
38265         Remove macro.
38266         (ENTER): Remove both macro definitions.
38267         (LEAVE): Likewise.
38268         (CHECK_BOUNDS_LOW): Likewise.
38269         (CHECK_BOUNDS_HIGH): Likewise.
38270         (CHECK_BOUNDS_BOTH): Likewise.
38271         (CHECK_BOUNDS_BOTH_WIDE): Likewise.
38272         (RETURN_BOUNDED_POINTER): Likewise.
38273         (RETURN_NULL_BOUNDED_POINTER): Likewise.
38274         (PUSH_ERRNO_LOCATION_RETURN): Likewise.
38275         (POP_ERRNO_LOCATION_RETURN): Likewise.
38276         * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
38277         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
38278         * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
38279         macros.
38280         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
38281         * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
38282         * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
38283         * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
38284         * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
38285         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
38286         * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
38287         * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
38288         * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
38289         * sysdeps/i386/i486/strcat.S (strcat): Likewise.
38290         * sysdeps/i386/i486/strlen.S (strlen): Likewise.
38291         * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
38292         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
38293         * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
38294         removed macros.
38295         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
38296         * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
38297         macros.
38298         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
38299         * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
38300         * sysdeps/i386/i586/memset.S (memset): Likewise.
38301         * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
38302         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
38303         * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
38304         macros.
38305         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
38306         * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
38307         Change uses of L(2) to L(out).
38308         * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
38309         * sysdeps/i386/i586/strlen.S (strlen): Likewise.
38310         * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
38311         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
38312         * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
38313         removed macros.
38314         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
38315         * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
38316         macros.
38317         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
38318         * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
38319         (RETURN): Do not use macro LEAVE.
38320         * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
38321         * sysdeps/i386/i686/memmove.S (memmove): Likewise.
38322         * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
38323         * sysdeps/i386/i686/memset.S (memset): Likewise.
38324         * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
38325         (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
38326         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
38327         * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
38328         Likewise.
38329         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
38330         (FUNCTION): Do not use removed macros.  Combine labels L(1_1),
38331         L(1_2) and L(1_3) into L(1).
38332         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
38333         * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
38334         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
38335         * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
38336         (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
38337         * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
38338         * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
38339         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
38340         * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
38341         macros.
38342         * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
38343         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
38344         * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
38345         * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
38346         * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
38347         (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
38348         * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
38349         * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
38350         * sysdeps/i386/strcspn.S (strcspn): Likewise.
38351         * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
38352         * sysdeps/i386/strrchr.S (strrchr): Likewise.
38353         * sysdeps/i386/strspn.S (strspn): Likewise.
38354         * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
38355         conditional code.
38356         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
38357         (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
38358         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
38359         (FUNCTION): Do not use removed macros.  Combine labels L(1_2) and
38360         L(1_3) into L(1_1).
38361         * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
38362         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
38363         * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
38364         macros.
38365         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
38367 2013-02-19  Jakub Jelinek  <jakub@redhat.com>
38369         * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
38370         macro.
38372 2013-02-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
38374         * math/atest-exp.c (exp_mpn): Remove ROUND.
38375         * math/atest-exp2.c (exp_mpn): Likewise.
38376         * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
38378         * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
38379         * stdlib/tst-tls-atexit-lib.c: Likewise.
38380         * stdlib/tst-tls-atexit.c: Likewise.
38382 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
38384         * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
38385         and __attribute_alloc_size__.
38387 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
38389         * include/programs/xmalloc.h: Change __attribute_alloc_size to
38390         __attribute_alloc_size__.
38391         * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
38392         * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
38394 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
38396         * include/programs/xmalloc.h: New file.
38397         * catgets/gencat.c: Include it.
38398         (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
38399         * elf/pldd.c: Likewise.
38400         * iconv/iconv_charmap.c: Likewise.
38401         * iconv/iconvconfig.c: Likewise.
38402         * iconv/strtab.c: Likewise.
38403         * locale/programs/locale.c: Likewise.
38404         * locale/programs/localedef.h: Likewise.
38405         * locale/programs/simple-hash.c: Likewise.
38406         * nscd/nscd.h: Likewise.
38407         * nss/makedb.c: Likewise.
38408         * sysdeps/generic/ldconfig.h: Likewise.
38410 2013-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
38412         * Versions.def: Add GLIBC_2.18.
38413         * include/link.h (struct link_map): New member l_tls_dtor_count.
38414         * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
38415         (__call_tls_dtors): Likewise.
38416         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
38417         __cxa_thread_atexit_impl.
38418         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
38419         Likewise.
38420         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
38421         Likewise.
38422         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
38423         Likewise.
38424         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
38425         Likewise.
38426         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
38427         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
38428         Likewise.
38429         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
38430         Likewise.
38431         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
38432         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
38433         Likewise.
38434         * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
38435         (tests): Add test case tst-tls-atexit.
38436         (modules-names): Add shared library for tst-tls-atexit.
38437         * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
38438         (GLIBC_PRIVATE): Add __call_tls_dtors.
38439         * stdlib/cxa_thread_atexit_impl.c: New file with helper function
38440         for libstdc++.
38441         * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
38442         * stdlib/tst-tls-atexit.c: New test case.
38443         * stdlib/tst-tls-atexit-lib.c: New test case.
38445         * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
38447         * elf/Versions (ld): Add _dl_find_dso_for_object.
38448         * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
38449         * elf/dl-open.c (_dl_find_dso_for_object): New function.
38450         (dl_open_worker): Use _dl_find_dso_for_object.
38451         * elf/dl-sym.c (do_sym): Likewise.
38452         * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
38454 2013-02-18  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
38456         * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
38457         Syntactic changes only.
38458         (_dl_runtime_profile): Do a tail-call to the resolved function.
38460 2013-02-17  Joseph Myers  <joseph@codesourcery.com>
38462         [BZ #13550]
38463         * sysdeps/x86_64/bp-asm.h: Remove file.
38464         * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
38465         <bp-sym.h> and <bp-asm.h>.
38466         (__clone): Do not use BP_SYM.
38467         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
38468         <bp-sym.h> and <bp-asm.h>.
38469         * sysdeps/unix/x86_64/sysdep.S: Likewise.
38470         * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
38471         "bp-asm.h".
38472         (_setjmp): Do not use BP_SYM.
38473         * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
38474         "bp-asm.h".
38475         (setjmp): Do not use BP_SYM.
38476         * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
38477         libc_hidden_def.
38478         (mempcpy): Do not use BP_SYM in weak_alias.
38479         * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
38480         "bp-asm.h".
38481         (strchr): Do not use BP_SYM.
38482         * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
38483         "bp-asm.h".
38484         * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
38485         * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
38486         (_start): Do not use BP_SYM.
38487         * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
38488         "bp-asm.h".
38489         (strcat): Do not use BP_SYM.
38490         * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
38491         "bp-asm.h".
38492         (STRCMP): Do not use BP_SYM.
38493         * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
38494         "bp-asm.h".
38495         (STRCPY): Do not use BP_SYM.
38496         * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
38497         "bp-asm.h".
38498         * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
38499         "bp-asm.h".
38500         (FUNCTION): Do not use BP_SYM.
38501         * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
38502         weak_alias.
38503         (__GI___strtok_r): Do not use BP_SYM in strong_alias.
38505 2013-02-17  Andreas Jaeger  <aj@suse.de>
38507         * time/Versions: Sort entries.
38508         * string/Versions: Likewise.
38509         * resolv/Versions: Likewise.
38510         * posix/Versions: Likewise.
38511         * iconv/Versions: Likewise.
38512         * elf/Versions: Likewise.
38513         * wcsmbs/Versions: Likewise.
38515 2013-02-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
38517         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
38518         loop termination condition.
38520         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
38521         variable to calculate EZ.
38522         (__sqr): Likewise.
38524         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
38525         the lower precision input.
38527 2013-02-15  Joseph Myers  <joseph@codesourcery.com>
38529         [BZ #13550]
38530         * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
38531         [!link-extra-libs] (link-extra-libs-bounded): Likewise.
38532         (run-via-rtld-prefix): Do not handle %-bp tests.
38533         (test-via-rtld-prefix): Do not mention %-bp tests in comment.
38534         (all-object-suffixes): Remove .ob.
38535         (bppfx): Remove variable.
38536         [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
38537         [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
38538         [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
38539         [$(build-bounded) = yes] (libtype.ob): Likewise.
38540         * Makerules (elide-routines.ob): Remove variable.
38541         (do-tests-clean): Do not handle *-bp.out.
38542         (common-mostlyclean): Do not handle *-bp and *-bp.out.
38543         * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
38544         [$(build-bounded) = yes] (xtests-bp.out): Likewise.
38545         (tests): Do not include $(tests-bp.out).
38546         (xtests): Do not include $(xtests-bp.out).
38547         [$(build-bounded) = yes] (binaries-bounded): Remove variable.
38548         [$(build-bounded) = yes] ($(addprefix
38549         $(objpfx),$(binaries-bounded))): Remove rule.
38550         ($(objpfx)%-bp.out): Remove rule.
38551         * config.make.in (build-bounded): Remove variable.
38552         * crypt/Makefile [$(build-bounded) = yes]
38553         ($(tests:%=$(objpfx)%-bp)): Remove dependency.
38554         * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
38555         append to variable.
38556         [$(build-bounded) = yes] (install-lib): Likewise.
38557         [$(build-bounded) = yes] (generated): Likewise.
38558         [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
38559         Remove rule.
38560         * intl/Makefile [$(build-bounded) = yes]
38561         ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
38562         * math/Makefile [$(build-bounded) = yes]
38563         ($(tests:%=$(objpfx)%-bp): Likewise.
38564         * misc/Makefile [$(build-bounded) = yes]
38565         ($(objpfx)tst-tsearch-bp): Likewise.
38566         * nptl/Makeconfig (bounded-thread-library): Remove variable.
38567         * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
38568         Remove dependency.
38569         * string/Makefile (o-objects.ob): Remove variable.
38570         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
38571         (CFLAGS-.ob): Remove variable.
38572         [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
38573         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
38574         both definitions of variable.
38575         * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
38576         (ASFLAGS-.ob): Remove variable.
38578 2013-02-14  Joseph Myers  <joseph@codesourcery.com>
38580         [BZ #13550]
38581         * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
38582         Remove __BOUNDED_POINTERS__ from condition.
38583         * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
38584         * string/bits/string2.h [!__NO_STRING_INLINES &&
38585         !__BOUNDED_POINTERS__]: Likewise.
38586         * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
38587         Likewise.
38588         * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
38589         Remove conditional code.
38590         * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
38591         __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
38592         !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
38593         condition.
38595         [BZ #13550]
38596         * csu/libc-start.c: Do not include <bp-sym.h>.
38597         [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
38598         * elf/dl-open.c: Do not include <bp-sym.h>.
38599         (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
38600         * math/fegetenv.c: Do not include <bp-sym.h>.
38601         (fegetenv): Do not use BP_SYM in versioned symbols.
38602         * nptl/sysdeps/pthread/bits/libc-lockP.h
38603         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
38604         <bp-sym.h>.
38605         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
38606         (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
38607         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
38608         (__pthread_mutex_destroy): Likewise.
38609         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
38610         (__pthread_mutex_lock): Likewise.
38611         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
38612         (__pthread_mutex_trylock): Likewise.
38613         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
38614         (__pthread_mutex_unlock): Likewise.
38615         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
38616         (__pthread_mutexattr_init): Likewise.
38617         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
38618         (__pthread_mutexattr_destroy): Likewise.
38619         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
38620         (__pthread_mutexattr_settype): Likewise.
38621         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
38622         (__pthread_rwlock_init): Likewise.
38623         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
38624         (__pthread_rwlock_destroy): Likewise.
38625         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
38626         (__pthread_rwlock_rdlock): Likewise.
38627         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
38628         (__pthread_rwlock_tryrdlock): Likewise.
38629         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
38630         (__pthread_rwlock_wrlock): Likewise.
38631         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
38632         (__pthread_rwlock_trywrlock): Likewise.
38633         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
38634         (__pthread_rwlock_unlock): Likewise.
38635         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
38636         (__pthread_key_create): Likewise.
38637         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
38638         (__pthread_setspecific): Likewise.
38639         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
38640         (__pthread_getspecific): Likewise.
38641         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
38642         Likewise.
38643         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
38644         (_pthread_cleanup_push_defer): Likewise.
38645         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
38646         (_pthread_cleanup_pop_restore): Likewise.
38647         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
38648         (pthread_setcancelstate): Likewise.
38649         * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
38650         <bp-sym.h>.
38651         [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
38652         (memchr): Do not use BP_SYM in weak_alias.
38653         * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
38654         (fegetenv): Do not use BP_SYM in versioned symbols.
38655         * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
38656         (fesetenv): Do not use BP_SYM in versioned symbols.
38657         * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
38658         (feupdateenv): Do not use BP_SYM in versioned symbols.
38659         * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
38660         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
38661         * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
38662         (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
38663         (open64): Do not use BP_SYM in weak_alias.
38664         * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
38665         (fegetenv): Do not use BP_SYM in versioned symbols.
38666         * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
38667         (fesetenv): Do not use BP_SYM in versioned symbols.
38668         * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
38669         (feupdateenv): Do not use BP_SYM in versioned symbols.
38670         * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
38671         (fegetexceptflag): Do not use BP_SYM in versioned symbols.
38672         * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
38673         (feraiseexcept): Do not use BP_SYM in versioned symbols.
38674         * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
38675         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
38676         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
38677         <bp-sym.h>.
38678         (__libc_start_main): Do not use BP_SYM.
38680 2013-02-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
38682         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
38683         redundant return line.
38684         (norm): Likewise.
38685         (denorm): Likewise.
38686         (dbl_mp): Likewise.
38687         (sub_magnitudes): Likewise.
38688         (__add): Likewise.
38689         (__sub): Likewise.
38690         (__mul): Likewise.
38691         (__inv): Likewise.
38692         (__dvd): Likewise.
38693         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
38694         (norm): Likewise.
38695         (denorm): Likewise.
38696         (dbl_mp): Likewise.
38697         (sub_magnitudes): Likewise.
38698         (__add): Likewise.
38699         (__sub): Likewise.
38700         (__mul): Likewise.
38701         (__inv): Likewise.
38702         (__dvd): Likewise.
38704         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
38705         instead of __mul.
38706         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
38707         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
38708         (cc32): Likewise.
38710         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
38711         * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
38712         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
38713         of __mul for squares.
38714         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
38715         function
38716         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
38717         Likewise.
38718         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
38719         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
38721 2013-02-13  Joseph Myers  <joseph@codesourcery.com>
38723         [BZ #13550]
38724         * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
38725         code.
38726         * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
38727         prototype or function definition.  Rename ubp_* variables and
38728         parameters.  Remove argv definitions conditional on
38729         [__BOUNDED_POINTERS__].
38730         * debug/backtrace.c (__backtrace): Do not use __unbounded.
38731         * elf/dl-runtime.c (_dl_fixup): Likewise.
38732         * include/set-hooks.h (RUN_HOOK): Likewise.
38733         * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
38734         definition.
38735         * string/strcpy.c (strcpy): Do not use __unbounded.
38736         * sysdeps/generic/frame.h (struct layout): Likewise.
38737         * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
38738         * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
38739         * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
38740         * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
38741         * sysdeps/sparc/backtrace.c (struct layout): Likewise.
38742         (__backtrace): Likewise.
38743         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
38744         use __ptrvalue.
38745         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
38746         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
38747         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
38748         Likewise.
38749         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
38750         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
38751         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
38752         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
38753         * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
38754         Do not use __unbounded.
38755         * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
38756         Rename __unboundedrlimits parameter to rlimits in prototype.
38757         * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
38758         Do not use __unbounded.
38759         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
38760         not use __ptrvalue.
38761         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
38762         * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
38763         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
38764         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
38765         __ptrvalue or __unbounded.
38766         (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
38767         * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
38768         use __unbounded.
38769         (__new_msgctl): Do not use __ptrvalue.
38770         * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
38771         __unbounded.
38772         (__libc_msgrcv): Do not use __ptrvalue.
38773         * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
38774         startup_info): Do not use __unbounded.
38775         (__libc_start_main): Likewise.  Rename ubp_* variables and
38776         parameters.  Remove argv definitions conditional on
38777         [__BOUNDED_POINTERS__].
38778         * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
38779         __ptrvalue.
38780         * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
38781         use __unbounded.
38782         * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
38783         or __ptrvalue.
38784         * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
38785         use __unbounded.
38786         (__new_shmctl): Do not use __ptrvalue.
38787         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
38788         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
38789         Likewise.
38790         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
38791         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
38792         (__libc_sigaction): Likewise.
38793         * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
38794         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
38795         Likewise.
38796         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
38798 2013-02-13   Ondřej Bílka  <neleai@seznam.cz>
38800         * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
38802         * string/mempcpy.c: Implement by calling memcpy.
38804 2013-02-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
38806         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
38808         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
38809         evaluation.
38811         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
38812         values in the mantissa.
38814         * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
38815         minimize writes to Z.
38816         (sub_magnitudes): Simplify code a bit.
38818 2013-02-12  Roland McGrath  <roland@hack.frob.com>
38820         * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
38821         from the message.  The linker prefixes all warnings with that already.
38823 2013-02-12  Andreas Schwab  <schwab@suse.de>
38825         [BZ #15078]
38826         * posix/regexec.c (extend_buffers): Add parameter min_len.
38827         (check_matching): Pass minimum needed length.
38828         (clean_state_log_if_needed): Likewise.
38829         (get_subexp): Likewise.
38830         * posix/Makefile (tests): Add bug-regex34.
38831         (bug-regex34-ENV): Define.
38832         * posix/bug-regex34.c: New file.
38834         [BZ #11561]
38835         * posix/regcomp.c (parse_bracket_exp): When looking up collating
38836         elements compare against the byte sequence of it, not its name.
38837         * posix/Makefile (tests): Add bug-regex35.
38838         (bug-regex35-ENV): Define.
38839         * posix/bug-regex35.c: New file.
38841 2013-02-11  Tom de Vries  <tom@codesourcery.com>
38843         * string/str-two-way.h:  Fix typo RESULT_TYPE -> RETURN_TYPE in
38844         comment.
38845         Add RET0_IF_0 and CHECK_EOL to macro list in comment.
38846         (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
38847         (CHECK_EOL): Add undef.
38849 2013-02-11   Ondřej Bílka  <neleai@seznam.cz>
38851         * bits/stdlib-bsearch.h: New file.
38852         * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
38853         * stdlib/stdlib.h: Likewise.
38855 2013-02-11  Roland McGrath  <roland@hack.frob.com>
38857         * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
38858         * manual/errno.texi (Error Messages): Fix typo in error_print_progname
38859         declaration.
38860         * manual/search.texi (Array Search Function): Add missing const in
38861         lfind prototype.
38862         * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
38863         declaration to use rlim_t.
38864         (Basic Scheduling Functions): Remove erroneous const from
38865         sched_getparam prototype.  Remove erroneous * from
38866         sched_get_priority_max and sched_get_priority_min prototypes.
38867         (Resource Usage): Fix summary @comment on vtimes to refer to
38868         sys/vtimes.h rather than vtimes.h.
38869         Add missing *s in vtimes prototype.
38870         (Limits on Resources): Fix ulimit prototype to return long int.
38871         * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
38872         prototypes to use long int rather than double.
38873         (BSD Random): Fix initstate and setstate to use char *, not void *.
38874         * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
38875         prototype to make second argument 'struct aiocb64 *const[]'.
38876         Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
38877         (Status of AIO Operations): Remove erroneous const in aio_return and
38878         aio_return64 prototypes.
38879         (Synchronizing I/O): Fix sync prototype to return void.
38880         * manual/startup.texi (Suboptions): Remove an erroneous const in
38881         getsubopt prototype.
38882         * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
38883         * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
38884         use size_t rather than int.
38885         (Scanning All Users): Likewise for getpwent_r.
38886         (Setting Groups): Add missing const to setgroups prototype.
38887         * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
38888         * manual/socket.texi (Host Names): Fix gethostbyaddr and
38889         gethostbyaddr_r prototypes to use socklen_t rather than size_t and
38890         'const void *' rather than 'const char *'.
38891         (Host Address Functions): Likewise for inet_ntop.
38892         (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
38893         (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
38894         ssize_t for return value.
38895         (Sending Data): Likewise for send, sendto, sendmsg.
38896         (Socket Option Functions): Add a missing const in setsockopt prototype.
38897         * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
38898         use wchar_t for the argument.
38899         (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
38900         * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
38901         take no arguments.
38902         (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
38903         double/float/long double for second argument.
38904         Fix return types of significand, significandf, significandl.
38905         * manual/filesys.texi (Setting Permissions): Use mode_t for second
38906         argument in fchmod prototype.
38907         (File Owner): Use uid_t and gid_t in fchown prototype.
38908         (File Times): Add const to utimes, futimes, and lutimes prototypes.
38909         (Making Special Files): Use mode_t and dev_t in mknod prototype.
38910         (Scanning Directory Content): Fix scandir and scandir64 prototypes to
38911         use 'const struct dirent **' as argument types to CMP function pointer
38912         argument.
38913         (Symbolic Links): Fix readlink prototype with ssize_t as return value.
38914         (File Times): Fix summary magic @comment for struct utimbuf and utime
38915         to refer to utime.h, not time.h.
38916         * manual/string.texi (Argz Functions): Add missing const in
38917         argz_extract and argz_next prototypes.
38918         (Finding Tokens in a String): Likewise for basename.
38919         (String/Array Comparison): Fix typo in wcscasecmp prototype.
38920         (Copying and Concatenation): Fix typo in wmemmove prototype.
38921         * manual/signal.texi (Using Pause): Use (void) in pause prototype.
38922         (Signal Stack): Remove erroneous const in sigstack prototype.
38923         * manual/time.texi (Setting an Alarm): Add missing const in setitimer
38924         prototype.
38925         (Simple Calendar Time): Likewise for stime.
38926         * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
38927         prototype.
38928         * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
38929         say sys/sysctl.h instead.
38930         * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
38931         and vsyslog prototypes.
38933 2013-02-11  Tom de Vries  <tom@codesourcery.com>
38935         * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
38936         Remove.
38938 2013-02-11  Roland McGrath  <roland@hack.frob.com>
38940         * misc/sys/mman.h: Fix typo in mremap comment.
38942 2013-02-08  Roland McGrath  <roland@hack.frob.com>
38944         * manual/examples/mkfsock.c (make_named_socket): Don't add one for
38945         the '\0' terminator.
38947 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
38949         [BZ #13550]
38950         * debug/segfault.c: Don't include <bp-checks.h>.
38951         * sysdeps/generic/bp-checks.h: Remove file.
38952         * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
38953         (__GETDENTS): Don't use CHECK_N.
38954         * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
38955         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
38956         (__getgroups): Don't use CHECK_N.
38957         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
38958         (setgroups): Don't use CHECK_N.
38959         * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
38960         * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
38961         (__libc_msgrcv): Don't use CHECK_N.
38962         * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
38963         (__libc_msgsnd): Don't use CHECK_N.
38964         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
38965         <bp-checks.h>.
38966         (__libc_pread): Don't use CHECK_N.
38967         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
38968         include <bp-checks.h>.
38969         (__libc_pread64): Don't use CHECK_N.
38970         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
38971         include <bp-checks.h>.
38972         (__libc_pwrite): Don't use CHECK_N.
38973         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
38974         include <bp-checks.h>.
38975         (__libc_pwrite64): Don't use CHECK_N.
38976         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
38977         <bp-checks.h>.
38978         (__libc_pread): Don't use CHECK_N.
38979         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
38980         include <bp-checks.h>.
38981         (__libc_pread64): Don't use CHECK_N.
38982         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
38983         include <bp-checks.h>.
38984         (__libc_pwrite): Don't use CHECK_N.
38985         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
38986         include <bp-checks.h>.
38987         (__libc_pwrite64): Don't use CHECK_N.
38988         * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
38989         (do_pread): Don't use CHECK_N.
38990         * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
38991         (do_pread64): Don't use CHECK_N.
38992         * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
38993         (do_pwrite): Don't use CHECK_N.
38994         * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
38995         (do_pwrite64): Don't use CHECK_N.
38996         * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
38997         (__libc_readv): Don't use CHECK_N.
38998         * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
38999         (semop): Don't use CHECK_N.
39000         * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
39001         <bp-checks.h>.
39002         (semtimedop): Don't use CHECK_N.
39003         * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
39004         (__libc_pread): Don't use CHECK_N.
39005         * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
39006         <bp-checks.h>.
39007         (__libc_pread64): Don't use CHECK_N.
39008         * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
39009         <bp-checks.h>.
39010         (__libc_pwrite): Don't use CHECK_N.
39011         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
39012         <bp-checks.h>.
39013         (__libc_pwrite64): Don't use CHECK_N.
39014         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
39015         <bp-checks.h>.
39016         (__libc_msgrcv): Don't use CHECK_N.
39017         * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
39018         (__sysctl): Don't use CHECK_N.  Remove GKM FIXME comment.
39019         * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
39020         (__libc_writev): Don't use CHECK_N.
39022 2013-02-08  Roland McGrath  <roland@hack.frob.com>
39024         * string/strcpy.c: Removed unused variable.
39026         * Makeconfig (+sysdep-includes): Define with := rather than =.
39027         Use an existing include/ subdir of each sysdeps dir before it.
39029 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
39031         * nscd/connection.c (register_traced_file): Comment function.
39032         [HAVE_INOTIFY] (union __inev): Define.
39033         [HAVE_INOTIFY] (inotify_check_files): New function.
39034         [HAVE_INOTIFY] (clear_db_cache): Likewise.
39035         [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
39036         clear_db_cache.
39037         [HAVE_INOTIFY] (main_loop_epoll): Likewise.
39039 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
39041         * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
39042         loaded if not already and that a failure is permanent.
39044 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
39046         [BZ #15006]
39047         * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
39048         * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
39050 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
39052         [BZ #13550]
39053         * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
39054         (CHECK_1_NULL_OK): Likewise.
39055         * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
39056         (__fxstat): Do not use CHECK_1.
39057         * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
39058         <bp-checks.h>.
39059         (___fxstat64): Do not use CHECK_1.
39060         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
39061         <bp-checks.h>.
39062         (__fxstatat): Do not use CHECK_1.
39063         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
39064         <bp-checks.h>.
39065         (__fxstatat64): Do not use CHECK_1.
39066         * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
39067         <bp-checks.h>.
39068         (__fxstat): Do not use CHECK_1.
39069         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
39070         <bp-checks.h>.
39071         (__fxstatat): Do not use CHECK_1.
39072         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
39073         <bp-checks.h>.
39074         (__getresgid): Do not use CHECK_1.
39075         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
39076         <bp-checks.h>.
39077         (__getresuid): Do not use CHECK_1.
39078         * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
39079         <bp-checks.h>.
39080         (__lxstat): Do not use CHECK_1.
39081         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
39082         <bp-checks.h>.
39083         (__old_msgctl): Do not use CHECK_1.
39084         (__new_msgctl): Likewise.
39085         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
39086         <bp-checks.h>.
39087         (__new_setrlimit): Do not use CHECK_1.
39088         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
39089         <bp-checks.h>.
39090         (__old_shmctl): Do not use CHECK_1.
39091         (__new_shmctl): Likewise.
39092         * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
39093         <bp-checks.h>.
39094         (__xstat): Do not use CHECK_1.
39095         * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
39096         (__lxstat): Do not use CHECK_1.
39097         * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
39098         <bp-checks.h>.
39099         (___lxstat64): Do not use CHECK_1.
39100         * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
39101         (__old_msgctl): Do not use CHECK_1.
39102         (__new_msgctl): Likewise.
39103         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
39104         <bp-checks.h>.
39105         (__gettimeofday): Do not use CHECK_1.
39106         * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
39107         (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
39108         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
39109         <bp-checks.h>.
39110         (__gettimeofday): Do not use CHECK_1.
39111         * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
39112         (__old_shmctl): Do not use CHECK_1_NULL_OK.
39113         (__new_shmctl): Do not use CHECK_1.
39114         * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
39115         <bp-checks.h>.
39116         (do_sigtimedwait): Do not use CHECK_1.
39117         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
39118         <bp-checks.h>.
39119         (do_sigwaitinfo): Do not use CHECK_1.
39120         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
39121         <bp-checks.h>.
39122         (msgctl): Do not use CHECK_1.
39123         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
39124         <bp-checks.h>.
39125         (shmctl): Do not use CHECK_1.
39126         * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
39127         (ustat): Do not use CHECK_1.
39128         * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
39129         <bp-checks.h>.
39130         (__fxstat): Do not use CHECK_1.
39131         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
39132         <bp-checks.h>.
39133         (__fxstatat): Do not use CHECK_1.
39134         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
39135         <bp-checks.h>.
39136         (__lxstat): Do not use CHECK_1.
39137         * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
39138         <bp-checks.h>.
39139         (__xstat): Do not use CHECK_1.
39140         * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
39141         (__xstat): Do not use CHECK_1.
39142         * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
39143         (___xstat64): Do not use CHECK_1.
39145         [BZ #13550]
39146         * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
39147         definitions.
39148         (CHECK_BOUNDS_HIGH): Likewise.
39149         * string/strcpy.c: Do not include <bp-checks.h>.
39150         (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
39152 2013-02-07  Roland McGrath  <roland@hack.frob.com>
39154         * nscd/nscd-client.h (__nscd_drop_map_ref):
39155         Add __attribute__ ((unused)).
39156         * nis/nss-nisplus.h (niserr2nss): Likewise.
39158         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
39159         under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
39161         * csu/libc-tls.c (init_static_tls, init_slotinfo):
39162         Remove inline keyword.
39163         * include/rounding-mode.h (round_away): Likewise.
39164         * libio/wfileops.c (adjust_wide_data): Likewise.
39165         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
39166         (__m128i_strloadu_tolower): Likewise.
39167         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
39168         (__m128i_strloadu_tolower): Likewise.
39169         * time/mktime.c (ydhms_diff): Likewise.
39170         * locale/elem-hash.h (elem_hash): Likewise.
39171         * locale/setlocale.c (setdata): Likewise.
39172         * posix/regex_internal.h (re_string_char_size_at): Likewise.
39173         (re_string_wchar_at): Likewise.
39174         (bitset_not, bitset_merge, bitset_mask): Likewise.
39175         [!(__GNUC__ > 3)] (inline): Remove macro.
39176         * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
39177         * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
39178         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
39179         (_dl_tlsdesc_wake_up_held_fixups): Likewise.
39180         * string/memcmp.c (memcmp_bytes): Likewise.
39181         * locale/programs/locarchive.c (compute_hashval): Likewise.
39182         * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
39183         * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
39184         * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
39185         * nss/getent.c (print_rpc, print_protocols): Likewise.
39186         (print_passwd, print_group, print_aliases): Likewise.
39187         * nis/nss-nisplus.h (niserr2nss): Likewise.
39188         * nscd/connections.c (restart_p): Likewise.
39189         Change return type to bool.
39191 2013-02-05  Roland McGrath  <roland@hack.frob.com>
39193         * Makeconfig (all-Depend-files): Add existing
39194         $(sorted-subdirs:=/Depend) files.
39195         (all-subdirs): Remove nss.
39196         * sysdeps/unix/inet/Subdirs: Add it here instead.
39197         * hesiod/Depend: New file.
39199         * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
39200         instead of calling alloca.
39202         * io/lseek.c (__lseek): Rename to __libc_lseek.
39203         Define __lseek as an alias.
39205         * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
39207 2013-02-04  Carlos O'Donell  <carlos@redhat.com>
39209         * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
39210         else clause and remove check for non-standard endianness.
39212 2013-02-04  David S. Miller  <davem@davemloft.net>
39214         * sysdeps/sparc/fpu/libm-test-ulps: Update.
39216 2013-02-04  Joseph Myers  <joseph@codesourcery.com>
39218         [BZ #13550]
39219         * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
39220         (__ubp_memchr): Remove prototype.
39221         [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
39222         [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
39223         [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
39224         [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
39225         * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
39226         Remove alias.
39227         * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
39228         (__ubp_memchr): Likewise.
39229         * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
39230         (__ubp_memchr): Likewise.
39231         * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
39232         (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
39233         (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
39234         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
39235         CHECK_STRING.
39236         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
39237         * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
39238         (__getcwd): Do not use CHECK_STRING.
39239         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
39240         <bp-checks.h>.
39241         (__real_chown): Do not use CHECK_STRING.
39242         * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
39243         <bp-checks.h>.
39244         (fchownat): Do not use CHECK_STRING.
39245         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
39246         CHECK_STRING.
39247         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
39248         <bp-checks.h>.
39249         (__lchown): Do not use CHECK_STRING.
39250         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
39251         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
39252         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
39253         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
39254         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
39255         include <bp-checks.h>.
39256         (truncate64): Do not use CHECK_STRING.
39257         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
39258         <bp-checks.h>.
39259         (__real_chown): Do not use CHECK_STRING.
39260         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
39261         <bp-checks.h>.
39262         (__lchown): Do not use CHECK_STRING.
39263         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
39264         <bp-checks.h>.
39265         (__chown): Do not use CHECK_STRING.
39266         * sysdeps/unix/sysv/linux/truncate64.c: Do not include
39267         <bp-checks.h>.
39268         (truncate64): Do not use CHECK_STRING.
39269         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
39270         Likewise.
39271         * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
39272         (__xmknod): Do not use CHECK_STRING.
39273         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
39274         <bp-checks.h>.
39275         (__xmknodat): Do not use CHECK_STRING.
39276         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
39277         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
39279 2013-02-04  Andreas Schwab  <schwab@suse.de>
39281         [BZ #14142]
39282         * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
39283         * include/netdb.h: Likewise for h_errno.
39284         * elf/tst-stackguard1.c: Include <tls.h>.
39286 2013-02-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
39288         * elf/link.h (struct link_map): Extend the l_addr comment.
39289         * include/link.h (struct link_map): Likewise.
39291 2013-02-01  Joseph Myers  <joseph@codesourcery.com>
39293         [BZ #13550]
39294         * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
39295         (BOUNDED_1): Remove macro.
39296         * debug/backtrace.c: Don't include <bp-checks.h>.
39297         (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
39298         (__backtrace): Likewise.
39299         * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
39300         <bp-checks.h>.
39301         (__backtrace): Don't use BOUNDED_1.
39302         * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
39303         <bp-checks.h>.
39304         (__backtrace): Don't use BOUNDED_1.
39305         * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
39306         (__backtrace): Don't use BOUNDED_1.
39307         * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
39308         (shmat): Don't use BOUNDED_N.
39310 2013-01-31  Joseph Myers  <joseph@codesourcery.com>
39312         [BZ #13550]
39313         * sysdeps/generic/bp-start.h: Remove file.
39314         * csu/libc-start.c: Don't include <bp-start.h>.
39315         (LIBC_START_MAIN): Set up __environ directly instead of using
39316         INIT_ARGV_and_ENVIRON.
39317         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
39318         <bp-start.h>.
39320         [BZ #13550]
39321         * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
39322         definitions.
39323         (CHECK_FCNTL): Likewise.
39324         (CHECK_N_PAGES): Likewise.
39326         [BZ #13550]
39327         * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
39328         definitions.
39329         (CHECK_SIGSET_NULL_OK): Likewise.
39330         * sysdeps/unix/sysv/linux/sigpending.c: Don't include
39331         <bp-checks.h>.
39332         (sigpending): Don't use CHECK_SIGSET.
39333         * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
39334         <bp-checks.h>.
39335         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
39336         * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
39337         <bp-checks.h>.
39338         (do_sigsuspend): Don't use CHECK_SIGSET.
39339         * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
39340         use CHECK_SIGSET.
39341         * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
39342         (do_sigwait): Don't use CHECK_SIGSET.
39343         * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
39344         use CHECK_SIGSET.
39345         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
39346         include <bp-checks.h>.
39347         (sigpending): Don't use CHECK_SIGSET.
39348         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
39349         include <bp-checks.h>.
39350         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
39351         * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
39352         <bp-checks.h>.
39353         (sigpending): Don't use CHECK_SIGSET.
39354         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
39355         <bp-checks.h>.
39356         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
39358         [BZ #13550]
39359         * sysdeps/generic/bp-semctl.h: Remove file.
39360         * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
39361         <bp-checks.h> and <bp-semctl.h>.
39362         (__old_semctl): Don't use CHECK_SEMCTL.
39363         (__new_semctl): Likewise.
39364         * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
39365         and <bp-semctl.h>.
39366         (__old_semctl): Don't use CHECK_SEMCTL.
39367         (__new_semctl): Likewise.
39368         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
39369         <bp-checks.h> and <bp-semctl.h>.
39370         (__old_semctl): Don't use CHECK_SEMCTL.
39371         (__new_semctl): Likewise.
39372         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
39373         <bp-checks.h> and <bp-semctl.h>.
39374         (semctl): Don't use CHECK_SEMCTL.
39376         [BZ #13550]
39377         * Makerules (elide-bp-thunks): Remove variable.
39378         (elide-routines.oS): Don't use $(elide-bp-thunks).
39379         (elide-routines.os): Likewise.
39380         (elide-routines.o): Likewise.
39381         (elide-routines.op): Likewise.
39382         (elide-routines.og): Likewise.
39383         (objects): Don't use $(bp-thunks).
39384         * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
39385         include.
39386         (common-generated): Do not add s-proto-bp.d.
39387         * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
39388         (int): Likewise.
39389         (typ): Likewise.
39390         Do not generate makefile rules for bounded-pointer thunks.
39391         * sysdeps/generic/bp-thunks.h: Remove file.
39392         * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
39393         * sysdeps/unix/s-proto-bp.S: Likewise.
39395         [BZ #15062]
39396         * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
39397         parts of result separately when argument is not close to line from
39398         -i to i and one part of argument is small.
39399         * math/k_casinhf.c (__kernel_casinhf): Likewise.
39400         * math/k_casinhl.c (__kernel_casinhl): Likewise.
39401         * math/libm-test.inc (cacos_test): Add more tests.
39402         (casin_test): Likewise.
39403         (casinh_test): Likewise.
39404         * sysdeps/i386/fpu/libm-test-ulps: Update.
39405         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39407 2013-01-31  David S. Miller  <davem@davemloft.net>
39409         * po/de.po: Update from translation team.
39411 2013-01-25  Maxim Kuvyrkov  <maxim.kuvyrkov@gmail.com>
39413         * time/tzfile.c: Include stdint.h for SIZE_MAX.
39415 2013-01-25  Thomas Schwinge  <thomas@codesourcery.com>
39417         * configure.in (_AC_PROG_CC_C89): New definition.
39418         * configure: Regenerate.
39420         * configure.in (AC_PROG_CPP): New definition.
39421         * configure: Regenerate.
39423 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
39425         * debug/tst-backtrace.h: New file.
39426         * debug/tst-backtrace2.c: Include tst-backtrace.h.
39427         (ret): Remove variable.
39428         (x): Likewise.
39429         (FAIL): Remove macro.
39430         (NO_INLINE): Likewise.
39431         (fn1): Use match function instead of strstr.
39432         * debug/tst-backtrace3.c: Include tst-backtrace.h.
39433         (ret): Remove variable.
39434         (x): Likewise.
39435         (FAIL): Remove macro.
39436         (NO_INLINE): Likewise.
39437         (fn): Use match function instead of strstr.
39438         * debug/tst-backtrace4.c: Include tst-backtrace.h.
39439         (ret): Remove variable.
39440         (x): Likewise.
39441         (FAIL): Remove macro.
39442         (NO_INLINE): Likewise.
39443         (handle_signal): Use match function instead of strstr.
39444         * debug/tst-backtrace5.c: Include tst-backtrace.h.
39445         (ret): Remove variable.
39446         (x): Likewise.
39447         (FAIL): Remove macro.
39448         (NO_INLINE): Likewise.
39449         (handle_signal): Use match function instead of strstr.
39451 2013-01-23  Roland McGrath  <roland@hack.frob.com>
39453         * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
39455 2013-01-23  David S. Miller  <davem@davemloft.net>
39457         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
39458         (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
39459         argument of CAS if possible.
39460         * sysdeps/sparc/sparc64/bits/atomic.h
39461         (__arch_compare_and_exchange_val_32_acq): Likewise.
39462         (__arch_compare_and_exchange_val_64_acq): Likewise.
39464 2013-01-23  Pino Toscano  <toscano.pino@tiscali.it>
39466         * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
39467         * sysdeps/posix/ulimit.c: ... this.
39468         Include <limits.h>.
39469         * sysdeps/unix/bsd/ulimit.c: Remove file.
39471 2013-01-23  Adam Conrad  <adconrad@0c3.net>
39473         * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
39474         (LDFLAGS-tst-array5): Likewise.
39476 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
39478         [BZ #15036]
39479         * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
39480         based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
39481         (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
39482         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
39484 2013-01-21  David S. Miller  <davem@davemloft.net>
39486         * sysdeps/sparc/backtrace.c: New file.
39487         * sysdeps/sparc/sparc32/backtrace.h: New file.
39488         * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
39489         * sysdeps/sparc/sparc64/backtrace.h: New file.
39490         * sysdeps/sparc/sparc64/backtrace.c: Delete.
39491         * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
39492         -funwind-tables.
39494 2013-01-21  Andreas Schwab  <schwab@suse.de>
39496         [BZ #15020]
39497         * posix/wordexp.c (exec_comm): Avoid busy loop when command has
39498         closed its stdout.
39500 2013-01-20  Andreas Schwab  <schwab@linux-m68k.org>
39502         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
39503         "mpa2.h".
39504         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
39506 2013-01-18  Joseph Myers  <joseph@codesourcery.com>
39507             Mark Mitchell  <mark@codesourcery.com>
39508             Tom de Vries  <tom@codesourcery.com>
39509             Paul Pluzhnikov  <ppluzhnikov@google.com>
39511         * debug/tst-backtrace2.c: New file.
39512         * debug/tst-backtrace3.c: Likewise.
39513         * debug/tst-backtrace4.c: Likewise.
39514         * debug/tst-backtrace5.c: Likewise.
39515         * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
39516         (CFLAGS-tst-backtrace3.c): Likewise.
39517         (CFLAGS-tst-backtrace4.c): Likewise.
39518         (CFLAGS-tst-backtrace5.c): Likewise.
39519         (LDFLAGS-tst-backtrace2): Likewise.
39520         (LDFLAGS-tst-backtrace3): Likewise.
39521         (LDFLAGS-tst-backtrace4): Likewise.
39522         (LDFLAGS-tst-backtrace5): Likewise.
39523         (tests): Add new tests tst-backtrace2, tst-backtrace3,
39524         tst-backtrace4 and tst-backtrace5.
39526 2013-01-18  Anton Blanchard  <anton@samba.org>
39527             Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
39529         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
39530         __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
39531         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
39532         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
39533         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
39534         (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
39535         "+r" and remove output regs list as redundant.  Add explicit inline
39536         asm to specify register of return val to work around compiler codegen
39537         bug.  Remove (int) cast on return value.  Add return type parameter to
39538         use in macro so that this macro does not truncate return value for
39539         64-bit values.
39540         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
39541         pass to INTERNAL_VSYSCALL_NCS.
39542         (INLINE_VSYSCALL): Add 'long int' as return type to
39543         INTERNAL_VSYSCALL_NCS macro invocation.
39544         (INTERNAL_VSYSCALL): Add 'long int' as return type to
39545         INTERNAL_VSYSCALL_NCS macro invocation.
39546         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
39548 2013-01-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
39550         [BZ #14496]
39551         * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
39552         Fix application of SIMD FP exception mask.
39554         * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
39555         mp_no from a power of two.
39556         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
39557         __mpexp_twomm1.  Use __pow_mp.
39559         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
39560         multiplication.
39562 2013-01-17  David S. Miller  <davem@davemloft.net>
39564         * sysdeps/sparc/fpu/libm-test-ulps: Update.
39566 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
39568         [BZ #15023]
39569         * include/complex.h: Condition contents on [!_COMPLEX_H].
39570         (__kernel_casinhf): New prototype.
39571         (__kernel_casinh): Likewise.
39572         (__kernel_casinhl): Likewise.
39573         * math/Makefile (libm_calls): Add k_casinh.
39574         * math/k_casinh.c: New file.
39575         * math/k_casinhf.c: Likewise.
39576         * math/k_casinhl.c: Likewise.
39577         * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
39578         finite nonzero arguments.
39579         * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
39580         finite nonzero arguments.
39581         * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
39582         finite nonzero arguments.
39583         * math/s_casinh.c: Do not include <float.h>.
39584         (__casinh): Move code for finite nonzero arguments to k_casinh.c.
39585         * math/s_casinhf.c: Do not include <float.h>.
39586         (__casinhf): Move code for finite nonzero arguments to
39587         k_casinhf.c.
39588         * math/s_casinhl.c: Do not include <float.h>.
39589         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
39590         redefine.
39591         (__casinhl): Move code for finite nonzero arguments to
39592         k_casinhl.c.
39593         * math/libm-test.inc (cacos_test): Add more tests.
39594         * sysdeps/i386/fpu/libm-test-ulps: Update.
39595         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39597 2013-01-17  Pino Toscano  <toscano.pino@tiscali.it>
39599         * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
39600         * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
39601         [!HAVE_MREMAP]: Remove [defined linux] case.
39602         * malloc/arena.c: Do not include <malloc-sysdep.h>.
39604 2013-01-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
39606         * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
39608 2013-01-17  H.J. Lu  <hongjiu.lu@intel.com>
39610         * elf/elf.h (R_386_SIZE32): New relocation.
39611         * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
39612         R_386_SIZE32.
39613         (elf_machine_rela): Likewise.
39614         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
39615         R_X86_64_SIZE64 and R_X86_64_SIZE32.
39617 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
39619         * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
39620         (FP_FAST_FMA): Do not define.
39621         [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
39622         * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
39623         && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
39624         * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
39625         !_SOFT_FLOAT]: Likewise.
39626         * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
39627         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
39628         value.
39629         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
39630         [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
39631         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
39632         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
39633         [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
39634         [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
39635         file.
39637 2013-01-16  Andreas Schwab  <schwab@suse.de>
39639         [BZ #14327]
39640         * include/stdlib.h (__mktemp): Add declaration.
39641         * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
39642         * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
39644 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
39646         * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
39647         definitions.
39648         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
39649         * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
39650         * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
39651         definitions here.
39652         * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
39653         * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
39654         definitions.
39655         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
39656         and ONE.
39657         * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
39658         * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
39659         * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
39660         definitions.
39661         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
39662         * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
39663         definitions.
39664         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
39666         * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
39668 2013-01-15  David S. Miller  <davem@davemloft.net>
39670         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
39671         trunc{,f} to libm-sysdep_routes.
39672         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
39673         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
39674         file.
39675         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
39676         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
39677         file.
39678         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
39679         file.
39680         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
39681         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
39682         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
39683         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
39684         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
39685         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
39686         * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
39687         * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
39689         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
39690         nearbyint{,f} to libm-sysdep_routes.
39691         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
39692         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
39693         New file.
39694         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
39695         file.
39696         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
39697         New file.
39698         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
39699         file.
39700         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
39701         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
39702         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
39703         file.
39704         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
39705         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
39706         file.
39707         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
39708         * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
39709         * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
39711         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
39712         libc_feholdexcept and libc_fesetenv.
39714 2013-01-15  Mike Frysinger  <vapier@gentoo.org>
39716         * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
39718 2013-01-14  David S. Miller  <davem@davemloft.net>
39720         * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
39721         (SPARC_ASM_VIS2_IFUNC): Likewise.
39722         (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
39723         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
39724         use of 'siam' instruction.
39725         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
39726         Likewise.
39727         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
39728         Likewise.
39729         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
39730         Likewise.
39731         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
39732         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
39733         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
39734         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
39735         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
39736         file.
39737         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
39738         file.
39739         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
39740         file.
39741         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
39742         file.
39743         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
39744         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
39745         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
39746         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
39747         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
39748         new VIS2 routines.
39749         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
39750         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
39751         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
39752         Likewise.
39753         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
39754         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
39755         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
39756         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
39757         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
39758         routines to libm-sysdep_routines.
39759         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
39761         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
39762         fdim/fdimf to libm-sysdep_routines.
39763         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
39764         file.
39765         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
39766         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
39767         file.
39768         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
39769         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
39770         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
39771         * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
39772         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
39773         * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
39774         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
39776 2013-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
39778         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
39779         to optimize copies.
39781         * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
39782         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
39783         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
39785         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
39786         local variable MPTWO.
39787         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
39788         Likewise.
39790 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
39792         * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
39793         GLOB_NOESCAPE.
39795 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
39797         * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
39799 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
39801         * manual/pattern.texi (glob_t): Document gl_flags.
39802         (glob64_t): Likewise.
39804 2013-01-11  David S. Miller  <davem@davemloft.net>
39806         * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
39807         * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
39808         (gmp-sysdep_routines): New variable.  Add VIS3 optimized GMP routines.
39809         * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
39810         * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
39811         * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
39812         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
39813         * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
39814         * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
39815         * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
39816         * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
39817         * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
39818         * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
39820         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
39821         sparc V9 rather than using V8 code.
39822         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
39823         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
39825         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
39826         Move to...
39827         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
39828         Here.
39830 2013-01-11  Roland McGrath  <roland@hack.frob.com>
39832         * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
39833         not in the main loop.
39834         * configure: Regenerated.
39836 2013-01-11  Joseph Myers  <joseph@codesourcery.com>
39838         * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
39839         * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
39840         to just #else.
39841         * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise.  Remove
39842         [!__GLIBC_HAVE_LONG_LONG] case.
39843         * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
39844         condition to just #else.
39845         * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
39846         __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
39847         [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
39848         * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
39849         unconditional.
39850         * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
39851         * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
39852         #elif condition to just #else.
39853         * sysdeps/unix/sysv/linux/sys/sysmacros.h
39854         [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
39855         * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
39856         #elif condition to just #else.
39858 2013-01-11  Steve Ellcey  <sellcey@mips.com>
39860         * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
39861         (EF_MIPS_ARCH_64): Fix value.
39862         (EF_MIPS_ARCH_32R2): New.
39863         (EF_MIPS_ARCH_64R2): New.
39865 2013-01-11  H.J. Lu  <hongjiu.lu@intel.com>
39867         * Makeconfig (+link-pie-before-libc): New.
39868         (+link-pie-after-libc): Likewise.
39869         (+link-pie-tests): Likewise.
39870         (+link-pie): Rewritten.
39871         (link-before-libc): Remove $(config-LDFLAGS).
39872         (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
39873         (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
39874         (config-LDFLAGS): Renamed to ...
39875         (rtld-LDFLAGS): This.
39876         (rtld-tests-LDFLAGS): New macro.
39877         (link-libc-rpath-link): Likewise.
39878         (link-libc-tests-rpath-link): Likewise.
39879         (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
39880         (link-libc): Prepand $(link-libc-rpath-link).
39881         (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
39882         (test-program-prefix): New macro.
39883         (test-via-rtld-prefix): Likewise.
39884         (test-program-cmd): Likewise.
39885         (host-test-program-cmd): Likewise.
39886         * Makefile ($(common-objpfx)testrun.sh): Replace
39887         $(run-program-prefix) with $(test-program-prefix).
39888         * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
39889         $(rtld-LDFLAGS).
39890         ($(common-objpfx)shlib.lds): Likewise.
39891         (build-module-helper): Likewise.
39892         ($(common-objpfx)format.lds): Likewise.
39893         * Rules (binaries-pie-tests): New.
39894         (binaries-pie-notests): Likewise.
39895         (binaries-pie): Rewritten.
39896         ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
39897         ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
39898         ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
39899         (make-test-out): Replace $(host-built-program-cmd) with
39900         $(host-test-program-cmd).
39901         * config.make.in (build-hardcoded-path-in-tests): New variable.
39902         * configure.in (--enable-hardcoded-path-in-tests): New configure
39903         option.
39904         (hardcoded_path_in_tests): New AC_SUBST.
39905         * configure: Regenerated.
39906         * catgets/Makefile ($(objpfx)test-gencat.out): Replace
39907         $(built-program-cmd) with $(test-program-cmd).
39908         * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
39909         (test_program_cmd): This.
39910         * elf/Makefile ($(objpfx)order.out): Run test with
39911         $(test-program-prefix).
39912         ($(objpfx)order2.out): Likewise.
39913         ($(objpfx)tst-initorder.out): Likewise.
39914         ($(objpfx)tst-initorder2.out): Likewise.
39915         ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
39916         $(test-program-cmd).
39917         ($(objpfx)tst-array1-static.out): Likewise.
39918         ($(objpfx)tst-array2.out): Likewise.
39919         ($(objpfx)tst-array3.out): Likewise.
39920         ($(objpfx)tst-array4.out): Likewise.
39921         ($(objpfx)tst-array5.out): Likewise.
39922         ($(objpfx)tst-array5-static.out): Likewise.
39923         (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
39924         $(test-program-cmd).
39925         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
39926         $(run-program-prefix) with $(test-program-prefix).
39927         * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
39928         (test_program_prefix): This.
39929         * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
39930         $(run-program-prefix) with $(test-program-prefix).
39931         * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
39932         (test_program_prefix): This.
39933         * iconvdata/tst-tables.sh: Likewise.
39934         * intl/Makefile ($(objpfx)tst-gettext.out): Replace
39935         $(run-program-prefix) with $(test-program-prefix).
39936         ($(objpfx)tst-translit.out): Likewise.
39937         ($(objpfx)tst-gettext2.out): Likewise.
39938         ($(objpfx)tst-gettext4.out): Likewise.
39939         ($(objpfx)tst-gettext6.out): Likewise.
39940         * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
39941         (test_program_prefix): This.
39942         * intl/tst-gettext2.sh: Likewise.
39943         * intl/tst-gettext4.sh  Likewise.
39944         * intl/tst-gettext6.sh: Likewise.
39945         * intl/tst-translit.sh: Likewise.
39946         * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
39947         with $(test-program-cmd).
39948         * libio/Makefile ($(objpfx)test-freopen.out): Replace
39949         $(run-program-prefix) with $(test-program-prefix).
39950         * libio/test-freopen.sh (run_program_prefix): Renamed to ...
39951         (test_program_prefix): This.
39952         * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
39953         $(run-program-prefix) with $(test-program-prefix).
39954         * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
39955         (test_program_prefix): This.
39956         * manual/install.texi: Document --enable-hardcoded-path-in-tests.
39957         * posix/Makefile ($(objpfx)globtest.out): Replace
39958         $(run-via-rtld-prefix) and $(test-wrapper) with
39959         $(test-program-prefix) and $(test-via-rtld-prefix).
39960         ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
39961         $(test-program-prefix).
39962         (tst-exec-ARGS): Replace $(host-built-program-cmd) with
39963         $(host-test-program-cmd).
39964         (tst-spawn-ARGS): Likewise.
39965         ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
39966         $(test-program-prefix).
39967         * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
39968         (test_via_rtld_prefix): This.
39969         (test_wrapper): Renamed to ...
39970         (test_program_prefix): This.
39971         (run_program_prefix): Replaced by test_program_prefix.
39972         * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
39973         (test_program_prefix): This.
39974         * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
39975         with $(host-test-program-cmd).
39976         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
39977         $(run-program-prefix) with $(test-program-prefix).
39978         ($(objpfx)tst-printf.out): Likewise.
39979         ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
39980         $(test-program-cmd).
39981         * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
39982         (test_program_prefix): This.
39983         * stdio-common/tst-unbputc.sh: Likewise.
39984         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
39985         $(run-program-prefix) with $(test-program-prefix).
39986         * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
39987         (test_program_prefix): This.
39988         * string/Makefile ($(objpfx)tst-svc.out):  Replace
39989         $(built-program-cmd) with $(test-program-cmd).
39991 2013-01-11  Andreas Jaeger  <aj@suse.de>
39993         [BZ #15003]
39994         * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
39995         value. Sync with Linux 3.7.
39997 2013-01-10  David S. Miller  <davem@davemloft.net>
39999         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
40000         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
40001         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
40003 2013-01-10  Roland McGrath  <roland@hack.frob.com>
40005         * configure.in (sysnames): Drop use of $m0sub and $msub, which are
40006         never set.
40007         * configure: Regenerated.
40009 2013-01-10  David S. Miller  <davem@davemloft.net>
40011         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
40012         sparc V9 rather than using V8 code.
40013         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
40014         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
40016 2013-01-10  Roland McGrath  <roland@hack.frob.com>
40018         * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
40019         (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
40020         (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
40021         (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
40022         (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
40023         (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
40024         (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
40025         (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
40026         (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
40027         (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
40028         (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
40029         (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
40030         (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
40031         (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
40032         (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
40033         (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
40034         (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
40035         (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
40036         (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
40037         (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
40038         (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
40039         (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
40040         (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
40041         (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
40042         (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
40043         (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
40044         (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
40046 2013-01-10  David S. Miller  <davem@davemloft.net>
40048         * sysdeps/sparc/fpu/libm-test-ulps: Update.
40050 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
40052         * posix/Makefile (tests-static): New variable.
40053         (tests): Add $(tests-static).
40054         (tst-exec-static-ARGS): New variable.
40055         (tst-spawn-static-ARGS): Likewise.
40056         * posix/tst-exec-static.c: New file.
40057         * posix/tst-spawn-static.c: Likewise.
40058         * posix/tst-exec.c: Support run directly.
40059         * posix/tst-spawn.c: Likewise.
40061 2013-01-10  Joseph Myers  <joseph@codesourcery.com>
40063         * elf/link.h (struct dl_phdr_info): Use __extension__ with long
40064         long.
40065         * math/bits/mathcalls.h (llrint): Likewise.
40066         (llround): Likewise.
40067         * stdlib/stdlib.h (struct drand48_data): Likewise.
40068         * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
40069         * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
40070         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
40071         Likewise.
40072         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
40073         Likewise.
40074         * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
40075         (elf_greg_t): Likewise.
40076         * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
40077         (__jmp_buf): Likewise.
40078         * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
40079         definitions.
40080         (llrint): Likewise, for all definitions.
40081         (llrintl): Likewise.
40083         * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
40084         Remove [__GNUC__] condition.
40085         * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
40086         condition to just [__USE_ISOC99].
40087         [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
40089 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
40091         [BZ #14200]
40092         * sysdeps/unix/sysv/linux/x86/bits/environments.h
40093         (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
40094         defined.
40095         (_POSIX_V6_ILP32_OFF32): Likewise.
40096         (_XBS5_ILP32_OFF32): Likewise.
40097         (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
40098         (__ILP32_OFFBIG_LDFLAGS): Likewise.
40100 2013-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
40102         * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
40104         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
40105         doubles __mpexp_twomm1.  Adjust usage.
40106         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
40107         Remove.
40109 2013-01-10  Andreas Schwab  <schwab@suse.de>
40111         [BZ #14964]
40112         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
40113         (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
40115 2013-01-09  David S. Miller  <davem@davemloft.net>
40117         [BZ #15003]
40118         * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
40119         (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
40120         (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
40121         (TCP_FASTOPEN): Define.
40122         (tcp_repair_opt): New structure.
40123         (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
40124         enum values.
40125         (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
40126         (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
40127         (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
40128         (tcp_cookie_transactions): New structure.
40130 2013-01-09  Anton Blanchard  <anton@samba.org>
40132         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
40133         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
40134         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
40135         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
40137 2013-01-09  Joseph Myers  <joseph@codesourcery.com>
40139         * include/features.h (__USE_ANSI): Remove.
40141 2013-01-09  Roland McGrath  <roland@hack.frob.com>
40143         * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
40145         * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
40147 2013-01-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
40149         * sysdeps/s390/fpu/libm-test-ulps: Update.
40151         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40153         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
40154         (__acr): Likewise.
40155         (__cpy): Likewise.
40156         (norm): Likewise.
40157         (denorm): Likewise.
40158         (__mp_dbl): Likewise.
40159         (__dbl_mp): Likewise.
40160         (add_magnitudes): Likewise.
40161         (sub_magnitudes): Likewise.
40162         (__add): Likewise.
40163         (__sub): Likewise.
40164         (__mul): Likewise.
40165         (__inv): Likewise.
40166         (__dvd): Likewise.
40167         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
40168         (__acr): Likewise.
40169         (__cpy): Likewise.
40170         (norm): Likewise.
40171         (denorm): Likewise.
40172         (__mp_dbl): Likewise.
40173         (__dbl_mp): Likewise.
40174         (add_magnitudes): Likewise.
40175         (sub_magnitudes): Likewise.
40176         (__add): Likewise.
40177         (__sub): Likewise.
40178         (__mul): Likewise.
40179         (__inv): Likewise.
40180         (__dvd): Likewise.
40181         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
40182         (__acr): Likewise.
40183         (__cpy): Likewise.
40184         (norm): Likewise.
40185         (denorm): Likewise.
40186         (__mp_dbl): Likewise.
40187         (__dbl_mp): Likewise.
40188         (add_magnitudes): Likewise.
40189         (sub_magnitudes): Likewise.
40190         (__add): Likewise.
40191         (__sub): Likewise.
40192         (__mul): Likewise.
40193         (__inv): Likewise.
40194         (__dvd): Likewise.
40196 2013-01-08  Joseph Myers  <joseph@codesourcery.com>
40198         * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
40199         __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
40200         * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
40201         2 && __USE_EXTERN_INLINES]: Likewise.
40203 2013-01-08  Andreas Jaeger  <aj@suse.de>
40205         [BZ# 14985]
40206         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
40207         Remove.
40208         * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
40209         * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
40211 2013-01-07  Anton Blanchard  <anton@samba.org>
40213         * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
40214         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
40215         * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
40216         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
40217         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
40218         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
40219         * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
40220         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
40221         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
40222         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
40223         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
40224         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
40225         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
40226         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
40227         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
40228         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
40229         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
40230         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
40231         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
40232         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
40233         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
40234         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
40235         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
40236         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
40237         * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
40238         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
40239         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
40240         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
40241         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
40242         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
40243         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
40244         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
40245         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
40246         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
40247         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
40248         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
40249         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
40250         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
40251         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
40252         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
40253         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
40254         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
40255         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
40257 2013-01-07  Joseph Myers  <joseph@codesourcery.com>
40259         * malloc/malloc.h (__MALLOC_P): Remove all definitions.
40260         (__MALLOC_PMT): Likewise.
40261         [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
40262         [__GNUC__], only on [_LIBC].
40263         [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
40264         [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
40265         [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
40266         * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
40267         forward declaration.
40268         (realloc_hook_ini): Likewise.
40269         (memalign_hook_ini): Likewise.
40270         (__libc_memalign): Do not use __MALLOC_PMT in variable
40271         declaration.
40272         (__libc_valloc): Likewise.
40273         (__libc_pvalloc): Likewise.
40274         (__libc_calloc): Likewise.
40275         (__posix_memalign): Likewise.
40277         [BZ #14996]
40278         * math/s_casinh.c: Include <float.h>.
40279         (__casinh): Do not do computation with squaring and square root
40280         for large arguments.
40281         * math/s_casinhf.c: Include <float.h>.
40282         (__casinhf): Do not do computation with squaring and square root
40283         for large arguments.
40284         * math/s_casinhl.c: Include <float.h>.
40285         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
40286         (__casinhl): Do not do computation with squaring and square root
40287         for large arguments.
40288         * math/libm-test.inc (casin_test): Add more tests.
40289         (casinh_test): Likewise.
40290         * sysdeps/i386/fpu/libm-test-ulps: Update.
40291         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40293 2013-01-04  H.J. Lu  <hongjiu.lu@intel.com>
40295         * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
40296         (__x86_64_raw_data_cache_size): Likewise.
40297         (__x86_64_data_cache_size_half): Likewise.
40298         (__x86_64_raw_data_cache_size_half): Likewise.
40299         (__x86_64_shared_cache_size): Likewise.
40300         (__x86_64_raw_shared_cache_size): Likewise.
40301         (__x86_64_shared_cache_size_half): Likewise.
40302         (__x86_64_raw_shared_cache_size_half): Likewise.
40303         * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
40304         to ...
40305         (__x86_data_cache_size): This.
40306         (__x86_64_raw_data_cache_size): Renamed to ...
40307         (__x86_raw_data_cache_size): This.
40308         (__x86_64_data_cache_size_half): Renamed to ...
40309         (__x86_data_cache_size_half): This.
40310         (__x86_64_raw_data_cache_size_half): Renamed to ...
40311         (__x86_raw_data_cache_size_half): This.
40312         (__x86_64_shared_cache_size): Renamed to ...
40313         (__x86_shared_cache_size): This.
40314         (__x86_64_raw_shared_cache_size): Renamed to ...
40315         (__x86_raw_shared_cache_size): This.
40316         (__x86_64_shared_cache_size_half): Renamed to ...
40317         (__x86_shared_cache_size_half): This.
40318         (__x86_64_raw_shared_cache_size_half): Renamed to ...
40319         (__x86_raw_shared_cache_size_half): This.
40320         * sysdeps/x86_64/memcpy.S: Updated.
40321         * sysdeps/x86_64/memset.S: Likewise.
40322         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
40323         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
40324         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
40326 2013-01-04  David S. Miller  <davem@davemloft.net>
40328         * sysdeps/sparc/fpu/libm-test-ulps: Update.
40330 2013-01-04  Andreas Schwab  <schwab@linux-m68k.org>
40332         * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
40333         1 to avoid redefinition warning.
40334         (__USE_GNU): Don't define.
40335         (init_signaling_nan): Protoize.
40337         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40339 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
40341         * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
40342         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
40343         (__cpymn): Likewise.
40344         (norm): Remove commented code.
40345         (denorm): Likewise.
40346         (__mp_dbl): Likewise.
40347         (__inv): Likewise.
40348         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
40349         (__cpymn): Likewise.
40350         (norm): Remove commented code.
40351         (denorm): Likewise.
40352         (__mp_dbl): Likewise.
40353         (__inv): Likewise.
40355         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
40356         mp_no value for 1.0 and 2.0.
40357         (norm): Use RADIXI instead of radixi.d.
40358         (denorm): Likewise.
40359         (__mul): Use 0.0 instead of zero.d.
40360         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
40361         mp_no value for 1.0 and 2.0.
40362         (norm): Use RADIXI instead of radixi.d.
40363         (denorm): Likewise.
40364         (__mul): Use 0.0 instead of zero.d.
40366 2013-01-04  Joseph Myers  <joseph@codesourcery.com>
40368         [BZ #14994]
40369         * math/s_casinh.c (__casinh): Reduce finite argument to first
40370         quadrant then set signs of results at the end.
40371         * math/s_casinhf.c (__casinhf): Likewise.
40372         * math/s_casinhl.c (__casinhl): Likewise.
40373         * math/libm-test.inc (casin_test): Add more tests.
40374         (casinh_test): Likewise.
40375         * sysdeps/i386/fpu/libm-test-ulps: Update.
40376         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40378 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
40380         * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
40382         * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
40384         * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
40385         declarations.
40386         (denorm): Likewise.
40387         (__mp_dbl): Likewise.
40388         (__inv): Likewise.
40390         * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
40391         and adjust the header comment.
40393         * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
40394         variable name from declaration.
40396 2013-01-03  H.J. Lu  <hongjiu.lu@intel.com>
40398         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
40399         Initialize COMMON_CPUID_INDEX_7 element.
40400         * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
40401         (CPUID_RTM): Likewise.
40402         (HAS_RTM): Likewise.
40403         (COMMON_CPUID_INDEX_7): New enum.
40405 2013-01-03  Andreas Schwab  <schwab@linux-m68k.org>
40407         [BZ #14981]
40408         * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
40409         size is zero, record memory as freed.
40411 2013-01-03  Andreas Jaeger  <aj@suse.de>
40413         * po/ia.po: Add new Interlingua translation.
40415 2012-01-03  Allan McRae  <allan@archlinux.org>
40417         * locale/programs/localedef.c: Fix description of '--posix' flag.
40419 2013-01-02  Joseph Myers  <joseph@codesourcery.com>
40421         * NEWS: Update dates in second copyright notice.
40422         * README: Update copyright dates in example.
40423         * manual/libc.texinfo: Update copyright dates.
40424         * scripts/test-installation.pl: Update copyright date in --version
40425         output.
40427         * hurd/ctty-input.c: Fix copyright notice formatting.
40428         * hurd/ctty-output.c: Likewise.
40429         * hurd/dtable.c: Likewise.
40430         * hurd/hurd-raise.c: Likewise.
40431         * hurd/hurdprio.c: Likewise.
40432         * hurd/msgportdemux.c: Likewise.
40433         * misc/sys/file.h: Likewise.
40434         * misc/sys/ioctl.h: Likewise.
40435         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
40436         * sysdeps/mach/hurd/chdir.c: Likewise.
40437         * sysdeps/mach/hurd/fchdir.c: Likewise.
40438         * sysdeps/mach/hurd/rename.c: Likewise.
40439         * sysdeps/mach/hurd/rmdir.c: Likewise.
40440         * sysdeps/mach/hurd/seekdir.c: Likewise.
40441         * sysdeps/mach/hurd/setsid.c: Likewise.
40442         * sysdeps/posix/wait3.c: Likewise.
40444         * All files with FSF copyright notices: Update copyright dates
40445         using scripts/update-copyrights.
40446         * intl/plural.c: Regenerated.
40447         * locale/programs/charmap-kw.h: Likewise.
40448         * locale/programs/locfile-kw.h: Likewise.
40450 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
40452         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
40453         four values.
40455         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
40456         calculation loop and add branch prediction.
40458         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
40459         check access beyond bounds of m1np.
40461         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
40462         MPTWO.
40463         (__inv): Remove local variable MPTWO to use the global
40464         constant.
40465         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
40466         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
40467         variable MPTWO.
40468         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
40469         MP3HALFS static const.
40471 2013-01-01  David S. Miller  <davem@davemloft.net>
40473         * po/ca.po: Update from translation team.
40475 2013-01-01  Joseph Myers  <joseph@codesourcery.com>
40477         * scripts/update-copyrights: New file.
40478         * Makeconfig: Reformat copyright notice.
40479         * ctype/ctype.h: Likewise.
40480         * debug/swprintf_chk.c: Likewise.
40481         * elf/dl-cache.c: Likewise.
40482         * elf/dl-debug.c: Likewise.
40483         * elf/dl-object.c: Likewise.
40484         * grp/initgroups.c: Likewise.
40485         * hurd/Makefile: Likewise.
40486         * hurd/hurd/signal.h: Likewise.
40487         * hurd/hurdfault.c: Likewise.
40488         * hurd/hurdioctl.c: Likewise.
40489         * hurd/hurdlookup.c: Likewise.
40490         * hurd/intr-msg.c: Likewise.
40491         * iconv/gconv_open.c: Likewise.
40492         * libio/swprintf.c: Likewise.
40493         * locale/lc-ctype.c: Likewise.
40494         * locale/nl_langinfo.c: Likewise.
40495         * mach/Machrules: Likewise.
40496         * mach/Makefile: Likewise.
40497         * malloc/obstack.h: Likewise.
40498         * manual/Makefile: Likewise.
40499         * manual/tsort.awk: Likewise.
40500         * misc/bits/stab.def: Likewise.
40501         * nis/nis_print_group_entry.c: Likewise.
40502         * nis/nis_table.c: Likewise.
40503         * nis/nss_compat/compat-pwd.c: Likewise.
40504         * nis/nss_compat/compat-spwd.c: Likewise.
40505         * po/Makefile: Likewise.
40506         * posix/fnmatch.c: Likewise.
40507         * posix/regex.h: Likewise.
40508         * resolv/Makefile: Likewise.
40509         * resolv/nss_dns/dns-network.c: Likewise.
40510         * resolv/res_hconf.c: Likewise.
40511         * scripts/gen-sorted.awk: Likewise.
40512         * soft-fp/soft-fp.h: Likewise.
40513         * stdio-common/printf.h: Likewise.
40514         * stdlib/monetary.h: Likewise.
40515         * stdlib/random.c: Likewise.
40516         * stdlib/random_r.c: Likewise.
40517         * sysdeps/generic/Makefile: Likewise.
40518         * sysdeps/gnu/Makefile: Likewise.
40519         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
40520         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
40521         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
40522         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
40523         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
40524         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
40525         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
40526         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
40527         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
40528         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
40529         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
40530         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
40531         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
40532         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
40533         * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
40534         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
40535         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
40536         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
40537         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
40538         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
40539         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
40540         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
40541         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
40542         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
40543         * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
40544         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
40545         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
40546         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
40547         * sysdeps/mach/hurd/errnos.awk: Likewise.
40548         * sysdeps/mach/hurd/fork.c: Likewise.
40549         * sysdeps/mach/hurd/getcwd.c: Likewise.
40550         * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
40551         * sysdeps/mach/hurd/mmap.c: Likewise.
40552         * sysdeps/mach/hurd/utimes.c: Likewise.
40553         * sysdeps/mach/hurd/xmknod.c: Likewise.
40554         * sysdeps/posix/profil.c: Likewise.
40555         * sysdeps/posix/readdir_r.c: Likewise.
40556         * sysdeps/powerpc/bits/mathdef.h: Likewise.
40557         * sysdeps/powerpc/bits/setjmp.h: Likewise.
40558         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
40559         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
40560         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
40561         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
40562         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
40563         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
40564         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
40565         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
40566         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
40567         * sysdeps/pthread/lio_listio.c: Likewise.
40568         * sysdeps/sparc/dl-procinfo.h: Likewise.
40569         * sysdeps/unix/i386/sysdep.S: Likewise.
40570         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
40571         * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
40572         * sysdeps/unix/sysv/linux/getdents.c: Likewise.
40573         * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
40574         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
40575         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
40576         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
40577         * sysdeps/unix/sysv/linux/speed.c: Likewise.
40578         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
40579         * sysdeps/wordsize-32/divdi3.c: Likewise.
40580         * time/sys/time.h: Likewise.
40581         * wcsmbs/Makefile: Likewise.
40583 2013-01-01  David S. Miller  <davem@davemloft.net>
40585         * po/fr.po: Update from translation team.
40587         * catgets/gencat.c: Update copyright year.
40588         * csu/version.c: Likewise.
40589         * debug/catchsegv.sh: Likewise.
40590         * debug/pcprofiledump.c: Likewise.
40591         * debug/xtrace.sh: Likewise.
40592         * elf/ldconfig.c: Likewise.
40593         * elf/ldd.bash.in: Likewise.
40594         * elf/pldd.c: Likewise.
40595         * elf/sotruss.ksh: Likewise.
40596         * elf/sprof.c: Likewise.
40597         * iconv/iconv_prog.c: Likewise.
40598         * iconv/iconvconfig.c: Likewise.
40599         * locale/programs/locale.c: Likewise.
40600         * locale/programs/localedef.c: Likewise.
40601         * login/programs/pt_chown.c: Likewise.
40602         * malloc/memusage.sh: Likewise.
40603         * malloc/memusagestat.c: Likewise.
40604         * malloc/mtrace.pl: Likewise.
40605         * nscd/nscd.c: Likewise.
40606         * nss/getent.c: Likewise.
40607         * nss/makedb.c: Likewise.
40608         * posix/getconf.c: Likewise.
40610 2012-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
40612         * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
40613         numbers.
40615 2012-12-30  Mike Frysinger  <vapier@gentoo.org>
40617         * math/bits/mathcalls.h (modf): Use __nonnull.
40619 2012-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
40621         * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
40622         (split): Use macro CN instead of the bare value.
40623         * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
40624         could be used.
40625         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
40626         instead of the bare value.
40627         (power1): Likewise.
40629 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
40631         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
40632         __ATAN_TWOM.
40633         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
40635         * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
40636         their values.
40637         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
40638         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
40639         * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
40640         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
40642 2012-12-28  Andreas Jaeger  <aj@suse.de>
40644         * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define.  New
40645         values are from Linux 3.7.
40647         * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
40648         (TCPI_OPT_ECN_SEEN): Define.  Sync with Linux 3.7.
40650 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
40652         * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
40653         TRUE case.
40655         * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
40656         (norm): Likewise.
40657         * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
40658         variables with preprocessor constants.
40659         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
40660         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
40661         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
40663 2012-12-27  Bruno Haible  <bruno@clisp.org>
40665         [BZ #14317]
40666         * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
40667         only if needed.
40669 2012-12-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
40671         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
40672         and use variable directly.
40673         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
40675         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
40676         MPONE.
40677         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
40678         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
40679         variable MPONE.
40680         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
40681         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
40682         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
40683         include directive.  Remove local variable MPONE.
40684         * sysdeps/ieee754/dbl-64/mplog.h: Remove.
40685         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
40686         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
40688 2012-12-25  David S. Miller  <davem@davemloft.net>
40690         * version.h (RELEASE): Set to "development".
40691         (VERSION): Set to "2.17.90".
40692         * NEWS: Add 2.18 section.
40694 2012-12-21  David S. Miller  <davem@davemloft.net>
40696         * po/hr.po: Update from translation team.
40698 2012-12-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
40700         * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
40702 2012-12-19  Steve Ellcey  <sellcey@mips.com>
40704         * NEWS:  Mention new memcpy for MIPS.
40706 2012-12-18  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
40708         * manual/contrib.texi (Contributors): Spelling correction.
40710 2012-12-15  David S. Miller  <davem@davemloft.net>
40712         * po/ru.po: Update from translation team.
40714 2012-12-13  David S. Miller  <davem@davemloft.net>
40716         * NEWS: Mention IFUNC testsuite enhancements.
40718         * po/pl.po: Update from translation team.
40719         * po/bg.po: Likewise.
40721         * manual/contrib.texi (Contributors): Update entries for Hongjiu
40722         Lu and Joseph S. Myers.  Add entry for Marcus Shawcroft.
40724 2012-12-11  David S. Miller  <davem@davemloft.net>
40726         * po/sv.po: Update from translation team.
40728         * po/vi.po: Update from translation team.
40730         * po/cs.po: Update from translation team.
40732         * po/de.po: Update from translation team.
40733         * po/eo.po: Likewise.
40734         * po/nl.po: Likewise.
40736 2012-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
40738         [BZ #14246]
40739         * manual/argp.texi (Argp Helper Functions): Move node to follow
40740         Argp Parsing State.
40742         [BZ #14872]
40743         * manual/conf.texi (Limits on File System Capacity): Mention if
40744         terminating null is included in the max size.
40746 2012-12-10  Andreas Jaeger  <aj@suse.de>
40748         * po/cs.po: Update from translation team.
40750 2012-12-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
40752         * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
40753         void pointer and cast to uintptr_t.
40754         * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
40755         path.
40756         * sysdeps/s390/s390-64/memcpy.S: Likewise.
40757         * sysdeps/s390/s390-64/memset.S: Likewise.
40759 2012-12-08  Benno Schulenberg  <bensberg@justemail.net>
40761         [BZ #14833]
40762         * menual/message.texi (Message Translation): Fix typos.
40763         (Helper programs for gettext): Likewise.
40765 2012-12-07  Andreas Schwab  <schwab@linux-m68k.org>
40767         [BZ #14898]
40768         * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
40769         Change to -1.
40771 2012-12-07  David S. Miller  <davem@davemloft.net>
40773         * po/libc.pot: Update.
40775 2012-12-07  Richard Henderson  <rth@redhat.com>
40777         [BZ #10114]
40778         * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
40779         normal/normal case to before the switch.
40780         (_FP_DIV): Likewise.
40782 2012-12-06  Carlos O'Donell  <carlos@systemhalted.org>
40783             Mike Frysinger  <vapier@gentoo.org>
40785         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
40786         check for __NR_fadvise64_64.
40788 2012-12-06  Chris Metcalf  <cmetcalf@tilera.com>
40790         * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
40791         0, not just to plain "0" as a statement.
40792         (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
40793         with cw.
40795 2012-12-06  Joseph Myers  <joseph@codesourcery.com>
40797         * NEWS: Use sourceware.org in Bugzilla URL.
40799 2012-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
40801         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
40802         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
40804         * stdio-common/tst-put-error.c (do_test): Add newline to the
40805         padded test to ensure flush.
40807 2012-12-05  Jeff Law  <law@redhat.com>
40809         * sunrpc/etc.rpc (fedfs_admin): Add entry.
40811 2012-12-05  Joseph Myers  <joseph@codesourcery.com>
40813         * README: Don't refer to ports add-on as distributed separately.
40814         Mention AArch64 in list of systems supported in the ports add-on.
40816         * LICENSES: Add more non-FSF copyright and license notices.
40818         * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
40819         ((unused)).
40821         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
40823         * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
40824         10000 as width of padded output.
40826 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
40828         * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
40830         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
40831         variable LX with __attribute__ ((unused)).
40832         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
40833         Likewise.
40834         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
40835         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
40836         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
40837         with __attribute__ ((unused)).
40839 2012-12-04  David S. Miller  <davem@abraco.davemloft.net>
40841         * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
40843 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
40845         * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
40846         (CFLAGS-nldbl-acos.c): New variable.
40847         [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
40848         [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
40849         [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
40850         [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
40851         [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
40852         [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
40853         [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
40854         [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
40855         [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
40856         [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
40857         [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
40858         [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
40859         [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
40860         [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
40861         [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
40862         [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
40863         [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
40864         [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
40865         [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
40866         [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
40867         [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
40868         [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
40869         [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
40870         [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
40871         [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
40872         [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
40873         [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
40874         [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
40875         [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
40876         [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
40877         [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
40878         [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
40879         [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
40880         [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
40881         [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
40882         [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
40883         [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
40884         [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
40885         [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
40886         [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
40887         [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
40888         [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
40889         [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
40890         [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
40891         [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
40892         [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
40893         [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
40894         [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
40895         [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
40896         [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
40897         [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
40898         [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
40899         [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
40900         [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
40901         [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
40902         [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
40903         [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
40904         [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
40905         [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
40906         [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
40907         [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
40908         [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
40909         [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
40910         [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
40911         [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
40912         [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
40913         [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
40914         [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
40915         [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
40916         [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
40917         [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
40918         [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
40919         [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
40920         [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
40921         [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
40922         [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
40923         [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
40924         [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
40925         [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
40926         [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
40927         [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
40928         [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
40929         [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
40930         [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
40931         [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
40932         [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
40933         [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
40934         [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
40935         [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
40936         [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
40937         [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
40938         [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
40939         [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
40940         [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
40941         [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
40942         [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
40943         [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
40945         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
40946         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
40948         [BZ #14914]
40949         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
40950         whole low double instead of just low 47 bits when splitting values
40951         into two parts.
40953 2012-12-03  Allan McRae  <allan@archlinux.org>
40955         * manual/stdio.texi (Predefined Printf Handlers): Remove
40956         @hsep and @vsep usage.
40958 2012-12-03  Mike Frysinger  <vapier@gentoo.org>
40960         * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
40961         * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
40963 2012-12-03  Jeff Law  <law@redhat.com>
40965         * time/sys/time.h (settimeofday): Do not mark TV argument
40966         as __nonnull.
40968 2012-12-01  Mike Frysinger  <vapier@gentoo.org>
40970         * libio/fileops.c (_IO_new_file_close_it): Do not always flush
40971         when currently writing and seek to current position when not.
40972         * libio/Makefile (tests): Remove bug-fclose1.
40973         * libio/bug-fclose1.c: Delete.
40975 2012-12-01  Joseph Myers  <joseph@codesourcery.com>
40977         * manual/arith.texi (feenableexcept): Fix typo.
40978         (fedisableexcept): Likewise.
40980 2012-11-30  Roland McGrath  <roland@hack.frob.com>
40982         * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
40983         second, differently-typed declaration, rather than a cast.
40985 2012-11-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
40987         * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
40988         * include/rpc/svc.h: ... here.
40990 2012-11-30  Aurelien Jarno  <aurel32@debian.org>
40992         [BZ #13013]
40993         * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
40994         depending n and resplen2 to catch cases where answer
40995         equals answerp2.
40997 2012-11-29  Carlos O'Donell  <carlos@systemhalted.org>
40999         * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
41000         for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
41002 2012-11-29  Mike Frysinger  <vapier@gentoo.org>
41004         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
41006 2012-11-29  Roland McGrath  <roland@hack.frob.com>
41008         * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
41010 2012-11-28  Jeff Law  <law@redhat.com>
41012         [BZ #13761]
41013         * nscd/grpcache.c (cache_addgr): Rename alloca_used to
41014         dataset_temporary.  Track alloca usage into alloca_used.
41015         If dataset is large allocate and release it via malloc/free.
41017 2012-06-04  Florian Weimer  <fweimer@redhat.com>
41019         [BZ #14197]
41020         * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
41022 2012-11-28  David S. Miller  <davem@davemloft.net>
41024         * sysdeps/sparc/fpu/libm-test-ulps: Update.
41026 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
41028         [BZ #14803]
41029         * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
41030         of pi/2 rounded to nearest to 64 bits.
41031         (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
41032         nearest to 64 bits.
41033         (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
41034         bits.
41036 2012-11-28  Jeff Law <law@redhat.com>
41037             Martin Osvald <mosvald@redhat.com>
41039         [BZ #14889]
41040         * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
41041         * sunrpc/svc.c: Include time.h.
41042         (__svc_accept_failed): New function.
41043         * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
41044         any reason other than EINTR, call __svc_accept_failed.
41045         * sunrpc/svc_udp.c (svcudp_recv): Similarly.
41046         * sunrpc/svc_unix.c (rendezvous_request): Similarly.
41048 2012-11-28  Andreas Schwab  <schwab@suse.de>
41050         * scripts/abilist.awk: Also handle indirect functions in .opd
41051         section.
41053 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
41055         [BZ #13881]
41056         * sysdeps/x86/fpu/powl_helper.c: New file.
41057         * sysdeps/x86/fpu/Makefile: Likewise.
41058         * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
41059         (p3): New object.
41060         (__ieee754_powl): Use __powl_helper for finite arguments except
41061         integer exponents below 8.
41062         * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
41063         (p3): New object.
41064         (__ieee754_powl): Use __powl_helper for finite arguments except
41065         integer exponents below 8.
41066         * math/libm-test.inc (pow_test): Add more tests and enable some
41067         previously disabled tests.
41068         * sysdeps/i386/fpu/libm-test-ulps: Update.
41069         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41071 2012-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
41072             Carlos O'Donell  <carlos_odonell@mentor.com>
41074         * nss/makedb.c (is_prime): Assert that input is odd and greater
41075         than 4.  Note that fact in a comment too.
41076         (next_prime): Add 4 to input.
41078 2012-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
41080         [BZ #11741]
41081         * libio/Makefile (tests): Add test case tst-fwrite-error.
41082         * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
41083         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
41084         * libio/tst-fwrite-error.c: New test case.
41086 2012-11-26  H.J. Lu  <hongjiu.lu@intel.com>
41088         * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
41089         before casting to void *.
41090         * include/libc-internal.h (__pointer_type): New macro.
41091         (__integer_if_pointer_type_sub): Likewise.
41092         (__integer_if_pointer_type): Likewise.
41093         (cast_to_integer): Likewise.
41094         * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
41095         (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
41096         before casting to atomic64_t.
41097         (atomic_exchange_acq): Likewise.
41098         (__arch_exchange_and_add_body): Likewise.
41099         (__arch_add_body): Likewise.
41100         (atomic_add_negative): Likewise.
41101         (atomic_add_zero): Likewise.
41103 2012-11-26  Joseph Myers  <joseph@codesourcery.com>
41105         * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
41106         (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
41107         (add_fdes): Likewise.
41108         (linear_search_fdes): Likewise.
41109         (binary_search_unencoded_fdes): Likewise.
41111 2012-11-26  Andreas Schwab  <schwab@linux-m68k.org>
41113         * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
41115 2012-11-24  Adam Conrad  <adconrad@0c3.net>
41117         * configure.in: Autodetect C++ header directories.
41118         * configure: Regenerated.
41120 2012-11-23  Mike Frysinger  <vapier@gentoo.org>
41122         * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
41124 2012-11-23  Andreas Schwab  <schwab@linux-m68k.org>
41126         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41128 2012-11-22  Joseph Myers  <joseph@codesourcery.com>
41130         * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
41131         LDBL_MANT_DIG == 106]: Disable some tests.
41132         (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
41133         Likewise.
41134         (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
41135         Likewise.
41137         [BZ #14871]
41138         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
41139         input for small inputs.  Return +/- pi/2 for large inputs.
41140         * math/libm-test.inc (atan_test): Add more tests.
41142         * sysdeps/generic/unwind-dw2-fde-glibc.c
41143         (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
41144         __attribute__ ((unused)).
41146         [BZ #14645]
41147         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
41148         x * y if x and y are nonzero and z is zero.
41150         [BZ #14811]
41151         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
41152         nonzero exponents with absolute value below 0x1p-117 to +/-
41153         0x1p-117.
41155         [BZ #14869]
41156         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
41157         up arguments below 2**-450, not just those below 2**-500.
41158         * math/libm-test.inc (hypot_test): Add another test.
41160         [BZ #14868]
41161         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
41162         Return a+b for ratio over 2**120, not 2**60.
41163         * math/libm-test.inc (hypot_test): Add another test.
41165         * math/libm-test.inc (clog_test): Use
41166         UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
41167         (clog10_test): Likewise.
41169         [BZ #6778]
41170         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
41172 2012-11-22  Andreas Schwab  <schwab@suse.de>
41174         * sysdeps/i386/fpu/libm-test-ulps: Update.
41176 2012-11-22  Pino Toscano  <toscano.pino@tiscali.it>
41178         * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
41179         printf output with newline.
41181 2012-11-21  H.J. Lu  <hongjiu.lu@intel.com>
41183         [BZ #14865]
41184         * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
41185         * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
41186         -z nodlopen, -z initfirst and -z execstack support.
41187         * configure: Regenerated.
41189         * elf/elf.h (DF_1_NODIRECT): New macro.
41190         (DF_1_IGNMULDEF): Likewise.
41191         (DF_1_NOKSYMS): Likewise.
41192         (DF_1_NOHDR): Likewise.
41193         (DF_1_EDITED): Likewise.
41194         (DF_1_NORELOC): Likewise.
41195         (DF_1_SYMINTPOSE): Likewise.
41196         (DF_1_GLOBAUDIT): Likewise.
41197         (DF_1_SINGLETON): Likewise.
41198         * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
41199         DT_1_SUPPORTED_MASK bits.
41200         * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
41202 2012-11-20  Carlos O'Donell  <carlos_odonell@mentor.com>
41204         * sysdeps/unix/make-syscalls.sh: Document prefixes.
41206 2012-11-20  Thomas Schwinge  <thomas@codesourcery.com>
41208         * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
41209         macro.
41211         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
41212         (sendmmsg): Move declarations...
41213         * socket/sys/socket.h: ... here.
41214         * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
41215         !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
41216         include it from...
41217         * socket/recvmmsg.c: ... this new file.
41218         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
41219         (sendmmsg): Rename to __sendmmsg, create weak alias and make
41220         definition of __sendmmsg hidden.
41221         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
41222         [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
41223         Move ENOSYS stub into and include it from...
41224         * socket/sendmmsg.c: ... this new file.
41225         * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
41226         (sysdep_routines): Move recvmmsg and sendmmsg...
41227         * socket/Makefile (routines): ... here.
41228         * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
41229         (GLIBC_PRIVATE): Add __sendmmsg.
41230         * include/sys/socket.h (__sendmmsg): Add declarations.
41231         * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
41232         sendmmsg.
41234 2012-11-20  Joseph Myers  <joseph@codesourcery.com>
41236         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
41237         variable I1 with __attribute__ ((unused)).
41238         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
41240 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
41242         * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
41243         DUMMY variables with __attribute__ ((unused)).
41245         * bits/byteswap.h: Include <bits/types.h>.
41246         (__bswap_64): Use __uint64_t instead of unsigned long long int.
41248 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
41250         * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
41251         string_t.  Do not manually set errno.
41252         (__ptsname_r): Change the type of PEERNAME to string_t, and check its
41253         length with __strnlen.  Make sure to both set errno and return it on
41254         failure.
41256 2012-11-19  David S. Miller  <davem@davemloft.net>
41258         With help from Joseph Myers.
41259         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
41260         very large arguments properly.
41261         * math/libm-test.inc (atan_test): New tests.
41262         (atan2_test): New tests.
41263         * sysdeps/sparc/fpu/libm-test-ulps: Update.
41264         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
41266 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
41268         [BZ #14856]
41269         * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
41270         Define to 3.
41272         * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
41273         [POSIX] (EADDRNOTAVAIL): Likewise.
41274         [POSIX] (EAFNOSUPPORT): Likewise.
41275         [POSIX] (EALREADY): Likewise.
41276         [POSIX] (ECONNABORTED): Likewise.
41277         [POSIX] (ECONNREFUSED): Likewise.
41278         [POSIX] (ECONNRESET): Likewise.
41279         [POSIX] (EDESTADDRREQ): Likewise.
41280         [POSIX] (EDQUOT): Likewise.
41281         [POSIX] (EHOSTUNREACH): Likewise.
41282         [POSIX] (EIDRM): Likewise.
41283         [POSIX] (EISCONN): Likewise.
41284         [POSIX] (ELOOP): Likewise.
41285         [POSIX] (EMULTIHOP): Likewise.
41286         [POSIX] (ENETDOWN): Likewise.
41287         [POSIX] (ENETUNREACH): Likewise.
41288         [POSIX] (ENOBUFS): Likewise.
41289         [POSIX] (ENODATA): Likewise.
41290         [POSIX] (ENOLINK): Likewise.
41291         [POSIX] (ENOMSG): Likewise.
41292         [POSIX] (ENOPROTOOPT): Likewise.
41293         [POSIX] (ENOSR): Likewise.
41294         [POSIX] (ENOSTR): Likewise.
41295         [POSIX] (ENOTCONN): Likewise.
41296         [POSIX] (ENOTSOCK): Likewise.
41297         [POSIX] (EOPNOTSUPP): Likewise.
41298         [POSIX] (EOVERFLOW): Likewise.
41299         [POSIX] (EPROTO): Likewise.
41300         [POSIX] (EPROTONOSUPPORT): Likewise.
41301         [POSIX] (EPROTOTYPE): Likewise.
41302         [POSIX] (ESTALE): Likewise.
41303         [POSIX] (ETIME): Likewise.
41304         [POSIX] (ETXTBSY): Likewise.
41305         [POSIX] (EWOULDBLOCK): Likewise.
41306         [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
41307         * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
41308         [POSIX] (SEEK_CUR): Likewise.
41309         [POSIX] (SEEK_END): Likewise.
41310         [POSIX || UNIX98] (mode_t): Do not require.
41311         [POSIX] (off_t): Likewise.
41312         [POSIX] (pid_t): Likewise.
41313         [POSIX] (sys/stat.h): Do not allow header.
41314         [POSIX] (unistd.h): Likewise.
41315         [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
41316         [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
41317         [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
41318         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
41319         require.
41320         * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
41321         sigevent): Specify elements.
41322         [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
41323         entry.
41324         [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
41325         [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
41327         * conform/data/cpio.h-data [POSIX]: Disable whole file.
41328         * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
41329         * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
41330         (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
41331         [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
41332         [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
41333         [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
41334         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
41335         [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
41336         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
41337         [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
41338         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
41339         [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
41340         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
41341         Likewise.
41342         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
41343         Likewise.
41344         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
41345         Likewise.
41346         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
41347         Likewise.
41348         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
41349         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
41350         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
41351         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
41352         [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
41353         Specify lower bound on value.
41354         [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
41355         [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
41356         [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
41357         [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
41358         [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
41359         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
41360         [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
41361         [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
41362         value.
41363         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
41364         as optional.
41365         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
41366         [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
41367         [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
41368         [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
41369         [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
41370         [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
41371         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
41372         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
41373         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
41374         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
41375         [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
41376         [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
41377         [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
41378         [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
41379         [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
41380         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
41381         entry.
41382         [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
41383         optional.
41384         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
41385         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
41386         [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
41387         [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
41388         [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
41389         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
41390         Likewise.
41391         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
41392         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
41393         [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
41394         [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
41395         [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise.  Give
41396         value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
41397         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
41398         as optional.
41399         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
41400         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
41401         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
41402         [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
41403         Likewise.  Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
41404         [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
41405         specify as optional.
41406         [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
41407         [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
41408         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
41409         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
41410         [POSIX || XPG3] (NL_ARGMAX): Do not allow.
41411         [XPG3] (NL_LANGMAX): Likewise.
41412         [POSIX || XPG3] (NL_MSGMAX): Likewise.
41413         [POSIX || XPG3] (NL_NMAX): Likewise.
41414         [POSIX || XPG3] (NL_SETMAX): Likewise.
41415         [POSIX || XPG3] (NL_TEXTMAX): Likewise.
41416         [XPG3] (NZERO): Likewise.
41417         [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
41418         [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
41419         [!ISO && !ISO99 && !ISO11] (*_t): Allow.
41420         * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
41421         (REG_ERANGE): Expect.
41422         * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
41423         optional-constant.
41424         [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
41425         Use (void) in prototype.
41426         [POSIX] (*_t): Allow.
41427         * conform/data/sys/times.h-data [POSIX]: Enable whole file.
41428         * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
41429         (WRDE_BADVAL): Expect.
41431         * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
41432         expect.
41433         [XPG3 || XPG4] (O_RSYNC): Likewise.
41434         * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
41435         Likewise.
41436         [XPG3 || XPG4] (pthread_sigmask): Likewise.
41437         [XPG3 || XPG4] (sigqueue): Likewise.
41438         [XPG3 || XPG4] (sigtimedwait): Likewise.
41439         [XPG3 || XPG4] (sigwaitinfo): Likewise.
41440         * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
41441         [XPG3 || XPG4] (vsnprintf): Likewise.
41442         * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
41443         Likewise.
41444         [XPG3 || XPG4] (blksize_t): Likewise.
41445         * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
41446         Likewise.
41447         [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
41448         [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
41449         [XPG3 || XPG4] (struct itimerspec): Likewise.
41450         [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
41451         [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
41452         [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
41453         [XPG3 || XPG4] (clockid_t): Likewise.
41454         [XPG3 || XPG4] (timer_t): Likewise.
41455         [XPG3 || XPG4] (clock_getres): Likewise.
41456         [XPG3 || XPG4] (clock_gettime): Likewise.
41457         [XPG3 || XPG4] (clock_settime): Likewise.
41458         [XPG3 || XPG4] (nanosleep): Likewise.
41459         [XPG3 || XPG4] (timer_create): Likewise.
41460         [XPG3 || XPG4] (timer_delete): Likewise.
41461         [XPG3 || XPG4] (timer_gettime): Likewise.
41462         [XPG3 || XPG4] (timer_getoverrun): Likewise.
41463         [XPG3 || XPG4] (timer_settime): Likewise.
41464         * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
41465         [XPG3 || XPG4] (getlogin_r): Likewise.
41466         [XPG3 || XPG4] (pread): Likewise.
41467         [XPG3 || XPG4] (pthread_atfork): Likewise.
41468         [XPG3 || XPG4] (pwrite): Likewise.
41470         [BZ #14835]
41471         * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
41472         <bits/siginfo.h>.
41474 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
41476         * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
41477         finalizing MALLSTREAM.
41479         * sysdeps/mach/hurd/syncfs.c: New file.
41481 2012-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
41483         [BZ #14719]
41484         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
41485         NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
41486         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
41487         h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
41488         (_nss_dns_gethostbyname4_r): Likewise.
41489         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
41490         EAI_SYSTEM if NSS_STATUS_UNAVAIL.
41492 2012-11-19  Peng Haitao  <penght@cn.fujitsu.com>
41494         [BZ #13763]
41495         * sunrpc/bindrsvprt.c: Add lock to protect static variable.
41497 2012-11-19  Steve McIntyre  <steve.mcintyre@linaro.org>
41499         * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
41500         * elf/cache.c (print_entry): Print ",AArch64" for
41501         FLAG_AARCH64_LIB64
41503         * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
41504         * elf/cache.c (print_entry): Print ",hard-float" for
41505         FLAG_ARM_LIBHF.
41507 2012-11-18  David S. Miller  <davem@davemloft.net>
41509         With help from Joseph Myers.
41510         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
41511         cutoff to 2**-13.
41512         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
41513         cutoff to 2**-25.
41514         * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
41515         ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
41516         small.
41517         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
41518         * math/libm-test.inc (y0_test): New tests.
41519         (y1_test): New tests.
41520         * sysdeps/i386/fpu/libm-test-ulps: Update.
41521         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
41522         * sysdeps/sparc/fpu/libm-test-ulps: Update.
41524 2012-11-18  Andreas Schwab  <schwab@linux-m68k.org>
41526         * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
41527         64-bit targets.
41528         * configure: Regenerated.
41530 2012-11-17  David S. Miller  <davem@davemloft.net>
41532         [BZ #14811]
41533         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
41534         nonzero exponents with absolute value below 0x1p-128 to +/-
41535         0x1p-128.
41537 2012-11-17  Joseph Myers  <joseph@codesourcery.com>
41539         * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
41541         * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
41543         * posix/getconf-speclist.c: New file.
41544         * posix/posix-envs.def: Likewise.
41545         * posix/confstr.c (START_ENV_GROUP): New macro.
41546         (END_ENV_GROUP): Likewise.
41547         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
41548         (KNOWN_PRESENT_ENV_STRING): Likewise.
41549         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
41550         (UNKNOWN_ENVIRONMENT): Likewise.
41551         (confstr): Include posix-envs.def instead of handling
41552         _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
41553         _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
41554         * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
41555         (END_ENV_GROUP): Likewise.
41556         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
41557         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
41558         (UNKNOWN_ENVIRONMENT): Likewise.
41559         (__sysconf): Include posix-envs.def instead of handling associated
41560         cases directly here.
41561         * posix/Makefile ($(objpfx)getconf.speclist): Generate by
41562         preprocessing getconf-speclist.c rather than running getconf or
41563         generating empty file.
41565 2012-11-16  Pino Toscano  <toscano.pino@tiscali.it>
41567         * scripts/check-local-headers.sh: Ignore 'mach' headers.
41569 2012-11-16  Andrej Lajovic  <natrij@gmail.com>
41571         [BZ #14672]
41572         * iconv/iconv_prog.c (main): Fix -c handling of '/'.
41574 2012-11-16  David S. Miller  <davem@davemloft.net>
41576         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
41577         smaller than LDBL_EPSILON/2.0L, just return xm1.
41579 2012-11-16  H.J. Lu  <hongjiu.lu@intel.com>
41581         * elf/tst-array1.c (init): Set constructor priority to 1000.
41582         (fini): Set destructor priority to 1000.
41583         * elf/tst-array2dep.c: Likewise.
41585 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
41587         [BZ #11741]
41588         * libio/fileops.c (_IO_new_file_write): Correctly return error.
41589         (_IO_new_file_xsputn): Also return EOF if none of the input
41590         data was written when overflow failed.
41591         * libio/iopadn.c (_IO_padn): Likewise.
41592         * libio/iowpadn.c (_IO_wpadn): Likewise.
41593         * stdio-common/tst-put-error.c: Add copyright notice.
41594         (do_test): Add case for printing padded string.
41595         * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
41596         _IO_padn returned error.
41597         [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
41598         * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
41599         return EOF.
41601 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
41603         * libio/libioP.h: Add comment note that the references to C++
41604         bits are now obsolete.
41606 2012-11-15  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
41608         * math/libm-test.inc (check_complex): Use asprintf.
41610 2012-11-14  Joseph Myers  <joseph@codesourcery.com>
41612         * debug/pcprofiledump.c (print_version): Update copyright year.
41613         * malloc/memusagestat.c (print_version): Likewise.
41615 2012-11-14  H.J. Lu  <hongjiu.lu@intel.com>
41617         [BZ #14831]
41618         * elf/Makefile (tests): Add tst-audit8.
41619         ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
41620         ($(objpfx)tst-audit8.out): New target.
41621         (tst-audit8-ENV): New variable.
41622         * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
41623         audit if l_reloc_result is NULL.
41624         (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
41625         defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
41626         * elf/tst-audit8.c: New file.
41628 2012-11-14  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
41630         * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
41631         * misc/Makefile (CFLAGS-select.c): Define.
41632         * posix/Makefile (CFLAGS-pause.c): Define.
41634 2012-11-13  David S. Miller  <davem@davemloft.net>
41636         * crypt/Makefile: Move test targets after toplevel Rules
41637         inclusion.  Grab any necessary sysdep routines when linking.
41638         * crypt/md5.c (md5_process_block): Remove define, we will always
41639         name it __md5_process_block.
41640         (md5_finish_ctx): Update md5_process_block call.
41641         (md5_stream): Likewise.
41642         (md5_process_bytes): Likewise.
41643         (md5_process_block): Rename to __md5_process_block and move to ...
41644         * crypt/md5-block.c: ... here.
41645         * crypt/sha256.c (sha256_process_block): Move to ...
41646         * crypt/sha256-block.c: ... here.
41647         * crypt/sha512.c (sha512_process_block): Move to ...
41648         * crypt/sha512-block.c: ... here.
41649         * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
41650         path.
41651         * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
41652         * sysdeps/sparc/sparc64/multiarch/Makefile
41653         (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
41654         crypt subdir.
41655         (localedef-aux): Add md5 crypto assembler when in locale subdir.
41656         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
41657         multiarch changes.
41658         * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
41659         * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
41660         * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
41661         * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
41662         * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
41663         * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
41664         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
41665         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
41666         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
41667         file.
41668         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
41669         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
41670         file.
41671         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
41673 2012-11-13  Joseph Myers  <joseph@codesourcery.com>
41675         * timezone/tzselect.ksh: Update from tzcode git revision
41676         a435f9f0ecafa56d9e0263835836bd0c64cd7307.
41677         * timezone/zdump.c: Likewise.
41678         * timezone/zic.c: Likewise.
41679         * timezone/Makefile ($(objpfx)version.h): Only include $(version)
41680         in TZVERSION setting, not $(PKGVERSION).
41681         ($(objpfx)tzselect): Likewise.  Also substitute PKGVERSION and
41682         REPORT_BUGS_TO settings.
41684         [BZ #14838]
41685         * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
41686         macro.
41688 2012-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
41690         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
41691         detection to immediately after _FP_ROUND().
41692         * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
41693         bits are 0.
41695 2012-11-11  David S. Miller  <davem@davemloft.net>
41697         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
41698         inttypes.h
41699         (__get_clockfreq_via_proc_openprom): Use __open, __read, and
41700         __close rather than their public counterparts.
41702 2012-11-10  Joseph Myers  <joseph@codesourcery.com>
41704         * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
41705         file.
41706         [UNIX98] (sem_timedwait): Do not expect.
41707         * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
41708         [XPG4 || UNIX98] (sockatmark): Do not expect.
41709         * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
41710         (clock_getcpuclockid): Do not expect.
41711         [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
41712         * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
41713         Do not expect.
41714         [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
41715         * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
41716         [UNIX98] (vwscanf): Likewise.
41717         [UNIX98] (vswscanf): Likewise.
41719 2012-11-09  Joseph Myers  <joseph@codesourcery.com>
41721         * timezone/version.h: Remove file.
41722         * timezone/README: Do not refer to version.h.
41723         * timezone/Makefile ($(objpfx)zic.o): New dependency on
41724         $(objpfx)version.h.
41725         ($(objpfx)zdump.o): Likewise.
41726         ($(objpfx)version.h): New target.
41728         * timezone/tzselect.ksh: Change to verbatim copy from tzcode
41729         2012i.
41730         * timezone/README: Don't mention modification to tzselect.ksh.
41731         * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
41732         work on unmodified tzselect.ksh.  Substitute version numbers in
41733         tzselect.ksh.
41735         * Makefile (format-me): Remove.
41736         (INSTALL): Adjust indentation.  Use commands directly instead of
41737         using $(format-me).
41739         * aclocal.m4 (ACX_PKGVERSION): New macro.
41740         (ACX_BUGURL): Likewise.
41741         * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
41742         (PKGVERSION): New AC_DEFINE_UNQUOTED.
41743         (REPORT_BUGS_TO): Likewise.
41744         * configure: Regenerated.
41745         * config.h.in (PKGVERSION): New macro.
41746         (REPORT_BUGS_TO): Likewise.
41747         * config.make.in (PKGVERSION): New variable.
41748         (PKGVERSION_TEXI): Likewise.
41749         (REPORT_BUGS_TO): Likewise.
41750         (REPORT_BUGS_TEXI): Likewise.
41751         * Makefile (format-me): Use -I$(common-objpfx)manual.
41752         (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
41753         ($(common-objpfx)manual/%): New target.
41754         (manual/%): Remove target.
41755         * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
41756         (print_version): Use PKGVERSION.
41757         * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
41758         * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
41759         and REPORT_BUGS_TO.
41760         ($(objpfx)xtrace): Likewise.
41761         * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
41762         * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
41763         (print_version): Use PKGVERSION.
41764         * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
41765         (do_version): Use PKGVERSION.
41766         * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
41767         REPORT_BUGS_TO.
41768         (common-ldd-rewrite): Likewise.
41769         * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
41770         * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
41771         (print_version): Use PKGVERSION.
41772         * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
41773         * elf/pldd.c (argp_program_bug_address): Remove variable.
41774         (more_help): New function.
41775         (argp): Use more_help.
41776         (print_version): Use PKGVERSION.
41777         * elf/sln.c (main): Use PKGVERSION.
41778         (usage): Use REPORT_BUGS_TO.
41779         * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
41780         (top level): Use PKGVERSION.
41781         * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
41782         (print_version): Use PKGVERSION.
41783         * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
41784         (print_version): Use PKGVERSION.
41785         * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
41786         (print_version): Use PKGVERSION.
41787         * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
41788         (print_version): Use PKGVERSION.
41789         * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
41790         (print_version): Use PKGVERSION.
41791         * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
41792         (print_version): Use PKGVERSION.
41793         * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
41794         and BUGURL.
41795         ($(objpfx)memusage): Likewise.
41796         * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
41797         (do_version): Use PKGVERSION.
41798         * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
41799         (print_version): Use PKGVERSION.
41800         * malloc/mtrace.pl ($PACKAGE): Remove variable.
41801         ($PKGVERSION): New variable.
41802         ($REPORT_BUGS_TO): Likewise.
41803         (usage): Use $REPORT_BUGS_TO.
41804         (top level): Use $PKGVERSION.
41805         * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
41806         ($(objpfx)pkgvers.texi): New rule.
41807         ($(objpfx)stamp-pkgvers): Likewise.
41808         * manual/install.texi: Include pkgvers.texi.
41809         (--with-pkgversion): Document new configure option.
41810         (--with-bugurl): Likewise.
41811         (Reporting Bugs): Describe Bugzilla as upstream tracker rather
41812         than necessarily for this particular distribution.  Use
41813         REPORT_BUGS_TO for where to report bugs.
41814         * INSTALL: Regenerated.
41815         * manual/libc.texinfo: Include pkgvers.texi.
41816         [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
41817         * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
41818         (print_version): Use PKGVERSION.
41819         * nss/getent.c (more_help): Use REPORT_BUGS_TO.
41820         (print_version): Use PKGVERSION.
41821         * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
41822         (print_version): Use PKGVERSION.
41823         * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
41824         * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
41825         macro.
41826         * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
41827         (print_version): Use PKGVERSION.
41828         * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
41829         (print_version): Use PKGVERSION.
41830         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
41831         and PKGVERSION.
41833         * timezone/checktab.awk: Update from tzcode 2012i.
41834         * timezone/ialloc.c: Likewise.
41835         * timezone/private.h: Likewise.
41836         * timezone/scheck.c: Likewise.
41837         * timezone/tzfile.h: Likewise.
41838         * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
41839         (TZVERSION): Hardcode tzcode version number.
41840         * timezone/zdump.c: Update from tzcode 2012i.
41841         * timezone/zic.c: Likewise.
41842         * timezone/version.h: New file.
41843         * timezone/README: Describe version.h.  Update upstream location.
41845         [BZ #14824]
41846         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
41847         (mktemp): Enable declaration.
41848         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
41849         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
41850         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
41851         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
41852         Likewise.
41853         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
41854         Likewise.
41855         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
41856         Likewise.
41857         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
41858         Likewise.
41859         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
41860         Likewise.
41861         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
41862         Likewise.
41864         [BZ #14821]
41865         * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
41866         offset in buffer as u_int32_t not u_long.  Consistently use memcpy
41867         for copies of such integer values.
41868         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
41869         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
41871 2012-11-09  Andreas Jaeger  <aj@suse.de>
41873         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
41874         definitions and declarations that are provided by
41875         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
41877 2012-11-08  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
41879         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
41880         * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
41881         * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
41882         definition.
41884 2012-11-08  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
41886         * elf/elf.h: Update comment before AArch64 relocations.
41888 2012-11-07  David S. Miller  <davem@davemloft.net>
41890         * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
41891         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
41892         (__start_context): Declare.
41893         (__makecontext_ret): Delete.
41894         (__makecontext): Hook up __start_context instead of
41895         __makecontext_ret.
41896         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
41897         (sysdep_routines): Add __start_context when in stdlib.
41899 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
41901         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
41902         $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
41903         * sysdeps/x86/tst-xmmymm.sh (NM): New variable.  Use it instead of
41904         hardcoded "nm".
41905         (OBJDUMP): New variable.  Use it instead of hardcoded "objdump".
41906         (READELF): New variable.  Use it instead of hardcoded "readelf".
41908 2012-11-07  H.J. Lu  <hongjiu.lu@intel.com>
41910         * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
41911         * sysdeps/x86/Makefile: Here.
41912         * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
41913         * sysdeps/x86/tst-xmmymm.sh: This.
41915 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
41917         * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
41918         expectations.
41919         [UNIX98] (pthread_barrier_t): Do not expect.
41920         [UNIX98] (pthread_barrierattr_t): Likewise.
41921         [UNIX98] (pthread_spinlock_t): Likewise.
41922         [UNIX98] (pthread_barrier_destroy): Likewise.
41923         [UNIX98] (pthread_barrier_init): Likewise.
41924         [UNIX98] (pthread_barrier_wait): Likewise.
41925         [UNIX98] (pthread_barrierattr_destroy): Likewise.
41926         [UNIX98] (pthread_barrierattr_getpshared): Likewise.
41927         [UNIX98] (pthread_barrierattr_init): Likewise.
41928         [UNIX98] (pthread_barrierattr_setpshared): Likewise.
41929         [UNIX98] (pthread_getcpuclockid): Likewise.
41930         [UNIX98] (pthread_mutex_timedlock): Likewise.
41931         [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
41932         [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
41933         [UNIX98] (pthread_sigmask): Likewise.
41934         [UNIX98] (pthread_spin_destroy): Likewise.
41935         [UNIX98] (pthread_spin_init): Likewise.
41936         [UNIX98] (pthread_spin_lock): Likewise.
41937         [UNIX98] (pthread_spin_trylock): Likewise.
41938         [UNIX98] (pthread_spin_unlock): Likewise.
41939         * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
41940         Do not expect.
41941         [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
41942         [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
41943         [XPG3 || XPG4] (pthread_cond_t): Likewise.
41944         [XPG3 || XPG4] (pthread_condattr_t): Likewise.
41945         [XPG3 || XPG4] (pthread_key_t): Likewise.
41946         [XPG3 || XPG4] (pthread_mutex_t): Likewise.
41947         [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
41948         [XPG3 || XPG4] (pthread_once_t): Likewise.
41949         [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
41950         [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
41951         [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
41952         [XPG3 || XPG4] (pthread_t): Likewise.
41954         * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
41955         not expect.
41956         [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
41958         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
41959         Change function return type to int.
41961         * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
41962         Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
41963         [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
41964         [!POSIX] (POSIX_MADV_RANDOM): Likewise.
41965         [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
41966         [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
41967         [!POSIX] (posix_madvise): Likewise.
41968         (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
41969         && !UNIX98].
41970         (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
41971         (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
41972         (mode_t): Likewise.
41973         (posix_mem_offset): Likewise.
41974         (posix_typed_mem_get_info): Likewise.
41975         (posix_typed_mem_open): Likewise.
41977         * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
41978         Change condition to [XOPEN2K8].
41980         * conform/conformtest.pl: Preprocess allow-header data with -x c
41981         instead of from stdin.
41982         (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
41983         * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
41984         [C99-based standards] (cerfc): Likewise.
41985         [C99-based standards] (cexp2): Likewise.
41986         [C99-based standards] (cexpm1): Likewise.
41987         [C99-based standards] (clog10): Likewise.
41988         [C99-based standards] (clog1p): Likewise.
41989         [C99-based standards] (clog2): Likewise.
41990         [C99-based standards] (clgamma): Likewise.
41991         [C99-based standards] (ctgamma): Likewise.
41992         [C99-based standards] (cerff): Likewise.
41993         [C99-based standards] (cerfcf): Likewise.
41994         [C99-based standards] (cexp2f): Likewise.
41995         [C99-based standards] (cexpm1f): Likewise.
41996         [C99-based standards] (clog10f): Likewise.
41997         [C99-based standards] (clog1pf): Likewise.
41998         [C99-based standards] (clog2f): Likewise.
41999         [C99-based standards] (clgammaf): Likewise.
42000         [C99-based standards] (ctgammaf): Likewise.
42001         [C99-based standards] (cerfl): Likewise.
42002         [C99-based standards] (cerfcl): Likewise.
42003         [C99-based standards] (cexp2l): Likewise.
42004         [C99-based standards] (cexpm1l): Likewise.
42005         [C99-based standards] (clog10l): Likewise.
42006         [C99-based standards] (clog1pl): Likewise.
42007         [C99-based standards] (clog2l): Likewise.
42008         [C99-based standards] (clgammal): Likewise.
42009         [C99-based standards] (ctgammal): Likewise.
42010         * conform/data/inttypes.h-data [C99-based standards]: Include
42011         stdint.h-data.  Remove all expectations for stdint.h contents.
42012         [C99-based standards] (PRI*): Do not allow.
42013         [C99-based standards] (SCN*): Likewise.
42014         [C99-based standards] (*_t): Likewise.
42015         [C99-based-standards] (PRId8): Expect macro.
42016         [C99-based-standards] (PRIi8): Likewise.
42017         [C99-based-standards] (PRIo8): Likewise.
42018         [C99-based-standards] (PRIu8): Likewise.
42019         [C99-based-standards] (PRIx8): Likewise.
42020         [C99-based-standards] (PRIX8): Likewise.
42021         [C99-based-standards] (SCNd8): Likewise.
42022         [C99-based-standards] (SCNi8): Likewise.
42023         [C99-based-standards] (SCNo8): Likewise.
42024         [C99-based-standards] (SCNu8): Likewise.
42025         [C99-based-standards] (SCNx8): Likewise.
42026         [C99-based-standards] (PRIdLEAST8): Likewise.
42027         [C99-based-standards] (PRIiLEAST8): Likewise.
42028         [C99-based-standards] (PRIoLEAST8): Likewise.
42029         [C99-based-standards] (PRIuLEAST8): Likewise.
42030         [C99-based-standards] (PRIxLEAST8): Likewise.
42031         [C99-based-standards] (PRIXLEAST8): Likewise.
42032         [C99-based-standards] (SCNdLEAST8): Likewise.
42033         [C99-based-standards] (SCNiLEAST8): Likewise.
42034         [C99-based-standards] (SCNoLEAST8): Likewise.
42035         [C99-based-standards] (SCNuLEAST8): Likewise.
42036         [C99-based-standards] (SCNxLEAST8): Likewise.
42037         [C99-based-standards] (PRIdFAST8): Likewise.
42038         [C99-based-standards] (PRIiFAST8): Likewise.
42039         [C99-based-standards] (PRIoFAST8): Likewise.
42040         [C99-based-standards] (PRIuFAST8): Likewise.
42041         [C99-based-standards] (PRIxFAST8): Likewise.
42042         [C99-based-standards] (PRIXFAST8): Likewise.
42043         [C99-based-standards] (SCNdFAST8): Likewise.
42044         [C99-based-standards] (SCNiFAST8): Likewise.
42045         [C99-based-standards] (SCNoFAST8): Likewise.
42046         [C99-based-standards] (SCNuFAST8): Likewise.
42047         [C99-based-standards] (SCNxFAST8): Likewise.
42048         [C99-based-standards] (PRId16): Likewise.
42049         [C99-based-standards] (PRIi16): Likewise.
42050         [C99-based-standards] (PRIo16): Likewise.
42051         [C99-based-standards] (PRIu16): Likewise.
42052         [C99-based-standards] (PRIx16): Likewise.
42053         [C99-based-standards] (PRIX16): Likewise.
42054         [C99-based-standards] (SCNd16): Likewise.
42055         [C99-based-standards] (SCNi16): Likewise.
42056         [C99-based-standards] (SCNo16): Likewise.
42057         [C99-based-standards] (SCNu16): Likewise.
42058         [C99-based-standards] (SCNx16): Likewise.
42059         [C99-based-standards] (PRIdLEAST16): Likewise.
42060         [C99-based-standards] (PRIiLEAST16): Likewise.
42061         [C99-based-standards] (PRIoLEAST16): Likewise.
42062         [C99-based-standards] (PRIuLEAST16): Likewise.
42063         [C99-based-standards] (PRIxLEAST16): Likewise.
42064         [C99-based-standards] (PRIXLEAST16): Likewise.
42065         [C99-based-standards] (SCNdLEAST16): Likewise.
42066         [C99-based-standards] (SCNiLEAST16): Likewise.
42067         [C99-based-standards] (SCNoLEAST16): Likewise.
42068         [C99-based-standards] (SCNuLEAST16): Likewise.
42069         [C99-based-standards] (SCNxLEAST16): Likewise.
42070         [C99-based-standards] (PRIdFAST16): Likewise.
42071         [C99-based-standards] (PRIiFAST16): Likewise.
42072         [C99-based-standards] (PRIoFAST16): Likewise.
42073         [C99-based-standards] (PRIuFAST16): Likewise.
42074         [C99-based-standards] (PRIxFAST16): Likewise.
42075         [C99-based-standards] (PRIXFAST16): Likewise.
42076         [C99-based-standards] (SCNdFAST16): Likewise.
42077         [C99-based-standards] (SCNiFAST16): Likewise.
42078         [C99-based-standards] (SCNoFAST16): Likewise.
42079         [C99-based-standards] (SCNuFAST16): Likewise.
42080         [C99-based-standards] (SCNxFAST16): Likewise.
42081         [C99-based-standards] (PRId32): Likewise.
42082         [C99-based-standards] (PRIi32): Likewise.
42083         [C99-based-standards] (PRIo32): Likewise.
42084         [C99-based-standards] (PRIu32): Likewise.
42085         [C99-based-standards] (PRIx32): Likewise.
42086         [C99-based-standards] (PRIX32): Likewise.
42087         [C99-based-standards] (SCNd32): Likewise.
42088         [C99-based-standards] (SCNi32): Likewise.
42089         [C99-based-standards] (SCNo32): Likewise.
42090         [C99-based-standards] (SCNu32): Likewise.
42091         [C99-based-standards] (SCNx32): Likewise.
42092         [C99-based-standards] (PRIdLEAST32): Likewise.
42093         [C99-based-standards] (PRIiLEAST32): Likewise.
42094         [C99-based-standards] (PRIoLEAST32): Likewise.
42095         [C99-based-standards] (PRIuLEAST32): Likewise.
42096         [C99-based-standards] (PRIxLEAST32): Likewise.
42097         [C99-based-standards] (PRIXLEAST32): Likewise.
42098         [C99-based-standards] (SCNdLEAST32): Likewise.
42099         [C99-based-standards] (SCNiLEAST32): Likewise.
42100         [C99-based-standards] (SCNoLEAST32): Likewise.
42101         [C99-based-standards] (SCNuLEAST32): Likewise.
42102         [C99-based-standards] (SCNxLEAST32): Likewise.
42103         [C99-based-standards] (PRIdFAST32): Likewise.
42104         [C99-based-standards] (PRIiFAST32): Likewise.
42105         [C99-based-standards] (PRIoFAST32): Likewise.
42106         [C99-based-standards] (PRIuFAST32): Likewise.
42107         [C99-based-standards] (PRIxFAST32): Likewise.
42108         [C99-based-standards] (PRIXFAST32): Likewise.
42109         [C99-based-standards] (SCNdFAST32): Likewise.
42110         [C99-based-standards] (SCNiFAST32): Likewise.
42111         [C99-based-standards] (SCNoFAST32): Likewise.
42112         [C99-based-standards] (SCNuFAST32): Likewise.
42113         [C99-based-standards] (SCNxFAST32): Likewise.
42114         [C99-based-standards] (PRId64): Likewise.
42115         [C99-based-standards] (PRIi64): Likewise.
42116         [C99-based-standards] (PRIo64): Likewise.
42117         [C99-based-standards] (PRIu64): Likewise.
42118         [C99-based-standards] (PRIx64): Likewise.
42119         [C99-based-standards] (PRIX64): Likewise.
42120         [C99-based-standards] (SCNd64): Likewise.
42121         [C99-based-standards] (SCNi64): Likewise.
42122         [C99-based-standards] (SCNo64): Likewise.
42123         [C99-based-standards] (SCNu64): Likewise.
42124         [C99-based-standards] (SCNx64): Likewise.
42125         [C99-based-standards] (PRIdLEAST64): Likewise.
42126         [C99-based-standards] (PRIiLEAST64): Likewise.
42127         [C99-based-standards] (PRIoLEAST64): Likewise.
42128         [C99-based-standards] (PRIuLEAST64): Likewise.
42129         [C99-based-standards] (PRIxLEAST64): Likewise.
42130         [C99-based-standards] (PRIXLEAST64): Likewise.
42131         [C99-based-standards] (SCNdLEAST64): Likewise.
42132         [C99-based-standards] (SCNiLEAST64): Likewise.
42133         [C99-based-standards] (SCNoLEAST64): Likewise.
42134         [C99-based-standards] (SCNuLEAST64): Likewise.
42135         [C99-based-standards] (SCNxLEAST64): Likewise.
42136         [C99-based-standards] (PRIdFAST64): Likewise.
42137         [C99-based-standards] (PRIiFAST64): Likewise.
42138         [C99-based-standards] (PRIoFAST64): Likewise.
42139         [C99-based-standards] (PRIuFAST64): Likewise.
42140         [C99-based-standards] (PRIxFAST64): Likewise.
42141         [C99-based-standards] (PRIXFAST64): Likewise.
42142         [C99-based-standards] (SCNdFAST64): Likewise.
42143         [C99-based-standards] (SCNiFAST64): Likewise.
42144         [C99-based-standards] (SCNoFAST64): Likewise.
42145         [C99-based-standards] (SCNuFAST64): Likewise.
42146         [C99-based-standards] (SCNxFAST64): Likewise.
42147         [C99-based-standards] (PRIdMAX): Likewise.
42148         [C99-based-standards] (PRIiMAX): Likewise.
42149         [C99-based-standards] (PRIoMAX): Likewise.
42150         [C99-based-standards] (PRIuMAX): Likewise.
42151         [C99-based-standards] (PRIxMAX): Likewise.
42152         [C99-based-standards] (PRIXMAX): Likewise.
42153         [C99-based-standards] (SCNdMAX): Likewise.
42154         [C99-based-standards] (SCNiMAX): Likewise.
42155         [C99-based-standards] (SCNoMAX): Likewise.
42156         [C99-based-standards] (SCNuMAX): Likewise.
42157         [C99-based-standards] (SCNxMAX): Likewise.
42158         [C99-based-standards] (PRIdPTR): Likewise.
42159         [C99-based-standards] (PRIiPTR): Likewise.
42160         [C99-based-standards] (PRIoPTR): Likewise.
42161         [C99-based-standards] (PRIuPTR): Likewise.
42162         [C99-based-standards] (PRIxPTR): Likewise.
42163         [C99-based-standards] (PRIXPTR): Likewise.
42164         [C99-based-standards] (SCNdPTR): Likewise.
42165         [C99-based-standards] (SCNiPTR): Likewise.
42166         [C99-based-standards] (SCNoPTR): Likewise.
42167         [C99-based-standards] (SCNuPTR): Likewise.
42168         [C99-based-standards] (SCNxPTR): Likewise.
42169         * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
42170         allow.
42171         * conform/data/stdint.h-data: Update comments to clarify
42172         requirements.
42173         [C99-based standards] (INT8_MIN): Use macro-int-constant.  Specify
42174         type.
42175         [C99-based standards] (INT8_MAX): Likewise.
42176         [C99-based standards] (INT16_MIN): Likewise.
42177         [C99-based standards] (INT16_MAX): Likewise.
42178         [C99-based standards] (INT32_MIN): Likewise.
42179         [C99-based standards] (INT32_MAX): Likewise.
42180         [C99-based standards] (INT64_MIN): Likewise.
42181         [C99-based standards] (INT64_MAX): Likewise.
42182         [C99-based standards] (UINT8_MAX): Likewise.
42183         [C99-based standards] (UINT16_MAX): Likewise.
42184         [C99-based standards] (UINT32_MAX): Likewise.
42185         [C99-based standards] (UINT64_MAX): Likewise.
42186         [C99-based standards] (INT_LEAST8_MIN): Likewise.
42187         [C99-based standards] (INT_LEAST8_MAX): Likewise.
42188         [C99-based standards] (INT_LEAST16_MIN): Likewise.
42189         [C99-based standards] (INT_LEAST16_MAX): Likewise.
42190         [C99-based standards] (INT_LEAST32_MIN): Likewise.
42191         [C99-based standards] (INT_LEAST32_MAX): Likewise.
42192         [C99-based standards] (INT_LEAST64_MIN): Likewise.
42193         [C99-based standards] (INT_LEAST64_MAX): Likewise.
42194         [C99-based standards] (UINT_LEAST8_MAX): Likewise.
42195         [C99-based standards] (UINT_LEAST16_MAX): Likewise.
42196         [C99-based standards] (UINT_LEAST32_MAX): Likewise.
42197         [C99-based standards] (UINT_LEAST64_MAX): Likewise.
42198         [C99-based standards] (INT_FAST8_MIN): Likewise.
42199         [C99-based standards] (INT_FAST8_MAX): Likewise.
42200         [C99-based standards] (INT_FAST16_MIN): Likewise.
42201         [C99-based standards] (INT_FAST16_MAX): Likewise.
42202         [C99-based standards] (INT_FAST32_MIN): Likewise.
42203         [C99-based standards] (INT_FAST32_MAX): Likewise.
42204         [C99-based standards] (INT_FAST64_MIN): Likewise.
42205         [C99-based standards] (INT_FAST64_MAX): Likewise.
42206         [C99-based standards] (UINT_FAST8_MAX): Likewise.
42207         [C99-based standards] (UINT_FAST16_MAX): Likewise.
42208         [C99-based standards] (UINT_FAST32_MAX): Likewise.
42209         [C99-based standards] (UINT_FAST64_MAX): Likewise.
42210         [C99-based standards] (INTPTR_MIN): Likewise.
42211         [C99-based standards] (INTPTR_MAX): Likewise.
42212         [C99-based standards] (UINTPTR_MAX): Likewise.
42213         [C99-based standards] (INTMAX_MIN): Likewise.
42214         [C99-based standards] (INTMAX_MAX): Likewise.
42215         [C99-based standards] (UINTMAX_MAX): Likewise.
42216         [C99-based standards] (PTRDIFF_MIN): Likewise.
42217         [C99-based standards] (PTRDIFF_MAX): Likewise.
42218         [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
42219         [C99-based standards] (SIZE_MAX): Likewise.
42220         [C99-based standards] (WCHAR_MAX): Likewise.
42221         [C99-based standards] (WINT_MAX): Likewise.
42222         [C99-based standards] (SIG_ATOMIC_MIN): Likewise.  Do not specify
42223         constraint on value.
42224         [C99-based standards] (WCHAR_MIN): Likewise.
42225         [C99-based standards] (WINT_MIN): Likewise.
42226         [C99-based standards] (*_t): Allow.
42227         * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
42228         condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
42229         Include math.h-data and complex.h-data.  Remove all expectations
42230         of math.h and complex.h contents.
42231         * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
42232         at end of line.
42233         * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
42234         (struct tm): Expect tag.
42235         [C99-based-standards] (wcstof): Expect function.
42236         [C99-based-standards] (wcstold): Likewise.
42237         [C99-based-standards] (wcstoll): Likewise.
42238         [C99-based-standards] (wcstoull): Likewise.
42239         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
42240         macro-int-constant.  Specify type.
42241         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise.  Specify
42242         constraint on value.
42243         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
42244         Specify type.
42245         [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
42246         Specify value.
42247         [ISO C standards]: Do not allow headers.
42248         [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
42249         wcs[abcdefghijklmnopqrstuvwxyz]*.
42250         [ISO C standards] (*_t): Do not allow.
42251         * conform/data/wctype.h-data [C99-based standards] (iswblank):
42252         Expect function.
42253         [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
42254         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
42255         Specify type.
42256         [ISO C standards]: Do not allow headers.
42257         [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
42258         is[abcdefghijklmnopqrstuvwxyz]*.
42259         [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
42260         to[abcdefghijklmnopqrstuvwxyz]*.
42261         [ISO C standards] (*_t): Do not allow.
42262         * conform/data/stdalign.h-data: New file.
42263         * conform/data/stdbool.h-data: Likewise.
42264         * conform/data/stdnoreturn.h-data: Likewise.
42266 2012-11-07  Roland McGrath  <roland@hack.frob.com>
42268         [BZ #14815]
42269         * manual/filesys.texi (Directory Entries): Typo fix.
42270         Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
42272 2012-11-07  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
42274         * elf/elf.h (EM_AARCH64): New macro.
42275         (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
42276         (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
42277         (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
42278         (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
42279         (R_AARCH64_TLSDESC): Likewise.
42280         (NT_ARM_TLS): Likewise.
42281         (NT_ARM_HW_BREAK): Likewise.
42282         (NT_ARM_HW_WATCH): Likewise.
42284 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
42286         [BZ #14811]
42287         * sysdeps/i386/fpu/e_powl.S (pm79): New object.
42288         (__ieee754_powl): Saturate nonzero exponents with absolute value
42289         below 0x1p-79 to +/- 0x1p-79.
42290         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
42291         exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
42292         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
42293         nonzero exponents with absolute value below 0x1p-32 to +/-
42294         0x1p-32.
42295         * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
42296         (__ieee754_powl): Saturate nonzero exponents with absolute value
42297         below 0x1p-79 to +/- 0x1p-79.
42298         * math/libm-test.inc (pow_test): Add more tests.
42300 2012-11-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
42302         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
42303         _dl_s390_cap_flags with kernel. Increase string length.
42304         (_dl_s390_platforms): Add z196 and zEC12.
42306 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
42308         * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
42309         Change XOPEN21K to XOPEN2K.
42311 2012-11-06  Maxim Kuvyrkov  <maxim@codesourcery.com>
42313         * string/memmove.c: Use memcpy when possible.
42315 2012-11-06  Andreas Jaeger  <aj@suse.de>
42317         * po/eo.po: Update from translation team.
42319 2012-11-06  Joseph Myers  <joseph@codesourcery.com>
42321         [BZ #14793]
42322         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
42323         exponent and small x and y exponents, scale x or y up.  Increase
42324         by 2 the exponent used in scaling up.
42325         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
42326         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
42327         * math/libm-test.inc (fma_test): Add more tests.
42328         (fma_test_towardzero): Likewise.
42329         (fma_test_downward): Likewise.
42330         (fma_test_upward): Likewise.
42332 2012-11-05  Joseph Myers  <joseph@codesourcery.com>
42334         [BZ #14805]
42335         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
42336         fenv_t *.
42338         [BZ #14801]
42339         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
42340         namespace for names of struct fields.
42341         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
42342         fenv_t fields.
42343         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
42344         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
42346 2012-11-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
42348         [BZ #3665]
42349         * sysdeps/mach/hurd/bits/errno.h: Regenerated.
42351 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
42353         * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
42354         PTR_DEMANGLE.
42356         [BZ #5246]
42357         * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
42358         PTR_DEMANGLE.
42360 2012-11-04  Joseph Myers  <joseph@codesourcery.com>
42362         [BZ #14797]
42363         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
42364         definitely overflow as x * y not x * y + z.
42365         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
42366         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
42367         * math/libm-test.inc (fma_test): Add more tests.
42368         (fma_test_towardzero): Likewise.
42369         (fma_test_downward): Likewise.
42370         (fma_test_upward): Likewise.
42372 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
42374         [BZ #157]
42376         * include/stub-tag.h: Remove file.
42377         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
42378         '#include' of it.
42379         * manual/maint.texi (Porting): Don't reference it.
42380         * Makerules ($(objpfx)stubs): Likewise.
42381         * dirent/closedir.c: Don't include <stub-tag.h>.
42382         * dirent/dirfd.c: Likewise.
42383         * dirent/fdopendir.c: Likewise.
42384         * dirent/getdents.c: Likewise.
42385         * dirent/getdents64.c: Likewise.
42386         * dirent/opendir.c: Likewise.
42387         * dirent/readdir.c: Likewise.
42388         * dirent/readdir64.c: Likewise.
42389         * dirent/readdir64_r.c: Likewise.
42390         * dirent/readdir_r.c: Likewise.
42391         * dirent/rewinddir.c: Likewise.
42392         * dirent/seekdir.c: Likewise.
42393         * dirent/telldir.c: Likewise.
42394         * gmon/profil.c: Likewise.
42395         * grp/setgroups.c: Likewise.
42396         * inet/if_index.c: Likewise.
42397         * io/access.c: Likewise.
42398         * io/chdir.c: Likewise.
42399         * io/chmod.c: Likewise.
42400         * io/chown.c: Likewise.
42401         * io/close.c: Likewise.
42402         * io/dup.c: Likewise.
42403         * io/dup2.c: Likewise.
42404         * io/dup3.c: Likewise.
42405         * io/euidaccess.c: Likewise.
42406         * io/faccessat.c: Likewise.
42407         * io/fchdir.c: Likewise.
42408         * io/fchmod.c: Likewise.
42409         * io/fchmodat.c: Likewise.
42410         * io/fchown.c: Likewise.
42411         * io/fchownat.c: Likewise.
42412         * io/fcntl.c: Likewise.
42413         * io/flock.c: Likewise.
42414         * io/fstatfs.c: Likewise.
42415         * io/fstatfs64.c: Likewise.
42416         * io/fstatvfs.c: Likewise.
42417         * io/fstatvfs64.c: Likewise.
42418         * io/futimens.c: Likewise.
42419         * io/fxstat.c: Likewise.
42420         * io/fxstat64.c: Likewise.
42421         * io/fxstatat.c: Likewise.
42422         * io/fxstatat64.c: Likewise.
42423         * io/getcwd.c: Likewise.
42424         * io/isatty.c: Likewise.
42425         * io/lchmod.c: Likewise.
42426         * io/lchown.c: Likewise.
42427         * io/link.c: Likewise.
42428         * io/linkat.c: Likewise.
42429         * io/lseek.c: Likewise.
42430         * io/lseek64.c: Likewise.
42431         * io/lxstat64.c: Likewise.
42432         * io/mkdir.c: Likewise.
42433         * io/mkdirat.c: Likewise.
42434         * io/mkfifo.c: Likewise.
42435         * io/mkfifoat.c: Likewise.
42436         * io/open.c: Likewise.
42437         * io/open64.c: Likewise.
42438         * io/openat.c: Likewise.
42439         * io/openat64.c: Likewise.
42440         * io/pipe.c: Likewise.
42441         * io/pipe2.c: Likewise.
42442         * io/poll.c: Likewise.
42443         * io/posix_fadvise.c: Likewise.
42444         * io/posix_fadvise64.c: Likewise.
42445         * io/posix_fallocate.c: Likewise.
42446         * io/posix_fallocate64.c: Likewise.
42447         * io/read.c: Likewise.
42448         * io/readlink.c: Likewise.
42449         * io/readlinkat.c: Likewise.
42450         * io/rmdir.c: Likewise.
42451         * io/sendfile.c: Likewise.
42452         * io/sendfile64.c: Likewise.
42453         * io/statfs.c: Likewise.
42454         * io/statfs64.c: Likewise.
42455         * io/statvfs.c: Likewise.
42456         * io/statvfs64.c: Likewise.
42457         * io/symlink.c: Likewise.
42458         * io/symlinkat.c: Likewise.
42459         * io/ttyname.c: Likewise.
42460         * io/ttyname_r.c: Likewise.
42461         * io/umask.c: Likewise.
42462         * io/unlink.c: Likewise.
42463         * io/unlinkat.c: Likewise.
42464         * io/utime.c: Likewise.
42465         * io/utimensat.c: Likewise.
42466         * io/write.c: Likewise.
42467         * io/xmknod.c: Likewise.
42468         * io/xmknodat.c: Likewise.
42469         * io/xstat.c: Likewise.
42470         * io/xstat64.c: Likewise.
42471         * login/getpt.c: Likewise.
42472         * login/grantpt.c: Likewise.
42473         * login/unlockpt.c: Likewise.
42474         * math/e_acoshl.c: Likewise.
42475         * math/e_acosl.c: Likewise.
42476         * math/e_asinl.c: Likewise.
42477         * math/e_atan2l.c: Likewise.
42478         * math/e_atanhl.c: Likewise.
42479         * math/e_coshl.c: Likewise.
42480         * math/e_expl.c: Likewise.
42481         * math/e_fmodl.c: Likewise.
42482         * math/e_gammal_r.c: Likewise.
42483         * math/e_hypotl.c: Likewise.
42484         * math/e_j0l.c: Likewise.
42485         * math/e_j1l.c: Likewise.
42486         * math/e_jnl.c: Likewise.
42487         * math/e_lgammal_r.c: Likewise.
42488         * math/e_log10l.c: Likewise.
42489         * math/e_log2l.c: Likewise.
42490         * math/e_logl.c: Likewise.
42491         * math/e_powl.c: Likewise.
42492         * math/e_rem_pio2l.c: Likewise.
42493         * math/e_sinhl.c: Likewise.
42494         * math/e_sqrtl.c: Likewise.
42495         * math/fclrexcpt.c: Likewise.
42496         * math/fedisblxcpt.c: Likewise.
42497         * math/feenablxcpt.c: Likewise.
42498         * math/fegetenv.c: Likewise.
42499         * math/fegetexcept.c: Likewise.
42500         * math/fegetround.c: Likewise.
42501         * math/feholdexcpt.c: Likewise.
42502         * math/fesetenv.c: Likewise.
42503         * math/fesetround.c: Likewise.
42504         * math/feupdateenv.c: Likewise.
42505         * math/fgetexcptflg.c: Likewise.
42506         * math/fraiseexcpt.c: Likewise.
42507         * math/fsetexcptflg.c: Likewise.
42508         * math/ftestexcept.c: Likewise.
42509         * math/k_cosl.c: Likewise.
42510         * math/k_rem_pio2l.c: Likewise.
42511         * math/k_sinl.c: Likewise.
42512         * math/k_tanl.c: Likewise.
42513         * math/s_asinhl.c: Likewise.
42514         * math/s_atanl.c: Likewise.
42515         * math/s_cbrtl.c: Likewise.
42516         * math/s_erfl.c: Likewise.
42517         * math/s_expm1l.c: Likewise.
42518         * math/s_log1pl.c: Likewise.
42519         * math/s_tanhl.c: Likewise.
42520         * misc/acct.c: Likewise.
42521         * misc/brk.c: Likewise.
42522         * misc/chflags.c: Likewise.
42523         * misc/chroot.c: Likewise.
42524         * misc/fchflags.c: Likewise.
42525         * misc/fgetxattr.c: Likewise.
42526         * misc/flistxattr.c: Likewise.
42527         * misc/fremovexattr.c: Likewise.
42528         * misc/fsetxattr.c: Likewise.
42529         * misc/fsync.c: Likewise.
42530         * misc/ftruncate.c: Likewise.
42531         * misc/futimes.c: Likewise.
42532         * misc/futimesat.c: Likewise.
42533         * misc/getdomain.c: Likewise.
42534         * misc/getdtsz.c: Likewise.
42535         * misc/gethostid.c: Likewise.
42536         * misc/gethostname.c: Likewise.
42537         * misc/getloadavg.c: Likewise.
42538         * misc/getpagesize.c: Likewise.
42539         * misc/getsysstats.c: Likewise.
42540         * misc/getxattr.c: Likewise.
42541         * misc/gtty.c: Likewise.
42542         * misc/ioctl.c: Likewise.
42543         * misc/lgetxattr.c: Likewise.
42544         * misc/listxattr.c: Likewise.
42545         * misc/llistxattr.c: Likewise.
42546         * misc/lremovexattr.c: Likewise.
42547         * misc/lsetxattr.c: Likewise.
42548         * misc/lutimes.c: Likewise.
42549         * misc/madvise.c: Likewise.
42550         * misc/mincore.c: Likewise.
42551         * misc/mlock.c: Likewise.
42552         * misc/mlockall.c: Likewise.
42553         * misc/mmap.c: Likewise.
42554         * misc/mprotect.c: Likewise.
42555         * misc/msync.c: Likewise.
42556         * misc/munlock.c: Likewise.
42557         * misc/munlockall.c: Likewise.
42558         * misc/munmap.c: Likewise.
42559         * misc/preadv.c: Likewise.
42560         * misc/preadv64.c: Likewise.
42561         * misc/ptrace.c: Likewise.
42562         * misc/pwritev.c: Likewise.
42563         * misc/pwritev64.c: Likewise.
42564         * misc/readv.c: Likewise.
42565         * misc/reboot.c: Likewise.
42566         * misc/remap_file_pages.c: Likewise.
42567         * misc/removexattr.c: Likewise.
42568         * misc/revoke.c: Likewise.
42569         * misc/select.c: Likewise.
42570         * misc/setdomain.c: Likewise.
42571         * misc/setegid.c: Likewise.
42572         * misc/seteuid.c: Likewise.
42573         * misc/sethostid.c: Likewise.
42574         * misc/sethostname.c: Likewise.
42575         * misc/setregid.c: Likewise.
42576         * misc/setreuid.c: Likewise.
42577         * misc/setxattr.c: Likewise.
42578         * misc/sstk.c: Likewise.
42579         * misc/stty.c: Likewise.
42580         * misc/swapoff.c: Likewise.
42581         * misc/swapon.c: Likewise.
42582         * misc/sync.c: Likewise.
42583         * misc/syncfs.c: Likewise.
42584         * misc/syscall.c: Likewise.
42585         * misc/truncate.c: Likewise.
42586         * misc/ualarm.c: Likewise.
42587         * misc/usleep.c: Likewise.
42588         * misc/ustat.c: Likewise.
42589         * misc/utimes.c: Likewise.
42590         * misc/vhangup.c: Likewise.
42591         * misc/writev.c: Likewise.
42592         * posix/_exit.c: Likewise.
42593         * posix/alarm.c: Likewise.
42594         * posix/execve.c: Likewise.
42595         * posix/fexecve.c: Likewise.
42596         * posix/fork.c: Likewise.
42597         * posix/fpathconf.c: Likewise.
42598         * posix/getaddrinfo.c: Likewise.
42599         * posix/getegid.c: Likewise.
42600         * posix/geteuid.c: Likewise.
42601         * posix/getgid.c: Likewise.
42602         * posix/getgroups.c: Likewise.
42603         * posix/getlogin.c: Likewise.
42604         * posix/getlogin_r.c: Likewise.
42605         * posix/getpgid.c: Likewise.
42606         * posix/getpid.c: Likewise.
42607         * posix/getppid.c: Likewise.
42608         * posix/getresgid.c: Likewise.
42609         * posix/getresuid.c: Likewise.
42610         * posix/getsid.c: Likewise.
42611         * posix/getuid.c: Likewise.
42612         * posix/glob64.c: Likewise.
42613         * posix/nanosleep.c: Likewise.
42614         * posix/pathconf.c: Likewise.
42615         * posix/pause.c: Likewise.
42616         * posix/posix_madvise.c: Likewise.
42617         * posix/pread.c: Likewise.
42618         * posix/pread64.c: Likewise.
42619         * posix/pwrite.c: Likewise.
42620         * posix/pwrite64.c: Likewise.
42621         * posix/sched_getaffinity.c: Likewise.
42622         * posix/sched_getp.c: Likewise.
42623         * posix/sched_gets.c: Likewise.
42624         * posix/sched_primax.c: Likewise.
42625         * posix/sched_primin.c: Likewise.
42626         * posix/sched_rr_gi.c: Likewise.
42627         * posix/sched_setaffinity.c: Likewise.
42628         * posix/sched_setp.c: Likewise.
42629         * posix/sched_sets.c: Likewise.
42630         * posix/sched_yield.c: Likewise.
42631         * posix/setgid.c: Likewise.
42632         * posix/setlogin.c: Likewise.
42633         * posix/setpgid.c: Likewise.
42634         * posix/setresgid.c: Likewise.
42635         * posix/setresuid.c: Likewise.
42636         * posix/setsid.c: Likewise.
42637         * posix/setuid.c: Likewise.
42638         * posix/sleep.c: Likewise.
42639         * posix/spawni.c: Likewise.
42640         * posix/sysconf.c: Likewise.
42641         * posix/times.c: Likewise.
42642         * posix/wait.c: Likewise.
42643         * posix/wait3.c: Likewise.
42644         * posix/wait4.c: Likewise.
42645         * posix/waitpid.c: Likewise.
42646         * resolv/gai_sigqueue.c: Likewise.
42647         * resource/getpriority.c: Likewise.
42648         * resource/getrlimit.c: Likewise.
42649         * resource/getrusage.c: Likewise.
42650         * resource/nice.c: Likewise.
42651         * resource/setpriority.c: Likewise.
42652         * resource/setrlimit.c: Likewise.
42653         * resource/ulimit.c: Likewise.
42654         * rt/aio_cancel.c: Likewise.
42655         * rt/aio_fsync.c: Likewise.
42656         * rt/aio_read.c: Likewise.
42657         * rt/aio_sigqueue.c: Likewise.
42658         * rt/aio_suspend.c: Likewise.
42659         * rt/aio_write.c: Likewise.
42660         * rt/clock_getres.c: Likewise.
42661         * rt/clock_gettime.c: Likewise.
42662         * rt/clock_nanosleep.c: Likewise.
42663         * rt/clock_settime.c: Likewise.
42664         * rt/lio_listio.c: Likewise.
42665         * rt/mq_close.c: Likewise.
42666         * rt/mq_getattr.c: Likewise.
42667         * rt/mq_notify.c: Likewise.
42668         * rt/mq_open.c: Likewise.
42669         * rt/mq_receive.c: Likewise.
42670         * rt/mq_send.c: Likewise.
42671         * rt/mq_setattr.c: Likewise.
42672         * rt/mq_timedreceive.c: Likewise.
42673         * rt/mq_timedsend.c: Likewise.
42674         * rt/mq_unlink.c: Likewise.
42675         * rt/shm_open.c: Likewise.
42676         * rt/shm_unlink.c: Likewise.
42677         * rt/timer_create.c: Likewise.
42678         * rt/timer_delete.c: Likewise.
42679         * rt/timer_getoverr.c: Likewise.
42680         * rt/timer_gettime.c: Likewise.
42681         * rt/timer_settime.c: Likewise.
42682         * setjmp/__longjmp.c: Likewise.
42683         * setjmp/setjmp.c: Likewise.
42684         * signal/kill.c: Likewise.
42685         * signal/killpg.c: Likewise.
42686         * signal/raise.c: Likewise.
42687         * signal/sigaction.c: Likewise.
42688         * signal/sigaltstack.c: Likewise.
42689         * signal/sigblock.c: Likewise.
42690         * signal/sigignore.c: Likewise.
42691         * signal/sigintr.c: Likewise.
42692         * signal/signal.c: Likewise.
42693         * signal/sigpause.c: Likewise.
42694         * signal/sigpending.c: Likewise.
42695         * signal/sigqueue.c: Likewise.
42696         * signal/sigreturn.c: Likewise.
42697         * signal/sigset.c: Likewise.
42698         * signal/sigsetmask.c: Likewise.
42699         * signal/sigstack.c: Likewise.
42700         * signal/sigsuspend.c: Likewise.
42701         * signal/sigtimedwait.c: Likewise.
42702         * signal/sigvec.c: Likewise.
42703         * signal/sigwait.c: Likewise.
42704         * signal/sigwaitinfo.c: Likewise.
42705         * signal/sysv_signal.c: Likewise.
42706         * socket/accept.c: Likewise.
42707         * socket/accept4.c: Likewise.
42708         * socket/bind.c: Likewise.
42709         * socket/connect.c: Likewise.
42710         * socket/getpeername.c: Likewise.
42711         * socket/getsockname.c: Likewise.
42712         * socket/getsockopt.c: Likewise.
42713         * socket/isfdtype.c: Likewise.
42714         * socket/listen.c: Likewise.
42715         * socket/recv.c: Likewise.
42716         * socket/recvfrom.c: Likewise.
42717         * socket/recvmsg.c: Likewise.
42718         * socket/send.c: Likewise.
42719         * socket/sendmsg.c: Likewise.
42720         * socket/sendto.c: Likewise.
42721         * socket/setsockopt.c: Likewise.
42722         * socket/shutdown.c: Likewise.
42723         * socket/sockatmark.c: Likewise.
42724         * socket/socket.c: Likewise.
42725         * socket/socketpair.c: Likewise.
42726         * stdio-common/ctermid.c: Likewise.
42727         * stdio-common/cuserid.c: Likewise.
42728         * stdio-common/remove.c: Likewise.
42729         * stdio-common/rename.c: Likewise.
42730         * stdio-common/renameat.c: Likewise.
42731         * stdio-common/tempname.c: Likewise.
42732         * stdlib/getcontext.c: Likewise.
42733         * stdlib/makecontext.c: Likewise.
42734         * stdlib/setcontext.c: Likewise.
42735         * stdlib/swapcontext.c: Likewise.
42736         * stdlib/system.c: Likewise.
42737         * streams/fattach.c: Likewise.
42738         * streams/fdetach.c: Likewise.
42739         * streams/getmsg.c: Likewise.
42740         * streams/getpmsg.c: Likewise.
42741         * streams/putmsg.c: Likewise.
42742         * streams/putpmsg.c: Likewise.
42743         * sysdeps/unix/bsd/getpt.c: Likewise.
42744         * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
42745         * sysdeps/unix/sysv/linux/futimens.c: Likewise.
42746         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
42747         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
42748         Likewise.
42749         * sysdeps/unix/sysv/linux/readahead.c: Likewise.
42750         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
42751         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
42752         * sysvipc/msgctl.c: Likewise.
42753         * sysvipc/msgget.c: Likewise.
42754         * sysvipc/msgrcv.c: Likewise.
42755         * sysvipc/msgsnd.c: Likewise.
42756         * sysvipc/semctl.c: Likewise.
42757         * sysvipc/semget.c: Likewise.
42758         * sysvipc/semop.c: Likewise.
42759         * sysvipc/semtimedop.c: Likewise.
42760         * sysvipc/shmat.c: Likewise.
42761         * sysvipc/shmctl.c: Likewise.
42762         * sysvipc/shmdt.c: Likewise.
42763         * sysvipc/shmget.c: Likewise.
42764         * termios/tcdrain.c: Likewise.
42765         * termios/tcflow.c: Likewise.
42766         * termios/tcflush.c: Likewise.
42767         * termios/tcgetattr.c: Likewise.
42768         * termios/tcgetpgrp.c: Likewise.
42769         * termios/tcsendbrk.c: Likewise.
42770         * termios/tcsetattr.c: Likewise.
42771         * termios/tcsetpgrp.c: Likewise.
42772         * time/adjtime.c: Likewise.
42773         * time/clock.c: Likewise.
42774         * time/getitimer.c: Likewise.
42775         * time/gettimeofday.c: Likewise.
42776         * time/setitimer.c: Likewise.
42777         * time/settimeofday.c: Likewise.
42778         * time/stime.c: Likewise.
42779         * time/time.c: Likewise.
42781 2012-11-04  Pino Toscano  <toscano.pino@tiscali.it>
42783         * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
42784         /usr/old/bin.
42786         * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
42787         instead of spaces.
42788         * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
42790 2012-11-03  Joseph Myers  <joseph@codesourcery.com>
42792         [BZ #14796]
42793         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
42794         FE_TONEAREST before applying Dekker multiplication and Knuth
42795         addition.  Clear inexact exceptions and check for exact zero
42796         results afterwards.
42797         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
42798         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
42799         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
42800         * math/libm-test.inc (fma_test): Add more tests.
42801         (fma_test_towardzero): Likewise.
42802         (fma_test_downward): Likewise.
42803         (fma_test_upward): Likewise.
42804         * sysdeps/generic/math_private.h (default_libc_fesetround): New
42805         function.
42806         (libc_fesetround): New macro.
42807         (libc_fesetroundf): Likewise.
42808         (libc_fesetroundl): Likewise.
42809         * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
42810         function.
42811         (libc_fesetround_387): Likewise.
42812         (libc_fesetroundf): New macro.
42813         (libc_fesetround): Likewise.
42814         (libc_fesetroundl): Likewise.
42815         * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
42816         function.
42817         (libc_fesetroundf): New macro.
42818         (libc_fesetround): Likewise.
42819         (libc_fesetroundl): Likewise.
42820         * include/fenv.h (feclearexcept): Add libm_hidden_proto.
42821         * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
42822         * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
42823         libm_hidden_ver.
42824         * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
42825         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
42826         libm_hidden_def.
42827         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
42828         * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
42829         libm_hidden_ver.
42830         * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
42831         libm_hidden_def.
42833         [BZ #3439]
42834         * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
42835         integer constant usable in #if and use that to give value to enum
42836         constant.
42837         (FE_DIVBYZERO): Likewise.
42838         (FE_UNDERFLOW): Likewise.
42839         (FE_OVERFLOW): Likewise.
42840         (FE_INVALID): Likewise.
42841         (FE_INVALID_SNAN): Likewise.
42842         (FE_INVALID_ISI): Likewise.
42843         (FE_INVALID_IDI): Likewise.
42844         (FE_INVALID_ZDZ): Likewise.
42845         (FE_INVALID_IMZ): Likewise.
42846         (FE_INVALID_COMPARE): Likewise.
42847         (FE_INVALID_SOFTWARE): Likewise.
42848         (FE_INVALID_SQRT): Likewise.
42849         (FE_INVALID_INTEGER_CONVERSION): Likewise.
42850         (FE_TONEAREST): Likewise.
42851         (FE_TOWARDZERO): Likewise.
42852         (FE_UPWARD): Likewise.
42853         (FE_DOWNWARD): Likewise.
42854         * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
42855         (FE_DIVBYZERO): Likewise.
42856         (FE_OVERFLOW): Likewise.
42857         (FE_UNDERFLOW): Likewise.
42858         (FE_INEXACT): Likewise.
42859         (FE_TONEAREST): Likewise.
42860         (FE_DOWNWARD): Likewise.
42861         (FE_UPWARD): Likewise.
42862         (FE_TOWARDZERO): Likewise.
42863         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
42864         (FE_UNDERFLOW): Likewise.
42865         (FE_OVERFLOW): Likewise.
42866         (FE_DIVBYZERO): Likewise.
42867         (FE_INVALID): Likewise.
42868         (FE_TONEAREST): Likewise.
42869         (FE_TOWARDZERO): Likewise.
42870         * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
42871         (FE_OVERFLOW): Likewise.
42872         (FE_UNDERFLOW): Likewise.
42873         (FE_DIVBYZERO): Likewise.
42874         (FE_INEXACT): Likewise.
42875         (FE_TONEAREST): Likewise.
42876         (FE_TOWARDZERO): Likewise.
42877         (FE_UPWARD): Likewise.
42878         (FE_DOWNWARD): Likewise.
42879         * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
42880         (FE_DIVBYZERO): Likewise.
42881         (FE_OVERFLOW): Likewise.
42882         (FE_UNDERFLOW): Likewise.
42883         (FE_INEXACT): Likewise.
42884         (FE_TONEAREST): Likewise.
42885         (FE_DOWNWARD): Likewise.
42886         (FE_UPWARD): Likewise.
42887         (FE_TOWARDZERO): Likewise.
42889 2012-11-02  Chris Metcalf  <cmetcalf@tilera.com>
42891         * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
42893 2012-11-03  Andreas Schwab  <schwab@linux-m68k.org>
42895         * scripts/cross-test-ssh.sh (command): Use newlines to separate
42896         commands.  Quote $PWD.
42897         (blacklist_exports): Don't use remove_newlines.  Replace "declare
42898         -x" by "export".
42899         (remove_newlines): Remove.
42901 2012-11-02  H.J. Lu  <hongjiu.lu@intel.com>
42903         * stdlib/Makefile (headers): Add bits/stdlib-float.h.
42904         * stdlib/stdlib.h (atof): Moved to ...
42905         * include/bits/stdlib-float.h: Here.  New file.
42906         * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
42907         * stdlib/bits/stdlib-float.h: New file.
42908         * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
42909         -mno-sse -mno-mmx.
42910         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
42911         <xmmintrin.h>.
42913 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
42915         * conform/conformtest.pl (@headers): Add fenv.h.
42916         * conform/data/fenv.h-data: New file.
42917         * include/fenv.h [_ISOMAC]: Disable all contents of file except
42918         include of <math/fenv.h>.
42920         * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
42921         POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
42922         && !UNIX98].  Enables tests for XOPEN2K8.
42923         * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
42924         POSIX2008]: Likewise.
42926         * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
42927         (struct rusage): Do not expect type or its members.
42929         [BZ #3439]
42930         * math/math.h (FP_NAN): Define macro to integer constant usable in
42931         #if and use that to give value to enum constant.
42932         (FP_INFINITE): Likewise.
42933         (FP_ZERO): Likewise.
42934         (FP_SUBNORMAL): Likewise.
42935         (FP_NORMAL): Likewise.
42937 2012-11-02  Andreas Schwab  <schwab@linux-m68k.org>
42939         * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
42940         * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
42941         arguments.
42943 2012-11-02  Roland McGrath  <roland@hack.frob.com>
42945         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
42946         Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
42947         autoconf-time if not.
42948         * configure.in: Remove AC_PREREQ.
42950 2012-11-02  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
42952         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
42953         __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
42954         of the internal implementation.
42956 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
42958         * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
42959         except include of <misc/sys/syslog.h>.
42961 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
42963         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
42964         function returns with a NULL context exit with zero.
42966 2012-11-01  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
42968         * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
42970 2012-11-01  H.J. Lu  <hongjiu.lu@intel.com>
42972         * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
42973         (run_program_cmd): This.
42974         * localedata/tst-langinfo.sh (run_program_prefix): Removed.
42975         (tst_langinfo): New variable.  Use it.
42977 2012-11-01  Sebastan Andrzej Siewior  <bigeasy@linutronix.de>
42979         * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
42980         floating point opcodes.
42982 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
42984         * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
42985         variable.
42987         * elf/dl-support.c: Unconditionally include "setup-vdso.h".
42989         * sysdeps/mach/hurd/powerpc: Remove directory.
42990         * sysdeps/mach/powerpc: Likewise.
42992 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
42994         * scripts/check-local-headers.sh: Ignore c++ headers.
42996 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
42998         * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
42999         __libc_cleanup_region_start argument.
43001 2012-11-01  Joseph Myers  <joseph@codesourcery.com>
43003         [BZ #14784]
43004         [BZ #14785]
43005         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
43006         x * y using scaling, not as x * y + z.
43007         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
43008         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
43009         * math/libm-test.inc (fma_test): Add more tests.
43010         (fma_test_towardzero): Likewise.
43011         (fma_test_downward): Likewise.
43012         (fma_test_upward): Likewise.
43014 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
43016         * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
43018 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
43020         * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
43021         New variable.
43023 2012-10-31  Thomas Schwinge  <thomas@codesourcery.com>
43025         * rt/tst-shm.c (worker): Correct checking for mmap failure.
43027 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
43029         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
43030         Fix sort order.
43031         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
43032         Likewise.
43034 2012-10-31  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
43036         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
43037         Fix the order of the list for glibc 2.17.
43038         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
43039         Likewise.
43041 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
43043         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
43045 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
43047         [BZ #14610]
43048         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
43049         for low part of x being zero before using __atanl (y).
43050         * math/libm-test.inc (atan2_test): Add another test.
43052         * manual/install.texi (Configuring and compiling): Document
43053         general use of test-wrapper and test-wrapper-env.
43054         * INSTALL: Regenerated.
43056         * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
43057         (__fma): Do not extract and scale down low bits on after-rounding
43058         systems when result rounded to normal precision would have normal
43059         exponent.
43060         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
43061         (__fmal): Do not extract and scale down low bits on after-rounding
43062         systems when result rounded to normal precision would have normal
43063         exponent.
43064         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
43065         (__fmal): Do not extract and scale down low bits on after-rounding
43066         systems when result rounded to normal precision would have normal
43067         exponent.
43068         * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
43069         macro.
43070         (fma_test): Add more tests.
43071         (fma_test_towardzero): Likewise.
43072         (fma_test_downward): Likewise.
43073         (fma_test_upward): Likewise.
43075 2012-10-30  H.J. Lu  <hongjiu.lu@intel.com>
43077         * sysdeps/i386/tininess.h: Renamed to ...
43078         * sysdeps/x86/tininess.h: This.
43079         * sysdeps/x86_64/tininess.h: Removed.
43081 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
43083         * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
43084         input.  Use $(build-program-cmd).
43085         ($(objpfx)tst-array1-static.out): Likewise.
43086         ($(objpfx)tst-array2.out): Likewise.
43087         ($(objpfx)tst-array3.out): Likewise.
43088         ($(objpfx)tst-array4.out): Likewise.
43089         ($(objpfx)tst-array5.out): Likewise.
43090         ($(objpfx)tst-array5-static.out): Likewise.
43092 2012-10-30  Chris Metcalf  <cmetcalf@tilera.com>
43094         * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
43095         if defined.
43097         * nss/nsswitch.h (nss_interface_function): Provide new
43098         macro for use with NSS functions.
43099         * grp/initgroups.c: Use new macro.
43100         * nss/getXXbyYY.c: Likewise.
43101         * nss/getXXbyYY_r.c: Likewise.
43102         * nss/getXXent.c: Likewise.
43103         * nss/getXXent_r.c: Likewise.
43104         * sysdeps/posix/getaddrinfo.c: Likewise.
43106 2012-10-30  Andreas Jaeger  <aj@suse.de>
43108         * po/ru.po: Update Russion translation from translation project.
43110 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
43112         [BZ #14152]
43113         [BZ #14783]
43114         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
43115         result and shift together with sticky bit instead of replicating
43116         round-to-nearest rounding.
43117         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
43118         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
43119         * math/libm-test.inc (fma_test): Add more tests.  Do not permit
43120         missing underflow exceptions.
43121         (fma_test_towardzero): Add more tests.
43122         (fma_test_downward): Likewise.
43123         (fma_test_upward): Likewise.
43125         [BZ #14047]
43126         * sysdeps/generic/tininess.h: New file.
43127         * sysdeps/i386/tininess.h: Likewise.
43128         * sysdeps/sh/tininess.h: Likewise.
43129         * sysdeps/x86_64/tininess.h: Likewise.
43130         * stdlib/tst-strtod-underflow.c: Likewise.
43131         * stdlib/tst-tininess.c: Likewise.
43132         * stdlib/strtod_l.c: Include <tininess.h>.
43133         (round_and_return): Do not set errno for exact underflow cases.
43134         Force an underflow exception when setting errno for underflow.
43135         Determine underflow based on rounding to normal precision if
43136         TININESS_AFTER_ROUNDING.
43137         * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
43138         ERANGE for exact underflow cases.
43139         * stdlib/Makefile (tests): Add tst-tininess and
43140         tst-strtod-underflow.
43141         ($(objpfx)tst-tininess): Use $(link-libm).
43142         ($(objpfx)tst-strtod-underflow): Likewise.
43144 2012-10-30  Andreas Jaeger  <aj@suse.de>
43146         [BZ#14767]
43147         * elf/Makefile (tests): Remove conditional for have-initfini-array
43148         since this is now always required and the variable does not exist
43149         anymore.
43150         (tests-static): Likewise.
43151         (modules-names): Likewise.
43153         * po/eo.po: Add Esperanto translation from translation project.
43155         * elf/tst-array1.c (fini_array): Make writeable so that it can be
43156         merged with constructor/destructor.
43157         (init_array): Likewise.
43158         * elf/tst-array2dep.c (fini_array): Likewise.
43159         (init_array): Likewise.
43161 2012-10-29  Mike Frysinger  <vapier@gentoo.org>
43163         * manual/message.texi: Delete @cartouche tags.
43165 2012-10-29  Pino Toscano  <toscano.pino@tiscali.it>
43167         * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
43168         EOPNOTSUPP.
43169         * sysdeps/mach/hurd/fsync.c: Likewise.
43171         * sysdeps/pthread/aio_notify.c (__aio_notify_only)
43172         [_POSIX_REALTIME_SIGNALS]: Change condition to
43173         [_POSIX_REALTIME_SIGNALS > 0].
43175 2012-10-27  Andreas Jaeger  <aj@suse.de>
43177         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
43178         [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
43179         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
43180         [__WORDSIZE != 64]: Likewise.
43182 2012-10-26  H.J. Lu  <hongjiu.lu@intel.com>
43184         *  iconvdata/tst-table.sh: Remove ${SHELL}.
43185         *  iconvdata/tst-tables.sh: Likewise.
43187 2012-10-25  David S. Miller  <davem@davemloft.net>
43189         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
43190         (__get_clockfreq_via_proc_openprom): Use strtoumax instead
43191         of strtoull.
43193         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
43194         ifunc-impl-list.c
43195         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
43196         * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
43197         * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
43198         file.
43200 2012-10-25  Roland McGrath  <roland@hack.frob.com>
43202         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
43203         (__get_clockfreq_via_proc_openprom): Use __getdents instead of
43204         __getdirentries.
43206 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
43207             Jim Blandy  <jimb@codesourcery.com>
43209         * scripts/cross-test-ssh.sh: New file.
43210         * manual/install.texi (Configuring and compiling): Document use of
43211         cross-test-ssh.sh.
43212         * INSTALL: Regenerated.
43214 2012-10-25  Pino Toscano  <toscano.pino@tiscali.it>
43216         * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
43217         EOPNOTSUPP.
43219 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
43221         * Makeconfig (run-program-prefix): Fix comment.
43223 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
43224             Jim Blandy  <jimb@codesourcery.com>
43226         * Makeconfig (test-wrapper): New variable,
43227         (test-wrapper-env): Likewise.
43228         [$(cross-compiling) = yes && $(test-wrapper) != ""]
43229         (run-built-tests): Define to yes.
43230         (run-program-prefix): Use $(test-wrapper).
43231         (built-program-cmd): Likewise.
43232         * Rules (make-test-out): Use $(test-wrapper-env) and
43233         $(host-built-program-cmd).
43234         * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
43235         ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
43236         tst-pathopt.sh.
43237         ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
43238         $(test-wrapper-env) to tst-rtld-load-self.sh.
43239         ($(objpfx)order2.out): Use $(test-wrapper).
43240         ($(objpfx)tst-initorder.out): Likewise.
43241         ($(objpfx)tst-initorder2.out): Likewise.
43242         ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
43243         * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
43244         (test_wrapper_env): New variable.  Use it to run ld.so.
43245         * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
43246         Use it to run ld.so.
43247         (test_wrapper_env): Likewise.
43248         * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
43249         $(test-wrapper) to run-iconv-test.sh.
43250         * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
43251         (ICONV): Use $test_wrapper.
43252         * posix/Makefile ($(objpfx)globtest.out): Pass
43253         $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
43254         globtest.sh, not $(run-program-prefix).
43255         * posix/globtest.sh (run_via_rtld_prefix): New variable.
43256         (test_wrapper): Likewise.
43257         (test_wrapper_env): Likewise.  Use it to run globtest with HOME
43258         set together with run_via_rtld_prefix.
43259         (run_program_prefix): Define in terms of test_wrapper and
43260         run_via_rtld_prefix.
43262 2012-10-24  Roland McGrath  <roland@hack.frob.com>
43264         * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
43265         * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
43266         Targets removed.
43268         [BZ #14743]
43269         * include/time.h: Remove librt_hidden_proto (clock_gettime).
43270         Declare __clock_getres, __clock_gettime, __clock_settime,
43271         __clock_nanosleep, and __clock_getcpuclockid.
43272         * rt/clock_gettime.c: Define __clock_gettime as an alias.
43273         Remove librt_hidden_def (clock_gettime).
43274         * sysdeps/unix/clock_gettime.c: Likewise.
43275         * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
43276         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
43277         * rt/clock_getres.c: Define __clock_getres as an alias.
43278         * sysdeps/posix/clock_getres.c: Likewise.
43279         * rt/clock_settime.c: Define __clock_settime as an alias.
43280         * sysdeps/unix/clock_settime.c: Likewise.
43281         * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
43282         * sysdeps/unix/clock_nanosleep.c: Likewise.
43283         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
43284         * rt/clock-compat.c: New file.
43285         * rt/Makefile (librt-routines): Add clock-compat and move
43286         $(clock-routines) to ...
43287         (routines): ... here, new variable.
43288         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
43289         Don't add get_clockfreq here.
43290         * rt/Versions (libc: GLIBC_2.17): New version set.
43291         Add clock_* symbols here.
43292         (libc: GLIBC_PRIVATE): New version set.  Add __clock_* symbols here.
43293         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
43294         (GLIBC_2.17): Add clock_* symbols.
43295         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
43296         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
43297         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
43298         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
43299         Likewise.
43300         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
43301         Likewise.
43302         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
43303         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
43304         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
43305         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
43306         * NEWS: Mention the move.
43308         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
43309         Use __open, __read, __close rather than their public counterparts.
43310         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
43311         (__get_clockfreq_via_cpuinfo): Likewise.
43312         (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
43313         (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
43315         * config.h.in (HAVE_IFUNC): New #undef.
43316         * configure.in: Define it if libc_cv_ld_gnu_indirect_function
43317         was successful.
43318         * configure: Regenerated.
43320 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
43322         * configure.in: Move READELF check to start of file.
43323         (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
43324         libc_cv_asm_gnu_indirect_function in the process.
43325         * configure: Regenerated.
43327 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
43329         * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
43330         send the output to /dev/null.
43331         (libc_cv_cc_with_libunwind): Likewise.
43332         (libc_cv_as_noexecstack): Likewise.
43333         * configure: Regenerate.
43335 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
43337         * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
43339         * posix/globtest.sh (TMPDIR): Do not set.
43340         (testdir): Define using ${common_objpfx}posix not $TMPDIR.
43341         (testout): Likewise.
43343 2012-10-24  Andreas Jaeger  <aj@suse.de>
43345         * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
43346         types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
43347         [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
43348         [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
43349         posix_fadvise64, posix_fallocate64.
43351         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
43352         (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
43353         (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
43354         Likewise.
43355         (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
43356         Likewise.
43357         (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
43359         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
43360         (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
43361         <bits/fcntl-linux.h>.
43362         (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
43364         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
43365         (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
43366         (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
43367         (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
43368         [__WORDSIZE != 64]: Likewise.
43370 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
43372         * Makeconfig (run-built-tests): New variable.
43373         * Rules [$(cross-compiling) = yes]: Change condition to
43374         [$(run-built-tests) = no].
43375         * catgets/Makefile [$(cross-compiling) != yes]: Change condition
43376         to [$(run-built-tests) = yes].
43377         * elf/Makefile [$(cross-compiling) = no]: Likewise
43378         * grp/Makefile [$(cross-compiling) = no]: Likewise.
43379         * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
43380         * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
43381         * intl/Makefile [$(cross-compiling) = no]: Likewise.
43382         * io/Makefile [$(cross-compiling) = no]: Likewise.
43383         * libio/Makefile [$(cross-compiling) = no]: Likewise.
43384         * malloc/Makefile [$(cross-compiling) = no]: Likewise.
43385         * misc/Makefile [$(cross-compiling) = no]: Likewise.
43386         * posix/Makefile [$(cross-compiling) = no]: Likewise.
43387         * resolv/Makefile [$(cross-compiling) = no]: Likewise.
43388         * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
43389         * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
43390         * string/Makefile [$(cross-compiling) = no]: Likewise.
43392         * posix/Makefile ($(objpfx)globtest.out): Pass
43393         $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
43394         $(rtld-installed-name).
43395         * posix/globtest.sh (elf_objpfx): Remove variable.
43396         (rtld_installed_name): Likewise.
43397         (library_path): Likewise.
43398         (run_program_prefix): New variable.  Use for running globtest
43399         binary.
43401 2012-10-23  Jim Blandy  <jimb@codesourcery.com>
43402             Joseph Myers  <joseph@codesourcery.com>
43404         * Makeconfig (host-built-program-cmd): New variable.
43405         * elf/Makefile (tst-stackguard1-ARGS): Use
43406         $(host-built-program-cmd).
43407         * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
43408         (tst-spawn-ARGS): Likewise.
43409         * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
43411 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
43412             Jim Blandy  <jimb@codesourcery.com>
43414         * Makeconfig (run-via-rtld-prefix): New variable.
43415         (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
43416         (built-program-cmd): Likewise.
43418 2012-10-22  Andreas Jaeger  <aj@suse.de>
43420         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
43421         __O_RSYNC if it exists, otherwise to O_SYNC.
43423 2012-10-22  Jim Blandy  <jimb@codesourcery.com>
43424             Joseph Myers  <joseph@codesourcery.com>
43426         * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
43427         /dev/null.
43428         * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
43429         from /dev/null
43430         * posix/tst-getconf.sh: Redirect getconf stdin in loop from
43431         /dev/null.
43433 2012-10-22  Andreas Jaeger  <aj@suse.de>
43435         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
43436         Define always.
43437         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
43439         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
43440         bits/fcntl-linux.h.
43442         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
43443         (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
43445         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
43446         to __O_LARGEFILE.
43447         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
43448         to __O_LARGEFILE.
43450 2012-10-21  Jim Blandy  <jimb@codesourcery.com>
43451             Joseph Myers  <joseph@codesourcery.com>
43453         * config.make.in (NM): New variable.
43455 2012-10-21  Andreas Jaeger  <aj@suse.de>
43457         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
43458         definitions and declarations that are provided by
43459         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
43461 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
43463         [BZ #14683]
43464         * elf/Makefile (tests-static): Add tst-leaks1-static.
43465         (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
43466         ($(objpfx)tst-leaks1-static): New rule.
43467         ($(objpfx)tst-leaks1-static-mem): Likewise.
43468         (tst-leaks1-static-ENV): New macro.
43469         * elf/dl-open.c (dl_open_worker): Check the main application
43470         only if SHARED is defined.
43471         * elf/tst-leaks1-static.c: New file.
43473 2012-10-20  Andreas Jaeger  <aj@suse.de>
43475         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
43476         generic values for Linux.
43477         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
43478         and declarations that are provided by <bits/fcntl-linux.h> and
43479         include <bits/fcntl-linux.h>.
43480         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
43481         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
43483 2012-10-20  Roland McGrath  <roland@hack.frob.com>
43485         * io/fcntl.h: Move include of <bits/types.h> to the top and
43486         include it unconditionally.
43488 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
43490         * wcsmbs/Makefile (tests-ifunc): New variable.
43491         (tests): Add $(tests-ifunc).
43492         * wcsmbs/test-wcschr-ifunc.c: New file.
43493         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
43494         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
43495         * wcsmbs/test-wcslen-ifunc.c: Likewise.
43496         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
43497         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
43499         * string/Makefile (tests-ifunc): New variable.
43500         (tests): Add $(tests-ifunc).
43501         * string/test-memccpy.c (TEST_NAME): New macro.
43502         * string/test-memchr.c (TEST_NAME): Likewise.
43503         * string/test-memcmp.c (TEST_NAME): Likewise.
43504         * string/test-memcpy.c (TEST_NAME): Likewise.
43505         * string/test-memmem.c (TEST_NAME): Likewise.
43506         * string/test-memmove.c (TEST_NAME): Likewise.
43507         * string/test-memset.c (TEST_NAME): Likewise.
43508         * string/test-rawmemchr.c (TEST_NAME): Likewise.
43509         * string/test-stpcpy.c (TEST_NAME): Likewise.
43510         * string/test-stpncpy.c (TEST_NAME): Likewise.
43511         * string/test-strcasecmp.c (TEST_NAME): Likewise.
43512         * string/test-strcasestr.c (TEST_NAME): Likewise.
43513         * string/test-strcat.c (TEST_NAME): Likewise.
43514         * string/test-strchr.c (TEST_NAME): Likewise.
43515         * string/test-strcmp.c(TEST_NAME): Likewise.
43516         * string/test-strcpy.c (TEST_NAME): Likewise.
43517         * string/test-strcspn.c (TEST_NAME): Likewise.
43518         * string/test-strlen.c (TEST_NAME): Likewise.
43519         * string/test-strncasecmp.c (TEST_NAME): Likewise.
43520         * string/test-strncmp.c (TEST_NAME): Likewise.
43521         * string/test-strncpy.c (TEST_NAME): Likewise.
43522         * string/test-strnlen.c (TEST_NAME): Likewise.
43523         * string/test-strpbrk.c (TEST_NAME): Likewise.
43524         * string/test-strrchr.c (TEST_NAME): Likewise.
43525         * string/test-strspn.c (TEST_NAME): Likewise.
43526         * string/test-strstr.c (TEST_NAME): Likewise.
43527         * string/test-bcopy-ifunc.c: New file.
43528         * string/test-bzero-ifunc.c: Likewise.
43529         * string/test-memccpy-ifunc.c: Likewise.
43530         * string/test-memchr-ifunc.c: Likewise.
43531         * string/test-memcmp-ifunc.c: Likewise.
43532         * string/test-memcpy-ifunc.c: Likewise.
43533         * string/test-memmem-ifunc.c: Likewise.
43534         * string/test-memmove-ifunc.c: Likewise.
43535         * string/test-mempcpy-ifunc.c: Likewise.
43536         * string/test-memset-ifunc.c: Likewise.
43537         * string/test-rawmemchr-ifunc.c: Likewise.
43538         * string/test-stpcpy-ifunc.c: Likewise.
43539         * string/test-stpncpy-ifunc.c: Likewise.
43540         * string/test-strcasecmp-ifunc.c: Likewise.
43541         * string/test-strcasestr-ifunc.c: Likewise.
43542         * string/test-strcat-ifunc.c: Likewise.
43543         * string/test-strchr-ifunc.c: Likewise.
43544         * string/test-strchrnul-ifunc.c: Likewise.
43545         * string/test-strcmp-ifunc.c: Likewise.
43546         * string/test-strcpy-ifunc.c: Likewise.
43547         * string/test-strcspn-ifunc.c: Likewise.
43548         * string/test-strlen-ifunc.c: Likewise.
43549         * string/test-strncasecmp-ifunc.c: Likewise.
43550         * string/test-strncat-ifunc.c: Likewise.
43551         * string/test-strncmp-ifunc.c: Likewise.
43552         * string/test-strncpy-ifunc.c: Likewise.
43553         * string/test-strnlen-ifunc.c: Likewise.
43554         * string/test-strpbrk-ifunc.c: Likewise.
43555         * string/test-strrchr-ifunc.c: Likewise.
43556         * string/test-strspn-ifunc.c: Likewise.
43557         * string/test-strstr-ifunc.c: Likewise.
43559         * debug/Makefile (tests-ifunc): New variable.
43560         (tests): Add $(tests-ifunc).
43561         * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
43562         * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
43563         * debug/test-stpcpy_chk-ifunc.c: New file.
43564         * debug/test-strcpy_chk-ifunc.c: Likewise.
43566 2012-10-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
43568         [BZ #13601]
43569         * elf/dl-load.c (open_verify): Retry read if the entire ELF
43570         header is not read in.
43572 2012-10-19  Joseph Myers  <joseph@codesourcery.com>
43574         * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh.  Pass
43575         script to $(SHELL) as $<.  Pass $(common-objpfx) to script
43576         directly.  Pass built executable to script as
43577         $(built-program-cmd).
43578         * io/ftwtest-sh (ldso): Remove variable.  Run ftwtest directly as
43579         $testprogram without using LD_LIBRARY_PATH and $ldso.
43581         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
43582         $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
43583         $(rtld-installed-name).
43584         * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
43585         (rtld_installed_name): Likewise.
43586         (library_path): Likewise.
43587         (run_program_prefix): New variable.  Use it to run tst_fgetgrent.
43588         * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
43589         $(run-program-prefix) to tst-tables.sh.
43590         * iconvdata/tst-table.sh (run_program_prefix): New variable.  Use
43591         it to run tst-table-from and tst-table-to.
43592         * iconvdata/tst-tables.sh (run_program_prefix): New variable.
43593         Pass it to tst-table.sh.
43594         * intl/Makefile ($(objpfx)tst-gettext.out): Pass
43595         $(run-program-prefix) to tst-gettext.sh.
43596         ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
43597         tst-translit.sh.
43598         ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
43599         tst-gettext2.sh.
43600         * intl/tst-gettext.sh (run_program_prefix): New variable.  Use it
43601         to run tst-gettext.
43602         * intl/tst-gettext2.sh (run_program_prefix): New variable.  Use it
43603         to run tst-gettext2.
43604         * intl/tst-translit.sh (run_program_prefix): New variable.  Use it
43605         to run tst-translit.
43606         * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
43607         $(run-program-prefix) to tst-mtrace.sh.
43608         * malloc/tst-mtrace.sh (run_program_prefix): New variable.  Use it
43609         to run tst-mtrace.
43610         * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
43611         $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
43612         $(rtld-installed-name).
43613         * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
43614         (rtld_installed_name): Likewise.
43615         (run_program_prefix): New variable.  Use it to run wordexp-test.
43617         * Makeconfig (ARCH): Remove all definitions.
43618         (machine): Likewise.
43619         [ARCH]: Remove conditional code.
43620         [!objdir]: Give error.
43621         [!objdir] (objpfx): Remove.
43622         [!objdir] (common-objpfx): Likewise.
43623         [!objdir] (common-objdir): Likewise.
43624         * configure.in (config_makefile): Remove.  Hardcode Makefile in
43625         AC_CONFIG_FILES call.
43626         * configure: Regenerated.
43628         [BZ #13888]
43629         * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
43630         or TMPDIR.
43631         (testout): Likewise.
43633         * posix/Makefile ($(objpfx)tst-getconf.out): Pass
43634         $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
43635         $(rtld-installed-name).
43636         * posix/tst-getconf.sh (elf_objpfx): Remove variable.
43637         (rtld_installed_name): Likwise.
43638         (runit): Remove function.
43639         (run_getconf): New variable,  Use it for running getconf binary.
43641 2012-10-18  H.J. Lu  <hongjiu.lu@intel.com>
43643         [BZ #14716]
43644         * string/test-memmem.c (check_result): New function.
43645         (do_one_test): Use it.
43646         (check1): New function.
43647         (test_main): Use it.
43649 2012-10-18  Markus Trippelsdorf  <markus@trippelsdorf.de>
43651         * math/Makefile: Comment on slow compilation of test-tgmath2.c.
43653 2012-10-18  Joseph Myers  <joseph@codesourcery.com>
43655         * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
43656         (_G_LSEEK64): Likewise.
43657         (_G_MMAP64): Likewise.
43658         (_G_FSTAT64): Likewise.
43659         * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
43660         (_G_LSEEK64): Likewise.
43661         (_G_MMAP64): Likewise.
43662         (_G_FSTAT64): Likewise.
43663         * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
43664         unconditional.  Call __mmap64 directly.
43665         (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
43666         (mmap_remap_check) [_G_LSEEK64]: Make code unconditional.  Call
43667         __lseek64 directly.
43668         (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
43669         (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional.  Call
43670         __mmap64 directly.
43671         (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
43672         (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional.  Call
43673         __lseek64 directly.
43674         (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
43675         (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional.  Call
43676         __lseek64 directly.
43677         (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
43678         (_IO_file_seek) [_G_LSEEK64]: Make code unconditional.  Call
43679         __lseek64 directly.
43680         (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
43681         (_IO_file_stat) [_G_FSTAT64]: Make code unconditional.  Call
43682         __fxstat64 directly.
43683         (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
43684         * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
43685         unconditional.
43686         (freopen64) [!_G_OPEN64]: Remove conditional code.
43687         * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
43688         unconditional.
43689         (fseeko64) [!_G_LSEEK64]: Remove conditional code.
43690         * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
43691         unconditional.
43692         (ftello64) [!_G_LSEEK64]: Remove conditional code.
43693         * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
43694         unconditional.
43695         (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
43696         * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
43697         unconditional.
43698         (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
43699         * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
43700         unconditional.
43701         (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
43702         * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
43703         unconditional.
43704         (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
43705         * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
43706         unconditional.
43707         (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
43709 2012-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
43711         [BZ #12140]
43712         * manual/memory.texi (Malloc Tunable Parameters): Add note
43713         about free list pointers overwriting some perturb bytes.
43714         Wording suggested by Roland McGrath.
43716 2012-10-17  Joseph Myers  <joseph@codesourcery.com>
43718         * math/libm-test.inc (gamma_test): Do not call feclearexcept.
43719         (lgamma_test): Likewise.
43720         (tgamma_test): Likewise.
43722 2012-10-16  Florian Weimer  <fweimer@redhat.com>
43724         [BZ #14700]
43725         * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
43726         (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
43728 2012-10-16  Maxim Kuvyrkov  <maxim@codesourcery.com>
43730         * NEWS: Mention BZ #14716.
43731         * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
43732         when removing AVAILABLE1_USES_J macro.
43734 2012-10-12  H.J. Lu  <hongjiu.lu@intel.com>
43736         * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
43737         (__bswap_64): __uint64_t for unsigned 64-bit int.
43739 2012-10-12  Andreas Schwab  <schwab@linux-m68k.org>
43741         * include/string.h (memmem): Declare libc hidden alias.
43742         * string/memmem.c (memmem): Define libc hidden alias.
43743         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
43744         __read, __close instead of open, read, close.
43746 2012-10-11  H.J. Lu  <hongjiu.lu@intel.com>
43748         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
43749         * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
43750         global and hidden.
43751         * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
43752         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
43753         * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
43754         Likewise.
43755         (__rawmemchr_sse2): Likewise.
43756         * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
43757         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
43758         (__strchr_sse2): Likewise.
43759         * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
43760         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
43761         (__strcasecmp_sse2): Likewise.
43762         (__strncasecmp_sse2): Likewise.
43763         * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
43764         * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
43765         * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
43766         * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
43767         (__strrchr_sse2): Likewise.
43768         * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
43769         ifunc-impl-list.c.
43770         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
43771         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
43772         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
43773         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
43774         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
43775         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
43776         * sysdeps/x86_64/multiarch/memset.S: Likewise.
43777         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
43778         * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
43779         * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
43780         * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
43781         * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
43782         * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
43783         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
43784         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
43785         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
43786         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
43787         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
43788         * sysdeps/x86_64/multiarch/strlen.S: Likewise.
43789         * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
43790         * sysdeps/x86_64/multiarch/strncat.S: Likewise.
43791         * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
43792         * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
43793         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
43794         * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
43795         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
43796         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
43797         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
43798         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
43799         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
43801         * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
43802         global and hidden.
43803         * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
43804         * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
43805         * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
43806         * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
43807         Likewise.
43808         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
43809         Likewise.
43810         * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
43811         * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
43812         * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
43813         * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
43814         ifunc-impl-list.c.
43815         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
43816         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
43817         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
43818         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
43819         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
43820         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
43821         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
43822         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
43823         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
43824         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
43825         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
43826         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
43827         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
43828         * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
43829         * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
43830         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
43831         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
43832         * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
43833         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
43834         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
43835         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
43836         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
43837         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
43838         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
43839         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
43840         * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
43841         * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
43842         * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
43843         * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
43844         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
43845         * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
43846         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
43847         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
43848         * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
43849         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
43850         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
43851         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
43852         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
43853         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
43854         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
43855         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
43857         * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
43858         [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
43859         * include/ifunc-impl-list.h: New file.
43860         * misc/ifunc-impl-list.c: Likewise.
43861         * misc/Makefile (routines): Add ifunc-impl-list.
43862         * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
43863         * string/test-string.h: Include <ifunc-impl-list.h>.
43864         (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
43865         TEST_NAME]: New variables.
43866         (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
43867         are defined.
43868         (test_init): Call __libc_ifunc_impl_list to initialize
43869         func_list if TEST_IFUNC and TEST_NAME are defined.
43871         * string/Makefile (strop-tests): Add bcopy and bzero.
43872         * string/test-bcopy.c: New file.
43873         * string/test-bzero.c: Likewise.
43874         * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
43875         defined.
43876         * string/test-memset.c: Support bzero test if TEST_BZERO is
43877         defined.
43878         * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
43879         __libc_memmove.
43880         * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
43881         __libc_memset.
43882         * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
43883         of memset.
43885 2012-10-10  Joseph Myers  <joseph@codesourcery.com>
43887         * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
43888         * configure: Regenerated.
43890         * Makeconfig (+link-static-before-libc): Don't include
43891         $(link-static-libc).
43893         * libio/libio.h (_IO_pos_t): Remove.
43895 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
43897         * NEWS: Add note about FIPS mode.  Wording suggested by Roland
43898         McGrath.
43900 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
43902         * crypt/crypt-entry.c: Include fips-private.h.
43903         (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
43904         * crypt/md5c-test.c (main): Tolerate disabled MD5.
43905         * sysdeps/unix/sysv/linux/fips-private.h: New file.
43906         * sysdeps/generic/fips-private.h: New file, dummy fallback.
43908 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
43910         * crypt/crypt-private.h: Include stdbool.h.
43911         (_ufc_setup_salt_r): Return bool.
43912         * crypt/crypt-entry.c: Include errno.h.
43913         (__crypt_r): Return NULL with EINVAL for bad salt.
43914         * crypt/crypt_util.c (bad_for_salt): New.
43915         (_ufc_setup_salt_r): Check that salt is long enough and within
43916         the specified alphabet.
43917         * crypt/badsalttest.c: New file.
43918         * crypt/Makefile (tests): Add it.
43919         ($(objpfx)badsalttest): New.
43921 2012-10-09  Maxim Kuvyrkov  <maxim@codesourcery.com>
43923         * NEWS: Add entry for BZ #14602.
43925 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
43927         * math/gen-libm-test.pl (parse_args): Handle comparison macros as
43928         type-generic.
43929         * math/libm-test.inc: Update comment listing what functions and
43930         macros are tested.
43931         (isgreater_test): New function.
43932         (isgreaterequal_test): Likewise.
43933         (isless_test): Likewise.
43934         (islessequal_test): Likewise.
43935         (islessgreater_test): Likewise.
43936         (isunordered_test): Likewise.
43937         (main): Call the new functions.
43939 2012-10-09  Roland McGrath  <roland@hack.frob.com>
43941         * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
43942         _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
43943         AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
43944         * sysdeps/i386/configure: Regenerated.
43945         * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
43946         * sysdeps/mach/configure: Regenerated.
43947         * sysdeps/mach/hurd/configure: Regenerated.
43948         * sysdeps/powerpc/configure: Regenerated.
43949         * sysdeps/powerpc/powerpc32/configure: Regenerated.
43950         * sysdeps/powerpc/powerpc64/configure: Regenerated.
43951         * sysdeps/s390/s390-32/configure: Regenerated.
43952         * sysdeps/s390/s390-64/configure: Regenerated.
43953         * sysdeps/sh/configure: Regenerated.
43954         * sysdeps/sparc/configure: Regenerated.
43955         * sysdeps/unix/sysv/linux/configure: Regenerated.
43956         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
43957         * sysdeps/x86_64/configure: Regenerated.
43959         * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
43960         defined.  Don't check if MAP is NULL.
43962 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
43964         * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
43965         (_G_stat64): Likewise.
43966         * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
43967         (_G_stat64): Likewise.
43968         * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
43969         instead of struct _G_stat64.
43970         * libio/fileops.c (mmap_remap_check): Likewise.
43971         (decide_maybe_mmap): Likewise.
43972         (_IO_new_file_seekoff): Likewise.
43973         (_IO_file_stat): Likewise.
43974         * libio/libio.h (_IO_off64_t): Define to __off64_t, not
43975         _G_off64_t.
43976         * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
43977         instead of struct _G_stat64.
43978         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
43980 2012-10-08  Maxim Kuvyrkov  <maxim@codesourcery.com>
43982         [BZ #14602]
43983         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
43984         Replace with ...
43985         (CHECK_EOL): New macro.
43986         (two_way_short_needle): Check beginning of haystack for EOL.  Use
43987         CHECK_EOL.
43988         * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
43989         Replace with CHECK_EOL.
43990         * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
43991         Replace with CHECK_EOL.
43993 2012-10-08  Joseph Myers  <joseph@codesourcery.com>
43995         * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
43996         type-generic.
43997         * math/libm-test.inc: Update comment listing what functions and
43998         macros are tested.
43999         (finite_test): New function.
44000         (isinf_test): Likewise.
44001         (isnan_test): Likewise.
44002         (fpclassify_test): Test subnormal input.
44003         (isfinite_test): Likewise.
44004         (isnormal_test): Likewise.
44005         (main): Call the new functions.
44007 2012-10-08  Jonathan Nieder  <jrnieder@gmail.com>
44009         [BZ #14660]
44010         * Makerules (%.dynsym): Force C locale when running
44011         $(OBJDUMP) --dynamic-syms.
44013 2012-10-08  Andreas Schwab  <schwab@linux-m68k.org>
44015         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
44016         <stdint.h>.
44018 2012-10-06  David S. Miller  <davem@davemloft.net>
44020         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
44021         upper 32-bits of the length value in %o2 since we use branch-on-register
44022         tests which consider the entire 64-bit register.
44024 2012-10-06  H.J. Lu  <hongjiu.lu@intel.com>
44026         * string/test-strstr.c (check2): Add a test for page boundary.
44028 2012-10-05  David S. Miller  <davem@davemloft.net>
44030         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
44031         * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
44032         file.
44033         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
44034         sysdep_routines.
44035         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
44036         * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
44037         and bzero when HWCAP_SPARC_CRYPTO is present.
44039 2012-10-05  H.J. Lu  <hongjiu.lu@intel.com>
44041         [BZ #14602]
44042         * string/test-strstr.c (check2): New function.
44043         (test_main): Call check2.
44045         * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
44046         and bug-strchr1.
44047         * string/bug-strcasestr1.c (do_test): Moved to ...
44048         * string/test-strcasestr.c (check1): Here.  New function.
44049         (do_one_test): Break out result checking code into ...
44050         (check_result): This.  New function.
44051         (do_one_test): Call check_result.
44052         (test_main): Call check1.
44053         * string/bug-strchr1.c (do_test): Moved to ...
44054         * string/test-strchr.c (check1): Here.  New function.
44055         (do_one_test): Break out result checking code into ...
44056         (check_result): This.  New function.
44057         (do_one_test): Call check_result.
44058         (test_main): Call check1.
44059         * string/bug-strstr1.c (main): Moved to ...
44060         * string/test-strstr.c (check1): Here.  New function.
44061         (do_one_test): Break out result checking code into ...
44062         (check_result): This.  New function.
44063         (do_one_test): Call check_result.
44064         (test_main): Call check1.
44065         * string/bug-strcasestr1.c: Removed.
44066         * string/bug-strchr1.c: Likewise.
44067         * string/bug-strstr1.c: Likewise.
44069         * elf/Makefile (dl-routines): Add hwcaps.
44070         * elf/dl-support.c (_dl_important_hwcaps): Removed.
44071         * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
44072         (_dl_important_hwcaps): Moved to ...
44073         * elf/dl-hwcaps.c: Here.  New file.
44074         * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
44076         [BZ #14557]
44077         * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
44078         if IS_IN_rtld isn't defined.
44080         * elf/dl-support.c (_dl_sysinfo_map): New.
44081         Include "get-dynamic-info.h" and "setup-vdso.h".
44082         (_dl_non_dynamic_init): Call setup_vdso.
44083         * elf/dynamic-link.h: Don't include <assert.h>.
44084         (elf_get_dynamic_info): Moved to ...
44085         * elf/get-dynamic-info.h: Here.  New file.
44086         * elf/dynamic-link.h: Include "get-dynamic-info.h".
44087         * elf/rtld.c (dl_main): Break out vDSO setup code into ...
44088         * elf/setup-vdso.h: Here.  New file.
44089         * elf/rtld.c: Include "setup-vdso.h".
44090         (dl_main): Call setup_vdso.
44092 2012-10-05  Joseph Myers  <joseph@codesourcery.com>
44094         * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
44095         creal in comment listing functions tested.  List finite, isinf,
44096         isnan, isless, islessequal, isgreater, isgreaterequal,
44097         islessgreater, isunordered, lgamma_r and pow10 as functions and
44098         macros not tested.  Mention which functions not tested are aliases
44099         for other functions.  Fix typo.  Note that signs of NaNs are not
44100         tested.
44102         * scripts/config.guess: Update from config.git.
44103         * scripts/config.sub: Likewise.
44105 2012-10-04  Roland McGrath  <roland@hack.frob.com>
44107         * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
44108         * misc/madvise.c (madvise): Renamed to __madvise.
44109         Make madvise a weak alias.
44110         * include/sys/mman.h: Declare __madvise.
44111         Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
44112         * sysdeps/unix/syscalls.list
44113         (madvise): Make __madvise the strong name, and madvise a weak alias.
44114         * sysdeps/unix/sysv/linux/syscalls.list
44115         (madvise, mmap): Remove redundant entries.
44116         * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
44117         * malloc/malloc.c (mtrim): Likewise.
44118         * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
44120 2012-10-03  Roland McGrath  <roland@hack.frob.com>
44122         * sysdeps/mach/hurd/dl-cache.c: File removed.
44123         * config.h.in (USE_LDCONFIG): New #undef.
44124         * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
44125         * configure: Regenerated.
44126         * elf/Makefile (dl-routines): Add dl-cache only under
44127         [$(use-ldconfig) = yes].
44128         * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
44129         cache on [USE_LDCONFIG].
44130         * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
44131         [USE_LDCONFIG].
44132         * elf/rtld.c (dl_main): Likewise.
44134 2012-10-03  Pino Toscano  <toscano.pino@tiscali.it>
44136         * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
44137         _SC_LEVEL4_CACHE_LINESIZE.
44139 2012-10-03  Roland McGrath  <roland@hack.frob.com>
44141         * sysdeps/unix/bsd/confstr.h: File removed.
44143 2012-10-02  Alexandre Oliva <aoliva@redhat.com>
44145         * scripts/check-local-headers.sh: Exclude sys/sdt.h and
44146         sys/sdt-config.h.
44148 2012-10-02  Roland McGrath  <roland@hack.frob.com>
44150         * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
44151         Make 'mapoff' field ElfW(Off) rather than off_t.
44153 2012-10-02  Dmitry V. Levin  <ldv@altlinux.org>
44155         * nscd/Makefile: Remove nscd-cflags and all its users.
44156         (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
44157         (CFLAGS-nonlib): Add compiler flags for nscd modules.
44159         [BZ #10631]
44160         * malloc.c (malloc_printerr): Clarify error message.
44162 2012-10-02  H.J. Lu  <hongjiu.lu@intel.com>
44164         [BZ #14648]
44165         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
44166         Set bit_FMA_Usable if FMA is supported.
44167         * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
44168         macro.
44169         (bit_FMA4_Usable): Updated.
44170         (index_FMA_Usable): New macro.
44171         (CPUID_FMA): Likewise
44172         (HAS_FMA): Defined with bit_FMA_Usable.
44174 2012-10-01  Roland McGrath  <roland@hack.frob.com>
44176         * bits/types.h (__swblk_t): Type removed.
44177         * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
44178         * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
44179         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
44180         (__SWBLK_T_TYPE): Likewise.
44181         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
44182         (__SWBLK_T_TYPE): Likewise.
44183         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
44184         (__SWBLK_T_TYPE): Likewise.
44185         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
44186         (__SWBLK_T_TYPE): Likewise.
44188 2012-10-01  Patsy Franklin <pfrankli@redhat.com>
44189             Honza Horak <hhorak@redhat.com>
44191         * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
44192         (xdr_mapname): Use YPMAXMAP as maxsize.
44193         (xdr_peername): Use YPMAXPEER as maxsize.
44194         (xdr_keydat): Use YPAXRECORD as maxsize.
44195         (xdr_valdat): Use YPMAXRECORD as maxsize.
44197 2012-10-01  Roland McGrath  <roland@hack.frob.com>
44199         * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
44201         * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
44202         * csu/init-first.c: ... here.
44203         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
44204         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
44205         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
44206         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
44207         * sysdeps/i386/init-first.c: File removed.
44208         * sysdeps/sh/init-first.c: File removed.
44210 2012-10-01  Joseph Myers  <joseph@codesourcery.com>
44212         [BZ #14645]
44213         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
44214         if x * y might underflow to zero and z is zero.
44215         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
44216         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
44217         * math/libm-test.inc (min_subnorm_value): New variable.
44218         (fma_test): Add more tests.
44219         (fma_test_towardzero): Likewise.
44220         (fma_test_downward): Likewise
44221         (fma_test_upward): Likewise.
44222         (initialize): Set min_subnorm_value.
44224 2012-09-29  Joseph Myers  <joseph@codesourcery.com>
44226         [BZ #14638]
44227         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
44228         0 + 0.
44229         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
44230         mode for addition resulting in exact zero.
44231         * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
44232         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
44233         exact 0 + 0.
44234         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
44235         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
44236         * math/libm-test.inc (fma_test): Add more tests.
44237         (fma_test_towardzero): New function.
44238         (fma_test_downward): Likewise.
44239         (fma_test_upward): Likewise.
44240         (main): Call the new functions.
44242 2012-09-28  David S. Miller  <davem@davemloft.net>
44244         * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
44246 2012-09-28  Roland McGrath  <roland@hack.frob.com>
44248         * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
44249         instead of SIGALRM.
44251         * sysdeps/gnu/_G_config.h: Moved to ...
44252         * sysdeps/unix/sysv/linux/_G_config.h: ... here.
44253         * sysdeps/mach/hurd/_G_config.h: Moved to ...
44254         * sysdeps/generic/_G_config.h: ... here.
44256         * io/open.c (__open): Renamed to __libc_open.  Make __open an alias.
44258         * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
44260         * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
44261         Conditionalize target on [libnss_test1.so-version].
44263         * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
44265         * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
44266         (elfobjdir): Move out of conditionals.
44268         * nss/nsswitch.c (nss_new_service): Conditionalize definition and
44269         declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
44270         (__nss_lookup_function): Conditionalize label remove_from_tree on
44271         [!DO_STATIC_NSS || SHARED], matching its only use.
44273 2012-09-28  David S. Miller  <davem@davemloft.net>
44275         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
44276         * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
44277         file.
44278         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
44279         sysdep_routines.
44280         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
44281         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
44282         when HWCAP_SPARC_CRYPTO is present.
44284 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
44286         * io/tst-mknodat.c: Create a FIFO instead of a socket.
44288 2012-09-28  Andreas Schwab  <schwab@linux-m68k.org>
44290         [BZ #6530]
44291         * stdio-common/vfprintf.c (process_string_arg): Revert
44292         2000-07-22 change.
44294 2011-09-28  Jonathan Nieder  <jrnieder@gmail.com>
44296         * stdio-common/Makefile (tst-sprintf-ENV): Set environment
44297         for testcase.
44298         * stdio-common/tst-sprintf.c: Include <locale.h>
44299         (main): Test sprintf's handling of incomplete multibyte
44300         characters.
44302 2012-09-28  H.J. Lu  <hongjiu.lu@intel.com>
44304         * elf/dl-runtime.c (VERSYMIDX): Removed.
44305         * elf/dl-version.c (VERSYMIDX): Likewise.
44306         * elf/do-rel.h (VERSYMIDX): Likewise.
44307         (VALIDX): Likewise.
44308         * elf/dynamic-link.h (VERSYMIDX): Likewise.
44309         * elf/rtld.c (VALIDX): Likewise.
44310         (ADDRIDX): Likewise.
44311         * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
44312         * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
44313         * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
44314         * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
44315         (VALIDX): Likewise.
44316         (ADDRIDX): Likewise.
44318 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
44320         * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
44322 2012-09-28  Dmitry V. Levin  <ldv@altlinux.org>
44324         [BZ #11438]
44325         * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
44326         to global scope.
44327         * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
44328         addresses are in the same scope as 192.0.2/24.
44329         * posix/gai.conf: Document new scope table defaults.
44331 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
44333         [BZ #5298]
44334         * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
44335         for ftell.  Compute offsets from write pointers instead.
44336         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
44338 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
44340         [BZ #14543]
44341         * libio/Makefile (tests): New test case tst-fseek.
44342         * libio/tst-fseek.c: New test case to verify that fseek/ftell
44343         combination works in wide mode.
44344         * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
44345         state when the external buffer state changes.
44347 2012-09-27  David S. Miller  <davem@davemloft.net>
44349         [BZ #14376]
44350         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
44351         pass reloc->r_addend in as the 'high' argument to
44352         sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
44354         * sysdeps/sparc/fpu/libm-test-ulps: Update.
44356 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
44358         * rt/tst-aio2.c: Include <pthread.h>.
44359         * rt/tst-aio3.c: Likewise.
44361 2012-09-27  Steve Ellcey  <sellcey@mips.com>
44363         * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
44365 2012-09-27  H.J. Lu  <hongjiu.lu@intel.com>
44367         * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
44368         contents on [SHARED].
44370 2012-09-26  Marek Polacek  <polacek@redhat.com>
44372         [BZ #14530]
44373         [BZ #13741]
44374         * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
44375         for C++ and GCC <4.3 as well as for non GCC compilers.
44377 2012-09-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
44379         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
44381 2012-09-25  Roland McGrath  <roland@hack.frob.com>
44383         * Makefile.in (all, install): Declare with .PHONY.
44384         Reported by Michael Hope <michael.hope@linaro.org>.
44386 2012-09-25  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
44388         * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
44389         * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
44390         system header.
44391         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
44392         Likewise.
44393         (sydep_routines): Add the new and the internal functions.
44394         * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
44395         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
44396         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
44397         (GLIBC_2.17): Add the new function.
44398         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
44399         (GLIBC_2.17): Likewise.
44400         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
44401         (GLIBC_2.17): Likewise.
44402         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
44403         (GLIBC_2.17): Likewise.
44404         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
44406 2012-09-25  Alan Modra  <amodra@gmail.com>
44408         * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
44409         Add release barrier before setting once_control to say
44410         initialisation is done.  Add hints on lwarx.  Use macro in
44411         place of isync.
44412         (clear_once_control): Add release barrier.
44414 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
44416         [BZ #13629]
44417         * math/s_clog.c (__clog): Handle more values close to |z| = 1
44418         specially.
44419         * math/s_clog10.c (__clog10): Likewise.
44420         * math/s_clog10f.c (__clog10f): Likewise.
44421         * math/s_clog10l.c (__clog10l): Likewise.
44422         * math/s_clogf.c (__clogf): Likewise.
44423         * math/s_clogl.c (__clogl): Likewise.
44424         * math/Makefile (libm-calls): Add x2y2m1.
44425         * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
44426         (__x2y2m1): Likewise.
44427         (__x2y2m1l): Likewise.
44428         * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
44429         * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
44430         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
44431         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
44432         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
44433         * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
44434         * math/libm-test.inc (clog_test, clog10_test): Add more tests.
44435         * sysdeps/i386/fpu/libm-test-ulps: Update.
44436         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44438         [BZ #14621]
44439         * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
44440         int as type of variable DEPTH.
44441         (glob): Use size_t instead of int as type of variables NEWCOUNT
44442         and OLD_PATHC.
44444 2012-09-25  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
44446         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
44447         Add s_sincosf-sse2.
44448         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
44449         * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
44450         * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
44451         macros for using routine as __sincosf_ia32.
44452         Use macro for function declaration and weak_alias.
44453         * sysdeps/i386/fpu/libm-test-ulps: Update.
44455         * sysdeps/x86_64/fpu/s_sincosf.S: New file.
44456         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
44458         * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
44459         subnormal argument.
44460         * math/s_cexpf.c (__cexpf): Likewise.
44461         * math/s_csinf.c (__csinf): Likewise.
44462         * math/s_csinhf.c (__csinhf): Likewise.
44463         * math/s_ctanf.c (__ctanf): Likewise.
44464         * math/s_ctanhf.c (__ctanhf): Likewise.
44465         * math/s_ccosh.c (__ccoshf): Likewise.
44466         * math/s_cexp.c (__cexpl): Likewise.
44467         * math/s_csin.c (__csin): Likewise.
44468         * math/s_csinh.c (__csinh): Likewise.
44469         * math/s_ctan.c (__ctan): Likewise.
44470         * math/s_ctanh.c (ctanh): Likewise.
44471         * math/s_ccoshl.c (__ccoshl): Likewise.
44472         * math/s_cexpl.c (__cexpl): Likewise.
44473         * math/s_csinl.c (__csinl): Likewise.
44474         * math/s_csinhl.c (__csinhl): Likewise.
44475         * math/s_ctanl.c (__ctanl): Likewise.
44476         * math/s_ctanhl.c (__ctanhl): Likewise.
44478 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
44480         * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
44481         (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
44482         (_IO_off_t): Define to __off_t, not _G_off_t.
44483         (_IO_pid_t): Define to __pid_t, not _G_pid_t.
44484         (_IO_uid_t): Define to __uid_t, not _G_uid_t.
44485         (_IO_wint_t): Define to wint_t, not _G_wint_t.
44486         * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
44487         type of __dummy and __dummy2 fields.
44488         * sysdeps/generic/_G_config.h (_G_size_t): Remove.
44489         (_G_ssize_t): Likewise.
44490         (_G_off_t): Likewise.
44491         (_G_pid_t): Likewise.
44492         (_G_uid_t): Likewise.
44493         (_G_wchar_t): Likewise.
44494         (_G_wint_t): Likewise.
44495         * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
44496         (_G_ssize_t): Likewise.
44497         (_G_off_t): Likewise.
44498         (_G_pid_t): Likewise.
44499         (_G_uid_t): Likewise.
44500         (_G_wchar_t): Likewise.
44501         (_G_wint_t): Likewise.
44502         * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
44503         (_G_ssize_t): Likewise.
44504         (_G_off_t): Likewise.
44505         (_G_pid_t): Likewise.
44506         (_G_uid_t): Likewise.
44507         (_G_wchar_t): Likewise.
44508         (_G_wint_t): Likewise.
44510 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
44512         * malloc/arena.c: Include malloc-sysdep.h.
44513         (shrink_heap): Use check_may_shrink_heap to decide if madvise
44514         is sufficient to shrink the heap or an unmap is needed.
44515         * sysdeps/generic/malloc-sysdep.h: New file.  Define
44516         new function check_may_shrink_heap.
44517         * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file.  Define
44518         new function check_may_shrink_heap.
44520 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
44522         * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
44523         comments.
44525 2012-09-24  Dmitry V. Levin  <ldv@altlinux.org>
44527         * catgets/test-gencat.sh: Add "set -e".
44528         * elf/tst-pathopt.sh: Likewise.
44529         * grp/tst_fgetgrent.sh: Likewise.
44530         * iconvdata/run-iconv-test.sh: Likewise.
44531         * intl/tst-gettext.sh: Likewise.
44532         * intl/tst-gettext2.sh: Likewise.
44533         * intl/tst-gettext4.sh: Likewise.
44534         * intl/tst-gettext6.sh: Likewise.
44535         * intl/tst-translit.sh: Likewise.
44536         * io/ftwtest-sh: Likewise.
44537         * libio/test-freopen.sh: Likewise.
44538         * malloc/tst-mtrace.sh: Likewise.
44539         * posix/globtest.sh: Likewise.
44540         * posix/tst-getconf.sh: Likewise.
44541         * posix/wordexp-tst.sh: Likewise.
44542         * stdio-common/tst-printf.sh: Likewise.
44543         * stdio-common/tst-unbputc.sh: Likewise.
44544         * stdlib/tst-fmtmsg.sh: Likewise.
44545         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
44546         * catgets/Makefile: Do not specify -e option when running
44547         testsuite shell scripts.
44548         * elf/Makefile: Likewise.
44549         * grp/Makefile: Likewise.
44550         * iconvdata/Makefile: Likewise.
44551         * intl/Makefile: Likewise.
44552         * io/Makefile: Likewise.
44553         * libio/Makefile: Likewise.
44554         * malloc/Makefile: Likewise.
44555         * posix/Makefile: Likewise.
44556         * stdio-common/Makefile: Likewise.
44557         * stdlib/Makefile: Likewise.
44558         * sysdeps/x86_64/Makefile: Likewise.
44560         * io/ftwtest-sh: Add copyright header.
44561         * posix/globtest.sh: Likewise.
44562         * posix/tst-getconf.sh: Likewise.
44563         * posix/wordexp-tst.sh: Likewise.
44564         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
44566 2012-09-24  H.J. Lu  <hongjiu.lu@intel.com>
44568         [BZ #13679]
44569         * Makeconfig (+link): Defined as $(+link-static) if
44570         $(build-shared) isn't yes.
44571         (link-tests): Defined as $(+link-static-tests) if $(build-shared)
44572         isn't yes.
44573         (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
44575         * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
44577         [BZ #14562]
44578         * malloc/arena.c (heap_trim): Properly get fencepost and adjust
44579         new chunk size with MALLOC_ALIGN_MASK.
44581 2012-09-24  Joseph Myers  <joseph@codesourcery.com>
44583         [BZ #5044]
44584         * stdio-common/printf_fphex.c: Include <stdbool.h> and
44585         <rounding-mode.h>.
44586         (__printf_fphex): Determine rounding using get_rounding_mode and
44587         round_away.
44588         * stdio-common/tst-printf-round.c (struct hex_test): New
44589         structure.
44590         (hex_tests): New variable.
44591         (test_hex_in_one_mode): New function.
44592         (do_test): Also run tests for hex float output.
44594 2012-09-21  Joseph Myers  <joseph@codesourcery.com>
44596         * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
44597         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
44598         * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
44599         * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
44600         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
44601         * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
44602         * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
44603         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
44605 2012-09-20  Joseph Myers  <joseph@codesourcery.com>
44607         * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
44608         * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
44609         * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
44610         * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
44612 2012-09-19  Dmitry V. Levin  <ldv@altlinux.org>
44614         [BZ #14579]
44615         * elf/rtld.c (dl_main): Limit the check for self loading to normal
44616         mode only.
44617         * elf/tst-rtld-load-self.sh: New test.
44618         * elf/Makefile: Run it.
44620 2012-09-18  Joseph Myers  <joseph@codesourcery.com>
44622         * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
44623         (tst-writev-ENV): Remove.
44624         * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
44626 2012-09-17  Chris Metcalf  <cmetcalf@tilera.com>
44628         * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
44630 2012-09-17  Joseph Myers  <joseph@codesourcery.com>
44632         * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
44633         unconditional.
44634         * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
44635         Likewise.
44636         * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
44637         * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
44638         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
44639         Likewise.
44641 2012-09-14  H.J. Lu  <hongjiu.lu@intel.com>
44643         [BZ #14587]
44644         * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
44645         * config.make.in (have-cpp-asm-debuginfo): Removed.
44646         * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
44647         * configure: Regenerated.
44649 2012-09-14  Joseph Myers  <joseph@codesourcery.com>
44651         [BZ #5044]
44652         * stdio-common/printf_fp.c: Include <stdbool.h> and
44653         <rounding-mode.h>.
44654         (___printf_fp): Determine rounding using get_rounding_mode and
44655         round_away.
44656         * stdio-common/tst-printf-round.c: New file.
44657         * stdio-common/Makefile (tests): Add tst-printf-round.
44658         (link-libm): New variable.
44659         ($(objpfx)tst-printf-round): Depend in $(link-libm).
44661 2012-09-13  H.J. Lu  <hongjiu.lu@intel.com>
44663         [BZ #14576]
44664         * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
44665         * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
44666         Likewise.
44667         * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
44668         Likewise.
44670 2012-09-13  Joseph Myers  <joseph@codesourcery.com>
44672         * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
44673         * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
44674         * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
44675         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
44677 2012-09-12  Joseph Myers  <joseph@codesourcery.com>
44679         [BZ #14518]
44680         * include/rounding-mode.h: New file.
44681         * sysdeps/generic/get-rounding-mode.h: Likewise.
44682         * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
44683         * stdlib/strtod_l.c: Include <rounding-mode.h>.
44684         (MAX_VALUE): New macro.
44685         (MIN_VALUE): Likewise.
44686         (overflow_value): New function.
44687         (underflow_value): Likewise.
44688         (round_and_return): Use overflow_value and underflow_value to
44689         determine return values in overflow and underflow cases.  Use
44690         round_away to determine rounding depending on rounding mode.
44691         (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
44692         determine return values in overflow and underflow cases.
44693         * stdlib/tst-strtod-round.c: Include <fenv.h>.
44694         (struct test_results): New structure.
44695         (struct test): Use struct test_results to store expected results
44696         for all rounding modes.
44697         (TEST): Include expected results for all rounding modes.
44698         (test_in_one_mode): New function.
44699         (do_test): Use test_in_one_mode to compute and check results.
44700         Check results for all rounding modes.
44701         * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
44702         $(link-libm).
44704 2012-12-09  Allan McRae  <allan@archlinux.org>
44706         * sysdeps/i386/fpu/libm-test-ulps: Update
44708 2012-09-11  Joseph Myers  <joseph@codesourcery.com>
44710         * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
44711         (_G_int32_t): Likewise.
44712         (_G_uint16_t): Likewise.
44713         (_G_uint32_t): Likewise.
44714         (_G_HAVE_BOOL): Likewise.
44715         (_G_HAVE_ATEXIT): Likewise.
44716         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
44717         (_G_HAVE_IO_FILE_OPEN): Likewise.
44718         * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
44719         (_G_int32_t): Likewise.
44720         (_G_uint16_t): Likewise.
44721         (_G_uint32_t): Likewise.
44722         (_G_HAVE_BOOL): Likewise.
44723         (_G_HAVE_ATEXIT): Likewise.
44724         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
44725         (_G_HAVE_IO_FILE_OPEN): Likewise.
44726         * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
44727         (_G_int32_t): Likewise.
44728         (_G_uint16_t): Likewise.
44729         (_G_uint32_t): Likewise.
44730         (_G_HAVE_BOOL): Likewise.
44731         (_G_HAVE_ATEXIT): Likewise.
44732         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
44733         (_G_HAVE_IO_FILE_OPEN): Likewise.
44735 2012-09-11  H.J. Lu  <hongjiu.lu@intel.com>
44737         * csu/libc-tls.c: Update copyright years.
44739 2012-09-10  Joseph Myers  <joseph@codesourcery.com>
44741         * libioP.h [_G_USING_THUNKS]: Make code unconditional.
44742         [!_G_USING_THUNKS]: Remove conditional code.
44743         * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
44744         * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
44746         * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
44747         [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
44748         * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
44749         (_G_VTABLE_LABEL_PREFIX): Likewise.
44750         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
44751         * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
44752         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
44753         (_G_VTABLE_LABEL_PREFIX): Likewise.
44754         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
44755         * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
44756         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
44757         (_G_VTABLE_LABEL_PREFIX): Likewise.
44758         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
44760 2012-09-10  H.J. Lu  <hongjiu.lu@intel.com>
44762         * libio/Makefile: Include ../Makeconfig before tests.
44763         (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
44764         only if $(build-shared) is yes.
44766         * iconv/gconv_db.c: Update copyright years.
44768 2012-09-10  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
44770         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
44771         unwind info if defined PIC. Fix special cases description.
44772         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
44774         * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
44775         DP_HI_MASK entry.
44776         * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
44778 2012-09-07  H.J. Lu  <hongjiu.lu@intel.com>
44780         * scripts/check-local-headers.sh: Add "shopt -s nullglob".
44782         * iconv/gconv_db.c (free_derivation): Check if deriv->steps
44783         is NULL.
44785         * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
44786         (LDLIBS-tst-chk4): This.
44787         (LDFLAGS-tst-chk5): Renamed to ...
44788         (LDLIBS-tst-chk5): This.
44789         (LDFLAGS-tst-chk6): Renamed to ...
44790         (LDLIBS-tst-chk6): This.
44791         (LDFLAGS-tst-lfschk4): Renamed to ...
44792         (LDLIBS-tst-lfschk4): This.
44793         (LDFLAGS-tst-lfschk5): Renamed to ...
44794         (LDLIBS-tst-lfschk5): This.
44795         (LDFLAGS-tst-lfschk6): Renamed to ...
44796         (LDLIBS-tst-lfschk6): This.
44798         * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
44799         on $(common-objpfx)soversions.mk.
44801 2012-09-07  Joseph Myers  <joseph@codesourcery.com>
44803         [BZ #10014]
44804         * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
44805         example host name.
44807 2012-09-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
44809         * malloc/arena.c (arena_get_retry): New function that gets
44810         another arena for the caller to try its request on.
44811         * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
44812         current arena cannot fulfill the request.
44813         (__libc_memalign): Likewise.
44814         (__libc_memalign): Likewise.
44815         (__libc_pvalloc): Likewise.
44816         (__libc_calloc): Likewise.
44818 2012-09-05  John Tobey  <john.tobey@gmail.com>
44820         [BZ #13542]
44821         * manual/arith.texi (Operations on Complex): Fix description
44822         of carg branch cut.
44824 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
44826         [BZ #10014]
44827         * manual/socket.texi (Host Addresses): Use www.gnu.org as example
44828         host name.
44830         [BZ #10038]
44831         * manual/memory.texi (Memory): Make order of menu items match
44832         order of sections.
44834 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
44836         * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
44837         (_dl_initial_dtv): New.  Defined if SHARED isn't defined.
44838         (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
44840 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
44842         * csu/libc-tls.c (static_dtv): Renamed to ...
44843         (_dl_static_dtv): This.  Make it global.
44844         (_dl_initial_dtv): Removed.
44845         (__libc_setup_tls): Updated.
44846         * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
44847         (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
44848         DL_INITIAL_DTV.
44850 2012-09-06  Petr Machata  <pmachata@redhat.com>
44852         * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
44853         (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
44854         (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
44855         (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
44857 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
44859         [BZ #14545]
44860         * csu/libc-tls.c (_dl_initial_dtv): New variable.
44861         * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
44862         freeing dtv[-1].
44864 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
44866         [BZ #14544]
44867         * Makeconfig (link-static-before-libc): Replace $(+prector)
44868         with $(+prectorT).
44869         (link-static-after-libc): Replace $(+postctor) with
44870         $(+postctorT).
44871         (link-bounded): Replace $(+prector)/$(+postctor) with
44872         $(+prectorT)/$(+postctorT).
44873         (+prectorT): New macro.
44874         (+postctorT): Likewise.
44876 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
44878         * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
44879         (round_str): Handle values above the maximum for IBM long double
44880         as inexact.
44881         * stdlib/tst-strtod-round.c (tests): Regenerated.
44883 2012-09-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
44885         * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
44886         assembler flag.
44887         * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
44888         zarch_nohighgprs around the zarch optimized routines.
44889         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
44890         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
44891         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
44892         for zarch.
44894 2012-09-05  David S. Miller  <davem@davemloft.net>
44896         * sysdeps/sparc/fpu/libm-test-ulps: Update.
44898         * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
44899         (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
44900         * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
44901         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
44902         entries.
44904 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
44906         * malloc/arena.c: Fold copyright years.
44907         * malloc/mcheck.c, malloc/memusage.c: Likewise.
44909 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
44911         * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
44913 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
44915         * manual/contrib.texi (Contributors): Fix typo.  Complete entry.
44917 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
44919         * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
44920         change internal state upon failure.
44922 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
44924         * malloc/mcheck.c (mcheck_check_all): Fix typo.
44925         * malloc/memusage.c (mmap): Likewise.
44926         (mmap64, mremap): Likewise.  Adjust name in comment.
44928 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
44930         * libio/fileops.c: Fix typos in comments.
44931         * libio/oldfileops.c: Likewise.
44932         * libio/wfileops.c: Likewise.
44934 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
44936         [BZ #1349]
44937         * malloc/Makefile (tests): Add tst-malloc-usable test case.
44938         (tst-malloc-usable-ENV): Set environment for test case.
44939         * malloc/hooks.c (malloc_check_get_size): New function to get
44940         requested size.
44941         * malloc/malloc.c (musable): Use malloc_check_get_size.
44942         * malloc/tst-malloc-usable.c: New test case.
44944 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
44946         * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
44948 2012-09-05  Allan McRae  <allan@archlinux.org>
44950         [BZ #13966]
44951         * configure.in (CXX_SYSINCLUDES): Use compiler output to
44952         determine header location.
44953         * configure: Regenerated.
44955 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
44957         * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
44958         float format.
44959         * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
44960         LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
44961         format.
44962         (test): Regenerate.
44964 2012-09-04  David S. Miller  <davem@davemloft.net>
44966         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
44967         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
44968         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
44970 2012-09-04  Florian Weimer  <fweimer@redhat.com>
44972         * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
44973         failures.
44975         * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
44977 2012-09-04  Joseph Myers  <joseph@codesourcery.com>
44979         [BZ #9914]
44980         * libio/iogetdelim.c: Include <limits.h>.
44981         (_IO_getdelim): Avoid integer overflow in testing whether cur_len
44982         + len + 1 would overflow.
44984 2012-09-03  Andreas Jaeger  <aj@suse.de>
44986         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
44987         * sysdeps/i386/fpu/libm-test-ulps: Update.
44989 2012-09-03  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
44991         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
44992         Add s_sinf-sse2, s_conf-sse2.
44994         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
44995         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
44996         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
44997         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
44999         * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
45000         for using routine as __sinf_ia32.
45001         Use macro for function declaration and weak_alias.
45002         * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
45003         for using routine as __cosf_ia32.
45004         Use macro for function declaration and weak_alias.
45006         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
45007         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
45009         * sysdeps/x86_64/fpu/s_sinf.S: New file.
45010         * sysdeps/x86_64/fpu/s_cosf.S: New file.
45011         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
45013         * math/libm-test.inc (cos_test): Add more test cases.
45014         (sin_test): Likewise.
45015         (sincos_test): Likewise.
45017 2012-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
45019         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
45020         (IFUNC_RESOLVE): Make pointers to the specialized implementations
45021         hidden.
45022         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
45024 2012-09-02  H.J. Lu  <hongjiu.lu@intel.com>
45026         [BZ #14538]
45027         * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
45028         first element of the GOT.
45029         (elf_machine_load_address): Return the difference between
45030         the runtime address of _DYNAMIC and elf_machine_dynamic ().
45032 2012-09-01  Allan McRae  <allan@archlinux.org>
45034         [BZ #13412]
45035         * configure.in (AWK): Require gawk version 3.0 or later.
45036         * configure: Regenerated.
45038 2012-09-01  Joseph Myers  <joseph@codesourcery.com>
45040         * sysdeps/unix/sysv/linux/kernel-features.h
45041         (__ASSUME_POSIX_CPU_TIMERS): Remove.
45042         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
45043         [__NR_clock_getres]: Make code unconditional.
45044         [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
45045         (clock_getcpuclockid): Remove code left unreachable by removal of
45046         conditionals.
45047         * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
45048         code unconditional.
45049         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
45050         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
45051         * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
45052         Make code unconditional.
45053         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
45054         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
45055         * sysdeps/unix/sysv/linux/clock_settime.c
45056         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
45057         conditional code.
45058         [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
45059         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
45061 2012-08-29  H.J. Lu  <hongjiu.lu@intel.com>
45063         [BZ #14476]
45064         * Makefile (install): Also pass LD_SO=$(ld.so-version) to
45065         scripts/test-installation.pl.
45067         * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
45068         and $ld_so_version if it is set.
45070 2012-08-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
45072         [BZ #14516]
45073         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
45074         failure if reading from procfs failed.
45075         * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
45077 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
45079         * sysdeps/unix/sysv/linux/kernel-features.h
45080         (__ASSUME_STAT64_SYSCALL): Remove all definitions.
45081         * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
45082         Remove conditional code.
45083         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
45084         * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
45085         Remove conditional code.
45086         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
45087         * sysdeps/unix/sysv/linux/i386/fxstat.c
45088         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
45089         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
45090         * sysdeps/unix/sysv/linux/i386/fxstatat.c
45091         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
45092         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
45093         * sysdeps/unix/sysv/linux/i386/lxstat.c
45094         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
45095         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
45096         * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
45097         Remove conditional code.
45098         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
45099         * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
45100         Remove conditional code.
45101         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
45102         * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
45103         <kernel-features.h>.
45104         [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
45105         Remove.
45106         * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
45107         Remove conditional code.
45108         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
45109         * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
45110         Remove conditional.
45112 2012-08-27  Mike Frysinger  <vapier@gentoo.org>
45114         [BZ #5400]
45115         * NEWS: Add fixed bug number.
45117 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
45119         [BZ #14519]
45120         * stdlib/strtod_l.c (round_and_return): Return -0.0 for
45121         underflowing exponent in case of negative sign.
45122         * stdlib/tst-strtod-round-data: Add more tests.
45123         * stdlib/tst-strtod-round.c (tests): Regenerated.
45125         [BZ #3479]
45126         * stdlib/strtod_l.c (NDIG): Remove.
45127         (HEXNDIG): Likewise.
45128         (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
45129         smallest representable value.
45130         (____STRTOF_INTERNAL): Use all fractional decimal digits that may
45131         lie within an exact representation of 1/2 ulp of the result.
45132         * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
45133         unconditionally.
45134         (TENS_P9_IDX): Define unconditionally.
45135         (TENS_P9_SIZE): Likewise.
45136         (TENS_P10_IDX): Likewise.
45137         (TENS_P10_SIZE): Likewise.
45138         [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
45139         to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
45140         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
45141         entries for 10^2^13 and 10^2^14.
45142         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
45143         (TENS_P13_IDX): Define.
45144         (TENS_P13_SIZE): Likewise.
45145         (TENS_P14_IDX): Likewise.
45146         (TENS_P14_SIZE): Likewise.
45147         (_fpioconst_pow10): Change array size to
45148         FPIOCONST_POW10_ARRAY_SIZE.  Make entries for 10^2^9 and 10^2^10
45149         unconditional.
45150         (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
45151         1024]: Add entries for 10^2^13 and 10^2^14.
45152         [LAST_POW10 > _LAST_POW10]: Remove #error.
45153         * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
45154         (_fpioconst_pow10): Change array size to
45155         FPIOCONST_POW10_ARRAY_SIZE.
45156         * stdlib/gen-fpioconst.c: New file.
45157         * stdlib/gen-tst-strtod-round.c: Likewise.
45158         * stdlib/tst-strtod-round-data: Likewise.
45159         * stdlib/tst-strtod-round.c: Likewise.
45160         * stdlib/Makefile (tests): Add tst-strtod-round.
45162         [BZ #14459]
45163         * stdlib/strtod_l.c: Include <stdint.h>.
45164         (NDEBUG): Do not define.
45165         (round_and_return): Change EXPONENT parameter to type intmax_t.
45166         Rearrange calculations to avoid internal overflow possibilities.
45167         (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
45168         Rearrange calculations to avoid internal overflow possibilities.
45169         Assert that number fits inside MPNSIZE limbs.
45170         (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
45171         Change DIG_NO, INT_NO and LEAD_ZERO to type size_t.  Rearrange
45172         calculations and add assertions to avoid internal overflow
45173         possibilities.  Add casts to avoid signed/unsigned operations.
45174         * stdlib/tst-strtod-overflow.c: New file.
45175         * stdlib/Makefile (tests): Add tst-strtod-overflow.
45177 2012-08-25  Marek Polacek  <polacek@redhat.com>
45179         * time/time.h: Fix some typos in comments.
45181 2012-08-23  Roland McGrath  <roland@hack.frob.com>
45183         * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
45184         * posix/tst-rfc3484-2.c: Likewise.
45185         * posix/tst-rfc3484-3.c: Likewise.
45187 2012-08-23  Steve McIntyre  <steve.mcintyre@linaro.org>
45189         * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
45190         (EF_ARM_ABI_FLOAT_HARD): Likewise.
45192 2012-08-23  Joseph Myers  <joseph@codesourcery.com>
45194         * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
45195         #include of fxstatat64.c.
45197 2012-08-22  Roland McGrath  <roland@hack.frob.com>
45199         * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
45200         * shadow/getspent_r.c: Likewise.
45201         * shadow/getspnam.c: Likewise.
45202         * shadow/getspnam_r.c: Likewise.
45203         * gshadow/getsgent.c: Likewise.
45204         * gshadow/getsgent_r.c: Likewise.
45205         * gshadow/getsgnam.c: Likewise.
45206         * gshadow/getsgnam_r.c: Likewise.
45207         * inet/getnetbyad.c: Likewise.
45208         * inet/getnetbyad_r.c: Likewise.
45209         * inet/getnetbynm.c: Likewise.
45210         * inet/getnetbynm_r.c: Likewise.
45211         * inet/getnetent.c: Likewise.
45212         * inet/getnetent_r.c: Likewise.
45213         * inet/getproto.c: Likewise.
45214         * inet/getproto_r.c: Likewise.
45215         * inet/getprtent.c: Likewise.
45216         * inet/getprtent_r.c: Likewise.
45217         * inet/getprtname.c: Likewise.
45218         * inet/getprtname_r.c: Likewise.
45219         * inet/getrpcbyname.c: Likewise.
45220         * inet/getrpcbyname_r.c: Likewise.
45221         * inet/getrpcbynumber.c: Likewise.
45222         * inet/getrpcbynumber_r.c: Likewise.
45223         * inet/getrpcent.c: Likewise.
45224         * inet/getrpcent_r.c: Likewise.
45225         * inet/getaliasent.c: Likewise.
45226         * inet/getaliasent_r.c: Likewise.
45227         * inet/getaliasname.c: Likewise.
45228         * inet/getaliasname_r.c: Likewise.
45229         * nscd/getgrgid_r.c: Likewise.
45230         * nscd/getgrnam_r.c: Likewise.
45231         * nscd/gethstbyad_r.c: Likewise.
45232         * nscd/gethstbynm3_r.c: Likewise.
45233         * nscd/getpwnam_r.c: Likewise.
45234         * nscd/getpwuid_r.c: Likewise.
45235         * nscd/getsrvbynm_r.c: Likewise.
45236         * nscd/getsrvbypt_r.c: Likewise.
45237         * nscd/gai.c: Likewise.
45239         * configure.in (build_nscd): New substituted variable, set
45240         by --disable-build-nscd and defaults to $use_nscd.
45241         * configure: Regenerated.
45242         * config.make.in (build-nscd): New substituted variable.
45243         * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
45244         Change conditional to require [$(build-nscd) = yes] as well.
45245         * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
45247         [BZ# 13696]
45248         * configure.in (use_nscd): New substituted variable, set by
45249         --disable-nscd.  If enabled, define USE_NSCD.
45250         * configure: Regenerated.
45251         * config.h.in: Add USE_NSCD.
45252         * config.make.in (use-nscd): New substituted variable.
45253         * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
45254         (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
45255         (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
45256         * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
45257         (CFLAGS-getgrnam_r.c): Likewise.
45258         (CFLAGS-initgroups.c): Likewise.
45259         * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
45260         * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
45261         Variables removed.
45262         * inet/getnetgrent_r.c
45263         (nscd_setnetgrent): New function, broken out of ...
45264         (setnetgrent): ... here.  Call it.
45265         (innetgr): Conditionalize nscd bits on [USE_NSCD].
45266         (nscd_getnetgrent): Conditionalize on [USE_NSCD].
45267         (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
45268         * nscd/Makefile (routines, aux): Move definitions after include of
45269         Makeconfig.  Conditionalize on [$(use-nscd) != no].
45270         * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
45271         Conditionalize on [USE_NSCD].
45272         (is_nscd, nscd_init_cb): Likewise.
45273         (nss_load_library): Conditionalize init callback on [USE_NSCD].
45274         * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
45275         * nss/nss_db/db-init.c: Likewise.
45276         * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
45277         [USE_NSCD].
45278         * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
45279         (make_request): Use it.
45280         (cache_valid_p): New function.
45281         (__check_pf): Use it.
45282         * NEWS: Add item for --disable-nscd.
45284 2012-08-22  Dmitry V. Levin  <ldv@altlinux.org>
45286         * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
45287         to support sed >= 4.2.1-20-ga9bf076.
45288         * configure: Regenerated.
45290 2012-08-22  Roland McGrath  <roland@hack.frob.com>
45292         * csu/libc-start.c (apply_irel): Move extern declarations inside here.
45293         Conditionalize whole body on [IREL].
45295 2012-08-22  Jeff Law <law@redhat.com>
45297         [BZ #14505]
45298         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
45299         if the family is PF_UNSPEC.
45301 2012-08-22  Mike Frysinger  <vapier@gentoo.org>
45303         * Makerules (lib-version): Rename from V.
45304         (install-lib-nosubdir): Change V to lib-version.
45306 2012-08-22  Will Schmidt  <will_schmidt@vnet.ibm.com>
45308         [BZ #14252]
45309         * powerpc32/power6/wcschr.c: New file.
45310         * powerpc32/power6/wcscpy.c: New file.
45311         * powerpc32/power6/wcsrchr.c: New file.
45312         * powerpc64/power6/wcschr.c: New file.
45313         * powerpc64/power6/wcscpy.c: New file.
45314         * powerpc64/power6/wcsrchr.c: New file.
45316 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
45318         * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
45319         (two_way_short_needle): Use it.
45320         * string/strstr.c (AVAILABLE1_USES_J): Define.
45321         * string/strcasestr.c: Likewise.
45323         * string/str-two-way.h (two_way_short_needle): Use pointers instead of
45324         array references.
45325         * string/strcasestr.c (TOLOWER): Make side-effect safe.
45327         [BZ #11607]
45328         * NEWS: Add an entry.
45329         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
45330         define their defaults.
45331         (two_way_short_needle): Detect end-of-string on-the-fly.
45332         * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
45333         (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
45334         * string/bug-strcasestr1.c: New test.
45335         * string/Makefile: Run it.
45337 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
45339         [BZ #11607]
45340         * string/str-two-way.h (two_way_short_needle): Optimize matching of
45341         the first character.
45343 2012-08-21  Roland McGrath  <roland@hack.frob.com>
45345         * csu/elf-init.c (__libc_csu_irel): Function removed.
45346         * csu/libc-start.c (apply_irel): New function.
45347         (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
45349 2012-08-21  Joseph Myers  <joseph@codesourcery.com>
45351         * sysdeps/unix/sysv/linux/kernel-features.h
45352         (__ASSUME_FADVISE64_64_SYSCALL): Remove.
45353         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
45354         <kernel-features.h>.
45355         [__NR_fadvise64_64]: Make code unconditional.
45356         [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
45357         [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
45358         !__NR_fadvise64_64)]: Likewise.
45359         [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
45360         !__NR_fadvise64_64))]: Likewise.
45361         [__NR_fadvise64]: Make code unconditional.
45362         [!__NR_fadvise64]: Remove conditional code.
45363         * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
45364         <kernel-features.h>.
45365         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
45366         unconditional.
45367         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
45368         conditional code.
45369         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
45370         not include <kernel-features.h>.
45371         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
45372         unconditional.
45373         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
45374         conditional code.
45375         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
45376         include <kernel-features.h>.
45377         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
45378         unconditional.
45379         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
45380         conditional code.
45382 2012-08-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
45384         * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
45385         slight instruction rearrangements per scrollpipe analysis.
45386         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
45388 2012-08-20  Roland McGrath  <roland@hack.frob.com>
45390         * manual/syslog.texi (syslog; vsyslog, closelog):
45391         Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
45392         Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
45394         * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
45395         DSOCAPS to match condition on defining it.
45397 2012-08-20  Joseph Myers  <joseph@codesourcery.com>
45399         * sysdeps/unix/sysv/linux/kernel-features.h
45400         (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
45401         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
45402         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
45403         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
45404         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
45405         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
45406         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
45407         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
45408         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
45409         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
45411         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
45412         __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
45414         * sysdeps/unix/sysv/linux/kernel-features.h
45415         (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
45416         * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
45417         unconditional.
45418         [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
45419         * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
45420         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
45421         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
45422         * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
45423         Make code unconditional.
45424         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
45425         (__mmap64) [!__NR_mmap2]: Likewise.
45426         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
45427         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
45428         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
45429         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
45430         [__NR_mmap2]: Make code unconditional.
45431         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
45432         (__mmap64) [!__NR_mmap2]: Likewise.
45434 2012-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
45436         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
45438 2012-08-18  Andreas Jaeger  <aj@suse.de>
45440         * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
45442 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
45444         * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
45445         * include/unistd.h (__have_sock_cloexec): Likewise.
45446         (__have_pipe2): Likewise.
45447         (__have_dup3): Likewise.
45449 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
45451         [BZ #9685]
45452         * include/unistd.h (__have_pipe2): Change define into an extern int.
45453         (__have_dup3): Likewise.
45454         * socket/have_sock_cloexec.c: Include fcntl.h.
45455         (__have_pipe2): New variable.
45456         (__have_dup3): Likewise.
45458 2012-08-17  Mike Frysinger  <vapier@gentoo.org>
45460         * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
45462 2012-08-17  Marek Polacek  <polacek@redhat.com>
45464         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
45465         ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
45467 2012-08-17  Roland McGrath  <roland@hack.frob.com>
45469         * configure.in: Add AC_SUBST for sysheaders.
45470         * configure: Regenerated.
45471         * config.make.in (sysheaders): New substituted variable.
45473         * sysdeps/unix/mkfifo.c: Moved ...
45474         * sysdeps/posix/mkfifo.c: ... here.
45475         * sysdeps/unix/mkfifoat.c: Moved ...
45476         * sysdeps/posix/mkfifoat.c: ... here.
45478         * sysdeps/unix/utime.c: Moved ...
45479         * sysdeps/posix/utime.c: ... here.
45481         * sysdeps/unix/time.c: Moved ...
45482         * sysdeps/posix/time.c: ... here.
45483         * sysdeps/unix/sysv/linux/time.c: Adjust #include.
45484         * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
45486         * sysdeps/unix/nice.c: Moved ...
45487         * sysdeps/posix/nice.c: ... here.
45489         * sysdeps/unix/alarm.c: Moved ...
45490         * sysdeps/posix/alarm.c: ... here.
45492         * intl/Makefile ($(codeset_mo)): Depend on the input file.
45494 2012-08-17  Jeff Law <law@redhat.com>
45496         * intl/Makefile (codeset_mo): New variable.
45497         ($(codeset_mo)): New target.
45498         (tst-codeset.out): Depend on that.  Remove explicit rule.
45499         (tst-gettext3.out, tst-gettext5.out): Likewise.
45500         (LOCPATH-ENV, tst-codeset-ENV): New variables.
45501         (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
45502         * intl/tst-codeset.sh: Remove.
45503         * intl/tst-gettext3.sh: Likewise.
45504         * intl/tst-gettext5.sh: Likewise.
45506 2012-08-17  Roland McGrath  <roland@hack.frob.com>
45508         * sysdeps/unix/inet/syscalls.list: File removed.  Move contents into ...
45509         * sysdeps/unix/syscalls.list: ... here.
45511         * sysdeps/posix/getaddrinfo.c
45512         (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
45513         (gaiconf_init, gaiconf_reload): Use them.
45514         [!_STATBUF_ST_NSEC]
45515         (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
45516         Define using time_t rather than struct timespec.
45518         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
45519         (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
45520         Macros removed.
45521         * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
45522         [!NO_THREADS].
45523         (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
45524         (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
45525         Likewise.
45527         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
45528         __libc_cleanup_push argument.
45530         * bits/param.h: New file.
45531         * misc/sys/param.h: New file.
45532         * include/sys/param.h: New file.
45533         * misc/Makefile (headers): Add bits/param.h.
45534         * sysdeps/generic/sys/param.h: File removed.
45535         * sysdeps/unix/sysv/linux/bits/param.h: New file.
45536         * sysdeps/unix/sysv/linux/sys/param.h: File removed.
45537         * sysdeps/mach/hurd/bits/param.h: New file.
45538         * sysdeps/mach/hurd/sys/param.h: File removed.
45540         * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
45541         last change.
45543         * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
45544         [_IO_MTSAFE_IO].
45545         * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
45546         (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
45547         New macros.
45549         * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
45550         * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
45551         rather than -D_IO_MTSAFE_IO conditionally.
45552         * stdio-common/Makefile (CPPFLAGS): Likewise.
45553         * wcsmbs/Makefile (CPPFLAGS): Likewise.
45554         * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
45555         Use $(libio-mtsafe).
45556         * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
45557         of -D_IO_MTSAFE_IO.
45558         (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
45559         (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
45560         (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
45561         (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
45562         (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
45563         (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
45564         (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
45565         (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
45566         (CFLAGS-fread_u_chk.c): Likewise.
45567         (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
45568         (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
45569         (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
45570         (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
45571         * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
45572         * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
45573         * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
45574         * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
45575         * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
45577         * libio/Makefile: Test [$(libc-reentrant) = yes]
45578         instead of [$(filter %REENTRANT, $(defines)) nonempty].
45580         * Makeconfig
45581         [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
45582         * sysdeps/pthread/configure: File removed.
45583         * sysdeps/pthread/Makeconfig: New file.
45584         * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
45585         * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
45587 2012-08-16  Gary Benson  <gbenson@redhat.com>
45589         * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
45590         unmapping the first object in a namespace.
45592 2012-08-16  Roland McGrath  <roland@hack.frob.com>
45594         * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
45595         (__internal_setnetgrent): ... this.  Add internal_function to
45596         definition.  Add libc_hidden_def.
45597         (setnetgrent): Update caller.
45598         (internal_endnetgrent): Renamed to ...
45599         (__internal_endnetgrent): ... this.  Add internal_function to
45600         definition.  Add libc_hidden_def.
45601         (endnetgrent): Update caller.
45602         (internal_getnetgrent_r): Renamed to ...
45603         (__internal_getnetgrent_r): ... this.  Add internal_function to
45604         definition.  Add libc_hidden_def.
45605         (__getnetgrent_r): Update caller.
45606         * inet/netgroup.h: Update declarations.  Add libc_hidden_proto uses.
45608 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
45610         * stdlib/longlong.h: Update from GCC.
45612 2012-08-16  Roland McGrath  <roland@hack.frob.com>
45614         * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
45615         on _QL, which is set by umul_ppmm but never used.
45616         * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
45617         variables, which are set by GMP macros but never used.
45618         * stdio-common/_itowa.c (_itowa): Likewise.
45619         * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
45620         * stdlib/mod_1.c (mpn_mod_1): Likewise.
45622 2012-08-16  Carlos O'Donell  <carlos_odonell@mentor.com>
45624         * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
45625         struct La_sh_regs is not constant.
45626         * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
45627         <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
45628         and struct La_sparc64_regs are not constant.
45630 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
45632         * sysdeps/unix/sysv/linux/kernel-features.h
45633         (__ASSUME_POSIX_TIMERS): Remove.
45634         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
45635         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
45636         * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
45637         Make code unconditional.
45638         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
45639         * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
45640         Make code unconditional.
45641         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
45642         * sysdeps/unix/sysv/linux/clock_nanosleep.c
45643         [__ASSUME_POSIX_TIMERS]: Make code unconditional.
45644         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
45645         * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
45646         Make code unconditional.
45647         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
45648         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
45649         (__libc_missing_posix_timers): Remove.
45651 2012-08-15  Roland McGrath  <roland@hack.frob.com>
45653         * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
45654         check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
45656         * bits/libc-lock.h (__rtld_lock_initialize): New macro.
45658         * elf/dl-sym.c: Include <stdlib.h>.
45660         * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
45661         constants, which avoids warnings in 32-bit builds.
45663         * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
45664         (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
45666         * misc/lseek.c: File moved to ...
45667         * io/lseek.c: ... here.
45669         * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
45671         * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
45672         shifting LEN more than 31 bits at once.
45674 2012-08-15  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
45676         [BZ #14195]
45677         * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
45678         segmentation fault for a case of two empty input strings.
45679         * string/test-strncasecmp.c (check1): Renamed to...
45680         (bz12205): ...this.
45681         (bz14195): Add new testcase for two empty input strings and N > 0.
45682         (test_main): Call new testcase, adapt for renamed function.
45684 2012-08-15  Andreas Jaeger  <aj@suse.de>
45686         [BZ #14090]
45687         * crypt/md5test2.c: New test, based on test supplied by Serge
45688         Belyshev <belyshev@depni.sinp.msu.ru>.
45689         * crypt/Makefile (xtests): Add md5test-giant..
45690         * crypt/Makefile ($(objpfx)md5test-giant): Add.
45692 2012-08-15  Paul Eggert  <eggert@cs.ucla.edu>
45694         [BZ #14090]
45695         * crypt/md5.c (md5_process_block): Don't assume the buffer
45696         length is less than 2**32.
45697         * crypt/sha512.c (sha512_process_block): Don't assume the buffer
45698         length is less than 2**64.
45700 2012-08-15  Roland McGrath  <roland@hack.frob.com>
45702         * string/str-two-way.h: Include <sys/param.h>.
45703         (MAX): Macro removed.
45705         * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
45706         Move #define and #undef of memmove to just before and after
45707         including <string.h>.
45709         * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
45710         [!NOT_IN_libc]: Move #define and #undef of memmove to just before
45711         and after including <string.h>.  Move declarations of
45712         __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
45713         to before #include "string/memmove.c".
45715         * include/dirent.h: Declare __getdirentries.
45717         * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
45718         using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
45720 2012-08-14  Mike Frysinger  <vapier@gentoo.org>
45722         * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
45723         * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
45724         * sysdeps/i386/configure: Regenerated.
45725         * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
45726         STABS_CURRENT_FILE, and STABS_FUN.
45727         (END): Remove call to STABS_FUN_END.
45728         (STABS_CURRENT_FILE1): Delete.
45729         (STABS_CURRENT_FILE): Likewise.
45730         (STABS_FUN): Likewise.
45731         (STABS_FUN_END): Likewise.
45732         (STABS_FUN2): Likewise.
45733         * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
45734         * sysdeps/x86_64/configure: Regenerated.
45736 2012-08-14  Roland McGrath  <roland@hack.frob.com>
45738         * elf/dl-open.c: Include <atomic.h>.
45739         * elf/dl-lookup.c: Likewise.
45741 2012-08-14  Joseph Myers  <joseph@codesourcery.com>
45743         * sysdeps/unix/sysv/linux/kernel-features.h
45744         (__ASSUME_CLONE_THREAD_FLAGS): Remove.
45745         * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
45746         unconditionally.
45747         * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
45748         unconditionally.
45749         * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
45750         condition on __ASSUME_CLONE_THREAD_FLAGS.
45752 2012-08-14  Andreas Jaeger  <aj@suse.de>
45754         * sysdeps/i386/fpu/libm-test-ulps: Update.
45756 2012-08-13  Maxim Kuvyrkov  <maxim@codesourcery.com>
45758         * include/atomic.h (atomic_exchange_and_add): Split into ...
45759         (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
45760         New atomic macros.
45762 2012-08-13  Markus Trippelsdorf  <markus@trippelsdorf.de>
45764         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
45766 2012-08-13  Jeff Law <law@redhat.com>
45768         * manual/stdio.texi (snprintf): Clarify handling of the trailing
45769         null byte in the output string.
45771 2012-08-10  Joseph Myers  <joseph@codesourcery.com>
45773         * sysdeps/unix/sysv/linux/kernel-features.h
45774         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
45775         [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
45776         (__ASSUME_ARG_MAX_STACK_BASED): Define.
45777         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
45778         [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
45779         !__ASSUME_ARG_MAX_STACK_BASED.  Compare version with
45780         __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
45782 2012-08-09  Jeff Law <law@redhat.com>
45784         [BZ #13939]
45785         * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
45786         When avoid_arena is set, don't retry in the that arena.  Pick the
45787         next one, whatever it might be.
45788         (arena_get2): New parameter avoid_arena, pass through to reused_arena.
45789         (arena_lock): Pass in new parameter to arena_get2.
45790         * malloc/malloc.c (__libc_memalign): Pass in new parameter to
45791         arena_get2.
45792         (__libc_malloc): Unify retrying after main arena failure with
45793         __libc_memalign version.
45794         (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
45796 2012-08-09  H.J. Lu  <hongjiu.lu@intel.com>
45798         [BZ #14166]
45799         * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
45800         to __redirect_strstr.
45801         (__strstr_sse42): Use typeof __redirect_strstr.
45802         (__strstr_ia32): Likewise.
45803         (__libc_strstr): New prototype.
45804         (strstr): Renamed to ...
45805         (__libc_strstr): This.
45806         (strstr): New strong alias of __libc_strstr.
45807         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
45808         * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
45809         __redirect_time.
45810         Include <time.h>.
45811         (__libc_time): New prototype.
45812         (time_ifunc): Replace time with __libc_time.
45813         (time): New strong alias and hidden definition of __libc_time.
45814         (__GI_time): Remove strong alias.
45815         * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
45816         Include <stddef.h>.
45817         (memmove): Redefined to __redirect_memmove.
45818         (__memmove_sse2): Use typeof __redirect_memmove.
45819         (__memmove_ssse3): Likewise.
45820         (__memmove_ssse3_back): Likewise.
45821         (__libc_memmove): New prototype.
45822         (memmove): Renamed to ...
45823         (__libc_memmove): This.
45824         (memmove): New strong alias of __libc_memmove.
45826 2012-08-08  Mark Salter  <msalter@redhat.com>
45828         * elf/elf.h
45829         (R_MN10300_TLS_GD): Define.
45830         (R_MN10300_TLS_LD): Likewise.
45831         (R_MN10300_TLS_LDO): Likewise.
45832         (R_MN10300_TLS_GOTIE): Likewise.
45833         (R_MN10300_TLS_IE): Likewise.
45834         (R_MN10300_TLS_LE): Likewise.
45835         (R_MN10300_TLS_DTPMOD): Likewise.
45836         (R_MN10300_TLS_DTPOFF): Likewise.
45837         (R_MN10300_TLS_TPOFF): Likewise.
45838         (R_MN10300_SYM_DIFF): Likewise.
45839         (R_MN10300_ALIGN): Likewise.
45840         (R_MN10300_NUM): Update.
45842 2012-08-08  Joseph Myers  <joseph@codesourcery.com>
45844         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
45845         Remove.
45847 2012-08-08  Roland McGrath  <roland@hack.frob.com>
45849         * sysdeps/posix/fdopendir.c: Include <stddef.h>.
45851         * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
45852         sysdeps/unix -> sysdeps/posix move.
45853         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
45855 2012-08-07      Allan McRae     <allan@archlinux.org>
45857         [BZ #14303]
45858         * sunrpc/rpc_main.c (SVR4_CPP): Remove.
45859         (SUNOS_CPP): Likewise.
45860         (find_cpp): Fall back to selecting system cpp when /lib/cpp is
45861         not found.
45862         (open_input): Call CPP using execvp.
45864 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
45866         * sysdeps/unix/sysv/linux/kernel-features.h
45867         (__ASSUME_PROT_GROWSUPDOWN): Remove.
45868         (__ASSUME_NO_CLONE_DETACHED): Likewise.
45869         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
45870         (__ASSUME_WAITID_SYSCALL): Likewise.
45871         * sysdeps/unix/sysv/linux/dl-execstack.c
45872         (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
45873         code unconditional.
45874         (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
45875         conditional code.
45876         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
45877         [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
45878         (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
45879         code.
45880         * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
45881         unconditional.
45882         [__ASSUME_WAITID_SYSCALL]: Likewise.
45883         [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
45885 2012-08-07  Roland McGrath  <roland@hack.frob.com>
45887         * sysdeps/unix/closedir.c: Renamed to ...
45888         * sysdeps/posix/closedir.c: ... here.
45889         * sysdeps/unix/dirfd.c: Renamed to ...
45890         * sysdeps/posix/dirfd.c: ... here.
45891         * sysdeps/unix/dirstream.h: Renamed to ...
45892         * sysdeps/posix/dirstream.h: ... here.
45893         * sysdeps/unix/fdopendir.c: Renamed to ...
45894         * sysdeps/posix/fdopendir.c: ... here.
45895         * sysdeps/unix/opendir.c: Renamed to ...
45896         * sysdeps/posix/opendir.c: ... here.
45897         * sysdeps/unix/readdir.c: Renamed to ...
45898         * sysdeps/posix/readdir.c: ... here.
45899         * sysdeps/unix/readdir_r.c: Renamed to ...
45900         * sysdeps/posix/readdir_r.c: ... here.
45901         * sysdeps/unix/rewinddir.c: Renamed to ...
45902         * sysdeps/posix/rewinddir.c: ... here.
45903         * sysdeps/unix/seekdir.c: Renamed to ...
45904         * sysdeps/posix/seekdir.c: ... here.
45905         * sysdeps/unix/telldir.c: Renamed to ...
45906         * sysdeps/posix/telldir.c: ... here.
45907         * sysdeps/unix/sysv/linux/opendir.c: Update #include.
45908         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
45909         * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
45910         * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
45912         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
45913         * bits/fcntl.h: ... here.
45915         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
45916         not 0.
45917         (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
45918         [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
45919         (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
45920         (struct flock): Move l_start, l_len to the beginning.
45921         Use __pid_t for l_pid.
45922         [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
45923         [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
45924         [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
45925         (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
45926         [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
45927         [__USE_LARGEFILE64] (struct flock64): New type.
45928         (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
45930         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
45931         * bits/dirent.h: ... here.
45933         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
45934         [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
45936 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
45938         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
45939         Change from 2.6.0 to 2.6.16.
45940         * sysdeps/unix/sysv/linux/configure: Regenerated.
45941         * sysdeps/unix/sysv/linux/kernel-features.h
45942         (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
45943         (__ASSUME_TGKILL): Define conditional on architectures, not kernel
45944         version.
45945         (__ASSUME_UTIMES): Likewise.
45946         (__ASSUME_CLONE_STOPPED): Remove.
45947         (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
45948         architectures, not kernel version.
45949         (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
45950         (__ASSUME_NO_CLONE_DETACHED): Likewise.
45951         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
45952         (__ASSUME_WAITID_SYSCALL): Likewise.
45953         [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
45954         condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
45955         * README: State 2.6.16 as minimum Linux kernel version.  Do not
45956         refer to older versions.
45958 2012-08-06  Roland McGrath  <roland@hack.frob.com>
45960         * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
45961         Define alphasort64 as an alias.
45962         * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
45963         Define versionsort64 as an alias.
45964         * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
45965         Define scandir64 as an alias.
45966         * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
45967         Define scandirat64 as an alias.
45968         * dirent/alphasort64.c (alphasort64):
45969         Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
45970         * dirent/versionsort64.c: Likewise.
45971         * dirent/scandir64.c: Likewise.
45972         * dirent/scandirat64.c: Likewise.
45973         * sysdeps/wordsize-64/alphasort.c: File removed.
45974         * sysdeps/wordsize-64/alphasort64.c: File removed.
45975         * sysdeps/wordsize-64/scandir.c: File removed.
45976         * sysdeps/wordsize-64/scandir64.c: File removed.
45977         * sysdeps/wordsize-64/scandirat.c: File removed.
45978         * sysdeps/wordsize-64/scandirat64.c: File removed.
45979         * sysdeps/wordsize-64/versionsort.c: File removed.
45980         * sysdeps/wordsize-64/versionsort64.c: File removed.
45981         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
45982         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
45983         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
45984         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
45985         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
45986         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
45987         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
45988         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
45990         * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
45991         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
45992         [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
45993         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
45994         [defined __arch64__ || defined __sparcv9]
45995         (__INO_T_MATCHES_INO64_T): New macro.
45996         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
45997         [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
45998         * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
45999         * sysdeps/unix/sysv/linux/bits/dirent.h
46000         [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
46001         (_DIRENT_MATCHES_DIRENT64): New macro.
46003         * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
46004         Define lockf64 as an alias.
46005         * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
46006         Define fseeko64 as an alias.
46007         * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
46008         Define ftello64 as an alias.
46009         * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
46010         Define _IO_fgetpos64 and fgetpos64 as aliases.
46011         * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
46012         Define _IO_fsetpos64 and fsetpos64 as aliases.
46013         * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
46014         Conditionalize body on this.
46015         * libio/fseeko64.c: Likewise.
46016         * libio/ftello64.c: Likewise.
46017         * libio/iofgetpos64.c: Likewise.
46018         * libio/iofsetpos64.c: Likewise.
46019         * sysdeps/wordsize-64/lockf.c: File removed.
46020         * sysdeps/wordsize-64/lockf64.c: File removed.
46021         * sysdeps/wordsize-64/fseeko.c: File removed.
46022         * sysdeps/wordsize-64/fseeko64.c: File removed.
46023         * sysdeps/wordsize-64/ftello.c: File removed.
46024         * sysdeps/wordsize-64/ftello64.c: File removed.
46025         * sysdeps/wordsize-64/iofgetpos.c: File removed.
46026         * sysdeps/wordsize-64/iofgetpos64.c: File removed.
46027         * sysdeps/wordsize-64/iofsetpos.c: File removed.
46028         * sysdeps/wordsize-64/iofsetpos64.c: File removed.
46029         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
46030         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
46031         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
46032         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
46033         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
46034         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
46035         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
46036         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
46037         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
46038         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
46040         * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
46041         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
46042         [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
46043         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
46044         [defined __arch64__ || defined __sparcv9]
46045         (__OFF_T_MATCHES_OFF64_T): New macro.
46046         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
46047         [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
46048         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
46049         (__OFF_T_MATCHES_OFF64_T): New macro.
46051 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
46053         * stdlib/secure-getenv.c (__secure_getenv): Replace
46054         GLIBC_2_16 with GLIBC_2_17.
46056 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
46058         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
46059         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
46061 2012-08-03  David S. Miller  <davem@davemloft.net>
46063         * sysdeps/sparc/fpu/libm-test-ulps: Update.
46065 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
46067         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
46068         Remove.
46069         (__ASSUME_CORRECT_SI_PID): Likewise.
46070         (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
46071         (__ASSUME_TMPFS_NAME): Likewise.
46072         * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
46073         [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
46074         * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
46075         (HAVE_AUX_SECURE): Make definition unconditional.
46076         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
46077         [!__ASSUME_TMPFS_NAME]: Remove conditional code.
46079 2012-08-03  Roland McGrath  <roland@hack.frob.com>
46081         * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
46082         * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
46083         * sysdeps/mach/hurd/eloop-threshold.h: New file.
46084         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
46085         __eloop_threshold instead of SYMLOOP_MAX.
46087         * sysdeps/generic/eloop-threshold.h: New file.
46088         * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
46089         of MAXSYMLINKS.
46090         * elf/chroot_canon.c (chroot_canon): Likewise.
46092 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
46094         [BZ #13717]
46095         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
46096         Change to 2.6.0 everywhere.
46097         * sysdeps/unix/sysv/linux/configure: Regenerated.
46098         * sysdeps/unix/sysv/linux/kernel-features.h
46099         (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
46100         (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
46101         kernel versions.
46102         (__ASSUME_POSIX_TIMERS): Define unconditionally.
46103         (__ASSUME_FUTEX_REQUEUE): Remove.
46104         (__ASSUME_STATFS64): Define unconditionally.
46105         (__ASSUME_AT_SECURE): Likewise.
46106         (__ASSUME_CORRECT_SI_PID): Likewise.
46107         (__ASSUME_TGKILL): Define without depending on kernel version for
46108         i386.
46109         (__ASSUME_UTIMES): Likewise.
46110         (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
46111         kernel version.
46112         (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
46113         (__ASSUME_TMPFS_NAME): Likewise.
46114         * README: Update reference to Linux kernel versions.
46116 2012-08-02  Marek Polacek  <polacek@redhat.com>
46118         [BZ# 14150]
46119         * configure.in (libc_cv_asm_type_prefix): Remove test.  Replace
46120         libc_cv_asm_type_prefix with %.
46121         * configure: Regenerated.
46122         * include/libc-symbols.h: Remove comment about
46123         ASM_TYPE_DIRECTIVE_PREFIX.  Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
46124         (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
46125         (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
46126         (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
46127         (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
46128         * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
46129         [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
46130         [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
46131         * elf/tst-unique2mod1.c: Likewise.
46132         * elf/tst-unique1mod2.c: Likewise.
46133         * elf/tst-unique1mod1.c: Likewise.
46134         * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
46135         * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
46136         Replace ASM_TYPE_DIRECTIVE with .type.
46137         * sysdeps/s390/s390-64/sysdep.h: Likewise.
46138         * sysdeps/i386/sysdep.h: Likewise.
46139         * sysdeps/x86_64/sysdep.h: Likewise.
46140         * sysdeps/sh/sysdep.h: Likewise.
46141         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
46142         Do not define ASM_TYPE_DIRECTIVE.
46143         * sysdeps/powerpc/sysdep.h: Likewise.
46144         * sysdeps/powerpc/powerpc32/sysdep.h:
46145         Replace ASM_TYPE_DIRECTIVE with .type.
46146         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
46147         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
46148         * sysdeps/i386/fpu/e_powf.S: Likewise.
46149         * sysdeps/i386/fpu/e_expl.S: Likewise.
46150         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
46151         * sysdeps/i386/fpu/e_acosh.S: Likewise.
46152         * sysdeps/i386/fpu/e_pow.S: Likewise.
46153         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
46154         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
46155         * sysdeps/i386/fpu/s_expm1.S: Likewise.
46156         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
46157         * sysdeps/i386/fpu/e_log2.S: Likewise.
46158         * sysdeps/i386/fpu/e_log2l.S: Likewise.
46159         * sysdeps/i386/fpu/e_scalb.S: Likewise.
46160         * sysdeps/i386/fpu/e_powl.S: Likewise.
46161         * sysdeps/i386/fpu/e_log10f.S: Likewise.
46162         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
46163         * sysdeps/i386/fpu/e_logl.S: Likewise.
46164         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
46165         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
46166         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
46167         * sysdeps/i386/fpu/e_log2f.S: Likewise.
46168         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
46169         * sysdeps/i386/fpu/e_log.S: Likewise.
46170         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
46171         * sysdeps/i386/fpu/e_logf.S: Likewise.
46172         * sysdeps/i386/fpu/e_log10l.S: Likewise.
46173         * sysdeps/i386/fpu/e_atanh.S: Likewise.
46174         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
46175         * sysdeps/i386/fpu/e_log10.S: Likewise.
46176         * sysdeps/i386/fpu/s_frexp.S: Likewise.
46177         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
46178         * sysdeps/i386/fpu/s_asinh.S: Likewise.
46179         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
46180         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
46181         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
46182         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
46183         * sysdeps/i386/i686/strtok.S: Likewise.
46184         * sysdeps/i386/i386-mcount.S: Likewise.
46185         * sysdeps/i386/strtok.S: Likewise.
46186         * sysdeps/x86_64/fpu/e_expl.S: Likewise.
46187         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
46188         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
46189         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
46190         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
46191         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
46192         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
46193         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
46194         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
46195         * sysdeps/x86_64/_mcount.S: Likewise.
46196         * sysdeps/x86_64/strtok.S: Likewise.
46197         * sysdeps/sh/_mcount.S: Likewise.
46199 2012-08-01  Roland McGrath  <roland@hack.frob.com>
46201         * libio/iofopen.c: Include <fcntl.h>.
46202         [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
46203         (_IO_fopen64, fopen64): Define as aliases.
46204         * libio/iofopen64.c: Include <fcntl.h>.
46205         [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
46206         Conditionalize body on this.
46207         * sysdeps/wordsize-64/iofopen.c: File removed.
46208         * sysdeps/wordsize-64/iofopen64.c: File removed.
46210 2012-08-01  Marek Polacek  <polacek@redhat.com>
46212         * libc/Makeconfig: Use elf in place of binfmt-subdir.
46213         Use dlfcn directly instead of a variable.
46214         (binfmt-subdir): Do not define.
46215         (dlfcn): Likewise.
46217 2012-08-01  Joseph Myers  <joseph@codesourcery.com>
46219         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
46220         Remove all definitions.
46221         * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
46222         <kernel-features.h>.
46223         [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
46224         (miss_F_GETOWN_EX): Remove all definitions.
46225         [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
46226         macro definition.
46227         [!__ASSUME_FCNTL64]: Remove conditional code.
46228         [__ASSUME_FCNTL64]: Make code unconditional.
46229         * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
46230         <kernel-features.h>.
46231         [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
46232         (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
46233         (lockf64) [__NR_fcntl64]: Make code unconditional.
46234         (lockf64) [__ASSUME_FCNTL64]: Likewise.
46236         * sysdeps/unix/sysv/linux/kernel-features.h
46237         (__ASSUME_VFORK_SYSCALL): Remove all definitions.
46238         * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
46239         Make code unconditional.
46240         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
46241         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
46242         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
46243         [__NR_vfork]: Make code unconditional.
46244         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
46245         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
46246         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
46247         [__NR_vfork]: Make code unconditional.
46248         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
46249         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
46251 2012-08-01  Roland McGrath  <roland@hack.frob.com>
46253         * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
46254         (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
46256         * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
46257         Define mkstemp64 as an alias.
46258         * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
46259         Define mkstemps64 as an alias.
46260         * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
46261         Define mkostemp64 as an alias.
46262         * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
46263         Define mkostemps64 as an alias.
46264         * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
46265         Conditionalize body on this.
46266         * misc/mkostemp64.c: Likewise.
46267         * misc/mkostemps64.c: Likewise.
46268         * misc/mkstemps64.c: Likewise.
46269         * sysdeps/wordsize-64/mkstemp64.c: File removed.
46270         * sysdeps/wordsize-64/mkostemp64.c: File removed.
46271         * sysdeps/wordsize-64/mkostemp.c: File removed.
46272         * sysdeps/wordsize-64/mkstemp.c: File removed.
46273         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
46274         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
46275         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
46276         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
46278         [BZ #14138]
46279         * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
46280         * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
46281         * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
46282         * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
46284         * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
46285         compat_symbol macros from <shlib-compat.h> rather than the underlying
46286         default_symbol_version and symbol_version macros, so that DEFAULT
46287         lines in shlib-versions are respected.
46288         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
46290 2012-08-01  Florian Weimer  <fweimer@redhat.com>
46292         * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
46293         Declare with warn_unused_result.
46294         (setgid, setregid, setegid, setresgid): Likewise.
46295         * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
46296         Likewise.
46297         * WUR-REPORT: Remove set*id functions.
46299 2012-07-31  Pino Toscano  <toscano.pino@tiscali.it>
46301         * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
46303 2012-07-31  Roland McGrath  <roland@hack.frob.com>
46305         [BZ #10191]
46306         * include/sys/socket.h (__libc_accept, __libc_accept4):
46307         Add attribute_hidden.
46308         * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
46310         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
46311         use of PTR_MANGLE.
46312         * inet/getnetgrent_r.c (setup): Likewise.
46314         * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
46316 2012-07-31  David S. Miller  <davem@davemloft.net>
46318         * sysdeps/sparc/fpu/libm-test-ulps: Update.
46320 2012-07-31  Joseph Myers  <joseph@codesourcery.com>
46322         [BZ #13629]
46323         * math/s_clog.c (__clog): Use __log1p if larger part has absolute
46324         value between 1.0 and 2.0 and smaller part has absolute value less
46325         than 1.0.
46326         * math/s_clog10.c (__clog10): Likewise.
46327         * math/s_clog10f.c (__clog10f): Likewise.
46328         * math/s_clog10l.c (__clog10l): Likewise.
46329         * math/s_clogf.c (__clogf): Likewise.
46330         * math/s_clogl.c (__clogl): Likewise.
46331         * math/libm-test.inc (clog_test): Add more tests.
46332         (clog10_test): Likewise.
46333         * sysdeps/i386/fpu/libm-test-ulps: Update.
46334         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46336 2012-07-31  Florian Weimer  <fweimer@redhat.com>
46338         * stdlib/tst-secure-getenv.c: Use printf for error reporting.
46339         Exit with zero in case no suitable GID is found, and write a
46340         message to standard error.
46342 2012-07-30  Roland McGrath  <roland@hack.frob.com>
46344         * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
46345         rather than to 1.
46346         (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
46347         (MAXPATHLEN): Removed.
46348         (NOGROUP, NODEV): New macros.
46349         (setbit, clrbit, isset, isclr): New macros.
46350         (howmany, roundup, powerof2): New macros.
46351         (DEV_BSIZE): New macro.
46353         * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
46354         * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
46356         * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
46357         definition on [!__NO_LONG_DOUBLE_MATH].
46359         * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
46360         PTR_MANGLE and PTR_DEMANGLE.
46362         * socket/accept4.c (accept4): Rename to __libc_accept4.
46363         Define accept4 as a weak alias.
46365         * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
46366         on [_DIRENT_HAVE_D_TYPE].
46367         * io/ftw.c (ftw_dir): Likewise.
46369         * io/xmknod.c (__xmknod): Don't check PATH for being null.
46371         * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
46373         * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
46374         Use the BSD numbers rather than the arbitrary ones we had.
46375         (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
46376         (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
46377         (SIGXCPU, SIGXFSZ): New macros.
46378         (_NSIG): Now 32.
46380         * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
46381         initializer on [_LIBC_REENTRANT].
46383         * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
46384         definitions inside [_POSIX_MAPPED_FILES].
46386         * posix/regex.c: Include <sys/param.h> for MIN/MAX.
46388         * dirent/opendir.c: Include <fcntl.h>.
46390         * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
46391         (__libc_getspecific): Likewise.
46392         (__libc_key_create): Likewise.
46394         * stdio-common/tmpfile64.c: Include <fcntl.h> first.
46395         [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
46396         * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
46397         (tmpfile64): Define as alias.
46398         * sysdeps/wordsize-64/tmpfile.c: File removed.
46399         * sysdeps/wordsize-64/tmpfile64.c: File removed.
46400         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
46401         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
46403         * stdio-common/vfscanf.c: Include <stdbool.h>.
46404         * nss/makedb.c: Likewise.
46405         * stdio-common/_i18n_number.h: Likewise.
46406         * argp/argp-help.c: Likewise.
46407         * posix/wordexp.c: Likewise.
46408         * sysdeps/posix/spawni.c: Likewise.
46409         * nss/nss_files/files-initgroups.c: Likewise.
46410         * stdio-common/reg-modifier.c: Include <stdlib.h>.
46411         * nss/nss_files/files-initgroups.c: Likewise.
46412         * nss/nss_db/db-netgrp.c: Likewise.
46413         * nss/nss_db/db-initgroups.c: Likewise.
46414         * io/fchmodat.c: Include <sys/stat.h>.
46416         * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
46417         __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
46419         * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
46420         [HAVE_MMAP].
46422         * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
46423         Add multiple inclusion protection.
46425 2012-07-27  David S. Miller  <davem@davemloft.net>
46427         * sysdeps/sparc/fpu/libm-test-ulps: Update.
46429 2012-07-27  Gary Benson  <gbenson@redhat.com>
46431         [BZ #14298]
46432         * elf/rtld.c: Include <stap-probe.h>.
46433         (dl_main): Added static probes "init_start" and "init_complete".
46434         * elf/dl-load.c: Include <stap-probe.h>.
46435         (lose): Take new parameter "nsid".
46436         Added static probe "map_failed".
46437         (_dl_map_object_from_fd): Pass namespace id to lose.
46438         Added static probe "map_start".
46439         (open_verify): Pass namespace id to lose.
46440         * elf/dl-open.c: Include <stap-probe.h>.
46441         (dl_open_worker) Added static probes "map_complete", "reloc_start"
46442         and "reloc_complete".
46443         * elf/dl-close.c: Include <stap-probe.h>.
46444         (_dl_close_worker): Added static probes "unmap_start" and
46445         "unmap_complete".
46446         * elf/rtld-debugger-interface.txt: New file documenting the above.
46448 2012-07-26  Roland McGrath  <roland@hack.frob.com>
46450         * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
46451         rather than a string variable.
46452         * sunrpc/rpc_main.c (h_output): Likewise.
46453         * sunrpc/rpc_svcout.c (write_real_program): Likewise.
46455 2012-07-26  Pino Toscano  <toscano.pino@tiscali.it>
46457         * inet/check_native.c: New file.
46459 2012-07-26  Joseph Myers  <joseph@codesourcery.com>
46461         [BZ #13629]
46462         * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
46463         if larger part has absolute value 1.0.
46464         * math/s_clog10.c (__clog10): Likewise.
46465         * math/s_clog10f.c (__clog10f): Likewise.
46466         * math/s_clog10l.c (__clog10l): Likewise.
46467         * math/s_clogf.c (__clogf): Likewise.
46468         * math/s_clogl.c (__clogl): Likewise.
46469         * math/libm-test.inc (clog_test): Add more tests.
46470         (clog10_test): Likewise.
46471         * sysdeps/i386/fpu/libm-test-ulps: Update.
46472         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46474         * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
46475         (pltexit): Likewise.
46476         (La_regs): Likewise.
46477         (La_retval): Likewise.
46478         (int_retval): Likewise.
46479         Update #error for removed macros to refer only to definitions in
46480         tst-audit.h.
46481         * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
46482         macro.
46483         (pltexit): Likewise.
46484         (La_regs): Likewise.
46485         (La_retval): Likewise.
46486         (int_retval): Likewise.
46487         * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
46488         macro.
46489         (pltexit): Likewise.
46490         (La_regs): Likewise.
46491         (La_retval): Likewise.
46492         (int_retval): Likewise.
46493         * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
46494         macro.
46495         (pltexit): Likewise.
46496         (La_regs): Likewise.
46497         (La_retval): Likewise.
46498         (int_retval): Likewise.
46499         * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
46500         macro.
46501         (pltexit): Likewise.
46502         (La_regs): Likewise.
46503         (La_retval): Likewise.
46504         (int_retval): Likewise.
46505         * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
46506         macro.
46507         (pltexit): Likewise.
46508         (La_regs): Likewise.
46509         (La_retval): Likewise.
46510         (int_retval): Likewise.
46511         * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
46512         macro.
46513         (pltexit): Likewise.
46514         (La_regs): Likewise.
46515         (La_retval): Likewise.
46516         (int_retval): Likewise.
46517         * sysdeps/generic/tst-audit.h: Update comment to refer only to
46518         macro definitions in tst-audit.h.
46519         * sysdeps/i386/tst-audit.h: New file.
46520         * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
46521         * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
46522         * sysdeps/s390/s390-32/tst-audit.h: Likewise.
46523         * sysdeps/s390/s390-64/tst-audit.h: Likewise.
46524         * sysdeps/sh/tst-audit.h: Likewise.
46525         * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
46526         * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
46527         * sysdeps/x86_64/tst-audit.h: Likewise.
46529 2012-07-26  Andreas Jaeger  <aj@suse.de>
46531         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
46532         ptrace.
46534         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
46535         new value PTRACE_EVENT_SECCOMP from Linux 3.5.
46536         (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
46537         PTRACE_O_MASK.
46538         * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
46539         * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
46540         * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
46542         * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
46543         value.
46545         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
46546         _sigsys.
46547         (si_call_addr, si_syscall, si_arch): Define new macro.
46548         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
46549         _sigsys.
46550         (si_call_addr, si_syscall, si_arch): Define new marcro.
46551         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
46552         _sigsys.
46553         (si_call_addr, si_syscall, si_arch): Define new macro.
46554         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
46555         _sigsys.
46556         (si_call_addr, si_syscall, si_arch): Define new macro.
46558 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
46560         [BZ #13717]
46561         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
46562         Change to 2.4.21 where previously 2.4.1.
46563         * sysdeps/unix/sysv/linux/configure: Regenerated.
46564         * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
46565         __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
46566         Linux kernel version.
46567         (__ASSUME_STD_AUXV): Remove.
46568         [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
46569         kernel version.
46570         [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
46571         (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
46572         (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
46573         (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
46574         (__ASSUME_NETLINK_SUPPORT): Likewise.
46575         * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
46576         (__no_netlink_support): Remove conditional definition.
46577         * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
46578         Remove.
46579         (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
46580         [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
46581         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
46582         (if_nameindex_ioctl): Remove.
46583         (if_nameindex_netlink): Do not handle __no_netlink_support.
46584         (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
46585         code.
46586         * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
46587         Remove conditional code.
46588         (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
46589         code.
46590         (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
46591         unconditional.
46592         [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
46593         [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
46594         * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
46595         Remove.
46596         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
46597         [!__ASSUME_STD_AUXV]: Remove conditional code.
46598         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
46599         [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
46600         [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
46601         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
46602         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
46603         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
46604         code.
46605         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
46606         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
46607         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
46608         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
46609         conditional code.
46610         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
46611         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
46612         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
46613         code.
46614         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
46615         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
46616         conditional code.
46617         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
46618         (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
46619         code unconditional.
46620         (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
46621         conditional code.
46622         (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
46623         unconditional.
46624         (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
46625         conditional code.
46626         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
46627         (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
46628         unconditional.
46629         (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
46630         conditional code.
46631         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
46632         (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
46633         code unconditional.
46634         (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
46635         conditional code.
46636         (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
46637         unconditional.
46638         (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
46639         conditional code.
46640         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
46641         (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
46642         code unconditional.
46643         (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
46644         conditional code.
46645         (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
46646         unconditional.
46647         (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
46648         conditional code.
46650 2012-07-25  Andreas Schwab  <schwab@linux-m68k.org>
46652         * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
46653         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
46654         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
46655         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
46656         * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
46657         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
46658         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
46659         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
46660         * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
46661         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
46662         * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
46663         * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
46664         * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
46665         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
46666         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
46667         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
46668         * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
46669         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
46670         * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
46671         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
46672         * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
46673         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
46674         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
46676 2012-07-25  Florian Weimer  <fweimer@redhat.com>
46678         * Versions.def: Add GLIBC_2.17.
46679         * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
46680         * include/stdlib.h: Rename __secure_getenv to secure_getenv.
46681         Introduce __libc_secure_getenv.
46682         * stdlib/Versions (2.17): Add secure_getenv
46683         (GLIBC_PRIVATE): Add __libc_secure_getenv.
46684         * stdlib/secure-getenv.c: Rename __secure_getenv to
46685         __libc_secure_getenv.  Add secure_getenv alias.  Add compatibility
46686         symbol __secure_getenv for GLIBC_2.0.
46687         * stdlib/tst-secure-getenv.c: New.
46688         * stdlib/Makefile (tests): Add testcase.
46689         * manual/startup.texi (Environment Access): Document
46690         secure_getenv.
46691         * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
46692         __libc_secure_getenv.
46693         * inet/ruserpass.c (ruserpass): Likewise.
46694         * malloc/mtrace.c (mtrace): Likewise.
46695         * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
46696         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
46697         * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
46698         * sysdeps/posix/tempname.c: Likewise.  Evaluate
46699         HAVE_SECURE_GETENV.
46700         * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
46701         __secure_getenv to __libc_secure_getenv.
46702         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
46703         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
46704         Likewise.
46705         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
46706         Likewise.
46707         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
46708         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
46709         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
46710         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
46711         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
46712         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
46713         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
46715 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
46717         * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
46718         (struct La_i86_retval): Likewise.
46719         (struct La_x86_64_regs): Likewise.
46720         (struct La_x86_64_retval): Likewise.
46721         (struct La_x32_regs): Likewise.
46722         (struct La_x32_retval): Likewise.
46723         (struct La_ppc32_regs): Likewise.
46724         (struct La_ppc32_retval): Likewise.
46725         (struct La_ppc64_regs): Likewise.
46726         (struct La_ppc64_retval): Likewise.
46727         (struct La_sh_regs): Likewise.
46728         (struct La_sh_retval): Likewise.
46729         (struct La_s390_32_regs): Likewise.
46730         (struct La_s390_32_retval): Likewise.
46731         (struct La_s390_64_regs): Likewise.
46732         (struct La_s390_64_retval): Likewise.
46733         (struct La_sparc32_regs): Likewise.
46734         (struct La_sparc32_retval): Likewise.
46735         (struct La_sparc64_regs): Likewise.
46736         (struct La_sparc64_retval): Likewise.
46737         (struct audit_ifaces): Remove architecture-specific pltenter and
46738         pltexit members.
46739         * sysdeps/i386/ldsodefs.h: New file.
46740         * sysdeps/powerpc/ldsodefs.h: Likewise.
46741         * sysdeps/s390/ldsodefs.h: Likewise.
46742         * sysdeps/sh/ldsodefs.h: Likewise.
46743         * sysdeps/sparc/ldsodefs.h: Likewise.
46744         * sysdeps/x86_64/ldsodefs.h: Likewise.
46746 2012-07-25  Marek Polacek  <polacek@redhat.com>
46748         [BZ #6808]
46749         * math/libm-test.inc (yn_test): Add another test.
46750         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
46751         to ERANGE when the result is +-Inf.
46752         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
46753         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
46754         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
46755         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
46757 2012-07-24  Joseph Myers  <joseph@codesourcery.com>
46759         * conform/data/time.h-data (NULL): Use macro-constant.  Require
46760         equal to 0.
46761         (CLOCKS_PER_SEC): Use macro instead of constant.  Specify type as
46762         clock_t.
46763         [ISO11] (TIME_UTC): Use macro-int-constant.  Require value > 0.
46765 2012-07-23  Thomas Schwinge  <thomas@codesourcery.com>
46767         * configure.in <sysdeps resolving>: Correct printing
46768         Implies_before.
46769         * configure: Regenerate.
46771 2012-07-22  Thomas Schwinge  <thomas@codesourcery.com>
46773         * math/w_ilogb.c: Include <limits.h>.
46774         * math/w_ilogbl.c: Likewise.
46776 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
46778         * manual/lang.texi (__va_copy): Document primarily as ISO C99
46779         va_copy.  Document allowing for unavailable va_copy only as
46780         pre-C99 compatibility.
46781         * manual/string.texi (Copying and Concatenation): Use va_copy
46782         instead of __va_copy in concat example.
46784 2012-07-20  Pino Toscano  <toscano.pino@tiscali.it>
46786         * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
46787         (__sendto): Use create_address_port.  Initialize APORT and deallocate
46788         it if not null.
46790         * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
46791         with O_NOLINK passed to __file_name_lookup.
46793         * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
46794         with O_NOLINK passed to __file_name_lookup.
46796         * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
46797         negative N or less than NGIDS.
46799         * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
46800         type to string_t.  Set ERANGE as errno and return it if NAME is not big
46801         enough.  Use memcpy instead of strncpy.
46803 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
46805         * elf/Makefile (check-data): Remove.
46806         (localplt.data): New vpath directive.
46807         ($(objpfx)check-localplt.out): Use localplt.data from vpath
46808         instead of $(check-data).
46809         * scripts/data/localplt-generic.data: Move to ...
46810         * sysdeps/generic/localplt.data: ... here.
46811         * scripts/data/localplt-i386-linux-gnu.data: Move to ...
46812         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
46813         * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
46814         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
46815         ... here.
46816         * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
46817         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
46818         ... here.
46819         * scripts/data/localplt-s390-linux-gnu.data: Move to ...
46820         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
46821         ... here.
46822         * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
46823         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
46824         ... here.
46825         * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
46826         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
46827         ... here.
46828         * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
46829         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
46830         ... here.
46832 2012-07-19 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46834         * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
46835         PPC32 and PPC64 files.
46836         * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
46837         * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
46839 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
46841         * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
46842         __makecontext_ret to ...
46843         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
46844         ... here and call exit if uc_link is NULL.  New file.
46845         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
46846         __makecontext_ret.S.
46847         * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
46848         __makecontext_ret to ...
46849         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
46850         ... here and call exit if uc_link is NULL.  New file.
46851         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
46852         __makecontext_ret.S.
46854 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
46856         * elf/elf.h (R_390_IRELATIVE): New definition.
46857         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
46858         resolver function for IFUNC symbols.  Support R_390_IRELATIVE.
46859         (elf_machine_lazy_rel): Support R_390_IRELATIVE.
46860         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
46861         (elf_machine_lazy_rel): Likewise.
46862         * sysdeps/s390/dl-irel.h: New file.
46863         * sysdeps/s390/s390-64/memcpy.S: New asm code.
46864         * sysdeps/s390/s390-64/memset.S: New asm code.
46865         * sysdeps/s390/s390-64/memcmp.S: New asm code.
46866         * sysdeps/s390/s390-64/multiarch/memset.S: New file.
46867         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
46868         * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
46869         * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
46870         * sysdeps/s390/s390-64/multiarch/Makefile: New file.
46871         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
46872         * sysdeps/s390/s390-32/multiarch/Makefile: New file.
46873         * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
46874         * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
46875         * sysdeps/s390/s390-32/multiarch/memset.S: New file.
46876         * sysdeps/s390/s390-32/memcpy.S: New asm code.
46877         * sysdeps/s390/s390-32/memset.S: New asm code.
46878         * sysdeps/s390/s390-32/memcmp.S: New asm code.
46880 2012-07-17  Marek Polacek  <polacek@redhat.com>
46882         [BZ #14349]
46883         * sysdeps/s390/s390-32/configure.in: Remove TLS check.
46884         * sysdeps/s390/s390-64/configure.in: Likewise.
46885         * sysdeps/sparc/configure.in: Likewise.
46886         * sysdeps/powerpc/powerpc32/configure.in: Likewise.
46887         * sysdeps/powerpc/powerpc64/configure.in: Likewise.
46888         * sysdeps/i386/configure.in: Likewise.
46889         * sysdeps/x86_64/configure.in: Likewise.
46890         * sysdeps/sh/configure.in: Likewise.
46891         * sysdeps/s390/s390-32/configure: Regenerated.
46892         * sysdeps/s390/s390-64/configure: Likewise.
46893         * sysdeps/x86_64/configure: Likewise.
46894         * sysdeps/sh/configure: Likewise.
46895         * sysdeps/powerpc/powerpc64/configure: Likewise.
46896         * sysdeps/powerpc/powerpc32/configure: Likewise.
46897         * sysdeps/sparc/configure: Likwise.
46898         * sysdeps/i386/configure: Likewise.
46900         * elf/dl-open.c: Comment fixes.
46902 2012-07-17  Joseph Myers  <joseph@codesourcery.com>
46904         * Makefile [CXX] (check-data): Remove.
46905         [CXX] (c++-types.data): New vpath directive.
46906         [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
46907         vpath.  Do not allow for C++ type data being missing.
46908         * scripts/data/c++-types-alpha-linux-gnu.data: Move to
46909         ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
46910         * scripts/data/c++-types-ia64-linux-gnu.data: Move to
46911         ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
46912         * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
46913         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
46914         * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
46915         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
46916         ... here.
46917         * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
46918         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
46919         ... here.
46920         * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
46921         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
46922         ... here.
46923         * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
46924         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
46925         ... here.
46926         * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
46927         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
46928         ... here.
46929         * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
46930         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
46931         ... here.
46932         * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
46933         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
46934         ... here.
46935         * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
46936         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
46938         * elf/tls-macros.h (TLS_LE): Move architecture-specific
46939         definitions to architecture-specific files.
46940         (TLS_IE): Likewise.
46941         (TLS_LD): Likewise.
46942         (TLS_GD): Likewise.
46943         * sysdeps/i386/tls-macros.h: New file.
46944         * sysdeps/powerpc/tls-macros.h: Likewise.
46945         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
46946         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
46947         * sysdeps/sh/tls-macros.h: Likewise.
46948         * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
46949         * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
46950         * sysdeps/x86_64/tls-macros.h: Likewise.
46952 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
46954         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
46955         zero value for regular exit case.
46957         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
46958         (__start_context): Preserve zero value for regular exit case.
46960 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
46961             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
46963         * manual/setjmp.texi (setcontext): Clarify normal process
46964         termination when uc_link is the null pointer.
46965         * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
46966         exit call.
46968 2012-07-16  Andreas Schwab  <schwab@linux-m68k.org>
46970         * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
46971         preprocessor.  Test for each exception mask separately.
46973 2012-07-16  Andreas Jaeger  <aj@suse.de>
46975         * po/ru.po: Update from translation team.
46977 2012-07-15  Joseph Myers  <joseph@codesourcery.com>
46979         * conform/data/string.h-data (NULL): Use macro-constant.  Require
46980         equal to 0.
46981         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
46982         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
46983         (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
46984         (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
46985         [ISO || ISO99 || ISO11] (*_t): Do not allow.
46987 2012-07-13  Andreas Jaeger  <aj@suse.de>
46989         * po/fr.po: Update from translation team.
46991 2012-07-12  Marek Polacek  <polacek@redhat.com>
46993         [BZ #14173]
46994         * math/libm-test.inc (yn_test): Add test for BZ #14173.
46995         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
46996         loop condition.
46998 2012-07-12  Joseph Myers  <joseph@codesourcery.com>
47000         [BZ #13717]
47001         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
47002         Change to 2.4.1 where previously 2.4.0.
47003         * sysdeps/unix/sysv/linux/configure: Regenerated.
47004         * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
47005         (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
47006         version.
47007         [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
47008         (__ASSUME_AT_CLKTCK): Remove.
47009         (__ASSUME_AT_PAGESIZE): Likewise.
47010         (__ASSUME_AT_XID): Likewise.
47011         (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
47012         [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
47013         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
47014         unconditionally.
47015         (HAVE_AUX_PAGESIZE): Likewise.
47016         * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
47017         [__ASSUME_AT_CLKTCK]: Make code unconditional.
47018         [!__ASSUME_AT_CLKTCK]: Remove conditional code.
47020 2012-07-12  Jeroen van Bemmel  <jvb127@gmail.com>
47022         [BZ #14307]
47023         * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
47024         the temporary buffer used to invoke __gethostbyname2_r,
47025         __gethostbyaddr_r and gethostbyname4_r to make room for struct
47026         host_data / struct gaih_addrtuple.
47027         * resolv/nss_dns/dns-host.c (global scope): Move definition of
47028         implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
47029         header file nss/nsswitch.h.
47030         * nss/nsswitch.h (global scope): Add definition of implementation
47031         constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
47032         resolv/nss_dns/dns-host.c).
47034 2012-07-11  Andreas Jaeger  <aj@suse.de>
47036         * po/fr.po: Update from translation team.
47038         * po/sv.po: Update from translation team
47039         * po/fr.po: Another update from translation team.
47041 2012-07-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47043         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
47044         for subnormals or multiply small sinh result by itself.
47045         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
47046         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
47048 2012-07-11  David S. Miller  <davem@davemloft.net>
47050         * sysdeps/sparc/fpu/libm-test-ulps: Update.
47052 2012-07-10  Andreas Schwab  <schwab@linux-m68k.org>
47054         [BZ #14347]
47055         * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
47056         (INTERNAL_MARK): Shift it here.
47058 2012-07-10  Marek Polacek  <polacek@redhat.com>
47060         [BZ #14151]
47061         * configure.in (libc_cv_asm_global_directive): Remove test.  Replace
47062         libc_cv_asm_global_directive with .globl.
47063         * configure: Regenerated.
47064         * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
47065         with .globl.
47066         * sysdeps/i386/configure: Regenerated.
47067         * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
47068         with .globl.
47069         * sysdeps/x86_64/configure: Regenerated.
47070         * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
47071         * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
47072         * elf/tst-unique2mod2.c: Likewise.
47073         * elf/tst-unique2mod1.c: Likewise.
47074         * elf/tst-unique1mod2.c: Likewise.
47075         * elf/tst-unique1mod1.c: Likewise.
47076         * sysdeps/s390/s390-32/sysdep.h: Likewise.
47077         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
47078         * sysdeps/s390/s390-64/sysdep.h: Likewise.
47079         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
47080         * sysdeps/mach/sysdep.h: Likewise.
47081         * sysdeps/i386/sysdep.h: Likewise.
47082         * sysdeps/i386/i386-mcount.S: Likewise.
47083         * sysdeps/x86_64/_mcount.S: Likewise.
47084         * sysdeps/x86_64/sysdep.h: Likewise.
47085         * sysdeps/sh/_mcount.S: Likewise.
47086         * sysdeps/sh/sysdep.h: Likewise.
47087         * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
47088         * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
47089         * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
47090         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
47091         * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
47092         * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
47093         * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
47094         * locale/localeinfo.h: Likewise.
47095         (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
47096         (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
47098 2012-07-09  Roland McGrath  <roland@hack.frob.com>
47100         [BZ #14336]
47101         * manual/charset.texi (Extended Char Intro): Word use fix, "operating
47102         system".
47103         * manual/message.texi (The Uniforum approach): Likewise.
47104         * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
47105         (glibc iconv Implementation): Likewise.
47107 2012-07-09  Joseph Myers  <joseph@codesourcery.com>
47109         [BZ #14337]
47110         * math/s_clog.c (__clog): Avoid scaling a value down where that
47111         could result in underflow.
47112         * math/s_clog10.c (__clog10): Likewise.
47113         * math/s_clog10f.c (__clog10f): Likewise.
47114         * math/s_clog10l.c (__clog10l): Likewise.
47115         * math/s_clogf.c (__clogf): Likewise.
47116         * math/s_clogl.c (__clogl): Likewise.
47117         * math/libm-test.inc (clog_test): Add more tests.
47118         (clog10_test): Likewise.
47119         * sysdeps/i386/fpu/libm-test-ulps: Update.
47120         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47122 2012-07-06  Andreas Schwab  <schwab@linux-m68k.org>
47124         [BZ #14283]
47125         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
47126         by 7 not 8 to examine high bit of fractional part.
47128         [BZ #14042]
47129         * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
47130         for call to __mcount_internal.
47131         * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
47132         (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
47133         * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
47135 2012-07-06  Joseph Myers  <joseph@codesourcery.com>
47137         [BZ #14154]
47138         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
47139         approximation for values within 0x1p-13f of an odd multiple of
47140         pi/4.
47141         * math/libm-test.inc (tan_test): Do not allow spurious underflow
47142         exception.  Add more tests.
47143         * sysdeps/i386/fpu/libm-test-ulps: Update.
47145         [BZ #6778]
47146         * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
47147         inputs and return -1 for them.  Do not check for +Inf in case not
47148         reachable for +Inf.
47149         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
47150         * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
47151         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
47152         and return -1 for them.  Do not check for +Inf in case not
47153         reachable for +Inf.
47154         * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
47155         define.
47156         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
47157         and return -1 for them.  Do not check for +Inf in case not
47158         reachable for +Inf.
47159         * math/libm-test.inc (expm1_test): Add more tests.  Do not allow
47160         spurious underflow.
47161         * sysdeps/i386/fpu/libm-test-ulps: Update.
47162         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47164 2012-07-06  Mike Frysinger  <vapier@gentoo.org>
47166         * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
47168 2012-07-05  Joseph Myers  <joseph@codesourcery.com>
47170         [BZ #14157]
47171         [BZ #14331]
47172         * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
47173         could result in spurious underflow.  Scale down values above
47174         DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
47175         * math/s_csqrtf.c (__csqrtf): Likewise.
47176         * math/s_csqrtl.c (__csqrtl): Likewise.
47177         * math/libm-test.inc (csqrt_test): Add more tests.  Do not allow
47178         spurious underflow.
47179         * sysdeps/i386/fpu/libm-test-ulps: Update.
47180         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47182 2012-07-04  Andreas Schwab  <schwab@linux-m68k.org>
47184         * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
47185         xopen-msg.sed.
47186         * catgets/xopen-msg.awk: New file.
47187         * catgets/xopen-msg.sed: Removed.
47189         * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
47190         po2text.sed.
47191         * intl/po2test.awk: New file.
47192         * intl/po2test.sed: Removed.
47194 2012-07-04  Joseph Myers  <joseph@codesourcery.com>
47196         [BZ #14328]
47197         * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
47198         or multiply small sinh result by itself.
47199         * math/s_ctanf.c (__ctanf): Likewise.
47200         * math/s_ctanh.c (__ctanh): Likewise.
47201         * math/s_ctanhf.c (__ctanhf): Likewise.
47202         * math/s_ctanhl.c (__ctanhl): Likewise.
47203         * math/s_ctanl.c (__ctanl): Likewise.
47204         * math/libm-test.inc (ctan_test_tonearest): New function.
47205         (ctan_test_towardzero): Likewise.
47206         (ctan_test_downward): Likewise.
47207         (ctan_test_upward): Likewise.
47208         (ctanh_test_tonearest): Likewise.
47209         (ctanh_test_towardzero): Likewise.
47210         (ctanh_test_downward): Likewise.
47211         (ctanh_test_upward): Likewise.
47212         (main): Call these new functions.
47213         * sysdeps/i386/fpu/libm-test-ulps: Update.
47214         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47216 2012-07-03  Mike Frysinger  <vapier@gentoo.org>
47218         * .gitignore: Delete /ports entry.
47220 2012-07-03  Andreas Jaeger  <aj@suse.de>
47222         * po/bg.po: Update from translation team.
47223         * po/cs.po: Likewise.
47224         * po/de.po: Likewise.
47225         * po/hr.po: Likewise.
47226         * po/nl.pl: Likewise.
47227         * po/pl.po: Likewise.
47228         * po/vi.po: Likewise.
47230 2012-07-03  Joseph Myers  <joseph@codesourcery.com>
47232         * Makeconfig [!+link] (+link-before-libc): New variable.
47233         [!+link] (+link-after-libc): Likewise.
47234         [!+link] (+link-tests): Likewise.
47235         [!+link] (+link): Define in terms of $(+link-before-libc) and
47236         $(+link-after-libc).
47237         [!+link-static] (+link-static-before-libc): New variable.
47238         [!+link-static] (+link-static-after-libc): Likewise.
47239         [!+link-static] (+link-static-tests): Likewise.
47240         [!+link-static] (+link-static): Define in terms of
47241         $(+link-static-before-libc) and $(+link-static-after-libc).
47242         [build-shared] (link-libc-before-gnulib): New variable.
47243         [build-shared] (link-libc-tests): Likewise.
47244         [build-shared] (link-libc): Define in terms of
47245         $(link-libc-before-gnulib).
47246         [!build-shared] (link-libc-tests): New variable.
47247         (link-libc-static-tests): New variable.
47248         [!gnulib] (gnulib-arch): New variable.
47249         [!gnulib] (gnulib-tests): Likewise.
47250         [!gnulib] (static-gnulib-arch): Likewise.
47251         [!gnulib] (static-gnulib-tests): Likewise.
47252         [!gnulib] (gnulib): Use $(gnulib-arch).  Do not use $(libgcc_eh).
47253         Define with "=" instead of ":=".
47254         [!gnulib] (static-gnulib): Use $(static-gnulib-arch).  Do not use
47255         -lgcc_eh $(libunwind).  Define with "=" instead of ":=".
47256         * Rules (binaries-all-notests): New variable.
47257         (binaries-all-tests): Likewise.
47258         (binaries-static-notests): Likewise.
47259         (binaries-static-tests): Likewise.
47260         (binaries-all): Define using $(binaries-all-notests) and
47261         $(binaries-all-tests).
47262         (binaries-static): Define using $(binaries-static-notests) and
47263         $(binaries-static-tests).
47264         (binaries-shared-tests): New variable.
47265         (binaries-shared-notests): Likewise.
47266         (binaries-shared): Remove variable.
47267         ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
47268         ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
47269         ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
47270         ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
47271         ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
47272         ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
47273         * elf/Makefile (sln-modules): New variable.
47274         (extra-objs): Add $(sln-modules:=.o).
47275         (ldconfig-modules): Add static-stubs.
47276         ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
47277         * elf/static-stubs.c: New file.
47279         [BZ #14283]
47280         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
47281         by 7 not 8 to examine high bit of fractional part.  Use volatile
47282         variables when splitting into final array of floats if
47283         __FLT_EVAL_METHOD__ != 0.
47284         * math/libm-test.inc (cos_test): Add another test.
47285         (sin_test): Likewise.
47286         * sysdeps/i386/fpu/libm-test-ulps: Update.
47288         [BZ #14273]
47289         * math/libm-test.inc (cosh_test): Add more tests.
47291         * version.h (RELEASE): Set to "development".
47292         (VERSION): Set to "2.16.90".
47294 2012-06-30  Carlos O'Donell  <carlos_odonell@mentor.com>
47296         * NEWS: Update copyright. Remove last-updated date.
47297         Mention math library bug fixes and timezone data changes.
47298         * README: Mention GNU/Hurd, x32, and HPPA support status.
47300 2012-06-28  Thomas Schwinge  <thomas@codesourcery.com>
47302         * manual/contrib.texi (Contributors): Sort alphabetically by last name.
47304 2012-06-27  Andreas Jaeger  <aj@suse.de>
47306         * manual/contrib.texi (Contributors): Add Samuel Thibault.
47308 2012-06-25  Andreas Jaeger  <aj@suse.de>
47310         * sysdeps/s390/fpu/libm-test-ulps: Update.
47312 2012-06-23  Andreas Schwab  <schwab@linux-m68k.org>
47313             Thomas Schwinge  <thomas@codesourcery.com>
47315         * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
47316         * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
47317         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
47318         fanotify_mark.
47320 2012-06-23  Thomas Schwinge  <thomas@codesourcery.com>
47322         * sysdeps/mach/start.c: Remove file.
47323         * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
47324         * sysdeps/i386/init-first.c: Fix comment regarding start.S.
47325         * sysdeps/sh/init-first.c: Likewise.
47327         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
47328         registers for frame unwinding purposes, add CFI directives.
47329         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
47330         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
47331         * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
47332         Likewise.
47334         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
47335         __fortify_fail returning.
47336         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
47338         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
47339         sysdeps/sh/____longjmp_chk.S.
47340         * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
47341         on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
47342         * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
47343         (gen-as-const-headers): Append sigaltstack-offsets.sym.
47345         * sysdeps/sh/abort-instr.h: New file.
47346         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
47347         process in case exit returns.
47349         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
47350         initialize the GOT register before use.
47352         * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
47353         calculation of ARGC > 4.
47355         * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
47356         meaningful names to some local labels.
47358 2012-06-22  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
47359             Kaz Kojima  <kkojima@rr.iij4u.or.jp>
47361         * sysdeps/unix/sysv/linux/sh/bits/atomic.h
47362         (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
47363         (__arch_compare_and_exchange_val_16_acq): Likewise.
47364         (__arch_compare_and_exchange_val_32_acq): Likewise.
47365         (atomic_exchange_and_add): Fix gUSA sequence.
47366         (atomic_add): Likewise.
47367         (atomic_add_negative): Likewise.
47368         (atomic_add_zero): Likewise.
47369         (atomic_bit_test_set): Likewise.
47371 2012-06-22  Andreas Schwab  <schwab@redhat.com>
47373         [BZ #13579]
47374         * include/link.h (struct link_map): Add l_free_initfini.
47375         * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
47376         l_initfini.
47377         * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
47378         * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
47379         * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
47380         set.
47382 2012-06-22  Carlos O'Donell  <carlos_odonell@mentor.com>
47384         * configure.in: Use AC_LANG_SOURCE.
47385         * configure: Regenerate.
47387 2012-06-22  Roland McGrath  <roland@hack.frob.com>
47389         * configure.in (libc_cv_localstatedir): New substituted variable.
47390         * configure: Regenerated.
47391         * config.make.in (localstatedir): New variable, substituted from
47392         libc_cv_localstatedir.
47393         * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
47394         * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
47395         ${prefix}/var to /var when we change ${prefix}/etc to /etc.
47396         * sysdeps/gnu/configure: Regenerated.
47398 2012-06-21  Jeff Law  <law@redhat.com>
47400         [BZ #14277]
47401         * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
47402         free.  Simplify list management for _LIBC case.
47404 2012-06-21  Joseph Myers  <joseph@codesourcery.com>
47406         [BZ #14273]
47407         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
47408         Clear sign bit of 64-bit integer value before comparing against
47409         overflow value.
47411         * sysdeps/mach/configure: Regenerated.
47413 2012-06-21  H.J. Lu  <hongjiu.lu@intel.com>
47415         [BZ #14278]
47416         * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
47418 2012-06-21  Jeff Law  <law@redhat.com>
47420         [BZ #13882]
47421         * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection.  Use
47422         uint16_t for elements in the "seen" array to avoid char overflows.
47423         * elf/dl-fini.c (_dl_sort_fini): Likewise.
47424         * elf/dl-open.c (dl_open_worker): Likewise.
47426 2012-06-21  Carlos O'Donell  <carlos_odonell@mentor.com>
47428         * scripts/list-sources.sh: Scan PORTS for translations.
47429         * po/libc.pot: Regenerated.
47431 2012-06-21  Andreas Jaeger  <aj@suse.de>
47433         [BZ #12194]
47434         * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
47435         warning.
47436         * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
47437         * bits/byteswap-16.h (__bswap_16): Likewise.
47438         * bits/byteswap.h (__bswap_constant_16): Likewise.
47440 2012-06-18  H.J. Lu  <hongjiu.lu@intel.com>
47442         [BZ #14117]
47443         * sysdeps/i386/fpu_control.h: Removed.
47444         * sysdeps/x86_64/fpu_control.h: Moved to ...
47445         * sysdeps/x86/fpu_control.h: Here.
47447         * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
47448         (_FPU_SETCW): Likewise.
47450 2012-06-15  H.J. Lu  <hongjiu.lu@intel.com>
47452         [BZ #14117]
47453         * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
47454         * sysdeps/x86/fpu/bits/mathinline.h: This.
47455         * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
47457         [BZ #14050]
47458         [BZ #14117]
47459         * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
47460         functions if __x86_64__ is defined.
47462 2012-06-15  Chung-Lin Tang  <cltang@codesourcery.com>
47464         * string/endian.h: Add !__ASSEMBLER__ condition for including
47465         conversion interfaces.
47467 2012-06-15  Joseph Myers  <joseph@codesourcery.com>
47469         [BZ #14241]
47470         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
47471         of ABS(x) in calculating zero to negative powers other than odd
47472         integers.
47473         * math/libm-test.inc (pow_test): Add more tests.
47475 2012-06-15  Andreas Jaeger  <aj@suse.de>
47477         * manual/contrib.texi (Contributors): Update entry of Liubov
47478         Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
47479         Machado Filho.
47481 2012-06-15  Cyril Hrubis  <metan@ucw.cz>
47483         * string/string.h: Add __wur to GNU version of strerror_r.
47485 2012-06-14  H.J. Lu  <hongjiu.lu@intel.com>
47487         [BZ #14229]
47488         * string/Makefile (tests): Add tst-strtok_r.
47489         * string/tst-strtok_r.c: New file.
47490         * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
47491         RAX_LP/RDX_LP on SAVE_PTR.
47493 2012-06-14  Roland McGrath  <roland@hack.frob.com>
47495         * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
47497 2012-06-14  Joseph Myers  <joseph@codesourcery.com>
47499         * libm_test.inc (csqrt_test): Allow more spurious underflow
47500         exceptions.
47501         (j0_test): Likewise.
47502         (j1_test): Likewise.
47503         (y0_test): Likewise.
47504         (y1_test): Likewise.
47506 2012-06-13  Carlos O'Donell  <carlos_odonell@mentor.com>
47508         * po/Makefile (libc.pot): Use UTF-8 charset.
47510 2012-06-13  Paul Pluzhnikov  <ppluzhnikov@google.com>
47512         [BZ #14210]
47513         Suppress sign-conversion warning from FD_SET.
47514         See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
47515         * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
47516         not unsigned long int.
47517         * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
47519 2012-06-12  H.J. Lu  <hongjiu.lu@intel.com>
47521         [BZ #14050]
47522         [BZ #14117]
47523         * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
47524         __extern_always_inline instead of __extern_inline.
47525         (__signbitf): Support __SSE2_MATH__ and C++ namespace.
47526         (__signbit): Likewise.
47527         (__signbitl): Support C++ namespace.
47528         (lrintf): New inline function.
47529         (lrint): Likewise.
47530         (llrintf): Likewise.
47531         (llrint): Likewise.
47532         (fmaxf): Likewise.
47533         (fmax): Likewise.
47534         (fminf): Likewise.
47535         (fmin): Likewise.
47536         (rint): Likewise.
47537         (rintf): Likewise.
47538         (ceil): Likewise.
47539         (ceilf): Likewise.
47540         (floor): Likewise.
47541         (floorf): Likewise.
47542         (nearbyint): Likewise.
47543         (nearbyintf): Likewise.
47545 2012-06-12  Thomas Schwinge  <thomas@codesourcery.com>
47547         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
47548         non-default versions.
47550 2012-06-11  Roland McGrath  <roland@hack.frob.com>
47552         [BZ #14218]
47553         * manual/argp.texi (Argp): Reword argp_parse description slightly.
47555 2012-06-09  Thomas Schwinge  <thomas@codesourcery.com>
47557         * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
47558         (FE_UPWARD, FE_DOWNWARD): Don't define.
47559         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
47560         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
47562         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
47563         reading it.
47564         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
47565         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
47567 2012-06-09  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
47569         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
47570         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
47571         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
47572         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
47574 2012-06-06  H.J. Lu  <hongjiu.lu@intel.com>
47576         [BZ #14117]
47577         * sysdeps/i386/fpu/bits/fenv.h: Removed.
47578         * sysdeps/i386/fpu/Implies: New file.
47579         * sysdeps/x86_64/fpu/Implies: Likewise.
47580         * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
47581         * sysdeps/x86/fpu/bits/fenv.h: This.
47583         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
47584         __SSE_MATH__.
47586 2012-06-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
47588         [BZ #14134]
47589         * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
47590         character 0xffff that matches the last element of the
47591         conversion table.
47593 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47595         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
47596         fmodl commit.
47598 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47600         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
47601         values higher than 25.6283.
47603 2012-06-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47605         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
47606         subnormal exponent extraction and add some __builtin_expect.
47607         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
47608         Fix for subnormal mantissa calculation.
47610 2012-06-04  Mike Frysinger  <vapier@gentoo.org>
47612         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
47613         cpu2 is -1 and errno is not ENOSYS.
47615 2012-06-04  H.J. Lu  <hongjiu.lu@intel.com>
47617         [BZ #14117]
47618         * sysdeps/i386/i486/bits/string.h: Renamed to ...
47619         * sysdeps/x86/bits/string.h: This.
47620         * sysdeps/x86_64/bits/string.h: Removed.
47622         * sysdeps/i386/i486/bits/string.h: Define inline functions only
47623         if not compiling for x86-64, but compiling for >= i486.
47625         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
47626         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
47628         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
47629         New macro from Linux kernel 3.4.0.
47630         (FP_XSTATE_MAGIC2): Likewise.
47631         (FP_XSTATE_MAGIC2_SIZE): Likewise.
47632         (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
47633         (struct _fpx_sw_bytes): New struct.
47634         (struct _xsave_hdr): Likewise.
47635         (struct _ymmh_state): Likewise.
47636         (struct _xstate): Likewise.
47638         * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
47639         * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
47640         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
47641         * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
47642         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
47643         * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
47645         * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
47646         * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
47647         * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
47648         * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
47649         * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
47650         * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
47652 2012-06-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
47654         [BZ #13743]
47655         * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
47656         * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
47657         (sysdep_headers): Include sys/platform/ppc.h.
47658         * sysdeps/powerpc/test-gettimebase.c: Test for
47659         __ppc_get_timebase() to catch future ISA opcode/insn changes.
47660         * manual/Makefile (appendices): Include platform.texi.
47661         * manual/contrib.texi (Contributors): Update @node pointers.
47662         * manual/maint.texi (Maintenance): Likewise.
47663         (Platform): New node.
47664         * manual/platform.texi: New file.  Document the new features.
47666 2012-06-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
47667             Jakub Jelinek  <jakub@redhat.com>
47669         [BZ #14188]
47670         * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
47671         where __builtin_expect is unavailable.
47673 2012-06-03  David S. Miller  <davem@davemloft.net>
47675         * stdlib/longlong.h: Updated from GCC.
47677 2012-06-02  Andreas Schwab  <schwab@linux-m68k.org>
47679         [BZ #14042]
47680         * sysdeps/powerpc/powerpc32/mcount.c: New file.
47681         * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
47682         __mcount_internal.
47683         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
47684         (GLIBC_2.16): Likewise.
47686 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
47688         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
47690 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
47692         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
47693         (default-abi): New variable.
47694         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
47695         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
47696         variable.
47697         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
47698         Likewise.
47699         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
47700         Likewise.
47701         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
47702         Likewise.
47704         * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
47705         definition.  Document in comment.
47707 2012-06-01  David S. Miller  <davem@davemloft.net>
47709         * stdlib/longlong.h: Updated from GCC.
47711 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
47713         [BZ #14117]
47714         * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
47715         Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
47716         sys/debugreg.h sys/io.h here.
47717         * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
47718         sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
47719         sys/io.h.
47720         * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
47721         Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
47722         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
47723         * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
47724         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
47725         * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
47727         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
47728         Define only if __x86_64__ is defined.
47730 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
47732         [BZ #14048]
47733         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
47734         Use int64_t for variable i.
47735         * math/libm-test.inc (fmod_test): Add more tests.
47737         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
47738         z computation is not scheduled after fetestexcept.
47739         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
47740         Use math_force_eval instead of asm to ensure calculation scheduled
47741         before exception test.
47742         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
47743         Ensure a1 + u.d computation is not scheduled after fetestexcept.
47745 2012-06-01  Aurelien Jarno  <aurelien@aurel32.net>
47747         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
47748         computation is not scheduled after fetestexcept.
47750 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
47752         [BZ #14117]
47753         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
47754         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
47756 2012-06-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47758         * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
47759         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
47761 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
47763         [BZ #14117]
47764         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
47765         <bits/wordsize.h>.
47766         (__WCHAR_MIN): Support __WORDSIZE == 64.
47767         (__WCHAR_MAX): Likewise.
47769         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
47770         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
47772         [BZ #14183]
47773         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
47774         Defined with __SWORD_TYPE if __x86_64__ isn't defined.
47776         [BZ #14117]
47777         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
47778         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
47780         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
47781         * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
47783         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
47784         Defined to 1 if __x86_64__ isn't defined.
47785         (_STAT_VER_LINUX_OLD): New.
47786         (st_atime): Remove duplicate.
47787         (st_mtime): Likewise.
47788         (st_ctime): Likewise.
47790 2012-05-31  David S. Miller  <davem@davemloft.net>
47792         * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
47793         entries.
47795 2012-06-01  Andreas Schwab  <schwab@linux-m68k.org>
47797         * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
47798         gen-libm-test.pl.
47800         [BZ #14132]
47801         * elf/dl-reloc.c: Include <_itoa.h>.
47802         (_dl_reloc_bad_type): Remove use of INTUSE.
47803         * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
47804         * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
47805         * stdio-common/psiginfo.c (psiginfo): Likewise.
47806         * stdio-common/psignal.c (psignal): Likewise.
47807         * string/strsignal.c (strsignal): Likewise.
47808         * include/signal.h (_sys_siglist): Declare hidden proto.
47809         * stdio-common/itoa-digits.c: Include <_itoa.h>.  Replace
47810         INTVARDEF with libc_hidden_data_def.
47811         * stdio-common/itoa-udigits.c: Likewise.
47812         * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
47813         (_itoa_lower_digits_internal): Remove declaration.
47814         (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
47815         * sysdeps/gnu/siglist.c (_sys_siglist_internal)
47816         (_sys_sigabbrev_internal): Remove aliases.
47817         (_sys_siglist): Define hidden alias.
47819 2012-05-31  Markus Trippelsdorf  <markus@trippelsdorf.de>
47821         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
47822         bits/sysctl.h.
47824 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
47826         [BZ #14117]
47827         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
47828         * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
47830         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
47831         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
47832         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
47833         * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
47834         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
47835         * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
47837         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
47838         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
47839         * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
47841         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
47842         with __addr.
47843         (insw): Likewise.
47844         (insl): Likewise.
47845         (outsb): Likewise.
47846         (outsw): Likewise.
47847         (outsl): Likewise.
47849         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
47850         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
47851         * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
47853         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
47854         * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
47855         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
47856         * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
47857         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
47858         * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
47860         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
47861         * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
47863         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
47864         * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
47866         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
47867         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
47868         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
47870         * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
47871         * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
47872         to ...
47873         * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
47875         * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
47876         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
47877         * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
47879         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
47880         for x86-64.
47881         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
47883 2012-05-31  Joseph Myers  <joseph@codesourcery.com>
47885         * math/math.h (M_El): Use two more decimal places.
47886         (M_LOG2El): Likewise.
47887         (M_LOG10El): Likewise.
47888         (M_LN2l): Likewise.
47889         (M_LN10l): Likewise.
47890         (M_PIl): Likewise.
47891         (M_PI_2l): Likewise.
47892         (M_PI_4l): Likewise.
47893         (M_1_PIl): Likewise.
47894         (M_2_PIl): Likewise.
47895         (M_2_SQRTPIl): Likewise.
47896         (M_SQRT2l): Likewise.
47897         (M_SQRT1_2l): Likewise.
47899 2012-05-31  David S. Miller  <davem@davemloft.net>
47901         * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
47902         values between float registers.
47903         * sysdeps/sparc/sparc64/memset.S: Likewise.
47904         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
47906 2012-05-31  Mike Frysinger  <vapier@gentoo.org>
47908         * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
47909         -D_FORTIFY_SOURCE=1.
47910         (CPPFLAGS-tst-longjmp_chk.c): Define.
47911         (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
47912         (CPPFLAGS-tst-longjmp_chk2.c): Define.
47913         * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
47914         CFLAGS-tst-wchar-h.c.
47916 2012-05-31  Marek Polacek  <polacek@redhat.com>
47918         [BZ #14132]
47919         * include/mntent.h (__setmntent_internal, __getmntent_r_internal
47920         __endmntent_internal): Remove declaration.
47921         (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
47922         (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
47923         * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
47925 2012-05-30  David S. Miller  <davem@davemloft.net>
47927         * sysdeps/sparc/sparc32/soft-fp/q_util.c
47928         (___Q_simulate_exceptions): Use real FP ops rather than writing
47929         into the %fsr.
47930         * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
47931         Likewise.
47933 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
47935         [BZ #14117]
47936         * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
47937         * sysdeps/x86/bits/xtitypes.h: This.
47939         * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
47940         * sysdeps/x86/bits/wordsize.h: This.
47942         * sysdeps/i386/bits/huge_vall.h: Renamed to ...
47943         * sysdeps/x86/bits/huge_vall.h: This.
47945         * sysdeps/i386/bits/select.h: Removed.
47946         * sysdeps/x86_64/bits/select.h: Renamed to ...
47947         * sysdeps/x86/bits/select.h: This.
47949         * sysdeps/i386/bits/setjmp.h: Removed.
47950         * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
47951         * sysdeps/x86/bits/setjmp.h: This.
47953         * sysdeps/i386/bits/mathdef.h: Removed.
47954         * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
47955         * sysdeps/x86/bits/mathdef.h: This.
47957 2012-05-30  Andreas Schwab  <schwab@linux-m68k.org>
47959         [BZ #14132]
47960         * include/sys/socket.h (__connect_internal)
47961         (__libc_sa_len_internal): Remove declaration.
47962         (__connect, __libc_sa_len): Declare hidden_proto.
47963         (SA_LEN): Remove use of INTUSE.
47964         * socket/connect.c: Add libc_hidden_def.
47965         * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
47966         * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
47967         * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
47968         alias.
47969         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
47970         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
47971         * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
47972         of adding _internal alias.
47974 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
47976         [BZ #14117]
47977         * sysdeps/i386/bits/link.h: Removed.
47978         * sysdeps/i386/bits/linkmap.h: Likewise.
47979         * sysdeps/x86_64/bits/link.h: Renamed to ...
47980         * sysdeps/x86/bits/link.h: This.
47981         * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
47982         * sysdeps/x86/bits/linkmap.h: This.
47984         * sysdeps/i386/bits/endian.h: Removed.
47985         * sysdeps/x86_64/bits/endian.h: Renamed to ...
47986         * sysdeps/x86/bits/endian.h: This.
47988         * sysdeps/i386/bits/byteswap.h: Removed.
47989         * sysdeps/i386/bits/byteswap-16.h: Likewise.
47990         * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
47991         * sysdeps/x86/bits/byteswap.h: This.
47992         * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
47993         * sysdeps/x86/bits/byteswap-16.h: This.
47994         * sysdeps/i386/Implies: Add x86.
47995         * sysdeps/x86_64/Implies: Likewise.
47997 2012-05-30  David S. Miller  <davem@davemloft.net>
47999         * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
48000         (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
48001         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
48002         (FP_TRAPPING_EXCEPTIONS): Define.
48003         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
48004         (FP_TRAPPING_EXCEPTIONS): Define.
48005         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
48006         subnormals only when inexact has been signalled or underflow
48007         exceptions are enabled.
48008         (_FP_PACK_CANONICAL): Likewise.
48010 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
48012         [BZ #14183]
48013         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
48014         Defined with __UWORD_TYPE if __x86_64__ isn't defined.
48016 2012-05-30  Richard Henderson  <rth@twiddle.net>
48018         * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
48019         with #ifndef NOT_IN_libc.
48021         * scripts/abilist.awk: Accept 8 fields.  Handle Alpha functions
48022         marked to avoid plt entry.
48024 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
48026         [BZ #14112]
48027         * Makeconfig (default-abi): New macro.
48028         (abi-includes): Likewise.
48029         ($(common-objpfx)soversions.mk): Remove WORDSIZE check.  Use
48030         $(abi-$(default-abi)-lib-soname) for soname if defined.
48031         ($(common-objpfx)gnu/lib-names.stmp): Generate from
48032         abi-variants.
48033         * Makefile (installed-stubs): Likewise.
48034         * include/stubs-biarch.h: Removed.
48035         * scripts/lib-names.awk: Only handle one library at a time.
48036         * scripts/soversions.awk: Remove WORDSIZE support.
48037         * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
48038         entries.
48039         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
48040         Removed.
48041         (syscall-list-default-condition): Likewise.
48042         (syscall-list-default-condition): Likewise.
48043         (syscall-list-includes): Likewise.
48044         ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
48045         syscall-list-* with abi-*.  Handle undefined abi-variants.
48046         * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
48047         * sysdeps/unix/sysv/linux/i386/Implies: New file.
48048         * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
48049         * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
48050         * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
48051         * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
48052         Removed.
48053         (syscall-list-32-options): Likewise.
48054         (syscall-list-32-condition): Likewise.
48055         (syscall-list-64-options): Likewise.
48056         (syscall-list-64-condition): Likewise.
48057         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
48058         macro.
48059         * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
48060         Renamed to ...
48061         (abi-*): This.
48062         (abi-64-ld-soname): New macro.
48063         * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
48064         * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
48065         Renamed to ...
48066         (abi-*): This.
48067         * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
48068         * sysdeps/x86_64/x32/shlib-versions: Likewise.
48070 2012-05-30  Joseph Myers  <joseph@codesourcery.com>
48072         * sysdeps/unix/sysv/linux/kernel-features.h
48073         (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
48074         * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
48075         include <kernel-features.h>.
48076         [!__NR_ftruncate64]: Remove conditional code.
48077         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
48078         [__NR_ftruncate64]: Make code unconditional.
48079         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
48080         * sysdeps/unix/sysv/linux/truncate64.c: Do not
48081         include <kernel-features.h>.
48082         [!__NR_ftruncate64]: Remove conditional code.
48083         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
48084         [__NR_ftruncate64]: Make code unconditional.
48085         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
48086         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
48087         include <kernel-features.h>.
48088         [!__NR_ftruncate64]: Remove conditional code.
48089         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
48090         [__NR_ftruncate64]: Make code unconditional.
48091         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
48092         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
48093         include <kernel-features.h>.
48094         [!__NR_ftruncate64]: Remove conditional code.
48095         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
48096         [__NR_ftruncate64]: Make code unconditional.
48097         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
48099         * configure.in (libc_cv_fpie): Weaken to a compile test using
48100         LIBC_TRY_CC_OPTION.
48101         * configure: Regenerated.
48103 2012-05-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
48105         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
48106         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
48107         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
48108         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
48109         Refreshed.
48110         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
48111         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
48112         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
48113         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
48114         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
48115         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
48116         Refreshed.
48118 2012-05-27  David S. Miller  <davem@davemloft.net>
48120         * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
48121         (___Q_zero): New.
48122         (__Q_simulate_exceptions): Return void.  Change to simulate
48123         exceptions by writing into the %fsr.
48124         * sysdeps/sparc/sparc64/soft-fp/qp_util.c
48125         (__Qp_handle_exceptions): Likewise.
48126         (numbers): Delete.
48127         * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
48128         __Qp_handle_exceptions.
48129         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
48130         __Qp_handle_exceptions.
48131         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
48132         as unused and give dummy FP_RND_NEAREST initializer.
48133         (FP_INHIBIT_RESULTS): Define.
48134         (___Q_simulate_exceptions): Update declaration.
48135         (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
48136         formatting.
48137         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
48138         as unused and give dummy FP_RND_NEAREST initializer.
48139         (__Qp_handle_exceptions): Update declaration.
48140         (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
48141         formatting.
48143 2012-05-27  Thomas Schwinge  <thomas@codesourcery.com>
48145         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
48146         the temporary FPU control word.
48147         * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
48148         * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
48149         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
48150         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
48151         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
48152         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
48153         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
48154         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
48155         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
48156         * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
48157         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
48159 2012-05-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
48161         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
48162         fields.
48164 2012-05-27  Chung-Lin Tang  <cltang@codesourcery.com>
48166         * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
48167         * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
48168         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
48169         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
48170         Likewise.
48171         * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
48172         * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
48173         Likewise.
48175 2012-05-27  Ulrich Drepper  <drepper@gmail.com>
48177         * po/h.po: Update from translation team.
48179 2012-05-26  Andreas Schwab  <schwab@linux-m68k.org>
48181         * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
48183         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
48184         handling of denormals.
48185         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
48186         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
48187         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
48188         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
48189         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
48190         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
48191         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
48192         Likewise.
48194 2012-05-26  Marek Polacek  <polacek@redhat.com>
48196         [BZ #14152]
48197         * math/libm-test.inc (fma_test): Don't always expect underflow
48198         exception.
48200 2012-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
48202         [BZ #12416]
48203         * elf/tst-execstack.c: Include stackinfo.h.
48204         (do_test): Adjust test case to ensure that pthread_getattr_np
48205         behaviour remains the same after marking stack executable.
48207 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
48209         * sysdeps/unix/sysv/linux/kernel-features.h
48210         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
48211         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
48212         kernel-features.h.
48213         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
48214         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
48215         * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
48216         kernel-features.h.
48217         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
48218         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
48220 2012-05-25  H.J. Lu  <hongjiu.lu@intel.com>
48222         * configure.in: Define the default includes to being none.
48223         * configure: Regenerated.
48225 2012-05-25  Roland McGrath  <roland@hack.frob.com>
48227         * sysdeps/x86_64/__longjmp.S: Add a static probe here.
48228         * sysdeps/x86_64/setjmp.S: Likewise.
48229         * sysdeps/i386/bsd-setjmp.S: Likewise.
48230         * sysdeps/i386/bsd-_setjmp.S: Likewise.
48231         * sysdeps/i386/setjmp.S: Likewise.
48232         * sysdeps/i386/__longjmp.S: Likewise.
48233         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
48234         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
48236         * include/stap-probe.h: New file.
48237         * configure.in: Handle --enable-systemtap.
48238         * configure: Regenerated.
48239         * config.h.in (USE_STAP_PROBE): New #undef.
48240         * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
48241         * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
48242         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
48244 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
48246         [BZ #13717]
48247         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
48248         to 2.4.0 where earlier.
48249         * sysdeps/unix/sysv/linux/configure: Regenerated.
48250         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
48251         <kernel-features.h>.
48252         [__ASSUME_32BITUIDS]: Make code unconditional.
48253         [!__ASSUME_32BITUIDS]: Remove conditional code.
48254         * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
48255         <kernel-features.h>.
48256         [__ASSUME_32BITUIDS]: Make code unconditional.
48257         [!__ASSUME_32BITUIDS]: Remove conditional code.
48258         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
48259         [__ASSUME_32BITUIDS]: Make code unconditional.
48260         (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
48261         * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
48262         <kernel-features.h>.
48263         [__ASSUME_32BITUIDS]: Make code unconditional.
48264         [!__ASSUME_32BITUIDS]: Remove conditional code.
48265         * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
48266         <kernel-features.h>.
48267         [__ASSUME_32BITUIDS]: Make code unconditional.
48268         [!__ASSUME_32BITUIDS]: Remove conditional code.
48269         * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
48270         <kernel-features.h>.
48271         [__ASSUME_32BITUIDS]: Make code unconditional.
48272         [!__ASSUME_32BITUIDS]: Remove conditional code.
48273         * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
48274         <kernel-features.h>.
48275         [__ASSUME_32BITUIDS]: Make code unconditional.
48276         [!__ASSUME_32BITUIDS]: Remove conditional code.
48277         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
48278         <kernel-features.h>.
48279         [__ASSUME_32BITUIDS]: Make code unconditional.
48280         [!__ASSUME_32BITUIDS]: Remove conditional code.
48281         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
48282         <kernel-features.h>.
48283         [__ASSUME_32BITUIDS]: Make code unconditional.
48284         [!__ASSUME_32BITUIDS]: Remove conditional code.
48285         * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
48286         <kernel-features.h>.
48287         [__ASSUME_32BITUIDS]: Make code unconditional.
48288         [!__ASSUME_32BITUIDS]: Remove conditional code.
48289         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
48290         <kernel-features.h>.
48291         [__ASSUME_32BITUIDS]: Make code unconditional.
48292         [!__ASSUME_32BITUIDS]: Remove conditional code.
48293         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
48294         <kernel-features.h>.
48295         [__ASSUME_32BITUIDS]: Make code unconditional.
48296         [!__ASSUME_32BITUIDS]: Remove conditional code.
48297         * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
48298         <kernel-features.h>.
48299         [__ASSUME_32BITUIDS]: Make code unconditional.
48300         [!__ASSUME_32BITUIDS]: Remove conditional code.
48301         * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
48302         <kernel-features.h>.
48303         [__NR_setresgid] (__setresgid): Do not declare.
48304         [__ASSUME_32BITUIDS]: Make code unconditional.
48305         [!__ASSUME_32BITUIDS]: Remove conditional code.
48306         * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
48307         <kernel-features.h>.
48308         [__NR_setresuid] (__setresuid): Do not declare.
48309         [__ASSUME_32BITUIDS]: Make code unconditional.
48310         [!__ASSUME_32BITUIDS]: Remove conditional code.
48311         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
48312         <kernel-features.h>.
48313         [__ASSUME_32BITUIDS]: Make code unconditional.
48314         [!__ASSUME_32BITUIDS]: Remove conditional code.
48315         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
48316         <kernel-features.h>.
48317         [__ASSUME_32BITUIDS]: Make code unconditional.
48318         [!__ASSUME_32BITUIDS]: Remove conditional code.
48319         * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
48320         <kernel-features.h>.
48321         [__ASSUME_32BITUIDS]: Make code unconditional.
48322         [!__ASSUME_32BITUIDS]: Remove conditional code.
48323         * sysdeps/unix/sysv/linux/i386/setgroups.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/i386/setregid.c: Do not include
48328         <kernel-features.h>.
48329         [__ASSUME_32BITUIDS]: Make code unconditional.
48330         [!__ASSUME_32BITUIDS]: Remove conditional code.
48331         * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
48332         <kernel-features.h>.
48333         [__ASSUME_32BITUIDS]: Make code unconditional.
48334         [!__ASSUME_32BITUIDS]: Remove conditional code.
48335         * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
48336         <kernel-features.h>.
48337         [__ASSUME_32BITUIDS]: Make code unconditional.
48338         [!__ASSUME_32BITUIDS]: Remove conditional code.
48339         * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
48340         <kernel-features.h>.
48341         [__ASSUME_32BITUIDS]: Make code unconditional.
48342         [!__ASSUME_32BITUIDS]: Remove conditional code.
48343         * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
48344         <kernel-features.h>.
48345         [__ASSUME_32BITUIDS]: Make code unconditional.
48346         [!__ASSUME_32BITUIDS]: Remove conditional code.
48347         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
48348         <kernel-features.h>.
48349         [__ASSUME_32BITUIDS]: Make code unconditional.
48350         [!__ASSUME_32BITUIDS]: Remove conditional code.
48351         * sysdeps/unix/sysv/linux/kernel-features.h
48352         (__ASSUME_SETRESUID_SYSCALL): Remove.
48353         (__ASSUME_SETRESGID_SYSCALL): Likewise.
48354         (__ASSUME_32BITUIDS): Likewise.
48355         (__ASSUME_LDT_WORKS): Likewise.
48356         (__ASSUME_O_DIRECTORY): Likewise.
48357         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
48358         architecture but not kernel version.
48359         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
48360         (__ASSUME_MMAP2_SYSCALL): Likewise.
48361         (__ASSUME_STAT64_SYSCALL): Likewise.
48362         (__ASSUME_IPC64): Likewise.
48363         * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
48364         <kernel-features.h>.
48365         [__ASSUME_32BITUIDS]: Make code unconditional.
48366         [!__ASSUME_32BITUIDS]: Remove conditional code.
48367         * sysdeps/unix/sysv/linux/opendir.c: Do not include
48368         <kernel-features.h>.
48369         [__ASSUME_O_DIRECTORY]: Make code unconditional.
48370         * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
48371         132096]: Remove conditional code.
48372         [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
48373         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
48374         <kernel-features.h>.
48375         [__ASSUME_32BITUIDS]: Make code unconditional.
48376         [!__ASSUME_32BITUIDS]: Remove conditional code.
48377         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
48378         <kernel-features.h>.
48379         [__ASSUME_32BITUIDS]: Make code unconditional.
48380         [!__ASSUME_32BITUIDS]: Remove conditional code.
48381         * sysdeps/unix/sysv/linux/setegid.c: Do not include
48382         <kernel-features.h>.
48383         [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
48384         unconditional.
48385         (__setresgid): Do not declare.
48386         [__ASSUME_32BITUIDS]: Make code unconditional.
48387         [!__ASSUME_32BITUIDS]: Remove conditional code.
48388         * sysdeps/unix/sysv/linux/seteuid.c: Do not include
48389         <kernel-features.h>.
48390         [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
48391         unconditional.
48392         (__setresuid): Do not declare.
48393         [__ASSUME_32BITUIDS]: Make code unconditional.
48394         [!__ASSUME_32BITUIDS]: Remove conditional code.
48395         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
48396         <kernel-features.h>.
48397         [__ASSUME_32BITUIDS]: Make code unconditional.
48398         [!__ASSUME_32BITUIDS]: Remove conditional code.
48399         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
48400         <kernel-features.h>.
48401         [__ASSUME_32BITUIDS]: Make code unconditional.
48402         [!__ASSUME_32BITUIDS]: Remove conditional code.
48404 2012-05-25  Richard Henderson  <rth@twiddle.net>
48406         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
48407         dl_hwcap to ifunc resolver.
48408         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
48409         elf_ifunc_invoke.
48410         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
48411         dl_hwcap to ifunc resolver.
48412         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
48414 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
48416         [BZ #14153]
48417         * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
48418         for |x| <= 2**-26, not 2**-57.
48419         * math/libm-test.inc (acos_test): Do not allow spurious underflow
48420         exception.
48422 2012-05-24  Jeff Law  <law@redhat.com>
48424         * stdio-common/Makefile (tests): Add bug25.
48425         * stdio-common/bug25.c: New test.
48427 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
48429         [BZ #13576]
48430         * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
48431         multiple of MALLOC_ALIGNMENT in size.
48432         (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
48434 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
48436         * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
48437         Require >= 256.
48438         (FILENAME_MAX): Use macro-int-constant.
48439         (FOPEN_MAX): Use macro-int-constant.  Require >= 8.
48440         (_IOFBF): Use macro-int-constant.
48441         (_IOLBF): Likewise.
48442         (_IONBF): Likewise.
48443         (SEEK_CUR): Likewise.
48444         (SEEK_END): Likewise.
48445         (SEEK_SET): Likewise.
48446         (TMP_MAX): Likewise.
48447         (EOF): Use macro-int-constant.  Require < 0.
48448         (NULL): Use macro-constant.  Require == 0.
48449         (stdin): Require type to be FILE *.
48450         (stdout): Likewise.
48451         (stderr): Likewise.
48452         * conform/data/stdlib.h-data (EXIT_FAILURE): Use
48453         macro-int-constant.
48454         (EXIT_SUCCESS): Likewise.
48455         (NULL): Use macro-constant.  Require == 0.
48456         (RAND_MAX): Use macro-int-constant.
48457         [ISO99 || ISO11] (lldiv_t): Require also for these standards.
48458         [C99-based standards] (strtof): Require function.
48459         [C99-based standards] (strtold): Likewise.
48460         [C99-based standards] (strtoll): Likewise.
48461         [C99-based standards] (strtoull): Likewise.
48462         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
48463         [ISO || ISO99 || ISO11] (limits.h): Likewise.
48464         [ISO || ISO99 || ISO11] (math.h): Likewise.
48465         [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
48466         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
48467         [ISO || ISO99 || ISO11] (*_t): Do not allow.
48469 2012-05-24  Andreas Schwab  <schwab@linux-m68k.org>
48471         [BZ #14132]
48472         * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
48473         * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
48474         * intl/dgettext.c (DCGETTEXT): Likewise.
48475         * intl/gettext.c (DCGETTEXT): Likewise.
48476         * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
48477         * posix/regex_internal.h (gettext): Likewise.
48478         * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
48479         Remove declaration.
48480         * include/argz.h (__argz_count_internal)
48481         (__argz_stringify_internal): Remove declaration.
48482         (__argz_count, __argz_stringify): Declare hidden proto.
48483         * intl/dcgettext.c: Remove use of INTDEF.
48484         * string/argz-count.c: Replace INTDEF with libc_hidden_def.
48485         * string/argz-stringify.c: Likewise.
48486         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
48487         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
48488         Declare hidden proto.
48489         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
48490         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
48491         Declare hidden proto.
48492         * include/stdio.h (__asprintf_internal): Don't declare.
48493         (__asprintf): Don't define as macro.  Declare hidden proto.
48494         * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
48495         (__fsetlocking): Declare hidden proto.
48496         * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
48497         (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
48498         hidden proto.
48499         (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
48500         (_IO_setlinebuf): Remove use of INTUSE.
48501         (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
48502         (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
48503         (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
48504         Remove declaration.
48505         * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
48506         (_IO_do_flush): Remove use of INTUSE.
48507         (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
48508         (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
48509         (_IO_adjust_column, _IO_least_wmarker)
48510         (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
48511         (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
48512         (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
48513         (_IO_default_doallocate, _IO_wdefault_doallocate)
48514         (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
48515         (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
48516         (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
48517         (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
48518         (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
48519         (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
48520         (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
48521         (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
48522         (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
48523         (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
48524         (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
48525         (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
48526         (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
48527         proto.
48528         (_IO_flush_all_internal, _IO_adjust_column_internal)
48529         (_IO_default_uflow_internal, _IO_default_finish_internal)
48530         (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
48531         (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
48532         (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
48533         (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
48534         (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
48535         (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
48536         (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
48537         (_IO_file_xsgetn_internal, _IO_file_stat_internal)
48538         (_IO_file_close_internal, _IO_file_close_it_internal)
48539         (_IO_file_underflow_internal, _IO_file_overflow_internal)
48540         (_IO_file_init_internal, _IO_file_attach_internal)
48541         (_IO_file_fopen_internal, _IO_file_read_internal)
48542         (_IO_file_sync_internal, _IO_file_seek_internal)
48543         (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
48544         (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
48545         (_IO_str_underflow_internal, _IO_str_overflow_internal)
48546         (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
48547         (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
48548         (_IO_list_all_internal, _IO_link_in_internal)
48549         (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
48550         (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
48551         (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
48552         (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
48553         (_IO_do_write_internal, _IO_padn_internal)
48554         (_IO_getline_info_internal, _IO_getline_internal)
48555         (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
48556         (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
48557         (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
48558         (_IO_vfscanf_internal, _IO_vfprintf_internal)
48559         (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
48560         (_IO_init_internal, _IO_un_link_internal): Don't declare.
48561         * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
48562         with libc_hidden_ver, remove use of INTUSE.
48563         * libio/genops.c: Likewise.
48564         * libio/freopen.c: Likewise.
48565         * libio/freopen64.c: Likewise.
48566         * libio/iofclose.c: Likewise.
48567         * libio/iofdopen.c: Likewise.
48568         * libio/iofflush.c: Likewise.
48569         * libio/iofflush_u.c: Likewise.
48570         * libio/iofgets.c: Likewise.
48571         * libio/iofgets_u.c: Likewise.
48572         * libio/iofopen.c: Likewise.
48573         * libio/iofopncook.c: Likewise.
48574         * libio/iofread.c: Likewise.
48575         * libio/iofread_u.c: Likewise.
48576         * libio/ioftell.c: Likewise.
48577         * libio/iofwrite.c: Likewise.
48578         * libio/iogetline.c: Likewise.
48579         * libio/iogets.c: Likewise.
48580         * libio/iogetwline.c: Likewise.
48581         * libio/iopadn.c: Likewise.
48582         * libio/iopopen.c: Likewise.
48583         * libio/ioseekoff.c: Likewise.
48584         * libio/ioseekpos.c: Likewise.
48585         * libio/iosetbuffer.c: Likewise.
48586         * libio/iosetvbuf.c: Likewise.
48587         * libio/ioungetc.c: Likewise.
48588         * libio/ioungetwc.c: Likewise.
48589         * libio/iovdprintf.c: Likewise.
48590         * libio/iovsprintf.c: Likewise.
48591         * libio/iovsscanf.c: Likewise.
48592         * libio/memstream.c: Likewise.
48593         * libio/obprintf.c: Likewise.
48594         * libio/oldfileops.c: Likewise.
48595         * libio/oldiofclose.c: Likewise.
48596         * libio/oldiofdopen.c: Likewise.
48597         * libio/oldiofopen.c: Likewise.
48598         * libio/oldiopopen.c: Likewise.
48599         * libio/oldstdfiles.c: Likewise.
48600         * libio/putc.c: Likewise.
48601         * libio/setbuf.c: Likewise.
48602         * libio/setlinebuf.c: Likewise.
48603         * libio/stdfiles.c: Likewise.
48604         * libio/strops.c: Likewise.
48605         * libio/vasprintf.c: Likewise.
48606         * libio/vscanf.c: Likewise.
48607         * libio/vsnprintf.c: Likewise.
48608         * libio/vswprintf.c: Likewise.
48609         * libio/wfiledoalloc.c: Likewise.
48610         * libio/wfileops.c: Likewise.
48611         * libio/wgenops.c: Likewise.
48612         * libio/wmemstream.c: Likewise.
48613         * libio/wstrops.c: Likewise.
48614         * libio/__fpurge.c: Likewise.
48615         * libio/__fsetlocking.c: Likewise.
48616         * assert/assert.c: Likewise.
48617         * debug/fgets_chk.c: Likewise.
48618         * debug/fgets_u_chk.c: Likewise.
48619         * debug/fread_chk.c: Likewise.
48620         * debug/fread_u_chk.c: Likewise.
48621         * debug/gets_chk.c: Likewise.
48622         * debug/obprintf_chk.c: Likewise.
48623         * debug/vasprintf_chk.c: Likewise.
48624         * debug/vdprintf_chk.c: Likewise.
48625         * debug/vsnprintf_chk.c: Likewise.
48626         * debug/vsprintf_chk.c: Likewise.
48627         * malloc/mtrace.c: Likewise.
48628         * misc/error.c: Likewise.
48629         * misc/syslog.c: Likewise.
48630         * stdio-common/asprintf.c: Likewise.
48631         * stdio-common/fxprintf.c: Likewise.
48632         * stdio-common/getw.c: Likewise.
48633         * stdio-common/isoc99_fscanf.c: Likewise.
48634         * stdio-common/isoc99_scanf.c: Likewise.
48635         * stdio-common/isoc99_vfscanf.c: Likewise.
48636         * stdio-common/isoc99_vscanf.c: Likewise.
48637         * stdio-common/isoc99_vsscanf.c: Likewise.
48638         * stdio-common/printf-prs.c: Likewise.
48639         * stdio-common/printf_fp.c: Likewise.
48640         * stdio-common/printf_fphex.c: Likewise.
48641         * stdio-common/printf_size.c: Likewise.
48642         * stdio-common/putw.c: Likewise.
48643         * stdio-common/scanf.c: Likewise.
48644         * stdio-common/sprintf.c: Likewise.
48645         * stdio-common/tmpfile.c: Likewise.
48646         * stdio-common/vfprintf.c: Likewise.
48647         * stdio-common/vfscanf.c: Likewise.
48648         * stdlib/strfmon_l.c: Likewise.
48649         * sunrpc/openchild.c: Likewise.
48650         * sunrpc/xdr_stdio.c: Likewise.
48651         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
48652         * sysdeps/mach/hurd/tmpfile.c: Likewise.
48654 2012-05-24  Roland McGrath  <roland@hack.frob.com>
48656         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
48658         * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
48659         in the third column, to generate for the shared library an IFUNC
48660         that uses _dl_vdso_vsym.
48661         * Makerules (COMPILE.c, compile-stdin.c): New variables.
48662         * Makeconfig (object-suffixes-noshared): New variable.
48664         * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
48665         (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
48666         (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
48667         (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
48669         [BZ #14132]
48670         * include/sys/time.h (__gettimeofday): Remove macro.
48671         (__gettimeofday, gettimeofday): Add libc_hidden_proto.
48672         * time/gettimeofday.c (__gettimeofday): Remove #undef.
48673         Remove INTDEF.
48674         (__gettimeofday): Add libc_hidden_def.
48675         (gettimeofday): Add libc_hidden_weak.
48676         * sysdeps/mach/gettimeofday.c: Likewise.
48677         * sysdeps/posix/gettimeofday.c: Likewise.
48678         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
48679         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
48680         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
48681         (__gettimeofday_internal): Remove strong_alias.
48682         (__gettimeofday): Add libc_hidden_def.
48683         (gettimeofday): Add libc_hidden_weak.
48684         * sysdeps/unix/syscalls.list (gettimeofday):
48685         Remove __gettimeofday_internal alias.
48687 2012-05-24  Daniel Jacobowitz  <drow@false.org>
48688             H.J. Lu  <hongjiu.lu@intel.com>
48690         [BZ #12495]
48691         * malloc/malloc.c (SMALLBIN_CORRECTION): New.
48692         (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
48693         (largebin_index_32_big): New.
48694         (largebin_index): Use it for 16-byte alignment.
48695         (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ.  Don't update
48696         correction with front_misalign.
48698 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
48700         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
48701         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
48702         Likewise.
48703         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
48704         Likewise.
48705         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
48706         Likewise.
48707         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
48708         Likewise.
48709         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
48710         Likewise.
48711         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
48712         Likewise.
48713         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
48714         Likewise.
48715         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
48716         Likewise.
48717         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
48718         Likewise.
48719         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
48720         Likewise.
48721         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
48722         Likewise.
48723         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
48724         Likewise.
48726         * scripts/data/c++-types-x32-linux-gnu.data: New file.
48727         * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
48729 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
48731         [BZ #10846]
48732         [BZ #14036]
48733         * math/libm-test.inc (exp_test): Add test from bug 14036.
48734         (pow_test): Add test from bug 10846.
48736         * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
48737         and other flags.
48738         (special_function): Do not include flags in test name.
48739         (parse_args): Likewise.
48740         * sysdeps/i386/fpu/libm-test-ulps: Update.
48741         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
48742         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
48743         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
48744         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48746         * math/gen-libm-test.pl (%beautify): Add entries for underflow
48747         exceptions.
48748         * math/libm-test.inc ("Philosophy"): Update comment about
48749         exception testing.
48750         (UNDERFLOW_EXCEPTION): New macro.
48751         (UNDERFLOW_EXCEPTION_OK): Likewise.
48752         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
48753         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
48754         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
48755         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
48756         (INVALID_EXCEPTION_OK): Update value.
48757         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
48758         (OVERFLOW_EXCEPTION_OK): Likewise.
48759         (IGNORE_ZERO_INF_SIGN): Likewise.
48760         (test_exceptions): Handle underflow exceptions.
48761         (acos_test): Update for underflow exception expectations.
48762         (cexp_test): Likewise.
48763         (clog_test): Likewise.
48764         (clog10_test): Likewise.
48765         (csqrt_test): Likewise.
48766         (ctan_test): Likewise.
48767         (ctanh_test): Likewise.
48768         (exp_test): Likewise.
48769         (exp10_test): Likewise.
48770         (exp2_test): Likewise.
48771         (expm1_test): Likewise.
48772         (fma_test): Likewise.
48773         (j0_test): Likewise.
48774         (jn_test): Likewise.
48775         (nexttoward_test): Likewise.
48776         (pow_test): Likewise.
48777         (scalbn_test): Likewise.
48778         (scalbln_test): Likewise.
48779         (tan_test): Likewise.
48780         (y1_test): Likewise.
48781         * sysdeps/i386/fpu/libm-test-ulps: Update.
48782         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48784 2012-05-23  David S. Miller  <davem@davemloft.net>
48786         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
48787         (__libc_sigaction): Remove unused local variables.
48789 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
48791         * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
48793 2012-05-23  Paul Eggert  <eggert@cs.ucla.edu>
48795         mktime: avoid signed integer overflow
48796         * time/mktime.c (__mktime_internal): Do not mishandle the case
48797         where diff == INT_MIN.
48799         mktime: simplify computation of average
48800         * time/mktime.c (ranged_convert): Use new time_t_avg function
48801         instead of rolling our own (probably-slower) code.
48803         mktime: do not assume signed right shift propagates sign bit
48804         * time/mktime.c (isdst_differ): New static function.
48805         (__mktime_internal): No need to normalize tm_isdst now.
48806         (__mktime_internal, not_equal_tm): Use isdst_differ to compare
48807         tm_isdst values.
48809         mktime: merge another wrapv change from gnulib
48810         * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
48811         from some compilers.
48813         mktime: remove incorrect attempt at unusual arithmetics
48814         * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
48815         The code didn't really work on such machines anyway.
48816         (TYPE_MINIMUM): Assume two's complement.
48817         (twos_complement_arithmetic): Verify that long_int and time_t
48818         are two's complement (or unsigned, in the latter case).
48820         mktime: check signed shifts on long_int and time_t, too
48821         * time/mktime.c (SHR): Check that shifts work as desired
48822         on the types long_int and time_t too, as SHR is used on
48823         such types.
48825         mktime: do not assume 'long' is wide enough
48826         * time/mktime.c (verify): Move decl up.
48827         (long_int): New type.
48828         (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
48829         to remove assumption in the code that 'long' is wide enough to
48830         store year values.  This assumption is not true on x32 and on
48831         some non-glibc platforms.
48833         mktime: merge wrapv change from gnulib
48834         * time/mktime.c (WRAPV): New macro.
48835         (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
48836         (guess_time_tm, __mktime_internal): Do not assume that signed
48837         integer overflow wraps around; modern compilers generate code
48838         where this assumption is no longer valid.
48840 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
48842         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
48843         Replace "jmp L(pseudo_end)" with "ret".
48844         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
48845         Likewise.
48847 2012-05-23  Andreas Jaeger  <aj@suse.de>
48849         * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
48850         * sysdeps/unix/sysv/linux/poll.c: Remove file.
48852 2012-05-23  Andreas Jaeger  <aj@suse.de>
48853             Maximilian Attems  <max@stro.at>
48855         * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
48856         New macros.
48858 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
48860         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
48861         code so that pseudo_end is just ret and the stack pointer is
48862         correct also for static library in error case.
48864 2012-05-23  Joseph Myers  <joseph@codesourcery.com>
48866         * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
48867         move to syscalls.list.
48868         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
48869         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
48870         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
48871         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
48873         * manual/install.texi (Running make install): Do not mention Linux
48874         kernel version for which pt_chown is not needed.
48875         (Linux): Do not mention problems with nscd with 2.0 kernels.
48876         * INSTALL: Regenerated.
48878 2012-05-23  Andreas Jaeger  <aj@suse.de>
48880         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
48881         (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
48882         macro.
48883         * sysdeps/unix/sysv/linux/s390/bits/mman.h
48884         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
48885         * sysdeps/unix/sysv/linux/sh/bits/mman.h
48886         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
48887         * sysdeps/unix/sysv/linux/i386/bits/mman.h
48888         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
48889         * sysdeps/unix/sysv/linux/sparc/bits/mman.h
48890         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
48891         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
48892         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
48893         * sysdeps/unix/sysv/linux/bits/in.h
48894         (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
48896 2012-05-22  Roland McGrath  <roland@hack.frob.com>
48898         * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
48899         (PREPARE_VERSION): Just use assert instead, it will be elided
48900         under [NDEBUG] anyway.
48902 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
48904         * sysdeps/unix/sysv/linux/Makefile: Include
48905         $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
48906         (sysdep_routines): Remove sysctl.
48907         * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
48908         * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
48909         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
48910         * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
48911         * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
48913 2012-05-22  Andreas Jaeger  <aj@suse.de>
48915         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
48916         that pseudo_end is just ret and the stack pointer is correct also
48917         for static library in error case.
48919 2012-05-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
48921         [BZ #14122]
48922         * nss/nsswitch.c (defconfig_entries): New variable.
48923         (__nss_database_lookup): Don't leak defconfig entries.
48924         (nss_parse_service_list): Don't leak on error paths.
48925         (free_database_entries): New function.
48926         (free_defconfig): New function.
48927         (free_mem): Move common code to free_database_entries.
48929 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
48931         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
48932         Add arch_prctl.
48933         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
48935         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
48936         (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
48937         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
48938         New macro.
48939         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
48940         (INTERNAL_SYSCALL_TYPES): Likewise.
48941         (LOAD_ARGS_TYPES_[1-6]): Likewise.
48942         (LOAD_REGS_TYPES_[1-6]): Likewise.
48943         (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
48944         (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
48946 2012-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48948         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
48949         copysignl for GLIBC_2_0.
48950         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
48951         finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
48952         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
48953         logbl for GLIBC_2_0.
48954         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
48955         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
48957 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
48959         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
48960         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
48962         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
48963         Use "neg %eax".
48965         * time/mktime.c: Update copyright years.
48967 2012-05-22  Paul Eggert  <eggert@cs.ucla.edu>
48969         mktime: merge comment-quoting-style change from gnulib
48970         * time/mktime.c: Quote 'like this' in comments.
48971         The GNU coding standards suggest that we no longer quote `like this',
48972         as "`" and "'" are typically rendered asymmetrically nowadays.
48973         The typical gnulib style is to quote 'like this' when quoting
48974         code, and "like this" when quoting English.
48976         * time/mktime.c (compile-command): Add "-I.".
48978         mktime: merge mktime-internal.h change from gnulib
48979         * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
48981         mktime: merge time_r change from gnulib
48982         * time/mktime.c [!_LIBC]: Do not include "time_r.h".
48984         mktime: merge DEBUG change from gnulib
48985         * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
48986         case system <time.h> has a #define.
48988         mktime: merge <sys/types.h> change from gnulib
48989         * time/mktime.c: Do not include <sys/types.h>; no longer needed,
48990         since <time.t> is now guaranteed to define time_t.
48992         mktime: merge HAVE_CONFIG_H change from gnulib
48993         * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
48995 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
48997         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
48998         Use "neg %eax".
49000         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
49001         __rlim_t cast.
49002         (struct rusage): Use anonymous union to pad each field to
49003         __syscall_slong_t.
49005 2012-05-21  David S. Miller  <davem@davemloft.net>
49007         * Makefules (o-iterator): Remove .s cases.
49008         (compile-command.s): Delete.
49009         (COMPILE.s): Delete.
49010         * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
49012 2012-05-21  Joseph Myers  <joseph@codesourcery.com>
49014         * configure.in (libc_cv_predef_stack_protector): Only consider
49015         "foobar" and "__stack_chk_fail" lines in libc_undefs.
49016         * configure: Regenerated.
49018 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
49020         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
49021         New macro.  Use R*LP on int and pointer.
49022         (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
49023         * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
49024         * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
49025         * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
49027         * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
49028         [__WORDSIZE_TIME64_COMPAT32] instead of
49029         [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
49030         (struct utmp): Likewise.
49031         * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
49032         * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
49033         Renamed to ...
49034         (__WORDSIZE_TIME64_COMPAT32): This.
49035         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
49036         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
49037         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
49038         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
49039         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
49040         (__WORDSIZE_TIME64_COMPAT32): New macro.
49042 2012-05-21  Andreas Jaeger  <aj@suse.de>
49044         * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
49045         only if [SHARED]. Add prototype for __wcschr_ia32.
49047 2012-05-21  Roland McGrath  <roland@hack.frob.com>
49049         * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
49050         of %rbp unmolested in the jmp_buf while mangling the low bits.
49051         * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
49052         unmolested high bits of %rbp while demangling the low bits.
49053         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
49055 2012-05-21  Andreas Jaeger  <aj@suse.de>
49057         * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
49058         * sunrpc/svc_simple.c: Use it for registerrpc.
49059         * sunrpc/xcrypt.c: Use it for passwd2des.
49061         * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
49063 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
49065         * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
49066         Don't define if [__SYSCALL_WORDSIZE != 32].
49067         * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
49068         New macro.
49070 2012-05-21  Bruno Haible  <bruno@clisp.org>
49071             Andreas Jaeger  <aj@suse.de>
49073         [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
49074         * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
49075         inptr and inend for must_buffer_ch.
49076         * wcsmbs/tst-mbsnrtowcs.c: Remove file.
49077         * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
49078         * stdio-common/Makefile (tests): Remove bug15.
49079         (bug15-ENV): Remove macro.
49080         * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
49081         anymore.
49083 2012-05-19  Andreas Jaeger  <aj@suse.de>
49084             Roland McGrath  <roland@hack.frob.com>
49086         * manual/contrib.texi: Completely rewritten. It contains now an
49087         alphabetical list of contributors and their contributions.
49089 2012-05-21  Richard Henderson  <rth@twiddle.net>
49091         * misc/getauxval.c (__getauxval): Use unsigned long int.
49092         * misc/sys/auxv.h: Include <sys/cdefs.h>.
49093         (getauxval): Use unsigned long int.
49095 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
49097         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
49099 2012-05-21  Roland McGrath  <roland@hack.frob.com>
49101         * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
49102         (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
49103         __alignof__ (long double).
49105 2012-05-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49107         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
49109 2012-05-20  Richard Henderson  <rth@twiddle.net>
49111         * misc/getauxval.c: New file.
49112         * misc/sys/auxv.h: New file.
49113         * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
49114         (routines): Add getauxval.
49115         * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
49116         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
49117         * elf/dl-sysdep.c (_dl_auxv): Remove.
49118         (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
49119         * elf/dl-support.c (_dl_auxv): New variable.
49120         (_dl_aux_init): Initialize it.
49121         * manual/startup.texi (Auxiliary Vector): New node.
49122         * sysdeps/generic/bits/hwcap.h: New file.
49123         * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
49124         * sysdeps/powerpc/sysdep.h: ... here.  Include it.
49125         * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
49126         * sysdeps/sparc/sysdep.h: ... here.  Include it.
49127         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
49128         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
49129         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
49130         Update.
49131         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
49132         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
49133         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
49134         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
49135         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
49136         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
49137         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
49138         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
49140 2012-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49142         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
49144 2012-05-19  David S. Miller  <davem@davemloft.net>
49146         * sysdeps/sparc/fpu/libm-test-ulps: Update.
49148 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
49150         [BZ #14123]
49151         * math/s_ccosh.c: Include <float.h>
49152         (__ccosh): Avoid internal overflow calculating sinh and cosh
49153         values before multiplying by sin and cos values.
49154         * math/s_ccoshf.c: Likewise.
49155         * math/s_ccoshl.c: Likewise.
49156         * math/s_csin.c: Likewise.
49157         * math/s_csinf.c: Likewise.
49158         * math/s_csinl.c: Likewise.
49159         * math/s_csinh.c: Likewise.
49160         * math/s_csinhf.c: Likewise.
49161         * math/s_csinhl.c: Likewise.
49162         * math/libm-test.inc (ccos_test): Add more tests.
49163         (ccosh_test): Likewise.
49164         (csin_test): Likewise.
49165         (csinh_test): Likewise.
49166         * sysdeps/i386/fpu/libm-test-ulps: Update.
49167         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49169 2012-05-19  H.J. Lu  <hongjiu.lu@intel.com>
49171         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
49172         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
49174         * sysdeps/x86_64/x32/_itoa.h: Add comment.
49176 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
49178         * sysdeps/powerpc/soft-fp/Makefile: Remove file.
49179         * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
49180         * sysdeps/powerpc/soft-fp/Versions: Likewise.
49181         * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
49182         * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
49183         * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
49184         * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
49185         * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
49186         * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
49187         * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
49188         * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
49189         * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
49190         * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
49191         * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
49192         * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
49193         * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
49194         * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
49195         * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
49196         * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
49197         * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
49198         * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
49199         * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
49200         * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
49201         * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
49202         * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
49203         * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
49204         * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
49205         * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
49206         * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
49207         * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
49208         * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
49210 2012-05-18  Andreas Jaeger  <aj@suse.de>
49212         * csu/.gitignore: Delete.
49214 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
49216         * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
49217         (timex): Use __syscall_slong_t.
49219 2012-05-18  Andreas Jaeger  <aj@suse.de>
49220             Carlos O'Donell  <carlos_odonell@mentor.com>
49222         * manual/install.texi (Configuring and compiling): Update
49223         description about files modified in the source directory.
49224         * INSTALL: Regenerated.
49226 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
49228         * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
49229         value.  Use "or" to set return value to -1.
49230         * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
49231         negate return value.
49233 2012-05-18  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
49235         * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
49236         (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
49237         failure if the compiler has Graphite support disabled.
49238         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
49239         Likewise.
49240         * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
49241         (CFLAGS-memmove.c): Likewise.
49242         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
49243         Likewise.
49245 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
49247         * sysdeps/x86_64/x32/_itoa.h: New file.
49249         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
49250         getdents system call only if kernel and user dirents have the
49251         same d_ino and d_off.
49253         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
49254         LLONG_MAX != LONG_MAX.
49255         (_itoa_word): Use _ITOA_WORD_TYPE on value.
49256         (_fitoa_word): Likewise.
49258         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
49259         years.
49260         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
49261         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
49262         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
49264         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
49265         include <bits/wordsize.h>.  Check __x86_64__ instead of
49266         __WORDSIZE.
49267         (sigcontext): Use "__uint64_t" instead of "unsigned long int"
49268         if __x86_64__ is defined.  Use anonymous union on fpstate.
49270         * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
49271         anonymous union.
49273 2012-05-18  Andreas Schwab  <schwab@linux-m68k.org>
49275         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
49276         INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
49277         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
49278         Refer to _rtld_local_ro instead of _rtld_global_ro.
49279         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
49280         Likewise.
49281         * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
49282         Likewise.
49283         * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
49284         Likewise.
49285         * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
49286         * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
49287         of _rtld_global, and rtld_progname instead of _dl_argv[0].
49289         [BZ #10882]
49290         * sysdeps/powerpc/powerpc32/dl-machine.c
49291         (__elf_machine_runtime_setup) [PROF]: Don't reference
49292         _dl_prof_resolve.
49294 2012-05-18  Andreas Jaeger  <aj@suse.de>
49296         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
49297         function only available for GCCs before 3.4 since GCC 3.4
49298         introduced a builtin.
49299         (lrint): Likewise.
49300         (llrintf): Likewise.
49301         (llrint): Likewise.
49302         (fmaxf): Likewise.
49303         (fmax): Likewise.
49304         (fminf): Likewise.
49305         (fmin): Likewise.
49306         (rint): Likewise.
49307         (rintf): Likewise.
49308         (nearbyint): Likewise.
49309         (nearbyintf): Likewise.
49310         (ceil): Likewise.
49311         (ceilf): Likewise.
49312         (floor): Likewise.
49313         (floorf): Likewise.
49315 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
49317         * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
49318         on both fields and cast pointer to __syscall_ulong_t.
49320         * bits/types.h (__fsword_t): New type.
49321         * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
49322         sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
49323         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
49324         (__FSWORD_T_TYPE): Likewise.
49325         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
49326         (__FSWORD_T_TYPE): Likewise.
49327         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
49328         (__FSWORD_T_TYPE): Likewise.
49329         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
49330         (__FSWORD_T_TYPE): Likewise.
49331         * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
49332         __SWORD_TYPE with __fsword_t.
49333         (statfs64): Likewise.
49335 2012-05-17  David S. Miller  <davem@davemloft.net>
49337         * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
49339 2012-05-17  Andreas Jaeger  <aj@suse.de>
49341         * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
49342         warning.
49344 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
49346         * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
49348 2012-05-17  Andreas Jaeger  <aj@suse.de>
49350         * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
49351         when it is used.
49353 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
49355         * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
49357 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
49359         * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
49360         * sysdeps/x86_64/tst-mallocalign1.c: New file.
49362 2012-05-17  Andreas Jaeger  <aj@suse.de>
49363             Carlos O'Donell  <carlos_odonell@mentor.com>
49365         [BZ #14059]
49366         * sysdeps/x86_64/multiarch/init-arch.h
49367         (bit_YMM_Usable): Rename to...
49368         (bit_AVX_Usable): ... this.
49369         (bit_FMA4_Usable): New macro.
49370         (bit_XMM_state): New macro.
49371         (bit_YMM_state): New macro.
49372         [__ASSEMBLER__] (index_YMM_Usable): Rename to...
49373         [__ASSEMBLER__] (index_AVX_Usable): ... this.
49374         [__ASSEMBLER__] (index_FMA4_Usable): New macro.
49375         (CPUID_OSXSAVE): New macro.
49376         (CPUID_AVX): New macro.
49377         (CPUID_FMA4): New macro.
49378         (index_YMM_Usable): Rename to...
49379         (index_AVX_Usable): ... this.
49380         (HAS_AVX): Use HAS_ARCH_FEATURE.
49381         (HAS_FMA4): Likewise.
49382         (HAS_YMM_USABLE): Remove.
49383         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
49384         Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
49385         are present.
49386         * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
49387         * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
49388         * sysdeps/x86_64/multiarch/Makefile: Likewise.
49389         * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
49390         * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
49392 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
49394         * math/libm-test.c: Support platforms without multiple rounding modes.
49395         * math/bug-nextafter.c: Support platforms without FP exceptions.
49396         * math/bug-nexttoward.c: Likewise.
49397         * math/test-fenv.c: Likewise.
49398         * math/test-misc.c: Likewise.
49399         * stdlib/bug-getcontext.c: Likewise.
49401 2012-05-17  Andreas Jaeger  <aj@suse.de>
49403         * manual/examples/search.c (critter_cmp): Change signature to
49404         avoid warnings.
49405         * manual/string.texi (Collation Functions): Likewise.
49407 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
49409         * bits/types.h: Fold copyright years.
49410         * bits/typesizes.h: Likewise.
49411         * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
49412         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
49413         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
49414         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
49415         * time/time.h: Likewise.
49417 2012-05-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
49419         [BZ #208]
49420         * malloc.c (int_mallinfo): Add parameter to accumulate statistics
49421         in instead of returning them.  Return void.
49422         (__libc_mallinfo): Accumulate over all arenas.
49423         (__malloc_stats): Adjust for change in int_mallinfo interface.
49425 2012-05-16  Roland McGrath  <roland@hack.frob.com>
49427         [BZ #10375]
49428         * configure.in (NM): Add AC_CHECK_TOOL for it.
49429         (libc_extra_cflags): New substituted variable.
49430         Check for -fstack-protector being used implicitly.
49431         * configure: Regenerated.
49432         * config.make.in (config-extra-cflags): New variable,
49433         gets @libc_extra_cflags@.
49434         * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
49436         [BZ #10375]
49437         * configure.in: Check for _FORTIFY_SOURCE being predefined.
49438         (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
49439         * configure: Regenerated.
49440         * config.make.in (CPPUNDEFS): New substituted variable.
49441         * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
49442         * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
49443         * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
49445 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
49447         * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
49448         (mq_attr): Use __syscall_slong_t.
49450 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
49452         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
49453         Check __x86_64__ instead of __WORDSIZE.
49454         (_STAT_VER_LINUX): Likewise.
49455         (stat): Check __x86_64__ instead of __WORDSIZE.  Use
49456         __syscall_ulong_t and __syscall_slong_t.
49457         (stat64): Likewise.
49459 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
49461         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
49463 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
49465         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
49467 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
49469         * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
49470         __syscall_ulong_t.
49472         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
49473         include <bits/wordsize.h>.  Check __x86_64__ instead of
49474         __WORDSIZE.
49475         (greg_t): Use "__extension__ long long int" if __x86_64__ is
49476         defined.
49477         (mcontext_t): Replace "unsigned long" with "unsigned long long".
49479         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
49480         include <bits/wordsize.h>.  Check __x86_64__ instead of
49481         __WORDSIZE.
49482         (user_regs_struct): Use "__extension__ unsigned long long"
49483         instead of "unsigned long" if __x86_64__ is defined.
49484         (user): Likewise.  Pad after pointer field if __ILP32__ is
49485         defined.
49487 2012-05-16  Joseph Myers  <joseph@codesourcery.com>
49489         * configure.in (makeinfo): Require version 4.5 or later.  Allow
49490         versions 5 to 9.
49491         * configure: Regenerated.
49492         * manual/install.texi (texinfo): Increase version requirement to
49493         4.5 or later.
49494         * INSTALL: Regenerated.
49496         * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
49498 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
49500         * sysdeps/x86_64/x32/gmp-mparam.h: New file.
49502         * sysdeps/x86_64/x32/ffs.c: New file.
49504         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
49505         __syscall_ulong_t.
49506         (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
49507         defined.  Use __syscall_ulong_t.
49508         (shminfo): Use __syscall_ulong_t.
49509         (shm_info): Likewise.
49511         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
49512         __syscall_ulong_t.
49514         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
49515         <bits/wordsize.h>.
49516         (msgqnum_t): Use __syscall_ulong_t.
49517         (msglen_t): Likewise.
49518         (msqid_ds): Check __x86_64__ instead of __WORDSIZE.  Use
49519         __syscall_ulong_t.
49521         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
49522         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
49524         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
49526         * sysdeps/x86_64/x32/divdi3.c: New dummy file.
49527         * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
49529         * sysvipc/sys/msg.h (msgbuf): Replace long int with
49530         __syscall_slong_t.
49532         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
49533         include <bits/wordsize.h>.  Check __x86_64__ instead of
49534         __WORDSIZE.
49536         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
49537         "unsigned long long int" if __x86_64__ is defined.
49538         (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
49540         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
49541         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
49542         (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
49544         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
49545         <stdint.h>.
49546         (GET_PC): Cast to uintptr_t first.
49547         (GET_FRAME): Likewise.
49548         (GET_STACK): Likewise.
49550         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
49551         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
49552         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
49553         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
49554         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
49555         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
49556         * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
49557         * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
49558         * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
49559         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
49560         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
49561         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
49562         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
49563         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
49564         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
49565         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
49566         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
49567         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
49568         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
49569         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
49570         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
49571         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
49572         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
49573         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
49574         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
49575         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
49576         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
49577         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
49578         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
49580 2012-05-16  Andreas Schwab  <schwab@linux-m68k.org>
49582         * Makerules (+depfiles): Also collect depfiles from .oS in
49583         $(extra-objs).
49584         * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
49585         .oS, $(libnldbl-routines)).
49587         * Makerules (native-compile-mkdep-flags): Define.
49588         * sunrpc/Makefile (extra-objs): Add $(addprefix
49589         cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
49590         ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
49591         of $(compile-mkdep-flags).  Depend on $(before-compile) instead of
49592         calling $(make-target-directory).
49594 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
49596         * bits/types.h (__snseconds_t): Removed.
49597         * time/time.h (struct timespec): Replace __snseconds_t with
49598         __syscall_slong_t.
49599         * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
49600         * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
49601         Likewise.
49602         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
49603         (__SNSECONDS_T_TYPE): Likewise.
49604         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
49605         (__SNSECONDS_T_TYPE): Likewise.
49606         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
49607         (__SNSECONDS_T_TYPE): Likewise.
49609 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
49611         * sysdeps/mach/hurd/bits/typesizes.h
49612         (__SYSCALL_SLONG_TYPE): New macro.
49613         (__SYSCALL_ULONG_TYPE): Likewise.
49615 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
49617         * bits/types.h (__syscall_slong_t): New type.
49618         (__syscall_ulong_t): Likewise.
49620         * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
49621         (__SYSCALL_ULONG_TYPE): Likewise.
49622         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
49623         (__SYSCALL_SLONG_TYPE): Likewise.
49624         (__SYSCALL_ULONG_TYPE): Likewise.
49625         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
49626         (__SYSCALL_SLONG_TYPE): Likewise.
49627         (__SYSCALL_ULONG_TYPE): Likewise.
49628         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
49629         (__SYSCALL_SLONG_TYPE): Likewise.
49630         (__SYSCALL_ULONG_TYPE): Likewise.
49632 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
49634         * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
49635         Add sigaltstack-offsets.sym.
49636         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
49637         <sigaltstack-offsets.h>.
49638         (CALL_FAIL): Use RSP_LP to operate on stack.  Use RDI_LP on
49639         longjmp_msg pointer.
49640         (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC.  Use
49641         R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
49642         signal stack.
49643         * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
49645 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
49647         * elf/stackguard-macros.h: Remove file.
49648         * sysdeps/generic/stackguard-macros.h: New file.
49649         * sysdeps/i386/stackguard-macros.h: Likewise.
49650         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
49651         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
49652         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
49653         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
49654         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
49655         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
49656         * sysdeps/x86_64/stackguard-macros.h: Likewise.
49657         * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
49658         <elf/stackguard-macros.h>.
49660         [BZ #14109]
49661         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
49662         __aligned__ in attribute.
49663         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
49664         (gregset_t): Likewise.
49666 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
49668         * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
49669         * sysdeps/x86_64/64/Implies-after: Here.  New file.
49670         * sysdeps/x86_64/x32/Implies-after: New file.
49672 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
49674         * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
49675         and access return value for _dl_profile_fixup.  Use R10_LP to
49676         load frame size.
49678 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
49680         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
49682 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
49684         * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
49685         * sysdeps/x86_64/x32/sysdep.h: New file.
49687 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
49689         * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
49690         * sysdeps/x86_64/setjmp.S: Likewise.
49692 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49694         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
49695         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
49696         * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
49697         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
49698         remove unused global constant.
49700 2012-05-15  Chris Metcalf  <cmetcalf@tilera.com>
49702         * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
49703         include of <not-cancel.h>.
49705 2012-05-15  Roland McGrath  <roland@hack.frob.com>
49707         * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
49709 2012-05-15  Jeff Law  <law@redhat.com>
49710             Andreas Jaeger  <aj@suse.de>
49712         [BZ #13594]
49713         * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
49714         out from...
49715         * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
49716         * nscd/nscd-client.h: Add __nscd_acquire_maplock.
49717         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
49718         code changing __hst_map_handle.map.
49720 2012-05-15  Roland McGrath  <roland@hack.frob.com>
49722         * configure.in (sysnames): Look for Implies-before and Implies-after
49723         files.
49724         * configure: Regenerated.
49726 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
49728         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
49729         8-byte data alignment with LP_SIZE alignment.
49731 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
49733         * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
49734         into R10_LP.
49736 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
49738         * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
49740 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
49742         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
49743         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
49744         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
49745         Likewise.
49746         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
49748 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
49750         * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
49751         (stackinfo_sub_sp): Likewise.
49753 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
49755         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
49756         RAX_LP.
49758 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
49760         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
49761         into R*_LP.
49763 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
49765         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
49766         sizes into R*_LP.
49768 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
49770         * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
49772 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
49774         * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
49775         into R11_LP and load __x86_64_shared_cache_size_half into
49776         R8_LP.
49778 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
49780         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
49781         R8_LP.
49783 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49785         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
49786         logb for POWER7.
49787         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
49788         logbf for POWER7.
49789         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
49790         logbl for POWER7.
49791         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
49792         powerpc32/power7/fpu/s_logb.c via #include.
49793         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
49794         powerpc32/power7/fpu/s_logbf.c via #include.
49795         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
49796         powerpc32/power7/fpu/s_logbl.c via #include.
49798 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
49800         * README.libm: Remove file.
49802 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
49804         * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
49805         count for x32.  Use R*_LP and omit operand-size suffix.
49807 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
49809         * shlib-versions: Move x86_64-.*-linux.* entries to ...
49810         * sysdeps/x86_64/64/shlib-versions: Here.  New file.
49811         * sysdeps/x86_64/x32/shlib-versions: New file.
49813 2012-05-14  Roland McGrath  <roland@hack.frob.com>
49815         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
49816         * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
49817         Use _dl_fatal_printf instead.
49819 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
49821         * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
49822         set if not set by the user.  Do not allow for being unset.
49823         * sysdeps/unix/sysv/linux/configure: Regenerated.
49825 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
49827         * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
49828         the `q' suffix from lea and replace .quad with ASM_ADDR.
49830 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
49832         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
49833         the `q' suffix from xor/rol instructions.  Use $2*LP_SIZE+1
49834         instead of $17.
49835         (PTR_DEMANGLE): Likewise.
49837 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
49839         * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
49840         (LP_OP): Likewise.
49841         (ASM_ADDR): Likewise.
49842         (RAX_LP): Likewise.
49843         (RBP_LP): Likewise.
49844         (RBX_LP): Likewise.
49845         (RCX_LP): Likewise.
49846         (RDI_LP): Likewise.
49847         (RSI_LP): Likewise.
49848         (RSP_LP): Likewise.
49849         (R8_LP): Likewise.
49850         (R9_LP): Likewise.
49851         (R10_LP): Likewise.
49852         (R10_LP): Likewise.
49853         (R11_LP): Likewise.
49854         (R12_LP): Likewise.
49855         (R13_LP): Likewise.
49856         (R14_LP): Likewise.
49857         (R15_LP): Likewise.
49859 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
49861         * sysdeps/x86_64/x32/dl-machine.h: New file.
49863 2012-05-14  Andreas Jaeger  <aj@suse.de>
49865         * manual/Makefile (subdir): Remove export of subdir.
49866         (all): Remove target.
49867         (.PHONY): Remove all from list.
49868         (mkinstalldirs): Remove.
49869         (.PHONY): Remove installdirs from list.
49870         ($(inst_infodir)/libc.info): Use make-target-directory.
49871         (installdirs): Remove.
49872         (subdir_%): Remove.
49873         (glibc-targets): Remove.
49874         (lib): Remove.
49875         (stubs): Remove.
49876         ($(objpfx)stubs ../po/manual.pot): Remove.
49877         ($(objpfx)stamp%): Remove.
49878         (make-target-directory): Remove.
49879         (subdir_install): Remove.
49880         (routines): Remove.
49881         (aux): Remove.
49882         (sources): Remove.
49883         (objects): Remove.
49884         (headers): Remove.
49886         [BZ #13750]
49887         * manual/.gitignore: Remove, it's not needed anymore.
49888         * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
49889         all files in it.
49890         * manual/Makefile (dvi, pdf, info, html): Depend on files in build
49891         directory.
49892         (texis): Renamed to $(objpfx)texis.
49893         (texis-path): New, contains path to generated files.
49894         (chapters.%): Use texis-path for complete path, add extra argument
49895         libc-texinfo.sh.
49896         (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
49897         (libc/index.html, summary.texi): Add $(objpfx) as prefix.
49898         (summary,texi, stamp-summary): Use complete path of
49899         files. Generate files in build dir.
49900         (dir-add.texi): Build in build dir.
49901         (libm-err.texi,stamp-libm-err): Likewise.
49902         (version.texi, stamp-version): Likewise.
49903         (.%c.texi): Likewise.
49904         (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
49905         (mostlyclean): Remove target.
49906         (realclean): Remove target.
49907         (generated): Add new variable with contents from mostlyclean and
49908         realclean, remove entries duplicated in common-mostlyclean, add
49909         stamp-libm-err and stamp-version.
49910         (generated-dirs): Add libc directory.
49911         ($(inst_infodir)/libc.info): Install files from build dir.
49913         * manual/install.texi (Configuring and compiling): Adjust since
49914         the info files are not part of the tar ball anymore.
49916 2012-05-14  Andreas Jaeger  <aj@suse.de>
49918         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
49919         variable.
49921 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
49923         [BZ #13717]
49924         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
49925         to 2.2.0 where earlier.
49926         * sysdeps/unix/sysv/linux/configure: Regenerated.
49927         * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
49928         Remove conditional code.
49929         [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
49930         * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
49931         Remove conditional code.
49932         [!__NR_lchown]: Likewise.
49933         [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
49934         [__NR_lchown]: Likewise.
49935         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
49936         comment referencing __ASSUME_LCHOWN_SYSCALL.
49937         * sysdeps/unix/sysv/linux/i386/sigaction.c
49938         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
49939         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
49940         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
49941         Remove conditional code.
49942         [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
49943         (__protocol_available): Remove #if 0 code.
49944         * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
49945         conditional code.
49946         [__ASSUME_SIOCGIFNAME]: Make code unconditional.
49947         * sysdeps/unix/sysv/linux/kernel-features.h
49948         (__ASSUME_GETCWD_SYSCALL): Don't define.
49949         (__ASSUME_REALTIME_SIGNALS): Likewise.
49950         (__ASSUME_PREAD_SYSCALL): Likewise.
49951         (__ASSUME_PWRITE_SYSCALL): Likewise.
49952         (__ASSUME_POLL_SYSCALL): Likewise.
49953         (__ASSUME_LCHOWN_SYSCALL): Likewise.
49954         (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
49955         non-SPARC.
49956         (__ASSUME_SIOCGIFNAME): Don't define.
49957         (__ASSUME_MSG_NOSIGNAL): Likewise.
49958         (__ASSUME_SENDFILE): Define unconditionally.
49959         (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
49960         * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
49961         conditional code.
49962         [__ASSUME_POLL_SYSCALL]: Make code unconditional.
49963         * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
49964         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
49965         (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
49966         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
49967         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
49968         (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
49969         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
49970         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
49971         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
49972         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
49973         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
49974         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
49975         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
49976         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
49977         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
49978         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
49979         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
49980         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
49981         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
49982         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
49983         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
49984         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
49985         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
49986         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
49987         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
49988         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
49989         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
49990         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
49991         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
49992         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
49993         * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
49994         Remove conditional code.
49995         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
49996         * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
49997         Remove conditional code.
49998         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
49999         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
50000         [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
50001         * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
50002         Remove conditional code.
50003         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
50004         * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
50005         Remove conditional code.
50006         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
50007         * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
50008         Remove conditional code.
50009         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
50010         * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
50011         Remove conditional code.
50012         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
50013         * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
50014         Remove conditional code.
50015         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
50016         * sysdeps/unix/sysv/linux/sh/pwrite64.c
50017         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
50018         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
50019         * sysdeps/unix/sysv/linux/sigaction.c
50020         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
50021         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
50022         * sysdeps/unix/sysv/linux/sigpending.c
50023         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
50024         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
50025         * sysdeps/unix/sysv/linux/sigprocmask.c
50026         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
50027         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
50028         * sysdeps/unix/sysv/linux/sigsuspend.c
50029         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
50030         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
50031         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
50032         (__libc_missing_rt_sigs): Remove.
50033         (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
50034         (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
50035         * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
50036         Remove conditional code.
50037         [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
50038         * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
50039         return 1.
50040         * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
50041         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
50042         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
50043         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
50045 2012-05-14  Andreas Jaeger  <aj@suse.de>
50047         * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
50048         it's not used in glibc.
50049         (__coshm1): Likewise.
50050         (__acosh1p): Likewise.
50051         (__sgn): Likewise.
50053         * manual/string.texi (Copying and Concatenation): Add missing
50054         variable in concat example.
50055         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
50057 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
50059         [BZ #14103]
50060         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
50061         __builtin_clzl with __builtin_clzll.
50063 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
50065         [BZ #14104]
50066         * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
50067         libc_freeres_ptr.
50069 2012-05-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
50071         * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
50072         * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
50073         * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
50074         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
50076 2012-05-14  Mike Frysinger  <vapier@gentoo.org>
50078         * NEWS: Update ia64 info.
50080 2012-05-12  Andreas Schwab  <schwab@linux-m68k.org>
50082         * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
50083         used as bcopy.
50085 2012-05-12  Thomas Schwinge  <thomas@codesourcery.com>
50087         * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
50088         * sysdeps/unix/syscalls.list (dup3): Likewise.
50089         * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
50090         * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
50092 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
50094         * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
50095         "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
50097 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
50099         * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
50100         thread pointer.
50101         (TLS_IE): Use mov/add instead of movq/addq to load thread
50102         pointer.
50103         (TLS_GD_PREFIX): New.
50104         (TLS_GD): Use it.
50106 2012-05-11  David S. Miller  <davem@davemloft.net>
50108         * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
50109         * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
50110         (_FPU_SETCW): Likewise.
50112 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
50114         * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
50115         is 32-byte aligned.
50117 2012-05-11  Andreas Schwab  <schwab@linux-m68k.org>
50119         [BZ #11837]
50120         * iconvdata/gb18030.c: Update tables.
50121         (BODY for FROM_LOOP): Update.  Handle two-byte encoded non-BMP
50122         characters specially.
50123         (BODY for TO_LOOP): Add encoding of missing ranges.
50125 2012-05-11  Thomas Schwinge  <thomas@codesourcery.com>
50127         [BZ #13673]
50128         * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
50129         * sysdeps/mach/hurd/dup3.c: Likewise.
50130         * sysdeps/mach/hurd/readlinkat.c: Likewise.
50131         * sysdeps/powerpc/memmove.c:: Likewise.
50133 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
50135         * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
50136         R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
50138 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
50140         * elf/elf.h (R_X86_64_RELATIVE64): New.
50141         (R_X86_64_NUM): Updated.
50142         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
50143         R_X86_64_RELATIVE64.  Always use Elf64_Addr with R_X86_64_64.
50144         (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
50145         * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
50146         tst-quad1pie tst-quad2pie
50147         (modules-names): Add tst-quadmod1 tst-quadmod2.
50148         ($(objpfx)tst-quad1): New dependency.
50149         ($(objpfx)tst-quad2): Likewise.
50150         ($(objpfx)tst-quad1pie): Likewise.
50151         ($(objpfx)tst-quad2pie): Likewise.
50152         * sysdeps/x86_64/tst-quad1.c: New file.
50153         * sysdeps/x86_64/tst-quad1pie.c: New file.
50154         * sysdeps/x86_64/tst-quad2.c: Likewise.
50155         * sysdeps/x86_64/tst-quad2pie.c: Likewise.
50156         * sysdeps/x86_64/tst-quadmod1.S: Likewise.
50157         * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
50158         * sysdeps/x86_64/tst-quadmod2.S: Likewise.
50159         * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
50161 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
50163         * io/fcntl.h (mode_t, off_t, pid_t): Define types.
50164         (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
50165         * streams/stropts.h (t_scalar_t): Define type.
50167         * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
50168         (_PATH_PRESERVE): Set to "/var/lib".
50169         (_PATH_RWHODIR): Set to "/var/spool/rwho".
50171         * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
50172         instead of int.
50174         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
50175         if __dir_mkfile succeeded.
50177         * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
50178         checking for _hurd_dtablesize.  Unlock it right after having
50179         finished _hurd_dtable allocation.
50181 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
50183         * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
50184         * sysdeps/mach/hurd/configure: Regenerated.
50185         * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
50186         special-casing to...
50187         * sysdeps/gnu/configure.in: ... this new file.
50188         * sysdeps/unix/sysv/linux/configure: Regenerated.
50189         * sysdeps/gnu/configure: New generated file.
50191         * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
50192         for Linux: use nsec instead of usec, as well as:
50193         [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
50194         members of type struct timespec.
50195         [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
50196         New macros.
50197         (struct stat64): Likewise.
50198         (_STATBUF_ST_NSEC): New macro.
50199         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
50201         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
50202         __strtoul_internal rather than strtoul.
50204 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
50206         * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
50207         and reject them.
50209 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
50211         * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
50212         which preserves existing values.
50213         * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
50215 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
50217         * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
50218         TIMEOUT values.  Return EINVAL for NFDS values either negative or
50219         greater than FD_SETSIZE.
50221 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
50223         * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
50224         allocated, call __vm_protect to finish enabling the existing space, and
50225         pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
50226         allocate the remainder.
50228 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
50230         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
50231         address port.  Set ADDR_LEN to 0 when not filling ADDRARG.
50233 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
50235         * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
50236         sysdeps/mach/hurd/readlink.c.
50238         * posix/tst-sysconf.c (posix_options): Only use
50239         _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
50240         _POSIX_SYNCHRONIZED_IO when they are defined
50241         * sysdeps/mach/hurd/bits/posix_opt.h:
50242         (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
50243         (_XOPEN_REALTIME): Undefine macro.
50244         (_XOPEN_REALTIME_THREADS): Undefine macro.
50245         (_XOPEN_SHM): Undefine macro.
50246         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
50247         macro to -1.
50248         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
50249         macro to -1.
50250         (_POSIX_ASYNC_IO): Undefine macro.
50251         (_POSIX_PRIORITIZED_IO): Undefine macro.
50252         (_POSIX_SPIN_LOCKS): Define macro to -1.
50254         * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
50255         SA_NODEFER, SA_RESETHAND.
50256         * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
50257         O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
50258         F_DUPFD_CLOEXEC.
50260 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
50262         * elf/Makefile (pldd-modules): Define unconditionally.
50264 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
50266         * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
50268 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
50270         * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
50271         Return ENOENT when name is empty.
50272         * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
50274 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
50276         * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
50278         * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
50280 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
50282         Fix mlock in all cases except non-readable pages.
50283         * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
50284         instead of VM_PROT_ALL as parameter to __vm_wire function.
50286         * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
50287         (__mkdir): When path is `/', just fail with EEXIST.
50288         * sysdeps/mach/hurd/mkdirat.c: Likewise.
50290 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
50292         * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
50293         <sys/uio.h> (for writev).
50294         * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
50295         and <sys/param.h> (for MIN).
50297 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
50299         * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
50300         REQUESTED_TIME.  Properly set the remaining time and return EINTR
50301         if interrupted.
50303 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
50305         * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
50306         Depend on against $(link-rpcuserlibs).
50308 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
50310         * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
50311         (__libc_stack_end): Do not use attribute_relro.
50312         * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
50313         * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
50314         to libthread-provided value.
50315         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
50316         attribute_relro.
50318 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
50320         [BZ #3748]
50321         * bits/libc-lock.h (__libc_once_get): New macro.
50322         * sysdeps/mach/bits/libc-lock.h: Likewise.
50323         * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
50324         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
50325         instead of using implementation details.
50327         * libio/fileops.c: Unconditionally include <kernel-features.h>.
50328         * libio/freopen.c: Likewise.
50329         * libio/freopen64.c: Likewise.
50330         * misc/syslog.c: Likewise.
50331         * nscd/connections.c: Likewise.
50332         * nscd/netgroupcache.c: Likewise.
50333         * sysdeps/posix/getcwd.c: Likewise.
50335 2012-05-10  Roland McGrath  <roland@hack.frob.com>
50337         * math/w_ilogbf.c: Add #include <limits.h>.
50339 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
50341         * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
50342         path instead of returning without unlocking.
50344         * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
50345         immediate-write ioctls.
50346         * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
50348 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
50350         * sysdeps/mach/hurd/i386/init-first.c (init): Use
50351         __builtin_frame_address instead of making assumptions about the
50352         location of the return address relative to DATA.  Force early load of
50353         the return address.
50354         (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
50355         __builtin_frame_address.
50357         dup3 for GNU Hurd.
50358         * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
50359         * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c.  Evolve it to
50360         implement dup3 and do some further code clean-ups.
50361         * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
50362         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
50364 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
50366         * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
50368         * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
50369         HURD_CRITICAL_END around holding _hurd_dtable_lock.
50370         * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
50371         * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
50372         HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
50373         d->port.lock.
50375         * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
50376         instead of setjmp/longjmp to restore the signal mask.  Call sigsetjmp
50377         when handler == SIG_ERR, not when handler != SIG_ERR.
50379 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
50381         * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
50382         (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
50383         definitions.
50385         accept4 for GNU Hurd.
50386         * include/sys/socket.h (__libc_accept4): New prototype.
50387         * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c.  Evolve it
50388         to implement __libc_accept4.
50389         * sysdeps/mach/hurd/accept.c (accept): Reimplement using
50390         __libc_accept4.
50391         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
50393         * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
50394         * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
50395         * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
50396         signal-defines.sym.
50398 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
50400         * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
50402 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
50404         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
50405         assertion on O_CLOEXEC flag.
50406         * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
50407         * hurd/intern-fd.c: Likewise.
50408         * hurd/port2fd.c: Likewise.
50410 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
50412         [BZ #3906]
50413         * bits/in.h (IPV6_PKTINFO): Define new macro.
50414         (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
50416 2012-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50418         [BZ #13954]
50419         [BZ #13955]
50420         [BZ #13956]
50421         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
50422         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
50423         * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
50424         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
50425         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
50426         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
50427         * math/libm-test.inc (logb_test) : Additional logb tests.
50429 2012-05-09  Andreas Schwab  <schwab@linux-m68k.org>
50430             Andreas Jaeger  <aj@suse.de>
50432         * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
50433         * configure: Regenerated.
50434         * config.h.in (LINK_OBSOLETE_RPC): New macro.
50435         * config.make.in (link-obsolete-rpc): New substituted variable.
50436         * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
50437         libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
50438         * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
50439         (shared-only-routines): Don't set it under [link-obsolete-rpc],
50440         so that libc.a contains the symbols.
50441         * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
50442         * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
50443         * sunrpc/auth_none.c: Likewise.
50444         * sunrpc/auth_unix.c: Likewise.
50445         * sunrpc/authdes_prot.c: Likewise.
50446         * sunrpc/authuxprot.c: Likewise.
50447         * sunrpc/clnt_gen.c: Likewise.
50448         * sunrpc/clnt_perr.c: Likewise.
50449         * sunrpc/clnt_raw.c: Likewise.
50450         * sunrpc/clnt_simp.c: Likewise.
50451         * sunrpc/clnt_tcp.c: Likewise.
50452         * sunrpc/clnt_udp.c: Likewise.
50453         * sunrpc/clnt_unix.c: Likewise.
50454         * sunrpc/des_crypt.c: Likewise.
50455         * sunrpc/des_soft.c: Likewise.
50456         * sunrpc/get_myaddr.c: Likewise.
50457         * sunrpc/key_call.c: Likewise.
50458         * sunrpc/key_prot.c: Likewise.
50459         * sunrpc/netname.c: Likewise.
50460         * sunrpc/pm_getmaps.c: Likewise.
50461         * sunrpc/pm_getport.c: Likewise.
50462         * sunrpc/pmap_clnt.c: Likewise.
50463         * sunrpc/pmap_prot.c: Likewise.
50464         * sunrpc/pmap_prot2.c: Likewise.
50465         * sunrpc/pmap_rmt.c: Likewise.
50466         * sunrpc/publickey.c: Likewise.
50467         * sunrpc/rpc_cmsg.c: Likewise.
50468         * sunrpc/rpc_common.c: Likewise.
50469         * sunrpc/rpc_dtable.c: Likewise.
50470         * sunrpc/rpc_prot.c: Likewise.
50471         * sunrpc/rpc_thread.c: Likewise.
50472         * sunrpc/rtime.c: Likewise.
50473         * sunrpc/svc.c: Likewise.
50474         * sunrpc/svc_auth.c: Likewise.
50475         * sunrpc/svc_raw.c: Likewise.
50476         * sunrpc/svc_run.c: Likewise.
50477         * sunrpc/svc_tcp.c: Likewise.
50478         * sunrpc/svc_udp.c: Likewise.
50479         * sunrpc/svc_unix.c: Likewise.
50480         * sunrpc/svcauth_des.c: Likewise.
50481         * sunrpc/xcrypt.c: Likewise.
50482         * sunrpc/xdr.c: Likewise.
50483         * sunrpc/xdr_array.c: Likewise.
50484         * sunrpc/xdr_float.c: Likewise.
50485         * sunrpc/xdr_intXX_t.c: Likewise.
50486         * sunrpc/xdr_mem.c: Likewise.
50487         * sunrpc/xdr_rec.c: Likewise.
50488         * sunrpc/xdr_ref.c: Likewise.
50489         * sunrpc/xdr_sizeof.c: Likewise.
50490         * sunrpc/xdr_stdio.c: Likewise.
50492 2012-05-10  Roland McGrath  <roland@hack.frob.com>
50494         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
50495         change.  Update copyright years.
50497 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
50499         * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
50501 2012-05-10  Maxim Kuvyrkov  <maxim@codesourcery.com>
50502             Joseph Myers  <joseph@codesourcery.com>
50503             Paul Pluzhnikov  <ppluzhnikov@google.com>
50505         [BZ #14012]
50506         * sunrpc/Makefile [cross-compiling] (headers): Enable additions
50507         requiring rpcgen.
50508         [cross-compiling] (extra-libs): Likewise.
50509         [cross-compiling] (extra-libs-others): Likewise.
50510         [cross-compiling] (librpcsvc-routines): Likewise.
50511         [cross-compiling] (librpcsvc-inhibit-o): Likewise.
50512         [cross-compiling] (omit-deps): Likewise.
50513         (sunrpc-CPPFLAGS): New variable.
50514         (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
50515         (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
50516         (cross-rpcgen-objs): New variable.
50517         (extra-objs): Append $(cross-rpcgen-objs).
50518         ($(cross-rpcgen-objs)): New rule.
50519         ($(objpfx)cross-rpcgen): Likewise.
50520         (rpcgen-cmd): Define to use $(built-program-file).  Expand
50521         comment.
50522         ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
50523         ($(objpfx)x%.stmp): Likewise.
50524         * sunrpc/proto.h [IS_IN_build] (_): Define.
50525         [IS_IN_build] (_libc_intl_domainname): Likewise.
50527 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
50529         * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
50530         Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
50531         and R_X86_64_TPOFF64.
50533 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
50535         * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
50536         sysdeps/unix/sysv/syscalls.list.
50537         (stime): Likewise.
50538         (utime): Likewise.
50539         * sysdeps/unix/sysv/syscalls.list: Remove file.
50541 2012-05-10  Paul Eggert  <eggert@cs.ucla.edu>
50543         [BZ #3440]
50544         * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
50545         (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
50546         (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
50547         (__LC_IDENTIFICATION): Make these macros useful in #if
50548         expressions, as required by C99.
50550 2012-05-10  Andreas Schwab  <schwab@linux-m68k.org>
50552         * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
50553         $(addsuffix .os,$(rpc-compat-routines)).  Move include ../Rules
50554         after this.
50556 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
50558         * stdlib/longlong.h: Updated from GCC.
50560 2012-05-09  Andreas Jaeger  <aj@suse.de>
50562         * nscd/nscd.c (run_modes): Make named enum, reorder so that
50563         default is first entry.
50564         (run_mode): Set type.
50565         (main): Remove informal message about syslog.
50566         (options): Fix typo.
50568         [BZ #14053]
50569         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
50570         to asm.
50571         (lrint): Likewise.
50572         (llrintf): Likewise.
50573         (llrint): Likewise.
50574         (rint): Likewise.
50575         (rintf): Likewise.
50576         (nearbyint): Likewise.
50577         (nearbyintf): Likewise.
50579 2012-05-09  Andreas Jaeger  <aj@suse.de>
50580             Pedro Alves  <palves@redhat.com>
50582         * nscd/nscd.c (run_mode): Use enum.
50583         (main): Cleanup coding style issue.
50585 2012-05-09  Alexandre Oliva  <aoliva@redhat.com>
50586             Andreas Jaeger  <aj@suse.de>
50588         * nscd/nscd.c (go_background): Replaced with...
50589         (run_mode): ... this.
50590         (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
50591         (options): Add -F --foreground.
50592         (main): Implement it.
50593         (parse_opt): Parse it.
50595 2012-05-09  Andreas Jaeger  <aj@suse.de>
50597         [BZ #14083]
50598         * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
50599         !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
50600         -Wconversion warning.
50601         (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
50602         Likewise.
50604 2012-05-09  Joseph Myers  <joseph@codesourcery.com>
50606         * conform/data/locale.h-data (NULL): Use macro-constant.  Require
50607         == 0.
50608         (LC_ALL): Use macro-int-constant.
50609         (LC_COLLATE): Likewise.
50610         (LC_CTYPE): Likewise.
50611         (LC_MESSAGES): Likewise.
50612         (LC_MONETARY): Likewise.
50613         (LC_NUMERIC): Likewise.
50614         (LC_TIME): Likewise.
50615         [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
50616         (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
50617         [ISO || ISO99 || ISO11] (*_t): Do not allow.
50618         * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
50619         Specify type.
50620         [C99-based standards] (float_t): Expect type.
50621         [C99-based standards] (double_t): Expect type.
50622         [C99-based standards] (HUGE_VALF): Use macro-constant.  Specify
50623         type.
50624         [C99-based standards] (HUGE_VALL): Likewise.
50625         [C99-based standards] (INFINITY): Likewise.
50626         [C99-based standards] (NAN): Likewise.
50627         [C99-based standards] (FP_INFINITE): Use macro-int-constant.
50628         [C99-based standards] (FP_NAN): Likewise.
50629         [C99-based standards] (FP_NORMAL): Likewise.
50630         [C99-based standards] (FP_SUBNORMAL): Likewise.
50631         [C99-based standards] (FP_ZERO): Likewise.
50632         [C99-based standards] (FP_FAST_FMA): Use
50633         optional-macro-int-constant.  Specify type.  Require == 1.
50634         [C99-based standards] (FP_FAST_FMAF): Likewise.
50635         [C99-based standards] (FP_FAST_FMAL): Likewise.
50636         [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
50637         [C99-based standards] (FP_ILOGBNAN): Likewise.
50638         [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
50639         Specify type.
50640         [C99-based standards] (MATH_ERREXCEPT): Likewise.
50641         [C99-based standards] (math_errhandling): Specify type.
50642         [ISO99 || ISO11] (signgam): Do not allow.
50643         [non-C99-based standards] (copysignf): Do not allow.
50644         [non-C99-based standards] (exp2f): Likewise.
50645         [non-C99-based standards] (log2f): Likewise.
50646         [non-C99-based standards] (modff): Allow.
50647         [non-C99-based standards] (erff): Do not allow.
50648         [non-C99-based standards] (erfcf): Likewise.
50649         [non-C99-based standards] (gammaf): Likewise.
50650         [non-C99-based standards] (hypotf): Likewise.
50651         [non-C99-based standards] (j0f): Likewise.
50652         [non-C99-based standards] (j1f): Likewise.
50653         [non-C99-based standards] (jnf): Likewise.
50654         [non-C99-based standards] (lgammaf): Likewise.
50655         [non-C99-based standards] (tgammaf): Likewise.
50656         [non-C99-based standards] (y0f): Likewise.
50657         [non-C99-based standards] (y1f): Likewise.
50658         [non-C99-based standards] (ynf): Likewise.
50659         [non-C99-based standards] (isnanf): Likewise.
50660         [non-C99-based standards] (acoshf): Likewise.
50661         [non-C99-based standards] (asinhf): Likewise.
50662         [non-C99-based standards] (atanhf): Likewise.
50663         [non-C99-based standards] (cbrtf): Likewise.
50664         [non-C99-based standards] (expm1f): Likewise.
50665         [non-C99-based standards] (ilogbf): Likewise.
50666         [non-C99-based standards] (log1pf): Likewise.
50667         [non-C99-based standards] (logbf): Likewise.
50668         [non-C99-based standards] (nextafterf): Likewise.
50669         [non-C99-based standards] (remainderf): Likewise.
50670         [non-C99-based standards] (rintf): Likewise.
50671         [non-C99-based standards] (scalbf): Likewise.
50672         [non-C99-based standards] (copysignl): Likewise.
50673         [non-C99-based standards] (exp2l): Likewise.
50674         [non-C99-based standards] (log2l): Likewise.
50675         [non-C99-based standards] (modfl): Allow.
50676         [non-C99-based standards] (erfl): Do not allow.
50677         [non-C99-based standards] (erfcl): Likewise.
50678         [non-C99-based standards] (gammal): Likewise.
50679         [non-C99-based standards] (hypotl): Likewise.
50680         [non-C99-based standards] (j0l): Likewise.
50681         [non-C99-based standards] (j1l): Likewise.
50682         [non-C99-based standards] (jnl): Likewise.
50683         [non-C99-based standards] (lgammal): Likewise.
50684         [non-C99-based standards] (tgammal): Likewise.
50685         [non-C99-based standards] (y0l): Likewise.
50686         [non-C99-based standards] (y1l): Likewise.
50687         [non-C99-based standards] (ynl): Likewise.
50688         [non-C99-based standards] (isnanl): Likewise.
50689         [non-C99-based standards] (acoshl): Likewise.
50690         [non-C99-based standards] (asinhl): Likewise.
50691         [non-C99-based standards] (atanhl): Likewise.
50692         [non-C99-based standards] (cbrtl): Likewise.
50693         [non-C99-based standards] (expm1l): Likewise.
50694         [non-C99-based standards] (ilogbl): Likewise.
50695         [non-C99-based standards] (log1pl): Likewise.
50696         [non-C99-based standards] (logbl): Likewise.
50697         [non-C99-based standards] (nextafterl): Likewise.
50698         [non-C99-based standards] (remainderl): Likewise.
50699         [non-C99-based standards] (rintl): Likewise.
50700         [non-C99-based standards] (scalbl): Likewise.
50701         [ISO || ISO99 || ISO11] (*_t): Do not allow.
50702         [non-C99-based standards] (FP_*): Do not allow.
50703         [C99-based standards] (FP_*): Change to
50704         FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
50705         * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
50706         allow.
50707         * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
50708         (SIG_ERR): Likewise.
50709         [X/Open-based standards] (SIG_HOLD): Likewise.
50710         (SIG_IGN): Likewise.
50711         (SIGABRT): Use macro-int-constant.  Specify type.  Require
50712         positive value.
50713         (SIGFPE): Likewise.
50714         (SIGILL): Likewise.
50715         (SIGINT): Likewise.
50716         (SIGSEGV): Likewise.
50717         (SIGTER): Likewise.
50718         [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
50719         [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
50720         [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
50721         [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
50722         [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
50723         [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
50724         [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
50725         [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
50726         [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
50727         [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
50728         [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
50729         [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
50730         [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
50731         [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
50732         [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
50733         [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
50734         [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
50735         [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
50736         [X/Open-based standards] (SIGTRAP): Likewise.
50737         [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
50738         [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
50739         [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
50740         [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
50741         * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
50742         allow.
50744 2012-05-08  Ian Wienand  <ianw@vmware.com>
50746         [BZ #14080]
50747         * time/tzset.c (__tzset_parse_tz): Update default rules for
50748         daylight time changes in the Energy Policy Act of 2005.
50750 2012-05-09  Andreas Jaeger  <aj@suse.de>
50752         [BZ #13983]
50753         * elf/ldconfig.c (parse_conf): Change string to make clear that
50754         ldconfig only issued a warning if ld.so.conf does not exist.
50756 2012-05-08  David S. Miller  <davem@davemloft.net>
50758         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
50759         movxtod instead of popping the value on the stack.
50761         * sysdeps/sparc/fpu/libm-test-ulps: Update.
50763 2012-05-08  Carlos O'Donell  <carlos_odonell@mentor.com>
50765         * config.h.in: Add HAVE_ARM_PCS_VFP.
50767 2012-05-08  Roland Mc Grath  <roland@hack.frob.com>
50769         [BZ #13979]
50770         * include/features.h: Warn if user requests __FORTIFY_SOURCE
50771         checking but the checks are disabled for any reason.
50773 2012-05-08  H.J. Lu  <hongjiu.lu@intel.com>
50775         * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
50776         and ELF64_R_TYPE with ELFW(R_TYPE).
50778 2012-05-08  Joseph Myers  <joseph@codesourcery.com>
50780         * sysdeps/unix/sysv/syscalls.list (pause): Remove.
50781         (ulimit): Likewise.
50783         * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
50784         (settimeofday): Likewise.
50786 2012-05-08  Mike Frysinger  <vapier@gentoo.org>
50788         * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1.  Add
50789         a struct th_u2 inside the union, and move tu_block/tu_code into
50790         a new th_u3 union of tu_block/tu_code inside of that.  Move
50791         th_data[1] into the th_u2 as tu_data[0].  Change tu_stuff[1] to
50792         tu_stuff[0].  Add a new tu_padding[4] to keep sizeof() the same.
50793         (th_block): Change to th_u1.th_u2.th_u3.tu_block.
50794         (th_code): Change to th_u1.th_u2.th_u3.tu_code.
50795         (th_stuff): Change to th_u1.tu_stuff.
50796         (th_data): Define.
50797         (th_msg): Change to th_u1.th_u2.tu_data.
50799 2012-05-07  David S. Miller  <davem@davemloft.net>
50801         * sysdeps/sparc/fpu/libm-test-ulps: Update.
50803         [BZ #14074]
50804         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
50805         (SETUP_PIC_REG): Use it.
50806         (SETUP_PIC_REG_LEAF): Use it.
50808 2012-05-07  Joseph Myers  <joseph@codesourcery.com>
50810         [BZ #13885]
50811         [BZ #13923]
50812         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
50813         USE_AS_EXPM1L.
50814         (EXPL_FINITE): Likewise.
50815         (FLDLOG): Likewise.
50816         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
50817         * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
50818         e_expl.S.
50819         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
50820         USE_AS_EXPM1L.
50821         (EXPL_FINITE): Likewise.
50822         (FLDLOG): Likewise.
50823         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
50824         * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
50825         e_expl.S.
50826         * math/libm-test.inc (expm1_test): Add more tests.  Do not disable
50827         test of -max_value argument for long double.
50828         * sysdeps/i386/fpu/libm-test-ulps: Update.
50829         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50831 2012-05-06  David S. Miller  <davem@davemloft.net>
50833         * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
50834         quad soft-float symbols whose references which are compiler
50835         generated.
50836         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
50838 2012-05-06  Joseph Myers  <joseph@codesourcery.com>
50840         [BZ #13884]
50841         [BZ #13914]
50842         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
50843         USE_AS_EXP10L.
50844         (EXPL_FINITE): Likewise.
50845         (FLDLOG): Likewise.
50846         (c0): Likewise.
50847         (c1): Likewise.
50848         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
50849         Adjust comments for base varying.
50850         (__expl_finite): Change alias to EXPL_FINITE.
50851         * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
50852         e_expl.S.
50853         * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
50854         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
50855         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
50856         * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
50857         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
50858         USE_AS_EXP10L.
50859         (EXPL_FINITE): Likewise.
50860         (FLDLOG): Likewise.
50861         (c0): Likewise.
50862         (c1): Likewise.
50863         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
50864         Adjust comments for base varying.
50865         (__expl_finite): Change alias to EXPL_FINITE.
50866         * math/libm-test.inc (exp10_test): Add more tests.  Do not disable
50867         tests for bugs.
50868         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
50870         [BZ #14064]
50871         * math/libm-test.inc (check_float_internal): Correct ulp
50872         calculation for subnormal expected results.
50874 2012-05-06  Andreas Jaeger  <aj@suse.de>
50876         * Makeconfig (+math-flags): New, set to -frounding-math.
50877         (+cflags): Add +math-flags so that all of glibc gets compiled with
50878         it.
50880         * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
50882 2012-05-05  Joseph Myers  <joseph@codesourcery.com>
50884         * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
50885         Disable one test.
50887         [BZ #13787]
50888         [BZ #13922]
50889         [BZ #14036]
50890         * sysdeps/i386/fpu/e_expl.S (csat): New constant.
50891         (__ieee754_expl): Allow for and saturate large arguments.
50892         * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
50893         (u_threshold): Likewise.
50894         (__exp): Call __ieee754_exp before checking for overflow and
50895         underflow.
50896         * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
50897         (u_threshold): Likewise.
50898         (__expf): Call __ieee754_expf before checking for overflow and
50899         underflow.
50900         * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
50901         (u_threshold): Likewise.
50902         (__expl): Call __ieee754_expl before checking for overflow and
50903         underflow.
50904         * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
50905         (__ieee754_expl): Allow for and saturate large arguments.
50906         * math/libm-test.inc (exp_test): Add another test.  Do not allow
50907         missing overflow exception on overflow.
50908         (expm1_test): Do not allow missing overflow exception on overflow.
50910         * sysdeps/i386/fpu/e_expl.c: Move to ...
50911         * sysdeps/i386/fpu/e_expl.S: ... here.  Write directly in assembly
50912         rather than using inline asm.
50913         * sysdeps/x86_64/fpu/e_expl.c: Remove file.
50914         * sysdeps/x86_64/fpu/e_expl.S: Copy from
50915         sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
50917         * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
50918         (nice): Likewise.
50919         (poll): Likewise.
50920         (signal): Likewise.
50921         (time): Likewise.
50922         (times): Likewise.
50924 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
50926         * sysdeps/unix/syscalls.list (adjtime): Add entry from
50927         sysdeps/unix/common/syscalls.list.
50928         (fchmod): Likewise.
50929         (fchown): Likewise.
50930         (ftruncate): Likewise.
50931         (getrusage): Likewise.
50932         (gettimeofday): Likewise.
50933         (setpgid): Likewise.
50934         (setregid): Likewise.
50935         (setreuid): Likewise.
50936         (sigaction): Likewise.
50937         (truncate): Likewise.
50938         (vhangup): Likewise.
50939         * sysdeps/unix/common/syscalls.list: Remove file.
50940         * sysdeps/unix/bsd/Implies: Don't include unix/common.
50941         * sysdeps/unix/sysv/linux/Implies: Likewise.
50943 2012-05-04  H.J. Lu  <hongjiu.lu@intel.com>
50945         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
50946         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
50947         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
50948         Moved to ...
50949         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
50950         Here.
50951         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
50952         to ...
50953         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
50954         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
50955         to ...
50956         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
50957         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
50958         to ...
50959         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
50960         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
50961         to ...
50962         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
50963         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
50964         to ...
50965         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
50966         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
50967         to ...
50968         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
50969         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
50970         to ...
50971         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
50972         Here.
50973         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
50974         to ...
50975         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
50976         Here.
50977         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
50978         to ...
50979         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
50980         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
50981         Moved to ...
50982         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
50983         Here.
50984         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
50985         to ...
50986         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
50988 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
50990         * sysdeps/unix/common/bits/dirent.h: Remove file.
50991         * sysdeps/unix/common/bits/fcntl.h: Likewise.
50993         * sysdeps/unix/bsd/bits/dirent.h: Remove file.
50994         * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
50995         * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
50996         * sysdeps/unix/bsd/isatty.c: Likewise.
50997         * sysdeps/unix/bsd/tcdrain.c: Likewise.
50998         * sysdeps/unix/bsd/tcgetattr.c: Likewise.
50999         * sysdeps/unix/bsd/tcsetattr.c: Likewise.
51001 2012-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51003         [BZ #13563]
51004         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
51005         long double comparison inaccuracies.
51006         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
51007         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
51009 2012-05-04  Andreas Schwab  <schwab@linux-m68k.org>
51011         * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
51012         * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
51014 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
51016         [BZ #14049]
51017         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
51018         nonzero digits before rounding a hex value.
51019         * stdlib/tst-strtod.c (tests): Add another test.
51021 2012-05-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
51023         * sysdeps/s390/fpu/libm-test-ulps: Update.
51025 2012-05-03  Andreas Jaeger  <aj@suse.de>
51027         * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
51028         does not get optimized out.
51029         (malloc_opt_barrier): New.
51031 2012-05-03  Andreas Jaeger  <aj@suse.de>
51032             Roland McGrath  <roland@hack.frob.com>
51034         * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
51035         intermediate file deletion.
51036         (generated): Add .symlist files.
51038 2012-05-03  Joseph Myers  <joseph@codesourcery.com>
51040         [BZ #13775]
51041         * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
51042         Redirect under this condition.
51043         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
51044         [__USE_GNU] (__dprintf_chk): Not under this condition.
51045         [__USE_GNU] (__vdprintf_chk): Likewise.
51046         * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
51047         under this condition.
51048         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
51049         [__USE_XOPEN2K8] (dprintf): Define under this condition.
51050         [__USE_XOPEN2K8] (vdprintf): Likewise.
51051         [__USE_GNU] (__dprintf_chk): Not under this condition.
51052         [__USE_GNU] (__vdprintf_chk): Likewise.
51053         [__USE_GNU] (dprintf): Likewise.
51054         [__USE_GNU] (vdprintf): Likewise.
51056 2012-05-03  Roland McGrath  <roland@hack.frob.com>
51058         * elf/Makefile (common-generated): Set this instead of generated for
51059         .dyn, .phdr, .jmprel files.  Remove $(common-objpfx) from the
51060         $(all-built-dso)-derived lists.
51062 2012-05-03  Andreas Jaeger  <aj@suse.de>
51064         * sysdeps/i386/fpu/libm-test-ulps: Update.
51066         * FAQ: Removed.
51067         * FAQ.in: Likewise.
51068         * scripts/gen-FAQ.pl: Likewise.
51069         * manual/install.texi (Installation): Point to online location of
51070         FAQ.
51071         * Makefile (files-for-dist): Remove FAQ.
51072         (FAQ): Remove.
51074 2012-05-02  Allan McRae  <allan@archlinux.org>
51076         * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
51077         (LDFLAGS-reldepmod5.so): Likewise.
51078         (LDFLAGS-reldep6mod1.so): Likewise.
51079         (LDFLAGS-reldep6mod4.so): Likewise.
51080         (LDFLAGS-reldep8mod3.so): Likewise.
51081         (LDFLAGS-unload4mod1.so): Likewise.
51082         (LDFLAGS-unload4mod2.so): Likewise.
51083         (LDFLAGS-tst-initorder): Likewise.
51084         (LDFLAGS-tst-initordera2.so): Likewise.
51085         (LDFLAGS-tst-initordera3.so): Likewise.
51086         (LDFLAGS-tst-initordera4.so): Likewise.
51087         (LDFLAGS-tst-initorderb2.so): Likewise.
51088         (LDFLAGS-noload): Likewise.
51089         (LDFLAGS-next): Likewise.
51090         (LDFLAGS-order2mod1.so): Likewise.
51091         (LDFLAGS-order2mod2.so): Likewise.
51092         (LDFLAGS-tst-initorder2): Likewise.
51093         (LDFLAGS-tst-initorder2a.so): Likewise.
51094         (LDFLAGS-tst-initorder2b.so): Likewise.
51095         (LDFLAGS-tst-initorder2c.so): Likewise.
51096         * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
51098 2012-05-02  David S. Miller  <davem@davemloft.net>
51100         * sysdeps/sparc/fpu/libm-test-ulps: Update.
51102 2012-05-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
51104         [BZ #14055]
51105         * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
51107 2012-05-02  Andreas Jaeger  <aj@suse.de>
51109         * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
51110         since we manipulate rounding mode.
51111         (CPPFLAGS-test-idouble.c): Likewise.
51112         (CPPFLAGS-test-ifloat.c): Likewise.
51113         (CFLAGS-test-ldouble.c): Likewise.
51114         (CFLAGS-test-double.c): Likewise.
51115         (CFLAGS-test-float.c): Likewise.
51116         (CFLAGS-test-misc.c): Likewise.
51117         (CFLAGS-test-test-fenv.c): Likewise.
51119 2012-05-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51121         [BZ #2550]
51122         [BZ #2570]
51123         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
51124         comparisons to determine direction to adjust input.
51126 2012-05-01  Roland McGrath  <roland@hack.frob.com>
51128         * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
51129         output to the target.
51131         * scripts/localplt.awk: New file.
51132         * elf/Makefile ($(objpfx)check-localplt): Target removed.
51133         (check-localplt-CFLAGS): Variable removed.
51134         ($(all-built-dso:=.jmprel)): New static pattern rule.
51135         (generated): Add those targets.
51136         (localplt-built-dso): New variable.
51137         ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
51139         * elf/check-localplt.c: File removed.
51141         * scripts/check-execstack.awk: New file.
51142         * elf/Makefile ($(objpfx)check-execstack): Target removed.
51143         (check-execstack-CFLAGS): Variable removed.
51144         ($(objpfx)check-execstack.h): Target removed.
51145         ($(objpfx)execstack-default): New target.
51146         (generated): Add that instead of check-execstack.h.
51147         ($(all-built-dso:=.phdr)): New static pattern rule.
51148         (generated): Add those targets.
51149         * elf/check-execstack.c: File removed.
51151         * scripts/check-textrel.awk: New file.
51152         * elf/Makefile ($(objpfx)check-textrel): Target removed.
51153         (check-textrel-CFLAGS): Variable removed.
51154         (all-built-dso): Use := to define.o
51155         ($(all-built-dso:=.dyn)): New static pattern rule.
51156         (generated): Add those targets.
51157         ($(objpfx)check-textrel.out): Use the script on the .dyn files.
51158         * config.make.in (READELF): New substituted variable.
51159         * elf/check-textrel.c: File removed.
51161 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
51163         * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
51164         allow.
51165         * conform/data/ctype.h-data [C99-based standards] (isblank):
51166         Expect function.
51167         (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
51168         (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
51169         [ISO || ISO99 || ISO11] (*_t): Do not allow.
51170         * conform/data/errno.h-data (EDOM): Use macro-int-constant.
51171         Specify type.  Require positive value.
51172         (EILSEQ): Likewise.
51173         (ERANGE): Likewise.
51174         [ISO || POSIX] (EILSEQ): Do not expect.
51175         [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
51176         Specify type.  Require positive value.
51177         [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
51178         [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
51179         [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
51180         [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
51181         [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
51182         [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
51183         [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
51184         [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
51185         [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
51186         [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
51187         [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
51188         [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
51189         [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
51190         [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
51191         [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
51192         [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
51193         [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
51194         [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
51195         [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
51196         [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
51197         [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
51198         [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
51199         [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
51200         [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
51201         [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
51202         [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
51203         [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
51204         [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
51205         [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
51206         [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
51207         [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
51208         [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
51209         [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
51210         [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
51211         [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
51212         [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
51213         [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
51214         [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
51215         [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
51216         [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
51217         [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
51218         [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
51219         [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
51220         [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
51221         [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
51222         [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
51223         [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
51224         [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
51225         [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
51226         [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
51227         [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
51228         [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
51229         [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
51230         [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
51231         [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
51232         [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
51233         [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
51234         [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
51235         [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
51236         [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
51237         [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
51238         [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
51239         [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
51240         [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
51241         [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
51242         [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
51243         [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
51244         [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
51245         [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
51246         [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
51247         [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
51248         [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
51249         [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
51250         [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
51251         [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
51252         [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
51253         * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
51254         Require >= 2.
51255         (FLT_ROUNDS): Expect as macro, not constant.
51256         (FLT_MANT_DIG): Use macro-int-constant.
51257         (DBL_MANT_DIG): Likewise.
51258         (LDBL_MANT_DIG): Likewise.
51259         (FLT_DIG): Likewise.
51260         (DBL_DIG): Likewise.
51261         (LDBL_DIG): Likewise.
51262         (FLT_MIN_EXP): Use macro-int-constant.  Require < 0.
51263         (DBL_MIN_EXP): Likewise.
51264         (LDBL_MIN_EXP): Likewise.
51265         (FLT_MAX_EXP): Use macro-int-constant.
51266         (DBL_MAX_EXP): Likewise.
51267         (LDBL_MAX_EXP): Likewise.
51268         (FLT_MAX_10_EXP): Likewise.
51269         (DBL_MAX_10_EXP): Likewise.
51270         (LDBL_MAX_10_EXP): Likewise.
51271         (FLT_MAX): Use macro-constant.
51272         (DBL_MAX): Likewise.
51273         (LDBL_MAX): Likewise.
51274         (FLT_EPSILON): Use macro-constant.  Give upper bound.
51275         (DBL_EPSILON): Likewise.
51276         (LDBL_EPSILON): Likewise.
51277         (FLT_MIN): Likewise.
51278         (DBL_MIN): Likewise.
51279         (LDBL_MIN): Likewise.
51280         [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
51281         [C99-based standards] (FLT_EVAL_METHOD): Likewise.
51282         [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
51283         [ISO11] (FLT_HAS_SUBNORM): Likewise.
51284         [ISO11] (LDBL_HAS_SUBNORM): Likewise.
51285         [ISO11] (DBL_DECIMAL_DIG): Likewise.
51286         [ISO11] (FLT_DECIMAL_DIG): Likewise.
51287         [ISO11] (LDBL_DECIMAL_DIG): Likewise.
51288         [ISO11] (DBL_TRUE_MIN): Use macro-constant.
51289         [ISO11] (FLT_TRUE_MIN): Likewise.
51290         [ISO11] (LDBL_TRUE_MIN): Likewise.
51291         [ISO || ISO99 || ISO11] (*_t): Do not allow.
51292         * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
51293         (SCHAR_MIN): Use macro-int-constant.  Specify type.
51294         (SCHAR_MAX): Likewise.
51295         (UCHAR_MAX): Likewise.
51296         (CHAR_MIN): Likewise.
51297         (CHAR_MAX): Likewise.
51298         (MB_LEN_MAX): Use macro-int-constant.
51299         (SHRT_MIN): Use macro-int-constant.  Specify type.
51300         (SHRT_MAX): Likewise.
51301         (USHRT_MAX): Likewise.
51302         (INT_MAX): Likewise.
51303         (INT_MIN): Use macro-int-constant.  Specify type.  Make upper
51304         bound negative.
51305         (UINT_MAX): Use macro-int-constant.  Specify type.  Suffix lower
51306         bound with "U".
51307         (LONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
51308         bound with "L".
51309         (LONG_MIN): Use macro-int-constant.  Specify type.  Make upper
51310         bound negative.  Suffix upper bound with "L".
51311         (ULONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
51312         bound with "UL".
51313         [C99-based standards] (LLONG_MIN): Use macro-int-constant.
51314         Specify type.
51315         [C99-based standards] (LLONG_MAX): Likewise.
51316         [C99-based standards] (ULLONG_MAX): Likewise.
51317         * conform/data/stddef.h-data (NULL): Use macro-constant.  Require
51318         == 0.
51319         [ISO11] (max_align_t): Require type.
51320         [ISO || ISO99 || ISO11] (*_t): Do not allow.
51322         * conform/conformtest.pl ($CFLAGS_namespace): Define separately
51323         from $CFLAGS, without defining away __attribute__ calls.
51324         (checknamespace): Use $CFLAGS_namespace.
51326         * conform/conformtest.pl (@keywords): Only include C99 keywords
51327         for standards based on C99 or C11.
51329         * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
51330         Disable tests.
51331         * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
51332         UNIX98]: Likewise.
51334         * conform/conformtest.pl: Handle "macro-int-constant" and test for
51335         usability of symbols in #if.
51337         * conform/conformtest.pl: If macro or constant types start
51338         "promoted:", expect the symbol to be of the following type
51339         promoted by the integer promotions.
51341         * conform/conformtest.pl: Parse all "constant" and "macro" lines
51342         in one place.  Also handle "macro-constant".
51344         * conform/conformtest.pl: Only accept expected macro values with
51345         "==".  Parse all "macro" lines in one place.
51346         * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
51348         * conform/conformtest.pl: Handle braced types on "constant" lines
51349         instead of handling "typed-constant".
51350         * conform/data/signal.h-data: Use "constant" instead of
51351         "typed-constant".
51353         * conform/conformtest.pl: Handle "optional-" at start of lines in
51354         one place rather than duplicating several cases.  Handle each
51355         format of "macro" line with initial "optional-".
51357         * conform/conformtest.pl: Only accept expected constant or
51358         optional-constant values with "==".  Parse all "constant" lines in
51359         one place.  Parse all "optional-constant" lines in one place.
51360         * conform/data/cpio.h-data: Use "==" form on "constant" lines.
51361         * conform/data/fmtmsg.h-data: Likewise.
51362         * conform/data/netinet/in.h-data: Likewise.
51363         * conform/data/tar.h-data: Likewise.
51364         * conform/data/limits.h-data: Use "==" form on "constant" and
51365         "optional-constant" lines.
51367         * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
51368         Use -std=c99 for XOPEN2K.
51369         (@knownproblems): Remove.
51370         (newtoken): Don't check %isknown.
51372         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
51373         Do not expect macro.
51374         [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
51375         [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
51376         [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
51377         [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
51378         [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
51379         [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
51380         [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
51381         [XPG3 || XPG4 || UNIX98] (isless): Likewise.
51382         [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
51383         [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
51384         [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
51385         [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
51386         [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
51387         [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
51388         [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
51389         [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
51390         [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
51391         [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
51392         [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
51393         [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
51394         [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
51395         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
51396         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
51397         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
51398         [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
51399         [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
51400         [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
51401         [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
51402         [XPG3 || XPG4 || UNIX98] (log2): Likewise.
51403         [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
51404         [XPG3] (acosh): Likewise.
51405         [XPG3] (asinh): Likewise.
51406         [XPG3] (atanh): Likewise.
51407         [XPG3] (cbrt): Likewise.
51408         [XPG3] (expm1): Likewise.
51409         [XPG3] (ilogb): Likewise.
51410         [XPG3] (log1p): Likewise.
51411         [XPG3] (logb): Likewise.
51412         [XPG3] (nextafter): Likewise.
51413         [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
51414         [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
51415         [XPG3] (remainder): Likewise.
51416         [XPG3] (rint): Likewise.
51417         [XPG3 || XPG4 || UNIX98] (round): Likewise.
51418         [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
51419         [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
51420         [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
51421         [XPG3 || XPG4 || UNIX98] (lround): Likewise.
51422         [XPG3 || XPG4 || UNIX98] (llround): Likewise.
51423         [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
51424         [UNIX98 || XOPEN2K] (scalb): Expect.
51425         [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
51426         [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
51427         [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
51428         [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
51429         [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
51430         [XPG3 || XPG4 || UNIX98] (fma): Likewise.
51431         [XPG3 || XPG4 || UNIX98] (nan): Likewise.
51432         [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
51433         [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
51434         [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
51435         [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
51436         [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
51437         [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
51438         [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
51439         [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
51440         [XPG3 || XPG4 || UNIX98] (expf): Likewise.
51441         [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
51442         [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
51443         [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
51444         [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
51445         [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
51446         [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
51447         [XPG3 || XPG4 || UNIX98] (logf): Likewise.
51448         [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
51449         [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
51450         [XPG3 || XPG4 || UNIX98] (modff): Likewise.
51451         [XPG3 || XPG4 || UNIX98] (powf): Likewise.
51452         [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
51453         [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
51454         [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
51455         [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
51456         [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
51457         [XPG3 || XPG4 || UNIX98] (erff): Likewise.
51458         [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
51459         [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
51460         [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
51461         [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
51462         [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
51463         [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
51464         [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
51465         [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
51466         [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
51467         [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
51468         [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
51469         [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
51470         [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
51471         [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
51472         [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
51473         [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
51474         [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
51475         [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
51476         [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
51477         [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
51478         [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
51479         [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
51480         [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
51481         [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
51482         [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
51483         [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
51484         [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
51485         [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
51486         [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
51487         [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
51488         [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
51489         [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
51490         [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
51491         [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
51492         [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
51493         [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
51494         [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
51495         [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
51496         [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
51497         [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
51498         [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
51499         [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
51500         [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
51501         [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
51502         [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
51503         [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
51504         [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
51505         [XPG3 || XPG4 || UNIX98] (expl): Likewise.
51506         [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
51507         [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
51508         [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
51509         [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
51510         [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
51511         [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
51512         [XPG3 || XPG4 || UNIX98] (logl): Likewise.
51513         [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
51514         [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
51515         [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
51516         [XPG3 || XPG4 || UNIX98] (powl): Likewise.
51517         [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
51518         [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
51519         [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
51520         [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
51521         [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
51522         [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
51523         [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
51524         [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
51525         [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
51526         [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
51527         [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
51528         [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
51529         [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
51530         [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
51531         [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
51532         [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
51533         [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
51534         [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
51535         [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
51536         [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
51537         [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
51538         [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
51539         [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
51540         [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
51541         [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
51542         [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
51543         [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
51544         [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
51545         [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
51546         [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
51547         [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
51548         [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
51549         [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
51550         [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
51551         [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
51552         [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
51553         [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
51554         [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
51555         [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
51556         [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
51557         [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
51558         [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
51559         [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
51560         [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
51561         [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
51563         * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
51564         _XOPEN_SOURCE_EXTENDED for XPG4.
51566         * conform/conformtest.pl: Handle "symbol" lines for allow-header.
51568         * Makeconfig (localtime): Remove variable.
51569         (inst_localtime-file): Likewise.
51571 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
51573         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
51574         Update.
51575         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
51576         Update.
51577         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
51578         Update.
51579         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
51580         Update.
51581         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
51582         Update.
51583         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
51584         Update.
51585         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
51586         Update.
51587         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
51588         Update.
51589         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
51590         Update.
51592 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
51594         [BZ #2550]
51595         [BZ #2570]
51596         * math/s_nexttowardf.c (__nexttowardf): Use floating-point
51597         comparisons to determine direction to adjust input.
51598         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
51599         * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
51600         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
51601         Likewise.
51602         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
51603         Likewise.
51604         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
51605         Likewise.
51606         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
51607         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
51608         Likewise.
51609         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
51610         Likewise.
51611         * math/libm-test.inc (nexttoward_test): Add more tests.
51613 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
51615         [BZ #14040]
51616         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
51617         in version GLIBC_2.1, not GLIBC_2.0.
51618         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
51619         Likewise.
51621 2012-04-30  Joseph Myers  <joseph@codesourcery.com>
51623         [BZ #13942]
51624         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
51625         (1 - x) * (1 + x).
51626         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
51627         * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
51628         * math/libm-test.inc (acos_test): Add more tests.
51629         (asin_test): Likewise.
51630         * sysdeps/i386/fpu/libm-test-ulps: Update.
51631         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51633         [BZ #14034]
51634         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
51635         of square root.
51636         * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
51637         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
51638         * math/libm-test.inc (acos_test_tonearest): New function.
51639         (acos_test_towardzero): Likewise.
51640         (acos_test_downward): Likewise.
51641         (acos_test_upward): Likewise.
51642         (asin_test_tonearest): Likewise.
51643         (asin_test_towardzero): Likewise.
51644         (asin_test_downward): Likewise.
51645         (asin_test_upward): Likewise.
51646         (main): Call the new functions.
51647         * sysdeps/i386/fpu/libm-test-ulps: Update.
51648         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
51650         [BZ #13884]
51651         [BZ #13924]
51652         * math/e_exp10.c: Include <float.h>.
51653         (__ieee754_exp10): Handle underflow here rather than multiplying
51654         large negative argument by M_LN10.
51655         * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
51656         of __ieee754_expf.
51657         * math/e_exp10l.c: Include <float.h>.
51658         (__ieee754_exp10l): Handle underflow here rather than multiplying
51659         large negative argument by M_LN10l.
51660         * math/libm-test.inc (exp10_test): Add another test.  Do not allow
51661         spurious overflow exception on underflow.
51663 2012-04-29  Marek Polacek  <polacek@redhat.com>
51665         * misc/sys/cdefs.h (__attribute_artificial__): New macro.
51666         (__fortify_function): New macro.
51667         (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
51668         * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
51669         __extern_always_inline.
51670         * libio/bits/stdio2.h: Likewise.
51671         * libio/bits/stdio.h: Likewise.
51672         * string/string.h: Likewise.
51673         * string/bits/string3.h: Likewise.
51674         * include/stdio.h: Likewise.
51675         * stdlib/bits/stdlib.h: Likewise.
51676         * stdlib/stdlib.h: Likewise.
51677         * rt/bits/mqueue2.h: Likewise.
51678         * rt/mqueue.h: Likewise.
51679         * posix/bits/unistd.h: Likewise.
51680         * posix/unistd.h: Likewise.
51681         * io/bits/poll2.h: Likewise.
51682         * io/bits/fcntl2.h: Likewise.
51683         * io/fcntl.h: Likewise.
51684         * io/sys/poll.h: Likewise.
51685         * misc/bits/syslog.h: Likewise.
51686         * misc/bits/syslog-ldbl.h: Likewise.
51687         * misc/sys/syslog.h: Likewise.
51688         * socket/bits/socket2.h: Likewise.
51689         * socket/sys/socket.h: Likewise.
51690         * debug/tst-chk1.c: Likewise.
51691         * wcsmbs/bits/wchar2.h: Likewise.
51692         * wcsmbs/bits/wchar-ldbl.h: Likewise.
51693         * wcsmbs/wchar.h: Likewise.
51695 2012-04-29  Andreas Jaeger  <aj@suse.de>
51697         * Makerules (tests): Remove enable-check-abi protection.
51698         (check-abi-warn): Remove.
51699         (check-abi-%): Remove check-abi-warn usage.
51701         * configure.in: Remove check-abi configure option.
51702         * configure: Regenerated.
51703         * config.make.in (enable-check-abi): Remove.
51705 2012-04-28  Andreas Schwab  <schwab@linux-m68k.org>
51707         [BZ #14033]
51708         * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
51709         double functions to double *_finite functions.
51711         [BZ #13941]
51712         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
51713         (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
51714         LDBL_MIN_EXP.
51715         * stdio-common/Makefile (tests): Add tst-sprintf3.
51716         * stdio-common/tst-sprintf3.c: New file.
51718         * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
51719         ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
51721 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
51723         * conform/conformtest.pl: Remove duplicate typed-constant
51724         handling.
51726 2012-04-28  David S. Miller  <davem@davemloft.net>
51728         * Makerules (%.abilist): Add vpath on sysdep_dirs.
51729         (check-abi-%): Remove AWK script prerequisite and explicit
51730         abilist directory.
51731         (check-abi): Rewrite to just diff the symlist with the abilist.
51732         (config-tls, config-abi-config): Delete, no longer used.
51733         (update-abi-%): Remove AWK script and explicit abilist directory.
51734         (update-abi): Rewrite to simply compare and conditionally copy the
51735         symlist and the sysdep abilist file.  Remove update-abi-config
51736         checks.
51737         * abilist/ld.abilist: Remove.
51738         * abilist/libBrokenLocale.abilist: Remove.
51739         * abilist/libanl.abilist: Remove.
51740         * abilist/libcrypt.abilist: Remove.
51741         * abilist/libdl.abilist: Remove.
51742         * abilist/librt.abilist: Remove.
51743         * abilist/libthread_db.abilist: Remove.
51744         * abilist/libutil.abilist: Remove.
51745         * scripts/extract-abilist.awk: Remove.
51746         * scripts/merge-abilist.awk: Remove.
51747         * sysdeps/generic/libcidn.abilist: New file.
51748         * sysdeps/generic/libnss_compat.abilist: New file.
51749         * sysdeps/generic/libnss_db.abilist: New file.
51750         * sysdeps/generic/libnss_dns.abilist: New file.
51751         * sysdeps/generic/libnss_files.abilist: New file.
51752         * sysdeps/generic/libnss_hesiod.abilist: New file.
51753         * sysdeps/generic/libnss_nis.abilist: New file.
51754         * sysdeps/generic/libnss_nisplus.abilist: New file.
51755         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
51756         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
51757         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
51758         file.
51759         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
51760         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
51761         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
51762         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
51763         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
51764         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
51765         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
51766         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
51767         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
51768         file.
51769         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
51770         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
51771         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
51772         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
51773         file.
51774         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
51775         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
51776         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
51777         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
51778         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
51779         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
51780         file.
51781         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
51782         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
51783         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
51784         file.
51785         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
51786         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
51787         New file.
51788         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
51789         New file.
51790         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
51791         New file.
51792         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
51793         New file.
51794         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
51795         New file.
51796         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
51797         New file.
51798         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
51799         New file.
51800         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
51801         New file.
51802         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
51803         New file.
51804         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
51805         New file.
51806         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
51807         New file.
51808         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
51809         New file.
51810         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
51811         New file.
51812         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
51813         file.
51814         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
51815         New file.
51816         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
51817         New file.
51818         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
51819         file.
51820         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
51821         New file.
51822         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
51823         New file.
51824         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
51825         file.
51826         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
51827         New file.
51828         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
51829         New file.
51830         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
51831         New file.
51832         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
51833         New file.
51834         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
51835         New file.
51836         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
51837         New file.
51838         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
51839         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
51840         file.
51841         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
51842         New file.
51843         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
51844         file.
51845         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
51846         file.
51847         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
51848         file.
51849         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
51850         file.
51851         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
51852         file.
51853         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
51854         New file.
51855         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
51856         file.
51857         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
51858         file.
51859         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
51860         New file.
51861         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
51862         file.
51863         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
51864         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
51865         file.
51866         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
51867         New file.
51868         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
51869         file.
51870         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
51871         file.
51872         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
51873         file.
51874         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
51875         file.
51876         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
51877         file.
51878         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
51879         New file.
51880         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
51881         file.
51882         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
51883         file.
51884         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
51885         New file.
51886         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
51887         file.
51888         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
51889         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
51890         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
51891         file.
51892         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
51893         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
51894         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
51895         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
51896         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
51897         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
51898         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
51899         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
51900         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
51901         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
51902         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
51903         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
51904         file.
51905         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
51906         New file.
51907         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
51908         file.
51909         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
51910         file.
51911         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
51912         file.
51913         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
51914         file.
51915         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
51916         file.
51917         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
51918         New file.
51919         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
51920         New file.
51921         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
51922         file.
51923         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
51924         New file.
51925         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
51926         file.
51927         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
51928         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
51929         file.
51930         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
51931         New file.
51932         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
51933         file.
51934         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
51935         file.
51936         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
51937         file.
51938         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
51939         file.
51940         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
51941         file.
51942         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
51943         New file.
51944         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
51945         New file.
51946         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
51947         file.
51948         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
51949         New file.
51950         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
51951         file.
51953 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
51955         * conform/conformtest.pl: Fix typo in handling typed-constant from
51956         allow-header.
51958 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
51960         * README: Cut down references to pre-2.6 Linux kernels and
51961         Linuxthreads.  Update lists of configurations in libc and ports
51962         and sort alphabetically.  Say "or newer" with Linux kernel version
51963         requirements.
51965         * config.h.in [IS_IN_build]: Allow compiling without optimization.
51967 2012-04-27  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
51969         [BZ #887]
51970         * math/libm-test.inc (logb_test_downward): New test to expose
51971         erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
51972         rounding mode.
51974 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
51976         [BZ #14027]
51977         * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
51978         to be done.
51979         * math/fraiseexcpt.c (__feraiseexcept): Likewise.
51980         * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
51982 2012-04-26  Joseph Myers  <joseph@codesourcery.com>
51984         * sysdeps/unix/i386/brk.S: Remove file.
51985         * sysdeps/unix/i386/dl-brk.S: Likewise.
51986         * sysdeps/unix/i386/pipe.S: Likewise.
51987         * sysdeps/unix/i386/sigreturn.S: Likewise.
51988         * sysdeps/unix/i386/syscall.S: Likewise.
51989         * sysdeps/unix/i386/vfork.S: Likewise.
51990         * sysdeps/unix/i386/wait.S: Likewise.
51992         * sysdeps/unix/common/tcsendbrk.c: Move to ...
51993         * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
51995         * configure.in (arm*-none*): Do not allow without
51996         --enable-hacker-mode.
51997         (netbsd*): Remove case setting base_os.
51998         (386bsd*): Likewise.
51999         (freebsd*): Likewise.
52000         (bsdi*): Likewise.
52001         (osf*): Likewise.
52002         (sunos*): Likewise.
52003         (ultrix*): Likewise.
52004         (newsos*): Likewise.
52005         (dynix*): Likewise.
52006         (*bsd*): Likewise.
52007         (sysv*): Likewise.
52008         (isc*): Likewise.
52009         (esix*): Likewise.
52010         (sco*): Likewise.
52011         (minix*): Likewise.
52012         (irix4*): Likewise.
52013         (irix6*): Likewise.
52014         (solaris[2-9]*): Likewise.
52015         (none): Likewise.
52016         * configure: Regenerated.
52018 2012-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52020         [BZ #11521]
52021         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
52022         overflow or cancellation in calculating denominator.
52023         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
52024         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
52025         down expression to avoid unexpected rounding in newer GCCs.
52026         * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
52028 2012-04-26  David S. Miller  <davem@davemloft.net>
52030         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
52031         long-double compat symbols.
52032         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
52033         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
52034         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
52035         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
52036         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
52037         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
52038         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
52039         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
52040         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
52041         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
52042         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
52043         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
52044         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
52046 2012-04-25  David S. Miller  <davem@davemloft.net>
52048         * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
52049         HWCAP_* values only after the memory barriers have been defined.
52050         (atomic_full_barrier): Define.
52051         (atomic_read_barrier): Define.
52052         (atomic_write_barrier): Define.
52054 2012-04-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
52056         * shlib-versions: Add libgcc_s version information.
52057         * sysdeps/generic/libgcc_s.h: Remove.
52058         * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
52059         libgcc_s.h.
52060         * sysdeps/gnu/unwind-resume.c: Likewise.
52061         * scripts/test-installation.pl: Remove libgcc_s from link_libs.
52063 2012-04-25  David S. Miller  <davem@davemloft.net>
52065         * sysdeps/unix/sparc/brk.S: Delete.
52066         * sysdeps/unix/sparc/dl-brk.S: Delete.
52067         * sysdeps/unix/sparc/pipe.S: Delete.
52068         * sysdeps/unix/sparc/sysdep.S: Delete.
52069         * sysdeps/unix/sparc/sysdep.h: Delete.
52070         * sysdeps/unix/sparc/vfork.S: Delete.
52071         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
52072         (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
52073         * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
52074         (ret_ERRVAL, r0, r1, MOVE): Define.
52075         (JUMPTARGET): Remove.
52076         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
52077         sysdeps/unix/sparc/sysdep.h
52078         (ENTRY, END): Remove.
52079         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
52081 2012-04-25  Joseph Myers  <joseph@codesourcery.com>
52083         * Makerules (native-compile): Use $(BUILD_LDFLAGS).
52084         (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
52085         -DIS_IN_build.
52087         * timezone/README: Update upstream location and email address for
52088         tzcode and tzdata.
52089         * timezone/zdump.c: Update from tzcode 2012b.
52090         * timezone/zic.c: Likewise.
52092         * configure.in (libc_cv_as_needed): Remove test.
52093         * configure: Regenerated.
52094         * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
52095         conditional definition.
52096         [$(have-as-needed) != yes] (no-as-needed): Likewise.
52097         [$(have-as-needed) != yes] (libgcc_eh): Likewise.
52098         * config.make.in (have-as-needed): Remove variable.
52100 2012-04-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
52101             Paul Pluzhnikov  <ppluzhnikov@google.com>
52103         * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
52104         strings correctly.
52106 2012-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
52108         * sysdeps/sh/memcpy.S: Remove include of endian.h, change
52109         preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
52110         * sysdeps/sh/strlen.S: Likewise.
52112 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
52114         * sysdeps/unix/fork.S: Remove file.
52115         * sysdeps/unix/i386/fork.S: Likewise.
52116         * sysdeps/unix/sparc/fork.S: Likewise.
52118         * sysdeps/unix/system.c: Remove file.
52119         * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
52121         * sysdeps/unix/getegid.S: Remove file.
52122         * sysdeps/unix/geteuid.S: Likewise.
52124 2012-04-24  Roland McGrath  <roland@hack.frob.com>
52126         * scripts/check-localplt.awk: New file.
52127         * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
52128         of diff.
52129         * scripts/data/localplt-generic.data: Add a comment.
52131         * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
52132         NODE when __dir_mkfile failed.
52133         * sysdeps/mach/hurd/symlinkat.c: Likewise.
52134         Reported by Ludovic Courtès <ludo@gnu.org>.
52136 2012-04-24  Andreas Jaeger  <aj@suse.de>
52138         * Makerules (common-clean): Also remove gen-as-const-headers
52139         files.
52141 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
52143         * Makerules (native-compile): Do not change working directory for
52144         build.  Use $(OUTPUT_OPTION) in command.
52145         (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
52147 2012-04-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52149         [BZ #13886]
52150         * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
52151         sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
52152         * math/libm-test.inc (floor_test): Add more tests.
52153         * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
52155 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
52157         * sysdeps/unix/getdents.c: Remove file.
52158         * sysdeps/unix/sysv/getdents.c: Likewise.
52159         * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
52161         * sysdeps/unix/syscalls.list (madvise): Add syscall from
52162         sysdeps/unix/mman/syscalls.list.
52163         (mmap): Likewise.
52164         (mprotect): Likewise.
52165         (msync): Likewise.
52166         (munmap): Likewise.
52167         * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
52168         * sysdeps/unix/mman/syscalls.list: Remove.
52169         * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
52171         * configure.in (libc_cv_libgcc_s_suffix): Remove test.
52172         (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
52173         * configure: Regenerated.
52174         * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
52175         $(libgcc_s_suffix).
52176         * config.make.in (libgcc_s_suffix): Remove variable.
52178 2012-04-23  Joseph Myers  <joseph@codesourcery.com>
52180         * sysdeps/unix/sysv/gethostname.c: Move to ...
52181         * sysdeps/posix/gethostname.c: ... here.
52183         * sysdeps/unix/execve.S: Remove file.
52185         * sysdeps/unix/_exit.S: Remove file.
52187 2012-04-23  Andreas Jaeger  <aj@suse.de>
52189         [BZ #13739]
52190         * manual/Makefile: Remove make dist support, there's no
52191         need for a stand-alone documentation tar ball.
52192         (TEXI2DVI): Define always, it's not in Makeconfig.
52193         (dist): Removed.
52194         (tar-it): Removed.
52195         (edition): Removed.
52196         (glibc-doc-$(edition).tar): Removed
52197         (%.Z): Removed.
52198         (%.gz): Removed.
52199         (%.uu): Removed.
52200         (ETAGS): Remove, it's in Makeconfig.
52201         (move-if-change): Remove, it's in Makeconfig.
52203 2012-04-23  Paul Eggert  <eggert@cs.ucla.edu>
52205         [BZ #13970]
52206         * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
52207         (strtod, strtof, strtold, strtol, strtoul, strtoq)
52208         (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
52209         (strtod_l, strtof_l, strtold_l): Remove __wur.
52210         It is not necessarily an error to ignore strtol's return value.
52211         One can reliably look at the stored endptr to decide whether
52212         the number had valid syntax.
52214 2012-04-21  Andreas Jaeger  <aj@suse.de>
52216         [BZ #13739]
52217         * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
52219 2012-04-21  Joseph Myers  <joseph@codesourcery.com>
52221         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
52222         * sysdeps/unix/sysv/Versions: Remove file.
52224 2012-04-21  Markus Trippelsdorf  <markus@trippelsdorf.de>
52226         [BZ #13927]
52227         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
52229 2012-04-21  Nick Alcock  <nick.alcock@oracle.com>
52231         [BZ #7064]
52232         * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
52233         version from __vm86.
52235 2012-04-20  Joseph Myers  <joseph@codesourcery.com>
52237         * sysdeps/unix/common/lxstat.c: Remove file.
52238         * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
52240         * sysdeps/unix/sysv/Makefile: Remove file.
52242         * sysdeps/unix/sysv/direct.h: Remove file.
52244         * sysdeps/unix/sysv/bits/dirent.h: Remove file.
52245         * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
52246         * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
52247         * sysdeps/unix/sysv/bits/signum.h: Likewise.
52248         * sysdeps/unix/sysv/bits/stat.h: Likewise.
52249         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
52250         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
52252         * sysdeps/unix/sysv/setrlimit.c: Remove file.
52254         * sysdeps/unix/xmknod.c: Remove file.
52255         * sysdeps/unix/syscalls.list (sys_mknod): Remove.
52257         * sysdeps/unix/sysv/settimeofday.c: Remove file.
52259         * sysdeps/unix/sysv/i386/time.S: Remove file.
52261         * sysdeps/unix/fxstat.c: Remove file.
52262         * sysdeps/unix/xstat.c: Likewise.
52263         * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
52265         * sysdeps/unix/sysv/sigaction.c: Remove file.
52267         * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
52268         (sysdep_headers): Remove variable.
52269         [termio.h not in sysdep_headers] (generated): Likewise.
52270         [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
52271         * sysdeps/unix/sysv/sysv_termio.h: Remove file.
52272         * sysdeps/unix/sysv/tcdrain.c: Likewise.
52273         * sysdeps/unix/sysv/tcflow.c: Likewise.
52274         * sysdeps/unix/sysv/tcflush.c: Likewise.
52275         * sysdeps/unix/sysv/tcgetattr.c: Likewise.
52276         * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
52277         * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
52278         * sysdeps/unix/sysv/tcsetattr.c: Likewise.
52279         * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
52281         * sysdeps/unix/siglist.c: Remove file.
52283         * sysdeps/unix/getppid.S: Remove file.
52285         * sysdeps/unix/mkdir.c: Remove file.
52286         * sysdeps/unix/rmdir.c: Likewise.
52288 2012-04-19  Andreas Schwab  <schwab@linux-m68k.org>
52290         * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
52291         ERR_MAX value.
52292         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
52293         errlist-compat value.
52295 2012-04-18  David S. Miller  <davem@davemloft.net>
52297         * sysdeps/generic/memcopy.h (reg_char): Delete.
52298         * debug/strcat_chk.c: Use char, not reg_char.
52299         * debug/strcpy_chk.c: Likewise.
52300         * debug/strncat_chk.c: Likewise.
52301         * debug/strncpy_chk.c: Likewise.
52302         * string/memchr.c: Likewise.
52303         * string/memrchr.c: Likewise.
52304         * string/rawmemchr.c: Likewise.
52305         * string/strcat.c: Likewise.
52306         * string/strchr.c: Likewise.
52307         * string/strchrnul.c: Likewise.
52308         * string/strcmp.c: Likewise.
52309         * string/strcpy.c: Likewise.
52310         * string/strncat.c: Likewise.
52311         * string/strncmp.c: Likewise.
52312         * string/strncpy.c: Likewise.
52314 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
52316         * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
52317         __builtin_memcopy is called when src and dest ranges are known to not
52318         overlap.
52320 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
52322         * sysdeps/powerpc/powerpc64/power6/wordcopy.c
52323         (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
52324         fwd_align_merge macro call.
52325         (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
52326         bwd_align_merge macro call.
52327         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
52329 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
52331         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
52332         bwd_align_merge macros.
52333         (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
52334         (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
52335         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
52337 2012-04-18  David S. Miller  <davem@davemloft.net>
52339         * sysdeps/sparc/sparc64/memcopy.h: Delete.
52341 2012-04-18  Andreas Jaeger  <aj@suse.de>
52343         [BZ# 6794]
52344         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
52345         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
52346         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
52348         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
52349         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
52350         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
52352         * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
52353         * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
52354         Adjust for changed ldbl-128 files.
52356         * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
52357         * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
52358         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
52360 2012-04-17  David S. Miller  <davem@davemloft.net>
52362         * sysdeps/sparc/sparc32/memcopy.h: Delete.
52364 2012-04-17  Andreas Schwab  <schwab@linux-m68k.org>
52366         * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
52367         * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
52368         * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
52369         * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
52370         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
52371         * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
52373 2012-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52375         [BZ #6794]
52376         * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
52377         * math/libm-test.inc: Add ilogb errno and exception tests.
52378         * math/w_ilogb.c: New file: ilogb wrapper.
52379         * math/w_ilogbf.c: New file: ilogbf wrapper.
52380         * math/w_ilogbl.c: New file: ilogbl wrapper.
52381         * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
52382         * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
52383         * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
52384         exception being thrown with 0.0 as argument.
52385         * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
52386         * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
52387         exception being thrown with 0.0 as argument.
52388         * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
52389         * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
52390         exception being thrown with 0.0 as argument.
52391         * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
52392         * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
52393         exception being thrown with 0.0 as argument.
52394         * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
52395         * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
52396         * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
52397         * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
52398         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
52399         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
52400         * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
52401         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
52402         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
52404 2012-04-17  Petr Baudis  <pasky@ucw.cz>
52406         * include/sys/uio.h: Change __vector to __iovec to avoid clash
52407         with altivec.
52409 2012-04-16  Marek Polacek  <polacek@redhat.com>
52411         * elf/pldd-xx.c: Rename static_assert to pldd_assert.
52413 2012-04-16  Marek Polacek  <polacek@redhat.com>
52415         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
52416         operands of fdivp instruction.
52418 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
52420         * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
52421         * elf/tst-auditmod3b.c: Likewise.
52422         * elf/tst-auditmod4b.c: Likewise.
52423         * elf/tst-auditmod5b.c: Likewise.
52424         * elf/tst-auditmod6b.c: Likewise.
52425         * elf/tst-auditmod6c.c: Likewise.
52426         * elf/tst-auditmod7b.c: Likewise.
52427         * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
52428         * sysdeps/x86_64/preconfigure.in: Likewise.
52429         * sysdeps/x86_64/preconfigure: Regenerated.
52431 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
52433         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
52434         __ILP32__.
52436 2012-04-13  Antoine Balestrat <merkil33@gmail.com>
52438         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
52439         (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
52441 2012-04-13  Chris Leonard  <cjlhomeaddress@gmail.com>
52443         [BZ #13973]
52444         * locale/iso-639.def: Fix gl language name. Spotted by
52445         Yaron Shahrabani.
52447 2012-04-12  Roland McGrath  <roland@hack.frob.com>
52449         [BZ #2074]
52450         * libio/libio.h (__io_write_fn): Update comment.
52452 2012-04-12  Petr Baudis  <pasky@ucw.cz>
52454         [BZ #2074]
52455         * stdio.texi (Hook Functions): The user provided writer function
52456         is not allowed to return -1.
52458 2012-04-11  David S. Miller  <davem@davemloft.net>
52460         * sysdeps/sparc/fpu/libm-test-ulps: Update.
52462 2012-04-11  Mike Frysinger  <vapier@gentoo.org>
52464         * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
52465         Add a leading slash to rtkaio.
52467 2012-04-11  Jim Meyering  <meyering@redhat.com>
52469         [BZ #11959]
52470         * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
52471         It is not necessarily an error to ignore fwrite's return
52472         value.  One can reliably use ferror to test for errors after
52473         the fact.
52475 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
52477         * bits/types.h (__snseconds_t): New type.
52478         * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
52480         * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
52481         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
52482         (__SNSECONDS_T_TYPE): Likewise.
52483         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
52484         (__SNSECONDS_T_TYPE): Likewise.
52485         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
52486         (__SNSECONDS_T_TYPE): Likewise.
52488 2012-04-10  Andreas Jaeger  <aj@suse.de>
52490         [BZ #2636]
52491         * manual/time.texi (Processor Time): Return type of times is
52492         elapsed real time since an arbitrary point in the past.
52493         (CPU Time): Move CLK_TCK from here...
52494         (Processor Time): ...to here.  Correct description.
52495         * manual/conf.texi (Constants for Sysconf): Correct description of
52496         _SC_CLK_TCK.
52498 2012-04-10  David S. Miller  <davem@davemloft.net>
52500         [BZ #13967]
52501         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
52502         where the is a gap between DT_REL(A) and DT_JMPREL.
52504 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
52506         * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
52507         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
52508         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
52510 2012-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
52512         * elf/dl-support.c (_dl_inhibit_cache): New variable.
52513         * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
52514         (dl_main): Handle --inhibit-cache.
52515         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
52516         _dl_inhibit_cache.
52517         * elf/dl-load.c (_dl_map_object): Use it.
52518         * elf/Makefile: Define SYSCONFDIR when building rtld.c.
52520 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
52522         [BZ #13872]
52523         * sysdeps/i386/fpu/e_powl.S (p78): New object.
52524         (__ieee754_powl): Saturate large exponents rather than testing for
52525         overflow of y*log2(x).
52526         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
52527         * math/libm-test.inc (pow_test): Do not permit spurious overflow
52528         exceptions.
52530         [BZ #11521]
52531         * math/s_ctan.c: Include <float.h>.
52532         (__ctan): Avoid internal overflow or cancellation in calculating
52533         denominator.
52534         * math/s_ctanf.c: Likewise.
52535         * math/s_ctanl.c: Likewise.
52536         * math/s_ctanh.c: Likewise.
52537         * math/s_ctanhf.c: Likewise.
52538         * math/s_ctanhl.c: Likewise.
52539         * math/libm-test.inc (ctan_test): Add more tests.
52540         (ctanh_test): Likewise.
52541         * sysdeps/i386/fpu/libm-test-ulps: Update.
52542         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52544 2012-04-09  Andreas Jaeger  <aj@suse.de>
52546         [BZ #6894]
52547         * manual/filesys.texi (Directory Entries): Mention that d_namlen
52548         is an optional BSD extension.
52550         [BZ #10254]
52551         * manual/stdio.texi (Opening Streams): Document additional fopen
52552         parameters.
52554 2012-04-09  Roland McGrath  <roland@hack.frob.com>
52556         * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
52557         %eax without telling the compiler.
52559 2012-04-09  Carlos O'Donell  <carlos_odonell@mentor.com>
52561         [BZ # 13963]
52562         * manual/install.texi: Use sourceware.org.
52564 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
52566         [BZ #13873]
52567         * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
52568         (__ieee754_pow): Generate overflow and underflow using huge*huge
52569         and tiny*tiny rather than just returning constant infinity or zero
52570         for large exponents.
52571         * math/libm-test.inc (pow_test): Require overflow exceptions for
52572         applicable cases of large exponents.
52574         [BZ #706]
52575         * sysdeps/i386/fpu/e_pow.S (p10): New object.
52576         (__ieee754_pow): Use iterative multiplication algorithm only for
52577         integer exponents with absolute value below 1024.  Check for odd
52578         integer exponents when using algorithm for real exponents.
52579         * math/libm-test.inc (pow_test): Add more tests.
52580         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
52582 2012-04-08  Joseph Myers  <joseph@codesourcery.com>
52584         [BZ #13705]
52585         * math/libm-test.inc (exp_test): Do not allow overflow exception
52586         on underflow test.
52588 2012-04-08  Aurelien Jarno  <aurelien@aurel32.net>
52590         [BZ #13705]
52591         * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
52592         instead of __kernel_standard_f.
52594 2012-04-08  Mike Frysinger  <vapier@gentoo.org>
52596         * sysdeps/i386/i686/memset_chk.S: Update copyright year.
52597         * sysdeps/x86_64/memset_chk.S: Likewise.
52599 2012-04-08  Andreas Jaeger  <aj@suse.de>
52601         [BZ #10153]
52602         * manual/startup.texi (Environment Access): Describe return value
52603         for putenv and setenv.
52605         [BZ #6895]
52606         * manual/filesys.texi (Directory Entries): Add description for
52607         DT_LNK.
52609         [BZ #6890]
52610         * manual/filesys.texi (Directory Entries): Clarify that it's file
52611         system not operating system in the description of DT_UNKNOWN.
52613         [BZ #6578]
52614         * manual/syslog.texi (closelog): Fix reference, it's openlog.
52616 2012-04-08  Stephen Compall  <s11@member.fsf.org>
52618         [BZ #6649]
52619         * manual/llio.texi (Opening and Closing Files): Add cross
52620         reference to explain mode argument.
52622 2012-04-07  Mike Frysinger  <vapier@gentoo.org>
52624         * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
52625         * sysdeps/x86_64/memset_chk.S: Likewise.
52627 2012-04-07  David S. Miller  <davem@davemloft.net>
52629         * elf/elf.h (R_SPARC_WDISP10): Define.
52630         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
52631         R_SPARC_SIZE32.
52632         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
52633         R_SPARC_SIZE64 and R_SPARC_H34.
52635 2012-04-07  Carlos O'Donell  <carlos_odonell@mentor.com>
52637         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
52638         conditions and remove no longer applicable assertion.
52640 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
52642         * bits/byteswap.h: Include <features.h>.
52643         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
52644         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
52646 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
52648         * bits/byteswap.h (__bswap_16): Removed.
52649         Include <bits/byteswap-16.h> to get __bswap_16.
52650         * sysdeps/i386/bits/byteswap.h: Likewise.
52651         * sysdeps/s390/bits/byteswap.h: Likewise.
52652         * sysdeps/x86_64/bits/byteswap.h: Likewise.
52653         * bits/byteswap-16.h: New file.
52654         * sysdeps/i386/bits/byteswap-16.h: Likewise.
52655         * sysdeps/s390/bits/byteswap-16.h: Likewise.
52656         * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
52657         * string/Makefile (headers): Add bits/byteswap-16.h.
52659 2012-04-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
52661         [BZ #13895]
52662         * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
52663         extra indirection.
52664         * nss/Makefile (tests-static, tests): Add tst-nss-static.
52665         * nss/tst-nss-static.c: New.
52667 2012-04-06  Robert Millan  <rmh@gnu.org>
52669         [BZ #6486]
52670         * manual/llio.texi (File Position Primitive): lseek
52671         refers to WHENCE when it really means OFFSET.
52673 2012-04-06  Andreas Jaeger  <aj@suse.de>
52675         * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
52676         strncmp declarations.
52678         * abilist/libc.abilist: Add __poll and __ppoll.
52680 2012-04-05  David S. Miller  <davem@davemloft.net>
52682         * scripts/check-local-headers.sh: Accept a host triplet in the
52683         path matched by the exclude regexp.
52685         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
52686         definition.
52687         * sysdeps/powerpc/powerpc32/dl-machine.h
52688         (ELF_MACHINE_PLTREL_OVERLAP): Delete.
52689         * sysdeps/s390/s390-32/dl-machine.h
52690         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
52691         * sysdeps/sparc/sparc32/dl-machine.h
52692         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
52693         * sysdeps/sparc/sparc64/dl-machine.h
52694         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
52696         * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
52697         lazy binding.
52698         * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
52699         undefined symbol errors.
52701         * elf/rtld.c (dl_main): Skip VDSO when checking for unused
52702         DT_NEEDED entries.
52704 2012-04-05  Michael Matz  <matz@suse.de>
52706         [BZ #13592]
52707         * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
52709 2012-04-05  Andreas Jaeger  <aj@suse.de>
52711         [BZ #13908]
52712         * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
52713         comment.
52715 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
52717         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
52718         which ROUND is no valid rounding mode.
52720 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
52722         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
52723         read again.
52724         * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
52726 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
52728         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
52729         an exception using FPU order intentionally.
52731 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
52733         * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
52734         * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
52735         * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
52736         * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
52738 2012-04-05  Simon Josefsson  <simon@josefsson.org>
52740         [BZ #12340]
52741         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
52742         EINVAL when BUFLEN is too smal.
52744 2012-04-05  Thomas Schwinge  <thomas@codesourcery.com>
52746         [BZ #13553]
52747         * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
52748         * sysdeps/mach/powerpc/machine-lock.h: Likewise.
52750 2012-04-03  Andreas Jaeger  <aj@suse.de>
52752         [BZ #13938]
52753         * manual/setjmp.texi (System V contexts): Fix sentence.
52755         [BZ #13926]
52756         * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
52757         New macro for this case.
52758         [!__GNUC__] (__bswap_64): New inline function for this case.
52759         * sysdeps/x86_64/bits/byteswap.h: Likewise.
52760         * bits/byteswap.h: Likewise.
52761         * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
52762         ull, guard with __GLIBC_HAVE_LONG_LONG.
52764         * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
52765         __GLIBC_HAVE_LONG_LONG.
52767         * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
52768         Include <features.h> for __GLIBC_HAVE_LONG_LONG.
52770 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
52772         [BZ #13691]
52773         * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
52774         inptr and inend, rather than using last_ch.
52776 2012-04-02  David S. Miller  <davem@davemloft.net>
52778         With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
52779         * stdio-common/printf-parse.h (read_int): Change return type to
52780         'int', return -1 on INT_MAX overflow.
52781         * stdio-common/vfprintf.c (vfprintf): Validate width and precision
52782         against overflow of INT_MAX.  Set errno to EOVERFLOW when 'done'
52783         overflows INT_MAX.  Check for overflow of in-format-string precision
52784         values properly.  Use EOVERFLOW rather than ERANGE throughout.  Use
52785         SIZE_MAX not INT_MAX for integer overflow test.
52786         * stdio-common/printf-parsemb.c: If read_int signals an overflow,
52787         skip the construct in the format string but do not record anything.
52788         * stdio-common/bug22.c: Adjust to test both width/prevision
52789         INT_MAX overflow as well as total length INT_MAX overflow.  Check
52790         explicitly for proper errno values.
52792 2012-04-02  Thomas Schwinge  <thomas@codesourcery.com>
52794         * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
52795         CHAR_MAX.
52796         * string/test-strcmp.c [! WIDE]: Likewise.
52797         * time/tst-mktime2.c: Likewise for INT_MAX.
52798         * string/test-string.h: #include <sys/param.h> for MIN.
52800         * csu/init-first.c (__libc_init_first): Call __ctype_init.
52801         * sysdeps/i386/init-first.c (init): Likewise.
52802         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
52803         * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
52804         * sysdeps/sh/init-first.c (init): Likewise.
52806 2012-04-01  Ulrich Drepper  <drepper@gmail.com>
52808         * po/ru.po: Update from translation team.
52809         * po/vi.po: Likewise.
52811 2012-03-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
52813         * resolv/nss_dns/dns-host.c: Merge copyright years.
52815 2012-03-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
52817         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
52818         Optimize memcpy with prefetch if
52819         DATA_CACHE_SIZE_HALF <= len <  SHARED_CACHE_SIZE_HALF and
52820         src, dst pointers have unequal 16 byte alignments.
52822 2012-03-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
52824         [BZ #13928]
52825         * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
52826         from a CNAME entry and return the minimum ttl for the query.
52827         (gaih_getanswer_slice): Likewise.
52829 2012-03-30  Jeff Law  <law@redhat.com>
52831         * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
52832         due to long keys.
52833         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
52834         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
52836         * resolv/nss_dns/dns-host.c: Update copyright year.
52838 2012-03-30  Ulrich Drepper  <drepper@gmail.com>
52840         * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
52841         requests to save a system call.  Fix check that all bytes are sent.
52843         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
52844         comments for sendmmsg.
52846 2012-03-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
52848         [BZ #13691]
52849         * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
52850         with only 1 character between 0x0041 and 0x01b0.
52851         * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
52852         * wcsmbs/tst-mbsnrtowcs.c: New file.
52854 2012-03-29  David S. Miller  <davem@davemloft.net>
52856         * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
52857         small copies by hand.
52859 2012-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
52861         [BZ #13761]
52862         * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
52863         (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
52864         group memberships.
52866 2012-03-28  David S. Miller  <davem@davemloft.net>
52868         * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
52869         that branches into memcpy.
52870         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
52871         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
52872         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
52873         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
52874         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
52875         bits.
52876         * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
52877         implementation too.
52878         * sysdeps/sparc/mempcpy.S: New file.
52880         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
52881         the IFUNC routine in the libc case.
52882         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
52884         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
52885         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
52886         * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
52887         * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
52888         * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
52889         * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
52890         * sysdeps/sparc/sparc64/rtld-memset.c: New file.
52891         * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
52893         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
52894         loop to 256 bytes instead of 64 bytes and fix test signedness.
52896         * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
52897         * sysdeps/sparc/sparc32/Makefile: rather than here...
52898         * sysdeps/sparc/sparc64/Makefile: and here.
52900 2012-03-28  Ulrich Drepper  <drepper@gmail.com>
52902         * malloc/mallocbug.c: Avoid warnings about unused variables.
52904 2012-02-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
52906         [BZ #13760]
52907         * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
52908         in the right place. Discard and retry query if response is
52909         larger than input buffer size.
52911 2012-03-28  Joseph Myers  <joseph@codesourcery.com>
52913         [BZ #369]
52914         [BZ #2678]
52915         [BZ #3866]
52916         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
52917         x for large integer exponent.
52918         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
52919         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.  Adjust
52920         sign of result as needed afterwards.
52921         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
52922         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
52923         result for underflowing pow the same as for overflow.
52924         (__kernel_standard_l): Handle powl overflow and underflow here
52925         rather than calling __kernel_standard.
52926         * math/libm-test.inc (pow_test): Add more tests.
52928         [BZ #3868]
52929         [BZ #13879]
52930         [BZ #13910]
52931         [BZ #13911]
52932         [BZ #13912]
52933         [BZ #13913]
52934         [BZ #13915]
52935         [BZ #13916]
52936         [BZ #13917]
52937         [BZ #13918]
52938         [BZ #13919]
52939         [BZ #13920]
52940         [BZ #13921]
52941         * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
52942         * sysdeps/ieee754/k_standard.c: Include <float.h>.
52943         (__kernel_standard_l): New function.
52944         * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
52945         __kernel_standard.
52946         * math/w_acosl.c (__acosl): Likewise.
52947         * math/w_asinl.c (__asinl): Likewise.
52948         * math/w_atan2l.c (__atan2l): Likewise.
52949         * math/w_atanhl.c (__atanhl): Likewise.
52950         * math/w_coshl.c (__coshl): Likewise.
52951         * math/w_exp10l.c (__exp10l): Likewise.
52952         * math/w_exp2l.c (__exp2l): Likewise.
52953         * math/w_fmodl.c (__fmodl): Likewise.
52954         * math/w_hypotl.c (__hypotl): Likewise.
52955         * math/w_j0l.c (__j0l, __y0l): Likewise.
52956         * math/w_j1l.c (__j1l, __y1l): Likewise.
52957         * math/w_jnl.c (__jnl, __ynl): Likewise.
52958         * math/w_lgammal.c (__lgammal): Likewise.
52959         * math/w_log10l.c (__log10l): Likewise.
52960         * math/w_log2l.c (__log2l): Likewise.
52961         * math/w_logl.c (__logl): Likewise.
52962         * math/w_powl.c (__powl): Likewise.
52963         * math/w_remainderl.c (__remainderl): Likewise.
52964         * math/w_scalbl.c (sysv_scalbl): Likewise.
52965         * math/w_sinhl.c (__sinhl): Likewise.
52966         * math/w_sqrtl.c (__sqrtl): Likewise.
52967         * math/w_tgammal.c (__tgammal): Likewise.
52968         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
52969         * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
52970         * math/libm-test.inc (acos_test): Add more tests.
52971         (acosh_test): Likewise.
52972         (asin_test): Likewise.
52973         (atanh_test): Likewise.
52974         (exp_test): Likewise.
52975         (exp10_test): Likewise.
52976         (exp2_test): Likewise.
52977         (expm1_test): Likewise.
52978         (lgamma_test): Likewise.
52979         (log_test): Likewise.
52980         (log10_test): Likewise.
52981         (log1p_test): Likewise.
52982         (log2_test): Likewise.
52983         (pow_test): Do not allow some spurious overflow exceptions.
52984         (sqrt_test): Add more tests.
52985         (tgamma_test): Likewise.
52986         (y0_test): Likewise.
52987         (y1_test): Likewise.
52988         (yn_test): Likewise.
52990 2012-03-27  Anton Blanchard  <anton@samba.org>
52992         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
52993         MAP_HUGETLB.
52994         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
52995         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
52996         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
52998 2012-03-27  David S. Miller  <davem@davemloft.net>
53000         * conform/Makefile: Run run-conformtest.sh using $(BASH).
53002         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
53003         have-as-vis3 check.
53005 2012-03-27  Andreas Jaeger  <aj@suse.de>
53007         * sysdeps/x86_64/elf/configure.in: Moved to ...
53008         * sysdeps/x86_64/configure.in: ... here.
53009         * sysdeps/x86_64/elf/start.S: Moved to ...
53010         * sysdeps/x86_64/start.S: ... here.
53011         * sysdeps/x86_64/elf/configure: Delete.
53013         * sysdeps/x86_64/configure.in: Merge contents from
53014         sysdeps/i386/configure.in (without i686 check).
53016         * sysdeps/i386/elf/Versions: Merge into ...
53017         * sysdeps/i386/Versions: ... this.
53018         * sysdeps/i386/elf/Versions: Delete file.
53019         * sysdeps/i386/elf/start.S: Moved to ...
53020         * sysdeps/i386/start.S: ...here.
53021         * sysdeps/i386/elf/configure.in: Merge into...
53022         * sysdeps/i386/configure.in: ...here.
53023         * sysdeps/i386/elf/configure.in: Delete file.
53024         * sysdeps/i386/elf/configure: Delete file.
53026         * sysdeps/generic/elf/backtracesyms.c: Moved to ...
53027         * debug/backtracesyms.c: ... here.
53028         * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
53029         * debug/backtracesymsfd.c: ... here.
53030         * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
53031         * sysdeps/generic/ifunc-sel.h: ... here.
53033         * sysdeps/unix/i386/start.c: Delete file.
53034         * sysdeps/unix/sparc/start.c: Delete file.
53035         * sysdeps/unix/start.c: Delete file.
53037         * sysdeps/sh/elf/configure.in: Moved to ...
53038         * sysdeps/sh/configure.in: ... here.
53039         * sysdeps/sh/elf/start.S: Moved to ...
53040         * sysdeps/sh/start.S: ... here.
53041         * sysdeps/sh/elf/configure: Delete file.
53043         * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
53044         * sysdeps/powerpc/powerpc64/bzero.S: ... here.
53045         * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
53046         * sysdeps/powerpc/powerpc64/entry.h: ... here.
53047         * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
53048         * sysdeps/powerpc/powerpc64/start.S: here.
53049         * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
53050         * sysdeps/powerpc/powerpc64/Makefile: ... this.
53051         * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
53052         * sysdeps/powerpc/powerpc64/configure.in: ... this.
53053         * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
53055         * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
53056         * sysdeps/powerpc/powerpc32/bzero.S: ... here.
53057         * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
53058         * sysdeps/powerpc/powerpc32/start.S: ... here.
53059         * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
53060         * sysdeps/powerpc/powerpc32/configure.in: ... this.
53061         * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
53063         * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
53064         * sysdeps/powerpc/ifunc-sel.h: ... here.
53065         * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
53066         * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
53068         * sysdeps/sparc/elf/configure.in: Moved to ...
53069         * sysdeps/sparc/configure.in: ... here.
53070         * sysdeps/sparc/elf/configure: Delete file.
53071         * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
53072         * sysdeps/sparc/sparc32/start.S: ... here.
53073         * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
53074         * sysdeps/sparc/sparc64/start.S: ... here.
53075         * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
53076         * sysdeps/sparc/sparc32/Makefile: ... this.
53077         * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
53078         * sysdeps/sparc/sparc64/Makefile: ... this.
53080         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
53081         * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
53082         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
53083         * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
53084         * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
53085         * sysdeps/s390/s390-32/setjmp.S: ... here.
53086         * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
53087         * sysdeps/s390/s390-32/configure.in: ... here.
53088         * sysdeps/s390/s390-32/elf/configure: Delete file.
53089         * sysdeps/s390/s390-32/elf/start.S: Moved to ...
53090         * sysdeps/s390/s390-32/start.S: ... here.
53092         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
53093         * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
53094         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
53095         * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
53096         * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
53097         * sysdeps/s390/s390-64/setjmp.S: ... here.
53098         * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
53099         * sysdeps/s390/s390-64/configure.in: ... here
53100         * sysdeps/s390/s390-64/elf/configure: Delete file.
53101         * sysdeps/s390/s390-64/elf/start.S: Moved to ...
53102         * sysdeps/s390/s390-64/start.S: ... here.
53103         * sysdeps/s390/s390-64/elf/configure: Delete.
53105         * configure.in: Remove support for elf directories in sysdeps.
53107         * configure: Regenerated.
53108         * sysdeps/i386/configure: Regenerated.
53109         * sysdeps/powerpc/powerpc32/configure: Regenerated.
53110         * sysdeps/powerpc/powerpc64/configure: Regenerated.
53111         * sysdeps/s390/s390-32/configure: Regenerated.
53112         * sysdeps/s390/s390-64/configure: Regenerated.
53113         * sysdeps/sh/configure: Regenerated.
53114         * sysdeps/sparc/configure: Regenerated.
53115         * sysdeps/x86_64/configure: Regenerated.
53117 2012-03-26  Andreas Schwab  <schwab@linux-m68k.org>
53119         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
53121         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
53122         denormal result into account.
53124 2012-03-25  Roland McGrath  <roland@hack.frob.com>
53126         * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
53127         Reported by Allan McRae <allan@archlinux.org>.
53129 2012-03-23  Jeff Law  <law@redhat.com>
53131         * nss/getnssent.c (__nss_getent): Fix typo.
53133 2012-03-23  David S. Miller  <davem@davemloft.net>
53135         * sysdeps/sparc/fpu/libm-test-ulps: Update.
53137 2012-03-23  H.J. Lu  <hongjiu.lu@intel.com>
53139         * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
53140         to pad to uint64_t for each field.
53141         (dl_tls_index): Replace unsigned long with uint64_t.
53143 2012-03-23  Daniel Jacobowitz  <dmj@google.com>
53144         Paul Pluzhnikov  <ppluzhnikov@google.com>
53146         [BZ #6528]
53147         * grp/Makefile (otherlibs): Don't set it.
53148         * inet/Makefile (otherlibs): Likewise.
53149         * login/Makefile (otherlibs): Likewise.
53150         * nscd/Makefile (otherlibs): Likewise.
53151         * posix/Makefile (otherlibs): Likewise.
53152         * pwd/Makefile (otherlibs): Likewise.
53153         * rt/Makefile (otherlibs): Likewise.
53154         * sunrpc/Makefile (otherlibs): Likewise.
53155         * nss/Makefile (otherlibs): Likewise.
53156         Add libnss_files to routines and static-only-routines.
53157         ($(objpfx)getent): Remove rule.
53158         * resolv/Makefile: Add libnss_dns and libresolv to routines and
53159         static-only-routines.
53161 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
53163         [BZ #13892]
53164         * math/s_cexp.c: Include <float.h>.
53165         (__cexp): Handle exp result overflowing not necessarily
53166         overflowing both real and imaginary parts of result.
53167         * math/s_cexpf.c: Likewise.
53168         * math/s_cexpl.c: Likewise.
53169         * math/libm-test.inc (cexp_test): Add more tests.
53170         * sysdeps/i386/fpu/libm-test-ulps: Update.
53171         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53173 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
53175         * include/link.h (ELFW): New macro.
53176         * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
53177         Replace ELF64_R_TYPE with ELFW(R_TYPE).
53179 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
53181         * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
53182         with uint64_t.
53184 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
53186         * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
53187         declaration.
53188         (struct La_x32_retval): Likewise.
53190 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
53192         * sysdeps/x86_64/preconfigure.in: New file.
53193         * sysdeps/x86_64/preconfigure: New generated file.
53195 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
53197         [BZ #13824]
53198         * math/e_exp2l.c: Include <float.h>.
53199         (__ieee754_exp2l): Handle overflow and underflow cases
53200         separately.  Only pass fractional part of argument to
53201         __ieee754_expl.
53202         * math/libm-test.inc (exp2_test): Add more tests.
53204         * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
53205         negating x to take absolute value.
53206         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
53207         Likewise.
53208         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
53209         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
53210         Likewise.
53211         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
53212         computing low part if x was negated.
53213         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
53215 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
53217         * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
53218         la_x32_gnu_pltexit.
53219         (pltexit): Cast int_retval to ptrdiff_t.
53220         * elf/tst-auditmod3b.c: Likewise.
53221         * elf/tst-auditmod4b.c: Likewise.
53222         * elf/tst-auditmod5b.c: Likewise.
53223         * elf/tst-auditmod6b.c: Likewise.
53224         * elf/tst-auditmod6c.c: Likewise.
53225         * elf/tst-auditmod7b.c: Likewise.
53227         * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
53228         and x32_gnu_pltexit.
53230         * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
53231         __ELF_NATIVE_CLASS.
53232         (La_x32_regs): New macro.
53233         (La_x32_retval): Likewise.
53234         (la_x32_gnu_pltenter): New function prototype.
53235         (la_x32_gnu_pltexit): Likewise.
53237 2012-03-21  Andreas Schwab  <schwab@linux-m68k.org>
53239         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
53240         exponent.
53242         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
53244         * configure.in (libc_cv_cc_nofma): Check for option to disable
53245         generation of FMA instructions.
53246         * configure: Regenerate.
53247         * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
53248         * sysdeps/ieee754/dbl-64/Makefile: New file.
53249         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
53250         Remove brandred-fma4.
53251         (CFLAGS-brandred-fma4.c): Remove.
53252         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
53253         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
53254         define.
53255         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
53256         define.
53258 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
53260         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
53261         LLONG_MAX != LONG_MAX.
53262         (_itoa_word): Use _ITOA_WORD_TYPE on value.
53263         (_fitoa_word): Likewise.
53264         * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
53265         LLONG_MAX != LONG_MAX.
53266         * stdio-common/_itowa.h: Include <_itoa.h>.
53267         (_itowa_word): Use _ITOA_WORD_TYPE on value.
53268         (_itowa): New macro.  Defined only if _ITOA_NEEDED is false.
53269         * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro.  Defined
53270         only if not defined.
53271         (_ITOA_WORD_TYPE): Likewise.
53272         (_itoa_word): Use _ITOA_WORD_TYPE on value.
53273         Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
53275 2012-03-21  David S. Miller  <davem@davemloft.net>
53277         * sysdeps/sparc/fpu/libm-test-ulps: Update.
53279 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
53281         * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
53282         of x86_64 when setting libc_cv_slibdir, libdir and
53283         libc_cv_localedir.
53284         * sysdeps/unix/sysv/linux/configure: Regenerated.
53286 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
53288         * manual/lang.texi (Old Varargs): Remove section.
53289         (How Variadic): Update menu.
53290         (va_start): Do not mention varargs.h.
53292 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
53293             Joseph Myers  <joseph@codesourcery.com>
53295         * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
53296         link test.
53297         * configure: Regenerated.
53299 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
53301         * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
53302         * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
53303         conformtest.pl
53305 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
53307         * NOTES: Remove.
53308         * Makefile (files-for-dist): Remove NOTES.
53309         (NOTES): Remove rule.
53310         * README: Don't refer to NOTES.
53311         * manual/creature.texi: Don't include macros.texi.
53312         * manual/intro.texi (creature.texi): Remove comment referring to
53313         NOTES.
53315         * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
53316         * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
53317         * configure: Regenerated.
53318         * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
53319         LIBC_TRY_CC_OPTION.
53320         (libc_cv_as_i686): Likewise.
53321         (libc_cv_cc_avx): Likewise.
53322         (libc_cv_cc_sse2avx): Likewise.
53323         (libc_cv_cc_fma4): Likewise.
53324         (libc_cv_cc_novzeroupper): Likewise.
53325         * sysdeps/i386/configure: Regenerated.
53327         [BZ #13883]
53328         * sysdeps/i386/fpu/s_cexp.S: Remove.
53329         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
53330         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
53331         * math/libm-test.inc (cexp_test): Add more tests.
53332         * sysdeps/i386/fpu/libm-test-ulps: Update.
53333         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53335 2012-03-21  Allan McRae  <allan@archlinux.org>
53337         * timezone/Makefile: Do not install iso3166.tab and zone.tab
53339 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
53341         [BZ #13871]
53342         * math/w_exp2.c: Do not include <float.h>.
53343         (o_threshold, u_threshold): Remove.
53344         (__exp2): Calculate result before checking finiteness and calling
53345         __kernel_standard.
53346         * math/w_exp2f.c: Likewise.
53347         * math/w_exp2l.c: Likewise.
53348         * math/libm-test.inc (exp2_test): Require overflow exception for
53349         1e6 input.
53351         [BZ #3866]
53352         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
53353         range of signed 64-bit integers before using fistpll.  Remove
53354         checks for whether integers fit in mantissa bits.
53355         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
53356         the range of signed 32-bit integers before using fistpl.  Remove
53357         checks for whether integers fit in mantissa bits.
53358         * sysdeps/i386/fpu/e_powl.S (p64): New object.
53359         (__ieee754_powl): Test for y outside the range of signed 64-bit
53360         integers before using fistpll.  Reduce 64-bit values to 63-bit
53361         ones as needed.
53362         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
53363         divide-by-zero is raised for zero to large negative powers.
53364         * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
53365         (__ieee754_powl): Test for y outside the range of signed 64-bit
53366         integers before using fistpll.  Reduce 64-bit values to 63-bit
53367         ones as needed.
53368         * math/libm-test.inc (pow_test): Add more tests.
53370 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
53372         * debug/backtracesymsfd.c: Include <_itoa.h> instead of
53373         <stdio-common/_itoa.h>.
53374         * debug/segfault.c: Likewise.
53375         * elf/dl-cache.c: Likewise.
53376         * elf/dl-minimal.c: Likewise.
53377         * elf/dl-misc.c: Likewise.
53378         * elf/dl-sysdep.c: Likewise.
53379         * elf/dl-version.c: Likewise.
53380         * elf/rtld.c: Likewise.
53381         * hurd/hurdsock.c: Likewise.
53382         * hurd/lookup-retry.c: Likewise.
53383         * malloc/malloc.c: Likewise.
53384         * malloc/mtrace.c: Likewise.
53385         * nscd/nscd_getgr_r.c: Likewise.
53386         * nscd/nscd_getpw_r.c: Likewise.
53387         * nscd/nscd_getserv_r.c: Likewise.
53388         * posix/getopt_init.c: Likewise.
53389         * posix/wordexp.c: Likewise.
53390         * stdio-common/_itoa.c: Likewise.
53391         * stdio-common/printf_fphex.c: Likewise.
53392         * stdio-common/vfprintf.c: Likewise.
53393         * string/_strerror.c: Likewise.
53394         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
53395         * sysdeps/i386/i686/hp-timing.h: Likewise.
53396         * sysdeps/mach/_strerror.c: Likewise.
53397         * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
53398         * sysdeps/mach/hurd/sethostid.c: Likewise.
53399         * sysdeps/mach/hurd/xmknodat.c: Likewise.
53400         * sysdeps/mach/xpg-strerror.c: Likewise.
53401         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
53402         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
53403         * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
53404         * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
53405         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
53406         * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
53407         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
53408         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
53409         * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
53410         * sysdeps/unix/sysv/linux/futimes.c: Likewise.
53411         * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
53412         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
53413         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
53414         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
53415         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
53416         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
53417         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
53418         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
53419         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
53420         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
53421         * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
53423         * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
53425         * stdio-common/_itoa.h: Moved to ...
53426         * sysdeps/generic/_itoa.h: Here.
53428         * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
53430         * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
53431         instead of "_itoa.h" and "_itowa.h".
53432         * stdio-common/vfprintf.: Likewise.
53434 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
53436         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
53437         <bits/wordsize.h>.
53438         (__signbitf): Check __x86_64__ instead of __WORDSIZE.
53439         (__signbit): Likwise.
53440         (llrintf): Likwise.
53441         (llrint): Likwise.
53443 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
53445         * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
53446         __WORDSIZE != 64.
53448 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
53450         * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
53451         OVERFLOW_EXCEPTION_OK.
53452         * math/libm-test.inc ("Philosophy"): Update comment about
53453         exception testing.
53454         (OVERFLOW_EXCEPTION): Define.
53455         (OVERFLOW_EXCEPTION_OK): Likewise.
53456         (INVALID_EXCEPTION_OK): Renumber.
53457         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
53458         (IGNORE_ZERO_INF_SIGN): Likewise.
53459         (test_exceptions): Handle FE_OVERFLOW.
53460         (exp10_test): Expect overflow exceptions.
53461         (exp2_test): Likewise.
53462         (expm1_test): Likewise.
53463         (nextafter_test): Likewise.
53464         (pow_test): Likewise.
53465         (scalbn_test): Likewise.
53466         (scalbln_test): Likewise.
53468 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
53470         * sysdeps/x86_64/bits/atomic.h
53471         (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
53472         64bit integer.
53473         (atomic_exchange_acq): Likewise.
53474         (__arch_exchange_and_add_body): Likewise.
53475         (__arch_add_body): Likewise.
53476         (atomic_add_negative): Likewise.
53477         (atomic_add_zero): Likewise.
53479 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
53481         * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
53482         (fenv_t): Check __x86_64__ instead of __WORDSIZE.
53484 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
53486         * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
53487         Check __x86_64__ instead of __WORDSIZE.
53489 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
53491         * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
53493 2012-03-19  David S. Miller  <davem@davemloft.net>
53495         * sysdeps/sparc/fpu/libm-test-ulps: Update.
53497         * sysdeps/sparc/fpu/fenv_private.h: New file.
53498         * sysdeps/sparc/fpu/math_private.h: Use it.
53499         (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
53500         Remove.
53501         (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
53502         (libc_feholdexcept_setroundl): Remove.
53503         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
53504         Remove.
53505         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
53506         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
53508 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
53510         * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
53511         int64_t instead of long int.
53512         (INSERT_WORDS64): Likwise.
53514 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
53516         * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
53517         _Unwind_GetCFA return to _Unwind_Ptr first.
53519 2012-03-19  Joseph Myers  <joseph@codesourcery.com>
53521         [BZ #13629]
53522         * math/s_clog.c: Include <float.h>.
53523         (__clog): Scale large or subnormal inputs.
53524         * math/s_clogf.c: Likewise.
53525         * math/s_clogl.c: Likewise.
53526         * math/s_clog10.c: Include <float.h>.
53527         (M_LOG10_2): Define.
53528         (__clog10): Scale large or subnormal inputs.
53529         * math/s_clog10f.c: Likewise.
53530         * math/s_clog10l.c: Likewise.
53531         * math/libm-test.inc (clog_test): Add more tests.
53532         (clog10_test): Likewise.
53533         * sysdeps/i386/fpu/libm-test-ulps: Update.
53534         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53536         [BZ #11451]
53537         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
53538         x and y.
53539         * math/libm-test.inc (atan2_test): Add another test.
53541         * Makerules (common-objdir-compile): Remove.
53542         * sysdeps/unix/Makefile (config-generated): Do not add
53543         $(unix-generated) to variable.
53544         [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
53545         [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
53546         Remove rule.
53547         [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
53548         Likewise.
53549         [generic bits/local_lim.h] (before-compile): Do not append to
53550         variable.
53551         [generic bits/local_lim.h] (common-generated): Likewise.
53552         [generic sys/param.h] (before-compile): Do not append to variable.
53553         [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
53554         [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
53555         [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
53556         [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
53557         include.
53558         [generic sys/param.h] (sys/param.h-includes): Remove variable.
53559         [generic sys/param.h] (sys/param.h-includes): Remove rule.
53560         [generic sys/param.h] ($(addprefix
53561         $(common-objpfx),$(sys/param.h-includes))): Likewise.
53562         [generic sys/param.h] (common-generated): Do not append to
53563         variable.
53564         [generic sys/param.h] (sysdep_headers): Likewise.
53565         [generic bits/errno.h] (before-compile): Do not append to
53566         variable.
53567         [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
53568         rule.
53569         [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
53570         [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
53571         [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
53572         [generic bits/errno.h] (common-generated): Do not append to
53573         variable.
53574         [generic bits/ioctls.h] (before-compile): Do not append to
53575         variable.
53576         [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
53577         rule.
53578         [generic bits/ioctls.h] (ioctl-includes): Remove variable.
53579         [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
53580         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
53581         rule.
53582         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
53583         [generic bits/ioctls.h] (bits_termios.h): Remove variable.
53584         [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
53585         [generic bits/ioctls.h] (common-generated): Do not append to
53586         variable.
53587         [generic sys/syscall.h] (syscall.h): Remove variable.
53588         [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
53589         rule.
53590         [generic sys/syscall.h] (before-compile): Do not append to
53591         variable.
53592         [generic sys/syscall.h] (common-generated): Likewise.
53593         * sysdeps/unix/errnos-tmpl.c: Remove file.
53594         * sysdeps/unix/errnos.awk: Likewise.
53595         * sysdeps/unix/ioctls-tmpl.c: Likewise.
53596         * sysdeps/unix/ioctls.awk: Likewise.
53597         * sysdeps/unix/mk-local_lim.c: Likewise.
53598         * sysdeps/unix/snarf-ioctls: Likewise.
53600 2012-03-19  Richard Henderson  <rth@twiddle.net>
53602         * sysdeps/i386/fpu/fenv_private.h: New file.
53603         * sysdeps/i386/fpu/math_private.h: Use it.
53604         (math_opt_barrier, math_force_eval): Remove.
53605         (libc_feholdexcept_setround_53bit): Remove.
53606         (libc_feupdateenv_53bit): Remove.
53607         * sysdeps/x86_64/fpu/math_private.h: Likewise.
53608         (math_opt_barrier, math_force_eval): Remove.
53609         (libc_feholdexcept): Remove.
53610         (libc_feholdexcept_setround): Remove.
53611         (libc_fetestexcept, libc_fesetenv): Remove.
53612         (libc_feupdateenv_test): Remove.
53613         (libc_feupdateenv, libc_feholdsetround): Remove.
53614         (libc_feresetround): Remove.
53616         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
53617         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
53619         * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
53620         (libc_feupdateenv_test, libc_feupdateenv_testf): New.
53621         (libc_feupdateenv_testl): New.
53622         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
53623         (libc_feupdateenv_testf): New.
53624         (libc_feupdateenv): Use libc_feupdateenv_test.
53625         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
53626         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
53628         * sysdeps/generic/math_private.h (libc_feholdsetround): New.
53629         (libc_feholdsetroundf, libc_feholdsetroundl): New.
53630         (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
53631         (libc_feresetround_noex): New.
53632         (libc_feresetround_noexf): New.
53633         (libc_feresetround_noexl): New.
53634         (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
53635         (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
53636         (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
53637         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
53638         SET_RESTORE_ROUND.
53639         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
53640         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
53641         (__cos): Likewise.
53642         * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
53643         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
53644         SET_RESTORE_ROUND_NOEX.
53645         * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
53646         SET_RESTORE_ROUND_NOEXF.
53647         * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
53648         * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
53649         (libc_feholdsetroundf): New.
53650         (libc_feresetround, libc_feresetroundf): New.
53652         * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
53653         (libc_feholdexcept_setround_53bit): Convert from macro to function.
53654         (libc_feupdateenv_53bit): Likewise.  Don't force _FPU_EXTENDED.
53656         * sysdeps/generic/math_private.h: Include <fenv.h>.
53657         (default_libc_feholdexcept): New.
53658         (default_libc_feholdexcept_setround): New.
53659         (default_libc_fesetenv, default_libc_feupdateenv): New.
53660         (libc_feholdexcept): Only define if undefined.
53661         (libc_feholdexceptf, libc_feholdexceptl): Likewise.
53662         (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
53663         (libc_feholdexcept_setroundl): Likewise.
53664         (libc_feholdexcept_setround_53bit): Likewise.
53665         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
53666         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
53667         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
53668         (libc_feupdateenv_53bit): Likewise.
53669         * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
53670         (libc_feholdexcept): Convert from macro to inline function.
53671         (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
53672         (libc_fesetenv, libc_feupdateenv): Likewise.
53674         * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
53675         not previously defined.
53676         (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
53677         (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
53678         (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
53679         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
53680         * sysdeps/ieee754/flt-32/math_private.h: New file.
53681         * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
53682         math_private.h below SET_FLOAT_WORD.
53683         (__isnan, __isinf_ns, __finite): Remove.
53684         (__isnanf, __isinf_nsf, __finitef): Remove.
53686 2012-03-18  Andreas Schwab  <schwab@linux-m68k.org>
53688         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
53690 2012-03-17  David S. Miller  <davem@davemloft.net>
53692         [BZ #6471]
53693         * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
53694         for 2.16.
53696 2012-03-16  David S. Miller  <davem@davemloft.net>
53698         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
53699         warnings.
53701         [BZ #6471]
53702         * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
53703         properly.
53704         * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
53705         * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
53706         sysdep_routines when subdir is sysvipc.
53707         * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
53708         __getshmlba helper.
53710         * sysdeps/sparc/fpu/libm-test/ulps: Update.
53712 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
53714         * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
53715         [__LP64__].
53717 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
53719         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
53720         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
53721         (__lround): Renamed to ...
53722         (__llround): This.  Replace long int with long long int.
53723         Define lround functions as aliases of llround functions.
53724         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
53726 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
53728         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
53729         Use greg_t on sp.  Use unsigned int on idx_uc_link.  Cast
53730         adresses to uintptr_t.  Replace "long int" and "unsigned long
53731         int" with "greg_t" on va_arg.
53733 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
53735         * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
53736         * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
53738         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
53739         Move e_machine check before EI_CLASS check.  Handle x32
53740         libraries.  Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
53741         * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
53742         SKIP_EM_IA_64 and include
53743         <sysdeps/unix/sysv/linux/i386/readelflib.c>.
53745         * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
53746         Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
53747         (add_system_dir): New macro.
53749         * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
53750         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
53752 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
53754         [BZ #2551]
53755         [BZ #2552]
53756         [BZ #2553]
53757         [BZ #2554]
53758         [BZ #2562]
53759         [BZ #2563]
53760         [BZ #2565]
53761         [BZ #2566]
53762         [BZ #2576]
53763         * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
53764         (y0): Likewise.
53765         * math/w_j0f.c (j0f): Likewise.
53766         (y0f): Likewise.
53767         * math/w_j0l.c (__j0l): Likewise.
53768         (__y0l): Likewise.
53769         * math/w_j1.c (j1): Likewise.
53770         (y1): Likewise.
53771         * math/w_j1f.c (j1f): Likewise.
53772         (y1f): Likewise.
53773         * math/w_j1l.c (__j1l): Likewise.
53774         (__y1l): Likewise.
53775         * math/w_jn.c (jn): Likewise.
53776         (yn): Likewise.
53777         * math/w_jnf.c (jnf): Likewise.
53778         (ynf): Likewise.
53779         * math/w_jnl.c (__jnl): Likewise.
53780         (__ynl): Likewise.
53781         * math/libm-test.inc (j0_test): Add more tests.
53782         (j1_test): Likewise.
53783         (jn_test): Likewise.  Add trailing semicolon to existing test.
53784         (y0_test): Likewise.
53785         (y1_test): Likewise.
53786         * sysdeps/i386/fpu/libm-test-ulps: Update.
53787         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53789         [BZ #13851]
53790         [BZ #13854]
53791         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
53792         libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
53793         * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
53794         * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
53795         (__tanl): Set errno for infinite argument.
53796         * sysdeps/i386/fpu/mptan.c: Remove.
53797         * sysdeps/i386/fpu/s_tan.S: Likewise.
53798         * sysdeps/i386/fpu/s_tanl.S: Likewise.
53799         * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
53800         * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
53801         * math/libm-test.inc (tan_test): Add more tests and enable more
53802         tests for double and long double.
53803         * sysdeps/i386/fpu/libm-test-ulps: Update.
53804         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53806 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
53808         * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
53809         (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
53811 2012-03-16  Roland McGrath  <roland@hack.frob.com>
53813         * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
53814         * configure.in: Use it for both main tree and add-ons.
53815         * configure: Regenerated.
53817 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
53819         * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
53821 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
53823         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
53824         in comment.
53826         [BZ #13851]
53827         * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
53828         * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
53829         * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
53830         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
53831         * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
53832         infinite argument.
53833         * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
53834         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
53835         != 0 for prec == 2.
53836         * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
53837         * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
53838         * sysdeps/i386/fpu/s_cosl.S: Likewise.
53839         * sysdeps/i386/fpu/s_sincosl.S: Likewise.
53840         * sysdeps/i386/fpu/s_sinl.S: Likewise.
53841         * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
53842         * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
53843         * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
53844         * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
53845         * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
53846         * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
53847         * math/libm-test.inc (cos_test): Add more tests and enable more
53848         tests for long double.
53849         (sin_test): Likewise.
53850         (sincos_test): Likewise.
53851         * sysdeps/i386/fpu/libm-test-ulps: Update.
53852         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53854 2012-03-16  David S. Miller  <davem@davemloft.net>
53856         * sysdeps/sparc/fpu/math_private.h: New file.
53858 2012-03-15  David S. Miller  <davem@davemloft.net>
53860         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
53861         file.
53862         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
53863         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
53864         file.
53865         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
53866         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
53867         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
53868         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
53869         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
53870         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
53871         sysdep routines.
53872         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
53874         * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
53875         * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
53877         * sysdeps/sparc/sparc-ifunc.h: New file.
53878         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
53879         sparc-ifunc.h
53880         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
53881         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
53882         Likewise.
53883         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
53884         Likewise.
53885         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
53886         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
53887         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
53888         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
53889         Likewise.
53890         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
53891         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
53892         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
53893         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
53894         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
53895         Likewise.
53896         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
53897         Likewise.
53898         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
53899         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
53900         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
53901         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
53902         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
53903         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
53904         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
53905         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
53906         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
53907         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
53908         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
53909         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
53910         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
53911         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
53912         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
53913         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
53914         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
53915         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
53916         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
53917         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
53918         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
53919         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
53920         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
53921         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
53923 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
53925         * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
53926         scaling.
53927         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
53929 2012-03-15  Andreas Jaeger  <aj@suse.de>
53931         [BZ #13852]
53932         * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
53933         ieee754/flt-32 implementation for sin, cos and sincos.
53934         * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
53935         * sysdeps/i386/fpu/s_cosf.S: Likewise.
53936         * sysdeps/i386/fpu/s_sincosf.S: Likewise.
53937         * sysdeps/i386/fpu/s_sinf.S: Likewise.
53938         * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
53939         ieee754/flt-32 implementation for tan.
53941         * math/libm-test.inc (cos_test): Enable some large input tests for
53942         float as well
53943         (sin_test): Likewise.
53944         (sincos_test): Likewise.
53945         (tan_test): Add tests for large input.
53947         * sysdeps/i386/fpu/libm-test-ulps: Update.
53949 2012-03-15  Andreas Jaeger  <aj@suse.de>
53951         [BZ #13658]
53952         * math/libm-test.inc (cos_test): Add more test cases.
53953         (sin_test): Likewise.
53954         (sincos_test): Likewise.
53956 2012-03-15  Andreas Jaeger  <aj@suse.de>
53958         [BZ #13837]
53959         * math/libm-test.inc (cos_test): Add a test case for large input
53960         value.
53961         (sin_test): Likewise.
53962         (sincos_test): Likewise.
53964 2012-03-15  Andreas Jaeger  <aj@suse.de>
53965             Joseph Myers  <joseph@codesourcery.com>
53967         [BZ #13658]
53968         * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
53969         x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
53970         * sysdeps/i386/fpu/branred.c: Likewise.
53971         * sysdeps/i386/fpu/dosincos.c: Likewise.
53972         * sysdeps/i386/fpu/mpa.c: Likewise.
53973         * sysdeps/i386/fpu/s_cos.S: Likewise.
53974         * sysdeps/i386/fpu/s_sin.S: Likewise.
53975         * sysdeps/i386/fpu/s_sincos.S: Likewise.
53976         * sysdeps/i386/fpu/sincos32.c: Likewise.
53978         * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
53979         Define.
53980         (libc_feupdateenv_53bit): Define.
53981         * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
53982         Define.
53983         (libc_feupdateenv_53bit): Define.
53985         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
53986         53 bit (without extend i386 double precision).
53988         * math/libm-test.inc (sincos_test): Add tests for large input.
53989         (sin): Likewise.
53990         (cos): Likewise.
53992         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
53994 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
53996         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
53998 2012-03-15  David S. Miller  <davem@davemloft.net>
54000         * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
54001         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
54002         * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
54003         * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
54004         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
54005         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
54006         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
54007         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
54008         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
54009         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
54010         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
54011         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
54012         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
54013         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
54014         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
54015         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
54016         file.
54017         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
54018         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
54019         file.
54020         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
54021         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
54022         file.
54023         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
54024         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
54025         file.
54026         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
54027         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
54028         fmin/fmax sysdep routines.
54029         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
54031 2012-03-14  David S. Miller  <davem@davemloft.net>
54033         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
54034         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
54035         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
54036         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
54037         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
54038         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
54039         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
54040         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
54041         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
54042         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
54043         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
54044         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
54045         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
54046         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
54047         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
54048         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
54049         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
54050         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
54051         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
54052         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
54053         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
54054         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
54055         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
54056         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
54057         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
54058         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
54059         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
54060         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
54061         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
54062         routines.
54063         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
54064         file.
54065         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
54066         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
54067         file.
54068         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
54069         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
54070         file.
54071         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
54072         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
54073         file.
54074         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
54075         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
54076         file.
54077         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
54078         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
54079         file.
54080         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
54081         file.
54082         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
54083         file.
54084         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
54085         file.
54086         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
54087         New file.
54088         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
54089         file.
54090         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
54091         file.
54092         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
54093         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
54094         file.
54095         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
54096         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
54097         file.
54098         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
54099         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
54100         file.
54101         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
54102         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
54103         VIS3 routines.
54105         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
54106         New file.
54108         * sysdeps/sparc/fpu/libm-test-ulps: Update.
54110         * sysdeps/sparc/configure.in: New file.
54111         * sysdeps/sparc/configure: Generate.
54112         * configure.in (libc_cv_sparc_as_vis3): Substitute.
54113         * configure: Regenerate.
54114         * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
54115         * config.make.in (have-as-vis3): New.
54116         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
54117         available use -Av9d instead of -Av9a.
54118         * sysdeps/sparc/sparc64/Makefile: Likewise.
54119         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
54120         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
54121         New file.
54122         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
54123         file.
54124         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
54125         New file.
54126         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
54127         file.
54128         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
54129         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
54130         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
54131         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
54132         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
54134         * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
54135         fzeros/fnegs to load 0x80000000 into a float register instead of
54136         using the stack.
54137         * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
54139 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
54141         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
54142         bits/syscall.h.
54143         ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
54144         ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
54145         ($(inst_includedir)/bits/syscall.h): Remove rule.
54146         ($(objpfx)bits/syscall.d): Include instead of
54147         $(objpfx)syscall-list.d.
54148         (generated): Change syscall-list.h and syscall-list.d to
54149         bits/syscall.h and bits/syscall.d.
54151 2012-03-14  Roland McGrath  <roland@hack.frob.com>
54153         [BZ #13846]
54154         * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
54156 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
54158         [BZ #13841]
54159         * math/s_csqrt.c: Include <float.h>.
54160         (__csqrt): Scale large or subnormal inputs.
54161         * math/s_csqrtf.c: Likewise.
54162         * math/s_csqrtl.c: Likewise.
54163         * math/libm-test.inc (csqrt_test): Add more tests.
54164         * sysdeps/i386/fpu/libm-test-ulps: Update.
54165         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54167         [BZ #13840]
54168         * math/libm-test.inc (hypot_test): Add more tests.
54170 2012-03-13  David S. Miller  <davem@davemloft.net>
54172         [BZ #13840]
54173         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
54174         double-precision for the calculation instead of scaling.
54176 2012-03-13  Joseph Myers  <joseph@codesourcery.com>
54178         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
54179         manipulate bits before adding and subtracting TWO52[sx].
54180         * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
54181         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
54182         Likewise.
54183         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
54185 2012-03-13  David S. Miller  <davem@davemloft.net>
54187         * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
54188         * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
54189         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
54190         rtld-global-offsets.h
54191         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
54193         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
54194         large parameters.
54196         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
54198         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
54199         'err' in the ifdef scope in which it is actually used.
54201         * nss/nss_db/db-init.c: Include string.h
54203 2012-03-12  David S. Miller  <davem@davemloft.net>
54205         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
54206         masking out of the most significant byte of random value used.
54207         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
54208         Fix coding style in previous change.
54210         * sysdeps/unix/sysv/linux/kernel-features.h
54211         (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
54212         (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
54213         expression.
54214         (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
54215         later.
54217 2012-03-11  David S. Miller  <davem@davemloft.net>
54219         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
54220         (__makecontext): Fix signedness of pointer casts setting up 'sp'.
54221         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
54222         for 'resultvar' otherwise things get truncated on 64-bit.
54224         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
54225         Fix masking out of the most significant byte of random value used.
54227         * sysdeps/sparc/fpu/libm-test-ulps: Update.
54229 2012-03-10  Andreas Schwab  <schwab@linux-m68k.org>
54231         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
54233 2012-03-09  David S. Miller  <davem@davemloft.net>
54235         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
54236         variables with appropriate CPP guards.
54237         * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
54238         from the frame pointer, not the stack pointer.  Correct layout
54239         comments.  Fix test on resulting framesize and the management of
54240         the outregs buffer for pltexit.  Preserve floating point return
54241         values across _dl_call_pltexit call.
54242         * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
54243         framesize and the management of the outregs buffer for pltexit.
54244         Preserve floating point return values across _dl_call_pltexit
54245         call.
54246         * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
54247         (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
54248         (la_sparc64_gnu_pltexit): New functions.
54249         (print_exit): Fix format string for return register value.
54251 2012-03-10  Joseph Myers  <joseph@codesourcery.com>
54253         * sunrpc/Makefile (others): Add rpcgen.
54254         ($(objpfx)rpcgen): Remove special build rule and dependency on
54255         libc.
54256         * sunrpc/rpcgen.c: New file.
54258 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
54260         [BZ #13673]
54261         * posix/bug-regex33.c: Replace FSF snail mail address with URL.
54262         * stdio-common/bug-vfprintf-nargs.c: Likewise.
54263         * sysdeps/i386/crti.S: Likewise.
54264         * sysdeps/i386/crtn.S: Likewise.
54265         * sysdeps/powerpc/powerpc32/crti.S: Likewise.
54266         * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
54267         * sysdeps/powerpc/powerpc64/crti.S: Likewise.
54268         * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
54269         * sysdeps/sh/crti.S: Likewise.
54270         * sysdeps/sh/crtn.S: Likewise.
54271         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
54273         [BZ #13673]
54274         * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
54275         with URL.
54276         * locale/programs/locfile-kw.gperf: Likewise.
54277         * locale/programs/charmap-kw.h: Regenerated.
54278         * locale/programs/locfile-kw.h: Likewise.
54280         [BZ #13673]
54281         * intl/plural.y: Replace FSF snail mail address with URL.
54282         * intl/plural.c: Regenerated.
54284 2012-03-09  Richard Henderson  <rth@twiddle.net>
54286         * include/math_private.h: Remove file.
54287         * math/math_private.h: Move file ...
54288         * sysdeps/generic/math_private.h: ... here.
54290         * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
54291         * sysdeps/powerpc/fpu/math_private.h: Likewise.
54292         * sysdeps/x86_64/fpu/math_private.h: Likewise.
54294         * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
54295         and <math_private.h>.
54296         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
54297         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
54298         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
54299         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
54300         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
54301         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
54302         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
54303         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
54304         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
54305         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
54306         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
54307         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
54308         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
54309         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
54310         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
54311         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
54312         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
54313         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
54314         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
54315         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
54316         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
54317         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
54318         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
54319         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
54320         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
54321         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
54322         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
54323         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
54324         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
54325         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
54326         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
54327         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
54328         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
54329         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
54330         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
54331         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
54332         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
54333         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
54334         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
54335         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
54336         * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
54337         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
54338         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
54339         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
54340         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
54341         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
54342         * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
54343         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
54344         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
54345         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
54346         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
54347         * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
54348         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
54349         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
54350         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
54351         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
54352         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
54353         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
54354         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
54355         * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
54356         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
54357         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
54358         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
54359         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
54360         * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
54361         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
54362         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
54363         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
54364         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
54365         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
54366         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
54367         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
54368         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
54369         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
54370         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
54371         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
54372         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
54373         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
54374         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
54375         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
54376         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
54377         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
54378         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
54379         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
54380         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
54381         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
54382         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
54383         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
54384         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
54385         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
54386         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
54387         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
54388         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
54389         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
54390         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
54391         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
54392         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
54393         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
54394         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
54395         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
54396         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
54397         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
54398         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
54399         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
54400         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
54401         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
54402         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
54403         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
54404         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
54405         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
54406         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
54407         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
54408         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
54409         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
54410         * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
54411         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
54412         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
54413         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
54414         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
54415         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
54416         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
54417         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
54418         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
54419         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
54420         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
54421         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
54422         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
54423         * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
54424         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
54425         * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
54426         * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
54427         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
54428         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
54429         * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
54430         * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
54431         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
54432         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
54433         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
54434         * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
54435         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
54436         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
54437         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
54438         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
54439         * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
54440         * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
54441         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
54442         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
54443         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
54444         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
54445         * sysdeps/ieee754/k_standard.c: Likewise.
54446         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
54447         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
54448         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
54449         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
54450         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
54451         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
54452         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
54453         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
54454         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
54455         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
54456         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
54457         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
54458         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
54459         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
54460         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
54461         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
54462         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
54463         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
54464         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
54465         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
54466         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
54467         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
54468         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
54469         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
54470         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
54471         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
54472         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
54473         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
54474         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
54475         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
54476         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
54477         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
54478         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
54479         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
54480         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
54481         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
54482         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
54483         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
54484         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
54485         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
54486         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
54487         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
54488         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
54489         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
54490         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
54491         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
54492         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
54493         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
54494         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
54495         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
54496         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
54497         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
54498         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
54499         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
54500         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
54501         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
54502         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
54503         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
54504         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
54505         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
54506         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
54507         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
54508         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
54509         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
54510         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
54511         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
54512         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
54513         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
54514         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
54515         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
54516         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
54517         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
54518         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
54519         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
54520         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
54521         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
54522         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
54523         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
54524         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
54525         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
54526         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
54527         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
54528         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
54529         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
54530         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
54531         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
54532         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
54533         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
54534         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
54535         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
54536         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
54537         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
54538         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
54539         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
54540         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
54541         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
54542         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
54543         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
54544         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
54545         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
54546         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
54547         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
54548         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
54549         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
54550         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
54551         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
54552         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
54553         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
54554         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
54555         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
54556         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
54557         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
54558         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
54559         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
54560         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
54561         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
54562         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
54563         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
54564         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
54565         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
54566         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
54567         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
54568         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
54569         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
54570         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
54571         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
54572         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
54573         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
54574         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
54575         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
54576         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
54577         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
54578         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
54579         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
54580         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
54581         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
54582         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
54583         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
54584         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
54585         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
54586         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
54587         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
54588         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
54589         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
54590         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
54591         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
54592         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
54593         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
54594         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
54595         * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
54596         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
54597         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
54598         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
54599         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
54600         * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
54601         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
54602         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
54603         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
54604         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
54605         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
54606         * sysdeps/ieee754/s_lib_version.c: Likewise.
54607         * sysdeps/ieee754/s_matherr.c: Likewise.
54608         * sysdeps/ieee754/s_signgam.c: Likewise.
54609         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
54610         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
54611         * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
54612         * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
54613         * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
54614         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
54615         * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
54616         * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
54617         * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
54618         * sysdeps/powerpc/fpu/s_rint.c: Likewise.
54619         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
54620         * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
54621         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
54622         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
54623         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
54624         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
54625         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
54626         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
54627         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
54628         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
54629         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
54631 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
54633         * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
54634         * sunrpc/rpc_main.c: Likewise.
54635         * sunrpc/rpc_svcout.c: Likewise.
54637 2012-03-09  David S. Miller  <davem@davemloft.net>
54639         * include/math_private.h: New file.
54641 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
54643         * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
54644         * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
54645         * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
54646         from <bits/socket_type.h>.
54647         (enum __socket_type): Don't define here.
54648         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
54649         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
54650         bits/socket_type.h.
54652         [BZ #13566]
54653         * libio/stdio.h (gets): Always declare for C++ up to C++11 without
54654         checking __USE_GNU.
54656         * Makerules ($(inst_includedir)/%.h): New rule.
54657         * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
54658         (install-others): Remove variable setting.
54659         ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
54661 2012-03-08  Richard Henderson  <rth@twiddle.net>
54663         * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
54664         from macro to inline function; merge with the
54665         !__LIBC_INTERNAL_MATH_INLINES version.
54666         (__ieee754_sqrtf): Likewise.
54668         * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
54669         to inline function.
54670         (__rintf, __floor, __floorf): Likewise.
54672         * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
54673         macro to inline function.
54674         (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
54676         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
54677         not <math/math_private.h>.
54679 2012-03-08  David S. Miller  <davem@davemloft.net>
54681         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
54682         copyright year.
54683         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
54685 2012-03-08  Thomas Schwinge  <thomas@codesourcery.com>
54687         * resolv/gai_misc.c (handle_requests): Fix struct timespec
54688         normalization.
54689         * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
54690         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
54692 2012-03-08  Ulrich Drepper  <drepper@gmail.com>
54694         * stdio-common/tst-fphex.c: Various cleanups.  The macros cannot
54695         be defined individually, they must be defined as a block.  Define
54696         S for printing a string instead of hidint the different by using a
54697         macro for adding the 'l'.
54698         * stdio-common/tst-fphex-wide.c: Adjust.
54700 2012-03-07  Marek Polacek  <polacek@redhat.com>
54702         * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
54704 2012-03-08  Marek Polacek  <polacek@redhat.com>
54706         [BZ #13806]
54707         * stdio-common/Makefile (tests): Add tst-fphex-wide.
54708         * stdio-common/tst-fphex.c: Define a few macros to make the
54709         test reusable.  Use them.
54710         * stdio-common/tst-fphex-wide.c: New file.
54712 2012-03-08  Joseph Myers  <joseph@codesourcery.com>
54714         [BZ #6911]
54715         * manual/macros.texi (gnusystems): New macro.
54716         (nongnusystems): Likewise.
54717         (gnulinuxhurdsystems): Likewise.
54718         (gnuhurdsystems): Likewise..
54719         (gnulinuxsystems): Likewise.
54720         * manual/charset.texi: Use new macros or @theglibc{} to refer to
54721         variants of the GNU system, not "GNU system".
54722         * manual/conf.texi: Likewise.
54723         * manual/errno.texi: Likewise.  Update example of errno macro
54724         expansion.
54725         * manual/filesys.texi: Likewise.
54726         (getumask): Document as specific to GNU/Hurd.
54727         * manual/install.texi: Likewise.  Reword some references to
54728         GNU/Linux.
54729         * manual/intro.texi: Likewise.
54730         * manual/io.texi: Likewise.
54731         (File Name Portability): Detail which constraints are inapplicable
54732         to all GNU systems and which are only inapplicable to GNU/Hurd.
54733         * manual/job.texi: Likewise.
54734         * manual/llio.texi: Likewise.
54735         (O_NOCTTY): Document as present on GNU/Linux.
54736         * manual/maint.texi: Likewise.
54737         * manual/memory.texi: Likewise.
54738         * manual/pattern.texi: Likewise.
54739         * manual/pipe.texi: Likewise.
54740         * manual/process.texi: Likewise.
54741         * manual/resource.texi: Likewise.
54742         (RUSAGE_CHILDREN): Remove statement about specifying a particular
54743         child on GNU/Hurd.
54744         * manual/setjmp.texi: Likewise.
54745         * manual/signal.texi: Likewise.
54746         * manual/startup.texi: Likewise.
54747         * manual/stdio.texi: Likewise.
54748         * manual/terminal.texi: Likewise.
54749         (ONLCR): Document as POSIX.
54750         (OXTABS): Document availability on GNU/Linux as XTABS.
54751         (ONOEOT): Document availability separately from other bits.
54752         (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
54753         * manual/time.texi: Likewise.
54754         * manual/users.texi: Likewise.
54755         * INSTALL: Regenerated.
54756         * sysdeps/gnu/errlist.c: Regenerated.
54758         * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
54759         * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
54760         (libc_cv_ctors_header): Likewise.  Use asm ("") instead of calling
54761         puts.
54762         * configure: Regenerated.
54764 2012-03-07  Joseph Myers  <joseph@codesourcery.com>
54766         * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
54767         default includes instead of AC_HEADER_CHECK.
54768         * sysdeps/i386/configure: Regenerated.
54770         [BZ #10716]
54771         * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
54772         * math/s_cacoshf.c (__cacoshf): Likewise.
54773         * math/s_cacoshl.c (__cacoshl): Likewise.
54774         * math/s_casinh.c (__casinh): Set signs of result from argument.
54775         * math/s_casinhf.c (__casinhf): Likewise.
54776         * math/s_casinhl.c (__casinhl): Likewise.
54777         * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
54778         (casinh_test): Add more tests.
54779         * sysdeps/i386/fpu/libm-test-ulps: Update.
54780         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54782 2012-03-07  Ulrich Drepper  <drepper@gmail.com>
54784         * po/zh_TW.po: Update from translation team.
54786         * login/Makefile (distribute): Remove variable.
54787         * catgets/Makefile: Likewise.
54788         * mach/Makefile: Likewise.
54789         * malloc/Makefile: Likewise.
54790         * misc/Makefile: Likewise.
54791         * iconv/Makefile: Likewise.
54792         * nscd/Makefile: Likewise.
54793         * hurd/Makefile: Likewise.
54794         * manual/Makefile: Likewise.
54795         * locale/Makefile: Likewise.
54796         * intl/Makefile: Likewise.
54797         * conform/Makefile: Likewise.
54798         * nss/Makefile: Likewise.
54799         * time/Makefile: Likewise.
54800         * soft-fp/Makefile: Likewise.
54801         * dirent/Makefile: Likewise.
54802         * gmon/Makefile: Likewise.
54803         * po/Makefile: Likewise.
54804         * rt/Makefile: Likewise.
54805         * socket/Makefile: Likewise.
54806         * math/Makefile: Likewise.
54807         * signal/Makefile: Likewise.
54808         * debug/Makefile: Likewise.
54809         * elf/Makefile: Likewise.
54810         * timezone/Makefile: Likewise.
54811         * stdlib/Makefile: Likewise.
54812         * iconvdata/Makefile: Likewise.
54813         * sunrpc/Makefile: Likewise.
54814         * io/Makefile: Likewise.
54815         * argp/Makefile: Likewise.
54816         * inet/Makefile: Likewise.
54817         * hesiod/Makefile: Likewise.
54818         * grp/Makefile: Likewise.
54819         * csu/Makefile: Likewise.
54820         * wctype/Makefile: Likewise.
54821         * crypt/Makefile: Likewise.
54822         * libio/Makefile: Likewise.
54823         * string/Makefile: Likewise.
54824         * nis/Makefile: Likewise.
54825         * resolv/Makefile: Likewise.
54826         * stdio-common/Makefile: Likewise.
54827         * wcsmbs/Makefile: Likewise.
54828         * dlfcn/Makefile: Likewise.
54829         * posix/Makefile: Likewise.
54831         [BZ #6959]
54832         * timezone/Makefile: Don't install timezone files, just the programs
54833         and scripts.
54835 2012-03-06  Ulrich Drepper  <drepper@gmail.com>
54837         * nss/databases.def: Add missing gshadow entry.
54839         * stdio-common/vfprintf.c: Fix formatting.  Missing copyright update.
54841 2012-03-06  Marek Polacek  <polacek@redhat.com>
54843         [BZ #13726]
54844         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
54845         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
54846         * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
54847         * stdio-common/tst-long-dbl-fphex.c: New file.
54849 2012-03-06  David S. Miller  <davem@davemloft.net>
54851         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
54852         (set_obp_int): New function.
54853         (get_obp_int): New function.
54854         (__get_clockfreq_via_dev_openprom): Likewise.
54855         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
54856         Avoid unused variable warnings on 'val' and use builtin_expect.
54857         (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
54858         __builtin_expect.
54859         (INLINE_CLONE_SYSCALL): Likewise.
54861 2012-03-05  David S. Miller  <davem@davemloft.net>
54863         * sysdeps/sparc/fpu/libm-test-ulps: Update.
54865 2012-03-05  Andreas Schwab  <schwab@linux-m68k.org>
54867         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
54869         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
54870         only for |x| >= 40.
54871         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
54873 2012-03-05  H.J. Lu  <hongjiu.lu@intel.com>
54875         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
54876         Replace gettimeofday with __vdso_gettimeofday.
54878         * sysdeps/unix/sysv/linux/x86_64/init-first.c
54879         (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
54880         __vdso_clock_gettime and __vdso_getcpu.
54882         * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
54883         time with __vdso_time.
54885 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
54887         * manual/lang.texi (size_t): Note types to which size_t may be
54888         equivalent with the GNU C Library, but do not describe when
54889         differences between them are significant.
54891 2012-03-05  Andreas Jaeger  <aj@suse.de>
54893         * sysdeps/i386/fpu/libm-test-ulps: Update.
54895 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
54897         [BZ #3976]
54898         * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
54899         (__ieee754_pow): Save and restore rounding mode and use
54900         round-to-nearest for main computations.
54901         * math/libm-test.inc (pow_test_tonearest): New function.
54902         (pow_test_towardzero): Likewise.
54903         (pow_test_downward): Likewise.
54904         (pow_test_upward): Likewise.
54905         (main): Call the new functions.
54906         * sysdeps/i386/fpu/libm-test-ulps: Update.
54907         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54909         [BZ #3976]
54910         * math/libm-test.inc (cosh_test_tonearest): New function.
54911         (cosh_test_towardzero): Likewise.
54912         (cosh_test_downward): Likewise.
54913         (cosh_test_upward): Likewise.
54914         (sinh_test_tonearest): Likewise.
54915         (sinh_test_towardzero): Likewise.
54916         (sinh_test_downward): Likewise.
54917         (sinh_test_upward): Likewise.
54918         (main): Call the new functions.
54919         * sysdeps/i386/fpu/libm-test-ulps: Update.
54920         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54922 2012-03-05  Tom de Vries  <tom@codesourcery.com>
54924         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
54925         default stack guard is set in last bytes.
54926         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
54928 2012-03-05  Kees Cook  <keescook@chromium.org>
54930         * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
54932         [BZ #13656]
54933         * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
54934         possibly allocate from heap instead of stack.
54935         * stdio-common/bug-vfprintf-nargs.c: New file.
54936         * stdio-common/Makefile (tests): Add nargs overflow test.
54938 2012-03-03  Andreas Schwab  <schwab@linux-m68k.org>
54940         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
54942 2012-03-03  Marek Polacek  <polacek@redhat.com>
54944         * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
54945         * math/math_private.h: Likewise.
54946         * stdlib/tst-strtod.c: Likewise.
54947         * sysdeps/i386/i486/bits/atomic.h: Likewise.
54948         * sysdeps/x86_64/bits/atomic.h: Likewise.
54950 2012-03-02  David S. Miller  <davem@davemloft.net>
54952         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
54953         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
54954         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
54955         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
54956         * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
54957         * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
54958         * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
54959         * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
54961 2012-03-02  Roland McGrath  <roland@hack.frob.com>
54963         [BZ #13792]
54964         * manual/examples/README: New file, says the example source files
54965         can be used under GPL>=2.
54966         * manual/Makefile (%.c.texi): Eat the leading part of the file until a
54967         line containing just "*/".
54968         * manual/examples/add.c: Add copyright header (GPL>=2).
54969         * manual/examples/argp-ex1.c: Likewise.
54970         * manual/examples/argp-ex2.c: Likewise.
54971         * manual/examples/argp-ex3.c: Likewise.
54972         * manual/examples/argp-ex4.c: Likewise.
54973         * manual/examples/atexit.c: Likewise.
54974         * manual/examples/db.c: Likewise.
54975         * manual/examples/dir.c: Likewise.
54976         * manual/examples/dir2.c: Likewise.
54977         * manual/examples/execinfo.c: Likewise.
54978         * manual/examples/filecli.c: Likewise.
54979         * manual/examples/filesrv.c: Likewise.
54980         * manual/examples/fmtmsgexpl.c: Likewise.
54981         * manual/examples/genpass.c: Likewise.
54982         * manual/examples/inetcli.c: Likewise.
54983         * manual/examples/inetsrv.c: Likewise.
54984         * manual/examples/isockad.c: Likewise.
54985         * manual/examples/longopt.c: Likewise.
54986         * manual/examples/memopen.c: Likewise.
54987         * manual/examples/memstrm.c: Likewise.
54988         * manual/examples/mkfsock.c: Likewise.
54989         * manual/examples/mkisock.c: Likewise.
54990         * manual/examples/mygetpass.c: Likewise.
54991         * manual/examples/pipe.c: Likewise.
54992         * manual/examples/popen.c: Likewise.
54993         * manual/examples/rprintf.c: Likewise.
54994         * manual/examples/search.c: Likewise.
54995         * manual/examples/select.c: Likewise.
54996         * manual/examples/setjmp.c: Likewise.
54997         * manual/examples/sigh1.c: Likewise.
54998         * manual/examples/sigusr.c: Likewise.
54999         * manual/examples/stpcpy.c: Likewise.
55000         * manual/examples/strdupa.c: Likewise.
55001         * manual/examples/strftim.c: Likewise.
55002         * manual/examples/strncat.c: Likewise.
55003         * manual/examples/subopt.c: Likewise.
55004         * manual/examples/swapcontext.c: Likewise.
55005         * manual/examples/termios.c: Likewise.
55006         * manual/examples/testopt.c: Likewise.
55007         * manual/examples/testpass.c: Likewise.
55008         * manual/examples/timeval_subtract.c: Likewise.
55010         [BZ #13792]
55011         * manual/time.texi (Elapsed Time): Move timeval_subtract example
55012         function to ...
55013         * manual/timeval_subtract.c.texi: ... here, new file.
55015 2012-03-02  David S. Miller  <davem@davemloft.net>
55017         * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
55019 2012-03-02  Joseph Myers  <joseph@codesourcery.com>
55021         [BZ #3976]
55022         * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
55023         (__sin): Save and restore rounding mode and use round-to-nearest
55024         for all computations.
55025         (__cos): Save and restore rounding mode and use round-to-nearest
55026         for all computations.
55027         * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
55028         <fenv.h>.
55029         (tan): Save and restore rounding mode and use round-to-nearest for
55030         all computations.
55031         * math/libm-test.inc (cos_test_tonearest): New function.
55032         (cos_test_towardzero): Likewise.
55033         (cos_test_downward): Likewise.
55034         (cos_test_upward): Likewise.
55035         (sin_test_tonearest): Likewise.
55036         (sin_test_towardzero): Likewise.
55037         (sin_test_downward): Likewise.
55038         (sin_test_upward): Likewise.
55039         (tan_test_tonearest): Likewise.
55040         (tan_test_towardzero): Likewise.
55041         (tan_test_downward): Likewise.
55042         (tan_test_upward): Likewise.
55043         (main): Call the new functions.
55044         * sysdeps/i386/fpu/libm-test-ulps: Update.
55045         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55047         [BZ #10135]
55048         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
55049         small n, then large n, before computing and testing k+n.
55050         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
55051         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
55052         Likewise.
55053         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
55054         Likewise.
55055         * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
55056         * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
55057         * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
55058         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
55059         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
55060         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
55061         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
55062         * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
55063         * math/libm-test.inc (scalbn_test): Add more tests.
55064         (scalbln_test): Likewise.
55066         * manual/filesys.texi (mode_t): Describe constraints on size and
55067         signedness, not exact equivalence to a particular type.
55068         (ino_t): Likewise.
55069         (ino64_t): Likewise.
55070         (dev_t): Likewise.
55071         (nlink_t): Likewise.
55072         (blkcnt_t): Likewise.
55073         (blkcnt64_t): Likewise.
55074         * manual/llio.texi (off_t): Likewise.
55076         [BZ #3976]
55077         * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
55078         (__ieee754_exp): Save and restore rounding mode and use
55079         round-to-nearest for all computations.
55080         * math/libm-test.inc (exp_test_tonearest): New function.
55081         (exp_test_towardzero): Likewise.
55082         (exp_test_downward): Likewise.
55083         (exp_test_upward): Likewise.
55084         (main): Call the new functions.
55085         * sysdeps/i386/fpu/libm-test-ulps: Update.
55086         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55088 2012-03-01  Chris Demetriou  <cgd@google.com>
55090         * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
55091         have predictable order.
55093 2012-03-01  David S. Miller  <davem@davemloft.net>
55095         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
55097         * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
55098         * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
55099         * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
55100         * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
55102         * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
55103         * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
55104         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
55105         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
55106         * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
55107         * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
55108         * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
55109         * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
55110         * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
55112         * sysdeps/sparc/fpu/libm-test-ulps: Update.
55114         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
55115         * sysdeps/sparc/fpu/libm-test-ulps: to here.
55116         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
55118         * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
55119         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
55120         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
55121         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
55122         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
55123         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
55124         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
55125         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
55126         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
55127         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
55128         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
55129         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
55130         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
55131         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
55132         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
55133         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
55134         * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
55135         * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
55136         * sysdeps/sparc/elf/configure: Regenerated.
55138 2012-03-01  Joseph Myers  <joseph@codesourcery.com>
55140         * configure.in (AS, LD): Require binutils 2.20 or later.
55141         * configure: Regenerated.
55142         * manual/install.texi (Tools for Compilation): Give binutils 2.20
55143         as required minimum version.
55144         * INSTALL: Regenerated.
55146         [BZ #2541]
55147         [BZ #4108]
55148         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
55149         before squaring exponent.
55150         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
55151         bottom long double and 27 bits of top long double before squaring
55152         exponent.
55153         * math/libm-test.inc (erfc_test): Add more tests.
55154         * sysdeps/i386/fpu/libm-test-ulps: Update.
55155         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
55156         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55158 2012-03-01  Kai Tietz  <ktietz@redhat.com>
55160         * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
55161         * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
55162         containing bit-fields.
55163         * soft-fp/extended.h (_FP_UNION_E): Likewise.
55164         * soft-fp/single.h (_FP_UNION_S): Likewise.
55165         * soft-fp/double.h (_FP_UNION_D): Likewise.
55167 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
55169         [BZ #13786]
55170         * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
55171         not include ../strcmp.S.
55172         [USE_AS_STRNCASECMP_L]: Likewise.
55173         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
55174         (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
55175         * sysdeps/i386/i686/multiarch/strncase_l-c.c
55176         (__strncasecmp_l_ia32): Define as alias to
55177         __strncasecmp_l_nonascii.
55179         [BZ #5794]
55180         * math/libm-test.inc (expm1_test): Add test for bug 5794.
55181         * sysdeps/i386/fpu/libm-test-ulps: Update.
55182         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55184         * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
55185         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55187 2012-02-29  Jeff Law  <law@redhat.com>
55189         * resolv/res_query.c (__libc_res_nquerydomain): Avoid
55190         out of bounds read.
55192 2012-02-29  Marek Polacek  <polacek@redhat.com>
55194         [BZ #13706]
55195         * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
55196         * elf/Makefile: Add rules to run tst-unused-dep.out.
55198 2012-02-28  David S. Miller  <davem@davemloft.net>
55200         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
55201         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
55202         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
55203         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
55204         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
55205         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
55207 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
55209         * math/libm-test.inc (llround_test): Move one test from
55210         lround_test.  Use TEST_f_L in moved test.
55211         (lround_test): Move misplaced test to llround_test.  Add testcase
55212         from bug 2561.
55214 2012-02-28  Ulrich Drepper  <drepper@gmail.com>
55216         * sysdeps/x86_64/fpu/e_expf.S: New file.
55217         Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
55219 2012-02-28  Stanislav Brabec  <sbrabec@suse.cz>
55221         [BZ #13637]
55222         * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
55223         of remain_len that may cause incomplete multi-byte character and
55224         false match.
55225         * posix/bug-regex33.c: New file.
55226         * posix/Makefile (tests): Add bug-regex33.
55228 2012-02-28  Joseph Myers  <joseph@codesourcery.com>
55230         * manual/macros.texi: New file.
55231         * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
55232         * manual/libc.texinfo: Include macros.texi.
55233         * manual/creatute.texi: Likewise.
55234         * manual/install.texi: Likewise.
55235         * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
55236         @glibcadj{} in references to the GNU C Library.
55237         * manual/charset.texi: Likewise.
55238         * manual/conf.texi: Likewise.
55239         * manual/contrib.texi: Likewise.  Consistently use "GNU C Library"
55240         when not using those macros.
55241         * manual/creature.texi: Likewise.
55242         * manual/crypt.texi: Likewise.
55243         * manual/errno.texi: Likewise.
55244         * manual/filesys.texi: Likewise.
55245         * manual/header.texi: Likewise.
55246         * manual/install.texi: Likewise.
55247         * manual/intro.texi: Likewise.
55248         * manual/io.texi: Likewise.
55249         * manual/job.texi: Likewise.
55250         * manual/lang.texi: Likewise.
55251         * manual/libc.texiinfo: Likewise.
55252         * manual/llio.texi: Likewise.
55253         * manual/locale.texi: Likewise.
55254         * manual/maint.texi: Likewise.
55255         * manual/math.texi: Likewise.
55256         * manual/memory.texi: Likewise.
55257         * manual/message.texi: Likewise.
55258         * manual/nss.texi: Likewise.
55259         * manual/pattern.texi: Likewise.
55260         * manual/process.texi: Likewise.
55261         * manual/resource.texi: Likewise.
55262         * manual/search.texi: Likewise.
55263         * manual/setjmp.texi: Likewise.
55264         * manual/signal.texi: Likewise.
55265         * manual/socket.texi: Likewise.
55266         * manual/startup.texi: Likewise.
55267         * manual/stdio.texi: Likewise.
55268         * manual/string.texi: Likewise.
55269         * manual/sysinfo.texi: Likewise.
55270         * manual/syslog.texi: Likewise.
55271         * manual/terminal.texi: Likewise.
55272         * manual/time.texi: Likewise.
55273         * manual/users.texi: Likewise.
55274         * INSTALL: Regenerated.
55275         * NOTES: Regenerated.
55276         * sysdeps/gnu/errlist.c: Regenerated.
55278 2012-02-28  Andreas Schwab  <schwab@linux-m68k.org>
55280         * include/dirent.h: Include <dirstream.h> before
55281         <dirent/dirent.h>.
55283 2012-02-28  David S. Miller  <davem@davemloft.net>
55285         * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
55286         * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
55287         * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
55288         * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
55290 2012-02-27  David S. Miller  <davem@davemloft.net>
55292         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
55293         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
55294         * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
55295         * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
55297         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
55298         frame pointer instead of stack pointer relative arg slot.
55299         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
55300         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
55301         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
55303 2012-02-27  Carlos O'Donell  <carlos_odonell@mentor.com>
55305         [BZ #3992]
55306         * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
55308 2012-02-27  David S. Miller  <davem@davemloft.net>
55310         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
55311         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
55312         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
55313         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
55314         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
55315         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
55316         * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
55317         * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
55319 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
55321         * configure.in (CC): Restrict allowed GCC versions to 4.3 and
55322         later.  Allow versions 5-9.
55323         * configure: Regenerated.
55324         * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
55325         required minimum version and 4.6 as recommended version.  Do not
55326         mention bugs in GCC 2.7 and 2.8.
55327         * INSTALL: Regenerated.
55329 2012-02-27  David S. Miller  <davem@davemloft.net>
55331         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
55332         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
55333         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
55334         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
55335         * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
55336         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
55337         * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
55338         * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
55340         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
55341         manipulate bits before adding and subtracting TWO112[sx].
55342         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
55344 2012-02-27  Roland McGrath  <roland@hack.frob.com>
55346         [BZ #13775]
55347         * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
55348         [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
55349         * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
55350         being in POSIX, because they are in 1003.1-2008.
55352         * rt/tst-aio.c: Include <fcntl.h>.
55353         * rt/tst-aio7.c: Likewise.
55354         * rt/tst-aio64.c: Likewise.
55356         * stdio-common/tst-fmemopen.c (main): Remove spurious const.
55358 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
55360         * manual/install.texi (--with-headers): Describe headers as
55361         interface headers, not private headers.
55362         (Specific advice for GNU/Linux systems): Describe use of headers
55363         from "make headers_install", not private headers from older
55364         kernels.
55365         * INSTALL: Regenerated.
55366         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
55367         Change to 2.6.19.
55368         * sysdeps/unix/sysv/linux/configure: Regenerated.
55370         * manual/llio.texi (fclean): Remove documentation.
55372         * manual/Makefile (libc-texi-generated): New variable.  Include
55373         version.texi.
55374         (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
55375         $(libc-texi-generated), not duplicated list of files.
55376         (version.texi, stamp-version): New rules.
55377         (realclean): Remove $(libc-texi-generated), not individual files
55378         from that list.  Do not remove dir-add.texinfo.
55379         * manual/libc.texinfo: Comment out uses of edition numbers and
55380         references to printed manual.  Remove last-updated dates.
55381         (EDITION): Comment out.
55382         (ISBN): Likewise.
55383         (VERSION, UPDATED): Remove.
55384         (version.texi): Include.
55386 2012-02-27  Andreas Schwab  <schwab@linux-m68k.org>
55388         * sysdeps/posix/spawni.c: Include <signal.h>.
55389         * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
55390         * sysdeps/pthread/aio_fsync.c: Likewise.
55392 2012-02-26  Ulrich Drepper  <drepper@gmail.com>
55394         * conform/Makefile (tests): Run only when not cross-compiling and
55395         when fast-check is not defined.
55397         * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
55398         * conform/data/limits.h-data: Fixes for POSIX2008.
55399         * conform/run-conformtest.sh: Run all tests.
55400         * include/arpa/inet.h: Changes to allow conformtest.pl to use the
55401         headers.
55402         * include/bits/dlfcn.h: Likewise.
55403         * include/langinfo.h: Likewise.
55404         * include/monetary.h: Likewise.
55405         * include/sys/poll.h: Likewise.
55407         * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
55408         for __USE_GNU.
55409         * posix/spawn.h: Define __need_sigset_t.
55410         * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
55411         * posix/unistd.h: Declare ctermid only for XPG before XPG6.
55412         * rt/aio.h: Don't include fcntl.h and signal.h.  Use bits/siginfo.h
55413         to get sigevent_t only.
55414         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
55415         only for __USE_GNU.
55416         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
55417         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
55418         process_vm_writev only for __USE_GNU.
55419         * termios/termios.h: Declare tcgetsid also for POSIX2008.
55421         * conform/Makefile: For now ignore errors from run-conformtest.
55422         * conform/conformtest.pl: Simplify code.  Add -ansi to CFLAGS for
55423         POSIX to avoid namespace pollution.  Don't prepend headers.
55424         * conform/data/aio.h-data: Fixes for POSIX testing.
55425         * conform/data/fcntl.h-data: Likewise.
55426         * conform/data/glob.h-data: Likewise.
55427         * conform/data/grp.h-data: Likewise.
55428         * conform/data/pthread.h-data: Likewise.
55429         * conform/data/pwd.h-data: Likewise.
55430         * conform/data/signal.h-data: Likewise.
55431         * conform/data/spawn.h-data: Likewise.
55432         * conform/data/stdio.h-data: Likewise.
55433         * conform/data/stdlib.h-data: Likewise.
55434         * conform/data/stropts.h-data: Likewise.
55435         * conform/data/sys/mman.h-data: Likewise.
55436         * conform/data/sys/stat.h-data: Likewise.
55437         * conform/data/sys/types.h-data: Likewise.
55438         * conform/data/sys/wait.h-data: Likewise.
55439         * conform/data/time.h-data: Likewise.
55440         * conform/data/unistd.h-data: Likewise.
55441         * conform/data/utime.h-data: Likewise.
55443         * io/sys/stat.h: fchmod was always in POSIX.
55444         * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
55445         * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
55446         * rt/aio.h: Define __need_timespec before including <time.h>.
55447         * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
55448         struct.  Add forward declaration of pthread_attr_t and use it in
55449         sigevent.
55450         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
55451         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
55452         * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
55453         always remove CLK_TCK definition.
55455 2012-02-26  Andreas Schwab  <schwab@linux-m68k.org>
55457         * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
55459 2012-02-25  Ulrich Drepper  <drepper@gmail.com>
55461         * conform/run-conformtest.sh: New file.
55462         * conform/Makefile: Run run-conformtest for tests.
55463         * conform/conformtest.pl: Many bug fixes.  Add ISO C99, ISO C11
55464         support.
55466         * conform/data/uchar.h-data: New file.
55467         * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
55468         * conform/data/arpa/inet.h-data: Likewise.
55469         * conform/data/assert.h-data: Likewise.
55470         * conform/data/complex.h-data: Likewise.
55471         * conform/data/cpio.h-data: Likewise.
55472         * conform/data/ctype.h-data: Likewise.
55473         * conform/data/dirent.h-data: Likewise.
55474         * conform/data/dlfcn.h-data: Likewise.
55475         * conform/data/errno.h-data: Likewise.
55476         * conform/data/fcntl.h-data: Likewise.
55477         * conform/data/float.h-data: Likewise.
55478         * conform/data/fmtmsg.h-data: Likewise.
55479         * conform/data/fnmatch.h-data: Likewise.
55480         * conform/data/ftw.h-data: Likewise.
55481         * conform/data/glob.h-data: Likewise.
55482         * conform/data/grp.h-data: Likewise.
55483         * conform/data/iconv.h-data: Likewise.
55484         * conform/data/inttypes.h-data: Likewise.
55485         * conform/data/langinfo.h-data: Likewise.
55486         * conform/data/libgen.h-data: Likewise.
55487         * conform/data/limits.h-data: Likewise.
55488         * conform/data/locale.h-data: Likewise.
55489         * conform/data/math.h-data: Likewise.
55490         * conform/data/monetary.h-data: Likewise.
55491         * conform/data/mqueue.h-data: Likewise.
55492         * conform/data/ndbm.h-data: Likewise.
55493         * conform/data/net/if.h-data: Likewise.
55494         * conform/data/netdb.h-data: Likewise.
55495         * conform/data/netinet/in.h-data: Likewise.
55496         * conform/data/nl_types.h-data: Likewise.
55497         * conform/data/poll.h-data: Likewise.
55498         * conform/data/pthread.h-data: Likewise.
55499         * conform/data/pwd.h-data: Likewise.
55500         * conform/data/regex.h-data: Likewise.
55501         * conform/data/sched.h-data: Likewise.
55502         * conform/data/search.h-data: Likewise.
55503         * conform/data/semaphore.h-data: Likewise.
55504         * conform/data/setjmp.h-data: Likewise.
55505         * conform/data/signal.h-data: Likewise.
55506         * conform/data/spawn.h-data: Likewise.
55507         * conform/data/stdarg.h-data: Likewise.
55508         * conform/data/stdio.h-data: Likewise.
55509         * conform/data/stdlib.h-data: Likewise.
55510         * conform/data/string.h-data: Likewise.
55511         * conform/data/strings.h-data: Likewise.
55512         * conform/data/stropts.h-data: Likewise.
55513         * conform/data/sys/ipc.h-data: Likewise.
55514         * conform/data/sys/mman.h-data: Likewise.
55515         * conform/data/sys/msg.h-data: Likewise.
55516         * conform/data/sys/resource.h-data: Likewise.
55517         * conform/data/sys/select.h-data: Likewise.
55518         * conform/data/sys/sem.h-data: Likewise.
55519         * conform/data/sys/shm.h-data: Likewise.
55520         * conform/data/sys/socket.h-data: Likewise.
55521         * conform/data/sys/stat.h-data: Likewise.
55522         * conform/data/sys/statvfs.h-data: Likewise.
55523         * conform/data/sys/time.h-data: Likewise.
55524         * conform/data/sys/timeb.h-data: Likewise.
55525         * conform/data/sys/times.h-data: Likewise.
55526         * conform/data/sys/types.h-data: Likewise.
55527         * conform/data/sys/uio.h-data: Likewise.
55528         * conform/data/sys/un.h-data: Likewise.
55529         * conform/data/sys/utsname.h-data: Likewise.
55530         * conform/data/sys/wait.h-data: Likewise.
55531         * conform/data/syslog.h-data: Likewise.
55532         * conform/data/tar.h-data: Likewise.
55533         * conform/data/termios.h-data: Likewise.
55534         * conform/data/utime.h-data: Likewise.
55535         * conform/data/utmpx.h-data: Likewise.
55536         * conform/data/varargs.h-data: Likewise.
55537         * conform/data/wchar.h-data: Likewise.
55538         * conform/data/wctype.h-data: Likewise.
55539         * conform/data/wordexp.h-data: Likewise.
55541         * include/stropts.h: New file.
55542         * include/uchar.h: New file.
55543         * include/aio.h: Changes to allow conformtest.pl to use the headers.
55544         * include/assert.h: Likewise.
55545         * include/ctype.h: Likewise.
55546         * include/dirent.h: Likewise.
55547         * include/dlfcn.h: Likewise.
55548         * include/fcntl.h: Likewise.
55549         * include/fnmatch.h: Likewise.
55550         * include/glob.h: Likewise.
55551         * include/grp.h: Likewise.
55552         * include/libio.h: Likewise.
55553         * include/locale.h: Likewise.
55554         * include/math.h: Likewise.
55555         * include/net/if.h: Likewise.
55556         * include/netdb.h: Likewise.
55557         * include/netinet/in.h: Likewise.
55558         * include/pthread.h: Likewise.
55559         * include/pwd.h: Likewise.
55560         * include/regex.h: Likewise.
55561         * include/sched.h: Likewise.
55562         * include/search.h: Likewise.
55563         * include/setjmp.h: Likewise.
55564         * include/signal.h: Likewise.
55565         * include/stdio.h: Likewise.
55566         * include/stdlib.h: Likewise.
55567         * include/string.h: Likewise.
55568         * include/sys/cdefs.h: Likewise.
55569         * include/sys/mman.h: Likewise.
55570         * include/sys/msg.h: Likewise.
55571         * include/sys/resource.h: Likewise.
55572         * include/sys/select.h: Likewise.
55573         * include/sys/socket.h: Likewise.
55574         * include/sys/stat.h: Likewise.
55575         * include/sys/statvfs.h: Likewise.
55576         * include/sys/time.h: Likewise.
55577         * include/sys/times.h: Likewise.
55578         * include/sys/uio.h: Likewise.
55579         * include/sys/utsname.h: Likewise.
55580         * include/sys/wait.h: Likewise.
55581         * include/termios.h: Likewise.
55582         * include/time.h: Likewise.
55583         * include/ulimit.h: Likewise.
55584         * include/unistd.h: Likewise.
55585         * include/utime.h: Likewise.
55586         * include/wchar.h: Likewise.
55587         * include/wctype.h: Likewise.
55588         * include/wordexp.h: Likewise.
55590         * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
55592         * time/time.h: TIME_UTC must be a macro.
55593         Make timespec_get available for ISO C11 only as well.
55595 2012-02-24  Ulrich Drepper  <drepper@gmail.com>
55597         * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
55598         Reported by Peng Haitao <penght@cn.fujitsu.com>.
55600 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
55602         * configure.in: Use -o not -a in test for unsupported multi-arch.
55604 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
55606         * manual/texinfo.tex: Update to version 2012-01-19.16.
55608 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
55610         * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
55612 2012-02-24  Roland McGrath  <roland@hack.frob.com>
55614         [BZ #13738]
55615         * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
55616         * manual/fdl-1.3.texi: New file.
55617         * manual/fdl-1.1.texi: File removed.
55619         [BZ #13738]
55620         * manual/libc.texinfo (FDL_VERSION): New @set.
55621         Use it for mention of FDL in cover text.
55622         (Documentation License): Use it in @include file name.
55624 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
55625             Roland McGrath  <roland@hack.frob.com>
55627         [BZ #5461]
55628         * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
55629         (not LONG_LONG_MAX and LONG_LONG_MIN.
55630         * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
55631         LLONG_MIN.  Refer to LONG_LONG_MIN only as older GCC-specific
55632         name.
55633         (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
55635 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
55637         [BZ #2547]
55638         [BZ #11365]
55639         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
55640         manipulate bits before adding and subtracting TWO23[sx].
55641         * math/libm-test.inc (nearbyint_test): Add more tests.
55643 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
55645         [BZ #2548]
55646         * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
55647         bits before adding and subtracting TWO23[sx].
55648         * math/libm-test.inc (rint_test): Add more tests.
55649         (rint_test_tonearest): Likewise.
55650         (rint_test_towardzero): Likewise.
55651         (rint_test_downward): Likewise.
55652         (rint_test_upward: Likewise.
55654 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
55656         [BZ #10110]
55657         * include/stdc-predef.h: New file.  Extracted from features.h.
55658         * include/features.h: Include stdc-predef.h.
55659         * Makefile (headers): Add stdc-predef.h.
55660         * CONFORMANCE (Compiler limitations): Update.
55662 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
55664         * manual/libc.texinfo (VERSION, UPDATED): Revert.
55666 2012-02-21  David S. Miller  <davem@davemloft.net>
55668         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
55669         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
55671 2012-02-20  David S. Miller  <davem@davemloft.net>
55673         * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
55674         using a normal save/restore sequence, rather than allocating a
55675         dummy stack frame just to store a frame pointer and restore.
55676         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
55678 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
55680         * manual/install.texi: Fix stray word in line-wrapped comment.
55682 2012-02-20  David S. Miller  <davem@davemloft.net>
55684         * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
55685         both binutils and gcc support GOTDATA.
55687         * sysdeps/unix/sparc/sysdep.h: Document why we don't use
55688         "rd %pc" in the PIC register setup sequences.
55690         * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
55691         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
55692         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
55693         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
55694         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
55695         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
55696         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
55697         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
55698         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
55699         (SYSCALL_ERROR_HANDLER): Likewise.
55700         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
55701         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
55702         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
55703         (SYSCALL_ERROR_HANDLER): Likewise.
55705         * config.h.in (HAVE_BINUTILS_GOTDATA): New.
55706         (HAVE_GCC_GOTDATA): New.
55707         * sysdeps/sparc/elf/configure.in: Test for GOTDATA
55708         relocation support in both binutils and gcc.
55709         * sysdeps/sparc/elf/configure: Regenerate.
55711         * sysdeps/sparc/sparc32/elf/configure.in: Delete.
55712         * sysdeps/sparc/sparc32/elf/configure: Delete.
55713         * sysdeps/sparc/sparc64/elf/configure.in: Delete.
55714         * sysdeps/sparc/sparc64/elf/configure: Delete.
55715         * sysdeps/sparc/elf/configure.in: New file.
55716         * sysdeps/sparc/elf/configure: Generate.
55718         * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
55719         * sysdeps/sparc/sparc32/elf/configure: Regenerate.
55720         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
55721         * sysdeps/sparc/sparc64/elf/configure: Regenerate.
55722         * config.h.in (BROKEN_SPARC_WDISP22): Remove.
55724 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
55726         * manual/install.texi: Do not mention specific glibc version
55727         numbers.
55728         * manual/libc.texinfo (VERSION, UPDATED): Update.
55729         (@copying): Use @copyright{} and range of years.
55731 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
55733         [BZ #13695]
55734         * csu/Makefile (distribute): Remove initfini.c and defs.awk.
55735         [crti.S not in sysdirs] (generated): Do not append.
55736         [crti.S not in sysdirs] (omit-deps): Likewise.
55737         [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
55738         [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
55739         [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
55740         [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
55741         [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
55742         Likewise.
55743         [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
55744         [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
55745         [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
55746         * csu/defs.awk: Remove file.
55747         * sysdeps/generic/initfini.c: Likewise.
55748         * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
55749         variable.
55750         * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
55751         Likewise.
55753 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
55755         * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
55756         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
55757         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
55758         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
55759         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
55760         * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
55761         <bits/epoll.h>.
55762         (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
55763         (__EPOLL_PACKED): Define to empty if not defined by
55764         <bits/epoll.h>.
55765         (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
55766         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
55767         bits/epoll.h.
55769 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
55771         * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
55772         * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
55773         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
55774         * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
55775         <bits/timerfd.h>.
55776         (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
55777         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
55778         bits/timerfd.h.
55780 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
55782         * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
55783         in C locale.
55784         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
55785         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
55786         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
55787         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55789 2012-02-20  Aurelien Jarno  <aurelien@aurel32.net>
55791         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
55792         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
55794 2012-02-19  Andreas Schwab  <schwab@linux-m68k.org>
55796         * manual/errno.texi (Error Codes): Add EHWPOISON entry.
55797         * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
55798         defined.
55799         * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
55800         Likewise.
55801         * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
55802         entry for 2.16.
55804 2012-02-19  Aurelien Jarno  <aurelien@aurel32.net>
55806         * math/w_acos.c: Use non-signaling floating-point comparisons.
55807         * math/w_acosf.c: Likewise.
55808         * math/w_acosh.c: Likewise.
55809         * math/w_acoshf.c: Likewise.
55810         * math/w_acoshl.c: Likewise.
55811         * math/w_acosl.c: Likewise.
55812         * math/w_asin.c: Likewise.
55813         * math/w_asinf.c: Likewise.
55814         * math/w_asinl.c: Likewise.
55815         * math/w_atanh.c: Likewise.
55816         * math/w_atanhf.c: Likewise.
55817         * math/w_atanhl.c: Likewise.
55818         * math/w_exp2.c: Likewise.
55819         * math/w_exp2f.c: Likewise.
55820         * math/w_exp2l.c: Likewise.
55821         * math/w_j0.c: Likewise.
55822         * math/w_j0f.c: Likewise.
55823         * math/w_j0l.c: Likewise.
55824         * math/w_j1.c: Likewise.
55825         * math/w_j1f.c: Likewise.
55826         * math/w_j1l.c: Likewise.
55827         * math/w_jn.c: Likewise.
55828         * math/w_jnf.c: Likewise.
55829         * math/w_log.c: Likewise.
55830         * math/w_log10.c: Likewise.
55831         * math/w_log10f.c: Likewise.
55832         * math/w_log10l.c: Likewise.
55833         * math/w_log2.c: Likewise.
55834         * math/w_log2f.c: Likewise.
55835         * math/w_log2l.c: Likewise.
55836         * math/w_logf.c: Likewise.
55837         * math/w_logl.c: Likewise.
55838         * math/w_sqrt.c: Likewise.
55839         * math/w_sqrtf.c: Likewise.
55840         * math/w_sqrtl.c: Likewise.
55841         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
55842         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
55843         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
55844         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
55845         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
55847 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
55849         [BZ #9739]
55850         * manual/string.texi (strnlen): Use correct parameter name in
55851         equivalent expression.
55853 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
55855         [BZ #11174]
55856         * manual/users.texi (seteuid): Consistently use neweuid for
55857         argument name.
55859 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
55861         [BZ #13704]
55862         * manual/nss.texi (Services in the NSS configuration): Correct
55863         list of services in example configuration file.
55865 2012-02-19  Nick Bowler  <nbowler@draconx.ca>
55867         [BZ #11322]
55868         * manual/arith.texi: Remove statements about negative zero
55869         behaving identically to zero.
55871 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
55873         [BZ #5993]
55874         * manual/install.texi: Do not document upgrading from libc5.
55876 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
55878         [BZ #4596]
55879         * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
55881 2012-02-18  David S. Miller  <davem@davemloft.net>
55883         * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
55884         (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
55885         %o7 across the call.
55886         (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
55887         instead.
55888         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
55889         SETUP_PIC_REG_LEAF.
55890         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
55891         * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
55892         * sysdeps/sparc/crtn.S: Likewise.
55894 2012-02-17  Ulrich Drepper  <drepper@gmail.com>
55896         * aout/Makefile: Remove.
55898 2012-02-18  Rafe Kettler  <rafe.kettler@gmail.com>
55900         [BZ #13058]
55901         * manual/examples/argp-ex1.c (main): Format definition in GNU
55902         style.
55903         * manual/examples/argp-ex2.c (main): Likewise.
55904         * manual/examples/argp-ex3.c (main): Likewise.
55905         * manual/examples/argp-ex4.c (main): Likewise.
55906         * manual/examples/longopt.c (main): Use new-style prototype
55907         definition.
55908         * manual/examples/strncat.c (main): Specify return type and use
55909         (void) for arguments.
55910         * manual/examples/subopt.c (main): Use char **argv argument.
55912 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
55914         [BZ #5077]
55915         * manual/lang.texi (FLT_EPSILON): Avoid description depending on
55916         rounding modes.
55918 2012-02-17  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>
55920         [BZ #6907]
55921         * manual/string.texi (strchr): Change when strchrnul is
55922         recommended.
55924 2012-02-17  Dwayne Grant McConnell  <decimal@us.ibm.com>
55926         [BZ #174]
55927         * manual/locale.texi (setlocale): Document LOCPATH.
55929 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
55931         [BZ #10210]
55932         * manual/process.texi (execle): Move @dots{} before last argument.
55934 2012-02-17  Paul Bolle  <pebolle@tiscali.nl>
55936         [BZ #12047]
55937         * manual/charset.texi (Generic Charset Conversion): Fix typo
55938         (LC_TYPE -> LC_CTYPE).
55940 2012-02-17  Nicolas Boulenguez  <nicolas.boulenguez@free.fr>
55942         [BZ #5805]
55943         * manual/arith.texi (scalbn): Use @var{} on parameter names.
55944         (scalbnf): Likewise.
55945         (scalbnl): Likewise.
55946         (scalbln): Likewise.
55947         (scalblnf): Likewise.
55948         (scalblnl): Likewise.
55949         * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
55950         (vwarnx): Likewise.
55951         (verr): Likewise.
55952         (verrx): Likewise.
55953         * manual/filesys.texi (telldir): Use braces around return type.
55954         * manual/llio.texi (mmap): Add space after comma.
55955         (mmap64): Likewise.
55956         * manual/math.texi (jn): Use @var{} on parameter names.
55957         (jnf): Likewise.
55958         (jnl): Likewise.
55959         (yn): Likewise.
55960         (ynf): Likewise.
55961         (ynl): Likewise.
55962         * manual/memory.texi (alloca): Remove semicolon on @deftypefun
55963         line.
55964         * manual/resource.texi (ulimit): Use @dots{} instead of literal
55965         "...".
55966         (sched_get_priority_min): Remove semicolon on @deftypefun line.
55967         (sched_get_priority_max): Likewise.
55968         * manual/signal.texi (sigvec): Add space after comma.
55969         * manual/socket.texi (if_nametoindex): Use @var{} on parameter
55970         names.
55971         (if_indextoname): Likewise.
55972         (if_freenameindex): Likewise.
55973         (sendto): Use ',' instead of '.' in prototype.
55974         * manual/startup.texi (syscall): Use @dots{} instead of literal
55975         "...".
55976         * manual/stdio.texi (__fpending): Separate initial words of
55977         paragraph from @deftypefun line.
55978         * manual/syslog.texi (syslog): Use @dots{} instead of literal
55979         "...".
55980         (vsyslog): Use @var{} on parameter names.
55981         * manual/terminal.texi (stty): Use @var{} on parameter names.
55982         * manual/users.texi (getutmp): Use @var{} on parameter names.
55983         (getutmpx): Likewise.
55985 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
55987         [BZ #6884]
55988         * manual/stdio.texi (fopen): Fix typos in description of
55989         ",ccs=STRING".
55991 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
55993         [BZ #4026]
55994         * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
55995         get clock_id definition.
55997 2012-02-17  Thomas Schwinge  <thomas@schwinge.name>
55999         [BZ #4822]
56000         * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
56001         (madvise): Cast every argument to void on its own.
56003 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
56005         [BZ #9902]
56006         * manual/startup.texi (Exit Status): Fix typo.
56008 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
56010         [BZ #10140]
56011         * manual/examples/argp-ex1.c: Include <stdlib.h>.
56012         * manual/examples/argp-ex2.c: Likewise.
56013         * manual/examples/argp-ex3.c: Likewise.
56015 2012-02-16  Richard Henderson  <rth@redhat.com>
56017         * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
56018         * sysdeps/s390/s390-32/initfini.c: Remove.
56019         * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
56020         * sysdeps/s390/s390-64/initfini.c: Remove.
56022 2012-02-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
56024         * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
56025         compiler output for sysdeps/generic/initfini.c.
56026         * sysdeps/sh/elf/initfini.c: Remove file.
56028 2012-02-16  David S. Miller  <davem@davemloft.net>
56030         [BZ #11494]
56031         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
56033         * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
56034         * sysdeps/sparc/crti.S: New file.
56035         * sysdeps/sparc/crtn.S: New file.
56036         * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
56037         * sysdeps/sparc/sparc64/Makefile: Likewise.
56039 2012-02-15  Mike Frysinger  <vapier@gentoo.org>
56041         [BZ #3335]
56042         * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
56044 2012-02-15  Roland McGrath  <roland@hack.frob.com>
56046         [BZ #4822]
56047         * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
56049         * mach/devstream.c (cookie_io_functions_t): Macro removed.
56050         (write, read, close): Likewise.
56051         Patch by Aurelien Jarno <aurelien@aurel32.net>.
56053 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
56055         * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
56056         * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
56057         * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
56058         * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
56059         <bits/signalfd.h>.
56060         (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
56061         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
56062         bits/signalfd.h.
56064 2012-02-14  Marek Polacek  <polacek@redhat.com>
56066         * sysdeps/x86_64/crti.S: New file.
56067         * sysdeps/x86_64/crtn.S: New file.
56068         * sysdeps/x86_64/elf/initfini.c: Remove file.
56070 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
56072         * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
56073         * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
56074         * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
56075         * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
56076         <bits/inotify.h>.
56077         (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
56078         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
56079         bits/inotify.h.
56081 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
56083         * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
56084         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
56085         * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
56086         * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
56087         <bits/eventfd.h>.
56088         (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
56089         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
56090         bits/eventfd.h.
56092 2012-02-10  Thomas Schwinge  <thomas@codesourcery.com>
56094         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
56095         __feraiseexcept instead of feraiseexcept.
56097         * rt/tst-cpuclock1.c: Add a few comments, and error checking for
56098         nanosleep invocations.
56099         * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
56100         strings, and add error checking for a nanosleep invocations.
56102 2012-02-09  Paul Eggert  <eggert@cs.ucla.edu>
56104         Replace FSF snail mail address with URLs, as per GNU coding standards.
56105         Most of the snail mail addresses were wrong anyway, and omitting
56106         them makes the source code easier to maintain.  Almost all of the
56107         changes are to license notices and to locale LC_IDENTIFICATION
56108         addresses, except for this one:
56109         * manual/libc.texinfo: In "Published by", give the FSF's URL,
56110         not its snail mail address.
56112 2012-02-09  Richard Henderson  <rth@twiddle.net>
56114         * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
56115         of kernel-features.h.
56117         * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
56119 2012-02-08  Marek Polacek  <polacek@redhat.com>
56121         * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
56122         * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
56123         * sysdeps/gnu/_G_config.h: Likewise.
56124         * sysdeps/generic/_G_config.h: Likewise.
56126 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
56128         * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
56129         tests.
56130         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56132         * sysdeps/powerpc/powerpc32/crti.S: New file.
56133         * sysdeps/powerpc/powerpc32/crtn.S: New file.
56134         * sysdeps/powerpc/powerpc64/crti.S: New file.
56135         * sysdeps/powerpc/powerpc64/crtn.S: New file.
56137         * Makeconfig (have-initfini): Don't set.
56138         * config.make.in (have-initfini, need-nopic-initfini): Don't set.
56139         * configure.in (nopic_initfini): Don't substitute.
56140         * config.h.in (HAVE_INITFINI): Don't #undef.
56141         * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
56142         * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
56144 2012-02-08  Joseph Myers  <joseph@codesourcery.com>
56146         Support crti.S and crtn.S provided directly by architectures.
56147         * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
56148         [crti.S in sysdirs] (omit-deps): Likewise.
56149         [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
56150         [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
56151         [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
56152         [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
56153         [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
56154         [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
56155         [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
56156         [crti.S in sysdirs] (initfini.c): Remove vpath directive.
56157         * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
56158         compiler output for sysdeps/generic/initfini.c.
56159         * sysdeps/i386/elf/Makefile: Remove file.
56160         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
56162 2012-02-07  Marek Polacek  <polacek@redhat.com>
56164         * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
56165         * sysdeps/gnu/_G_config.h: Likewise.
56166         * sysdeps/mach/hurd/_G_config.h: Likewise.
56168 2012-02-07  Marek Polacek  <polacek@redhat.com>
56170         * math/Makefile (tests): Add tst-CMPLX2.
56171         * math/tst-CMPLX2.c: New file.
56173 2012-02-07  Andreas Schwab  <schwab@linux-m68k.org>
56175         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
56177         * math/libm-test.inc (jn_test): Add missing L suffix.
56179 2012-02-06  Marek Polacek  <polacek@redhat.com>
56181         * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
56182         * sysdeps/i386/fpu/e_powf.S: Likewise.
56183         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
56184         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
56185         * sysdeps/i386/fpu/e_acosh.S: Likewise.
56186         * sysdeps/i386/fpu/e_pow.S: Likewise.
56187         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
56188         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
56189         * sysdeps/i386/fpu/s_expm1.S: Likewise.
56190         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
56191         * sysdeps/i386/fpu/e_log2.S: Likewise.
56192         * sysdeps/i386/fpu/e_log2l.S: Likewise.
56193         * sysdeps/i386/fpu/e_scalb.S: Likewise.
56194         * sysdeps/i386/fpu/e_powl.S: Likewise.
56195         * sysdeps/i386/fpu/s_log1p.S: Likewise.
56196         * sysdeps/i386/fpu/e_log10f.S: Likewise.
56197         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
56198         * sysdeps/i386/fpu/e_logl.S: Likewise.
56199         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
56200         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
56201         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
56202         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
56203         * sysdeps/i386/fpu/e_log2f.S: Likewise.
56204         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
56205         * sysdeps/i386/fpu/e_log.S: Likewise.
56206         * sysdeps/i386/fpu/s_cexp.S: Likewise.
56207         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
56208         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
56209         * sysdeps/i386/fpu/e_logf.S: Likewise.
56210         * sysdeps/i386/fpu/e_log10l.S: Likewise.
56211         * sysdeps/i386/fpu/e_atanh.S: Likewise.
56212         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
56213         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
56214         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
56215         * sysdeps/i386/fpu/e_log10.S: Likewise.
56216         * sysdeps/i386/fpu/s_frexp.S: Likewise.
56217         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
56218         * sysdeps/i386/fpu/s_asinh.S: Likewise.
56219         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
56220         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
56221         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
56222         * sysdeps/i386/asm-syntax.h: Likewise.
56223         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
56224         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
56225         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
56226         * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
56227         * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
56228         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
56229         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
56230         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
56231         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
56232         * sysdeps/powerpc/sysdep.h: Likewise.
56233         * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
56234         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
56236 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
56238         [BZ #411]
56239         * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
56241 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
56243         * sysdeps/i386/sysdep.h: Include <features.h>.
56244         (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
56245         version.
56247 2012-02-05  Joseph Myers  <joseph@codesourcery.com>
56249         * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
56250         Define.
56251         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
56252         LOAD_PIC_REG_STR.
56254 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
56256         * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
56257         (SETUP_PIC_REG): Use GET_PC_THUNK.
56258         * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
56259         macro.
56261 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
56263         * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
56264         for non-PIC compilation.
56265         (SETUP_PIC_REG): Add .p2align directive.
56266         * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
56267         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
56268         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
56269         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
56270         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
56271         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
56272         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
56273         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
56274         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
56275         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
56276         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
56277         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
56278         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
56279         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
56280         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
56281         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
56282         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
56283         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
56284         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
56285         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
56286         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
56287         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
56288         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
56289         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
56290         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
56291         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
56292         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
56293         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
56294         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
56295         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
56296         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
56297         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
56298         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
56299         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
56300         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
56301         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
56302         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
56303         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
56304         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
56305         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
56306         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
56308 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
56310         * math/tst-CMPLX.c: Include <stdio.h>.
56312 2012-01-31  Joseph Myers  <joseph@codesourcery.com>
56314         * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
56315         float.
56316         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
56317         * sysdeps/sparc/bits/mathdef.h: Likewise.
56319 2012-01-31  Marek Polacek  <polacek@redhat.com>
56321         * libio/libio.h: Don't define _PARAMS.
56322         * locale/programs/config.h: Don't define PARAMS.
56323         * stdlib/strtol_l.c: Likewise.
56324         (__strtol_l): Remove PARAMS from the prototype.
56326 2012-01-31  Ulrich Drepper  <drepper@gmail.com>
56328         * malloc/malloc.c: Remove name translation.  Don't use mixed-cap
56329         names.  Just use the correct names.  Remove unnecessary wrapper
56330         functions.
56331         * malloc/arena.c: Likewise.
56332         * malloc/hooks.c: Likewise.
56334         * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
56335         ARENA_TEST says not to.  Simplify test for creation of a new arena.
56336         Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
56338 2012-01-30  Ulrich Drepper  <drepper@gmail.com>
56340         * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
56341         into tail calls.
56342         (update_get_addr): New function.
56343         (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
56344         GET_ADDR_MODULE parameter.
56346 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
56348         * crypt/cert.c: Remove __STDC__ conditionals.
56349         * crypt/crypt-entry.c: Likewise.
56350         * crypt/crypt_util.c: Likewise.
56351         * libio/filedoalloc.c: Likewise.
56352         * libio/fileops.c: Likewise.
56353         * libio/genops.c: Likewise.
56354         * libio/iofclose.c: Likewise.
56355         * libio/iofdopen.c: Likewise.
56356         * libio/iofopen.c: Likewise.
56357         * libio/iofopen64.c: Likewise.
56358         * libio/iogetdelim.c: Likewise.
56359         * libio/iopopen.c: Likewise.
56360         * libio/obprintf.c: Likewise.
56361         * libio/oldfileops.c: Likewise.
56362         * libio/oldiofclose.c: Likewise.
56363         * libio/oldiofdopen.c: Likewise.
56364         * libio/oldiofopen.c: Likewise.
56365         * libio/oldiopopen.c: Likewise.
56366         * libio/wfiledoalloc.c: Likewise.
56367         * libio/wgenops.c: Likewise.
56368         * locale/programs/xmalloc.c: Likewise.
56369         * misc/syslog.c: Likewise.
56370         * stdio-common/xbug.c: Likewise.
56371         * string/memchr.c: Likewise.
56372         * string/memcmp.c: Likewise.
56373         * string/memrchr.c: Likewise.
56374         * string/rawmemchr.c: Likewise.
56375         * sysdeps/posix/getcwd.c: Likewise.
56376         * time/strftime_l.c: Likewise.
56378 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
56380         * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
56381         * config.make.in (config-cflags-sse2avx): Define.
56382         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
56383         Fix typo.
56385 2012-01-29  Chris Metcalf  <cmetcalf@tilera.com>
56387         * scripts/config.guess: Update from upstream config git repository.
56388         * scripts/config.sub: Likewise.
56390 2012-01-28  Chris Metcalf  <cmetcalf@tilera.com>
56392         * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
56393         (EM_NUM): Update.
56394         (R_TILEPRO_*, R_TILEGX_*): New macros.
56396         * scripts/firstversions.awk: Fix bug in version range handling.
56398         * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
56400         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
56402         * include/sys/epoll.h: New file.
56403         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
56404         libc_hidden_def.
56406 2012-01-28  Ulrich Drepper  <drepper@gmail.com>
56408         * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
56409         Avoid unnecessary __WORDSIZE == 64 test.
56410         (fmaxf): Use VEX format if possible.
56411         (fmax): Likewise.
56412         (fminf): Likewise.
56413         (fmin): Likewise.
56415         * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
56416         * math/math_private.h: Remove libc_fegetround* and
56417         libc_fesetround*.
56418         * sysdeps/i386/configure.in: Check for -msse2avx.
56419         * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
56420         also if SSE2AVX is defined.
56421         Remove libc_fegetround* and libc_fesetround*.
56422         * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
56423         if config-cflags-sse2avx is yes.  Also add -DSSE2AVX to defines.
56424         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
56425         of HAS_YMM_USABLE.
56426         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
56427         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
56428         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
56429         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
56430         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
56432         * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
56434 2012-01-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
56436         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
56437         size is not set.
56438         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
56440 2012-01-27  Ulrich Drepper  <drepper@gmail.com>
56442         [BZ #13618]
56443         * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
56444         relocation.
56445         * Makeconfig (libm): Define.
56446         * elf/Makefile: Add rules to build and run tst-relsort1.
56447         * elf/tst-relsort1.c: New file.
56448         * elf/tst-relsort1mod1.c: New file.
56449         * elf/tst-relsort1mod2.c: New file.
56451 2012-01-27  Joseph Myers  <joseph@codesourcery.com>
56453         * math/s_ldexp.c: Remove __STDC__ conditionals.
56454         * math/s_ldexpf.c: Likewise.
56455         * math/s_ldexpl.c: Likewise.
56456         * math/s_nextafter.c: Likewise.
56457         * math/s_nexttowardf.c: Likewise.
56458         * math/s_significand.c: Likewise.
56459         * math/s_significandf.c: Likewise.
56460         * math/s_significandl.c: Likewise.
56461         * math/w_jnl.c: Likewise.
56462         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
56463         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
56464         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
56465         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
56466         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
56467         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
56468         * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
56469         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
56470         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
56471         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
56472         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
56473         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
56474         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
56475         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
56476         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
56477         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
56478         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
56479         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
56480         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
56481         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
56482         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
56483         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
56484         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
56485         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
56486         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
56487         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
56488         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
56489         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
56490         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
56491         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
56492         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
56493         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
56494         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
56495         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
56496         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
56497         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
56498         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
56499         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
56500         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
56501         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
56502         * sysdeps/ieee754/k_standard.c: Likewise.
56503         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
56504         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
56505         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
56506         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
56507         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
56508         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
56509         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
56510         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
56511         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
56512         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
56513         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
56514         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
56515         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
56516         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
56517         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
56518         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
56519         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
56520         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
56521         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
56522         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
56523         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
56524         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
56525         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
56526         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
56527         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
56528         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
56529         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
56530         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
56531         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
56532         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
56533         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
56534         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
56535         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
56536         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
56537         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
56538         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
56539         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
56540         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
56541         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
56542         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
56543         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
56544         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
56545         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
56546         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
56547         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
56548         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
56549         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
56550         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
56551         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
56552         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
56553         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
56554         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
56555         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
56556         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
56557         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
56558         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
56559         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
56560         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
56561         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
56562         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
56563         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
56564         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
56565         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
56566         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
56567         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
56568         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
56569         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
56570         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
56571         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
56572         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
56573         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
56574         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
56575         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
56576         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
56577         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
56578         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
56579         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
56580         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
56581         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
56582         * sysdeps/ieee754/s_matherr.c: Likewise.
56583         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
56584         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
56585         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
56586         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
56588 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
56590         * crypt/md5.h: Remove __STDC__ conditionals.
56591         * libio/libioP.h: Likewise.
56592         * locale/programs/config.h: Likewise.
56593         * sysdeps/generic/sysdep.h: Likewise.
56594         * sysdeps/i386/asm-syntax.h: Likewise.
56595         * sysdeps/s390/asm-syntax.h: Likewise.
56596         * sysdeps/unix/sysdep.h: Likewise.
56597         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
56598         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
56600 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
56602         * libio/libio.h: Remove __STDC__ conditionals.
56603         * malloc/obstack.h: Likewise.
56604         * math/complex.h: Likewise.
56605         * math/math.h: Likewise.
56606         * sysdeps/generic/_G_config.h: Likewise.
56607         * sysdeps/gnu/_G_config.h: Likewise.
56608         * sysdeps/mach/hurd/_G_config.h: Likewise.
56609         * sysdeps/powerpc/bits/mathdef.h: Likewise.
56610         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
56611         * sysdeps/sparc/bits/mathdef.h: Likewise.
56613 2012-01-26  Ulrich Drepper  <drepper@gmail.com>
56615         [BZ #13583]
56616         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
56617         Clean up HAS_* macros.
56618         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
56619         bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
56620         possible.
56621         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
56622         HAS_AVX.
56623         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
56624         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
56625         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
56626         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
56627         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
56629 2012-01-25  Joseph Myers  <joseph@codesourcery.com>
56631         * elf/tst-unique3.cc (gets): Remove declaration.
56632         * elf/tst-unique3lib.cc (gets): Likewise.
56633         * elf/tst-unique3lib2.cc (gets): Likewise.
56634         * elf/tst-unique4.cc (gets): Likewise.
56636 2012-01-24  Ulrich Drepper  <drepper@gmail.com>
56638         * include/stdio.h: Add C++ protection.  Add gets declarations and
56639         definitions.
56640         * debug/tst-chk1.c: Don't declare gets here.
56641         * stdio-common/tst-gets.c: Likewise.
56643 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
56645         * posix/glob: Remove directory.
56647 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
56649         * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
56651 2012-01-22  Pino Toscano  <toscano.pino@tiscali.it>
56653         * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
56654         of the non-standard EPFNOSUPPORT.
56656 2011-12-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>
56658         * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
56659         __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
56660         ANYWHERE set to 1 only on KERN_NO_SPACE error.
56662 2012-01-21  Ulrich Drepper  <drepper@gmail.com>
56664         * wcsmbs/uchar.h: Test __STDC_VERSION__.
56666 2012-01-20  Ulrich Drepper  <drepper@gmail.com>
56668         * nscd/aicache.c (addhstaiX): Do not cache negative results of
56669         transient errors.
56670         * nscd/grpcache.c (cache_addgr): Likewise.
56671         * nscd/hstcache.c (cache_addhst): Likewise.
56672         * nscd/initgrcache.c (addinitgroupsX): Likewise.
56673         * nscd/pwdcache.c (cache_addpw): Likewise.
56674         * nscd/servicescache.c (cache_addserv): Likewise.
56676 2012-01-16  Ulrich Drepper  <drepper@gmail.com>
56678         * malloc/malloc.c: Various cleanups.
56679         * malloc/hooks.c: Likewise.
56681         * stdlib/Makefile (tests): Add bug-fmtmsg1.
56682         * stdlib/bug-fmtmsg1.c: New file.
56684         * stdlib/fmtmsg.c (init): Add missing unlock.
56685         Patch by Peng Haitao <penght@cn.fujitsu.com>.
56687 2012-01-12  Marek Polacek  <polacek@redhat.com>
56689         * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
56690         and _GNU_SOURCE.
56692 2012-01-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
56694         * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
56695         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
56696         macro to ensure uniqueness of label name.
56697         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
56698         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
56700 2012-01-11  Ulrich Drepper  <drepper@gmail.com>
56702         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
56704         * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
56705         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
56706         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
56707         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
56709 2012-01-10  Ulrich Drepper  <drepper@gmail.com>
56711         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
56713         * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
56714         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
56715         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
56717         * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
56719         * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
56720         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
56721         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
56722         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
56724         * math/bits/math-finite.h: Add ldexp support.
56726 2012-01-10  Marek Polacek  <polacek@redhat.com>
56728         * locale/programs/localedef.h (show_archive_content): Add noreturn
56729         attribute.
56731 2012-01-09  Ulrich Drepper  <drepper@gmail.com>
56733         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
56735 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
56737         * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
56739         * io/Makefile (headers): Add bits/poll2.h.
56741 2011-01-05  Will Schmidt  <will_schmidt@vnet.ibm.com>
56743         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
56744         typo #include statement.
56746 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
56748         * include/sys/cdefs.h: Define __attribute_alloc_size.
56749         * catgets/gencat.c: Add alloc_size attribute and apply consistently
56750         the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
56751         * elf/pldd.c: Likewise.
56752         * iconv/iconv_charmap.c: Likewise.
56753         * iconv/iconvconfig.c: Likewise.
56754         * iconv/strtab.c: Likewise.
56755         * locale/programs/locale.c: Likewise.
56756         * locale/programs/localedef.h: Likewise.
56757         * locale/programs/simple-hash.c: Likewise.
56758         * nscd/nscd.h: Likewise.
56759         * nss/makedb.c: Likewise.
56760         * sysdeps/generic/ldconfig.h: Likewise.
56761         * locale/programs/localedef.c: Remove xmalloc prototype.
56762         * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
56764 2012-01-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
56766         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
56767         appropriate.
56769 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
56771         * math/Makefile (tests): Add tst-CMPLX.
56772         * math/tst-CMPLX.c: New file.
56774         * math/complex.h (CMPLXL): Fix typo.
56776         * debug/Makefile (routines): Add poll_chk and ppoll_chk.
56777         * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
56778         GLIBC_2.16.
56779         * debug/tst-chk1.c: Add poll and ppoll tests.
56780         * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
56781         * include/sys/poll.h: Add hidden proto for ppoll.
56782         * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
56783         * sysdeps/mach/hurd/ppoll.c: Likewise.
56784         * io/ppoll.c: Likewise.
56785         * debug/poll_chk.c: New file.
56786         * debug/ppoll_chk.c: New file.
56787         * include/bits/poll2.h: New file.
56788         * io/bits/poll2.h: New file.
56790         [BZ #1350]
56791         * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
56793         * configure.in: static is always set to yes.  Remove.
56794         * config.make.in: Don't set build-static.
56795         * Makeconfig: Remove use of build-static.
56796         * dlfcn/Makefile: Likewise.
56797         * elf/Makefile: Likewise.
56798         * math/Makefile: Likewise.
56799         * misc/Makefile: Likewise.
56800         * nptl/Makefile: Likewise.
56801         * sysdeps/mach/hurd/Makefile: Likewise.
56803         * configure.in: PWD_P is not used anymore.
56804         * config.make.in: Remove PWD_P entry.
56806         * configure.in: Remove last remnants of RANLIB.
56807         No need to check for signed size_t anymore.
56808         Don't set libc_commonpagesize and libc_relro_required here for Alpha
56809         and IA-64.
56810         Remove __builtin_expect test because we require at least gcc 3.4.
56811         * aclocal.m4: Likewise.
56813         * wcsmbs/mbrtoc16.c: Implement using towc function.
56814         * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
56815         * wcsmbs/wcsmbsload.c: Likewise.
56816         * iconv/gconv_simple.c: Likewise.
56817         * iconv/gconv_int.h: Likewise.
56818         * iconv/gconv_builtin.h: Likewise.
56819         * iconv/iconv_prog.c: Remove CHAR16 handling.
56821         * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
56823         * wcsmbs/mbrtowc.c: Better check for invalid inputs.
56825         * configure.in: Remove --with-elf and --enable-bounded options.
56826         Dont set base_machine for ia64.  More non-ELF conditions removed.
56827         Remove testing and setting of leading underscore information.
56828         * config.make.in (build-bounded): Set to no.
56829         * config.h.in: Remove NO_UNDERSCORES entry.
56830         * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS.  ELF has
56831         them.
56832         * csu/start.c: Remove !NO_UNDERSCORE code.
56833         * locale/localeinfo.h: Likewise.
56834         * sysdeps/generic/machine-gmon.h: Likewise.
56835         * sysdeps/generic/sysdep.h: Likewise.
56836         * sysdeps/i386/sysdep.h: Likewise.
56837         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
56838         * sysdeps/mach/sysdep.h: Likewise.
56839         * sysdeps/s390/s390-32/sysdep.h: Likewise.
56840         * sysdeps/s390/s390-64/sysdep.h: Likewise.
56841         * sysdeps/sh/sysdep.h: Likewise.
56842         * sysdeps/sparc/sparc32/alloca.S: Likewise.
56843         * sysdeps/unix/i386/sysdep.S: Likewise.
56844         * sysdeps/unix/sparc/start.c: Likewise.
56845         * sysdeps/unix/sparc/sysdep.S: Likewise.
56846         * sysdeps/unix/sparc/sysdep.h: Likewise.
56847         * sysdeps/unix/start.c: Likewise.
56848         * sysdeps/unix/x86_64/sysdep.S: Likewise.
56849         * sysdeps/x86_64/sysdep.h: Likewise.
56851 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
56853         [BZ #13553]
56854         * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
56855         for non-gcc.
56856         * argp/argp-fmtstream.h: Use const instead __const.
56857         * argp/argp.h: Likewise.
56858         * assert/assert.h: Likewise.
56859         * bits/fenv.h: Likewise.
56860         * bits/sched.h: Likewise.
56861         * bits/sigset.h: Likewise.
56862         * bits/sigthread.h: Likewise.
56863         * catgets/nl_types.h: Likewise.
56864         * conform/data/pthread.h-data: Likewise.
56865         * crypt/crypt-private.h: Likewise.
56866         * crypt/crypt.h: Likewise.
56867         * crypt/crypt_util.c: Likewise.
56868         * ctype/ctype.h: Likewise.
56869         * debug/execinfo.h: Likewise.
56870         * debug/mbsnrtowcs_chk.c: Likewise.
56871         * debug/mbsrtowcs_chk.c: Likewise.
56872         * debug/wcsnrtombs_chk.c: Likewise.
56873         * debug/wcsrtombs_chk.c: Likewise.
56874         * debug/wcstombs_chk.c: Likewise.
56875         * dirent/dirent.h: Likewise.
56876         * dlfcn/dlfcn.h: Likewise.
56877         * elf/neededtest4.c: Likewise.
56878         * grp/grp.h: Likewise.
56879         * gshadow/gshadow.h: Likewise.
56880         * iconv/gconv.h: Likewise.
56881         * iconv/gconv_int.h: Likewise.
56882         * iconv/gconv_simple.c: Likewise.
56883         * iconv/iconv.h: Likewise.
56884         * iconv/loop.c: Likewise.
56885         * iconv/skeleton.c: Likewise.
56886         * include/aio.h: Likewise.
56887         * include/aliases.h: Likewise.
56888         * include/argz.h: Likewise.
56889         * include/arpa/inet.h: Likewise.
56890         * include/assert.h: Likewise.
56891         * include/dirent.h: Likewise.
56892         * include/dlfcn.h: Likewise.
56893         * include/execinfo.h: Likewise.
56894         * include/fcntl.h: Likewise.
56895         * include/fenv.h: Likewise.
56896         * include/glob.h: Likewise.
56897         * include/grp.h: Likewise.
56898         * include/libintl.h: Likewise.
56899         * include/mntent.h: Likewise.
56900         * include/netdb.h: Likewise.
56901         * include/pwd.h: Likewise.
56902         * include/rpc/netdb.h: Likewise.
56903         * include/sched.h: Likewise.
56904         * include/search.h: Likewise.
56905         * include/shadow.h: Likewise.
56906         * include/signal.h: Likewise.
56907         * include/stdio.h: Likewise.
56908         * include/stdlib.h: Likewise.
56909         * include/string.h: Likewise.
56910         * include/sys/socket.h: Likewise.
56911         * include/sys/stat.h: Likewise.
56912         * include/sys/statfs.h: Likewise.
56913         * include/sys/statvfs.h: Likewise.
56914         * include/sys/syslog.h: Likewise.
56915         * include/sys/time.h: Likewise.
56916         * include/sys/uio.h: Likewise.
56917         * include/time.h: Likewise.
56918         * include/unistd.h: Likewise.
56919         * include/utmp.h: Likewise.
56920         * include/wchar.h: Likewise.
56921         * include/wctype.h: Likewise.
56922         * inet/aliases.h: Likewise.
56923         * inet/arpa/inet.h: Likewise.
56924         * inet/netinet/ether.h: Likewise.
56925         * inet/netinet/in.h: Likewise.
56926         * intl/libintl.h: Likewise.
56927         * io/bits/fcntl2.h: Likewise.
56928         * io/fcntl.h: Likewise.
56929         * io/ftw.h: Likewise.
56930         * io/sys/poll.h: Likewise.
56931         * io/sys/stat.h: Likewise.
56932         * io/sys/statfs.h: Likewise.
56933         * io/sys/statvfs.h: Likewise.
56934         * io/utime.h: Likewise.
56935         * libio/bits/stdio.h: Likewise.
56936         * libio/bits/stdio2.h: Likewise.
56937         * libio/libio.h: Likewise.
56938         * libio/libioP.h: Likewise.
56939         * libio/stdio.h: Likewise.
56940         * locale/lc-ctype.c: Likewise.
56941         * locale/locale.h: Likewise.
56942         * login/utmp.h: Likewise.
56943         * malloc/arena.c: Likewise.
56944         * malloc/malloc.c: Likewise.
56945         * malloc/malloc.h: Likewise.
56946         * malloc/mcheck.c: Likewise.
56947         * malloc/mtrace.c: Likewise.
56948         * math/bits/mathcalls.h: Likewise.
56949         * math/fenv.h: Likewise.
56950         * math/math_private.h: Likewise.
56951         * misc/bits/error.h: Likewise.
56952         * misc/bits/syslog.h: Likewise.
56953         * misc/err.h: Likewise.
56954         * misc/error.h: Likewise.
56955         * misc/fstab.h: Likewise.
56956         * misc/mntent.h: Likewise.
56957         * misc/regexp.h: Likewise.
56958         * misc/search.h: Likewise.
56959         * misc/sgtty.h: Likewise.
56960         * misc/sys/mman.h: Likewise.
56961         * misc/sys/syslog.h: Likewise.
56962         * misc/sys/uio.h: Likewise.
56963         * misc/sys/xattr.h: Likewise.
56964         * misc/ttyent.h: Likewise.
56965         * nis/rpcsvc/ypclnt.h: Likewise.
56966         * nss/nss.h: Likewise.
56967         * posix/bits/unistd.h: Likewise.
56968         * posix/fnmatch.h: Likewise.
56969         * posix/glob.h: Likewise.
56970         * posix/sched.h: Likewise.
56971         * posix/spawn.h: Likewise.
56972         * posix/sys/wait.h: Likewise.
56973         * posix/unistd.h: Likewise.
56974         * posix/wordexp.h: Likewise.
56975         * pwd/pwd.h: Likewise.
56976         * resolv/netdb.h: Likewise.
56977         * resource/sys/resource.h: Likewise.
56978         * rt/aio.h: Likewise.
56979         * rt/bits/mqueue2.h: Likewise.
56980         * rt/mqueue.h: Likewise.
56981         * shadow/shadow.h: Likewise.
56982         * signal/signal.h: Likewise.
56983         * socket/send.c: Likewise.
56984         * socket/sendto.c: Likewise.
56985         * socket/sys/socket.h: Likewise.
56986         * stdio-common/printf.h: Likewise.
56987         * stdlib/bits/stdlib.h: Likewise.
56988         * stdlib/fmtmsg.h: Likewise.
56989         * stdlib/monetary.h: Likewise.
56990         * stdlib/stdlib.h: Likewise.
56991         * stdlib/ucontext.h: Likewise.
56992         * streams/stropts.h: Likewise.
56993         * string/argz.h: Likewise.
56994         * string/bits/string2.h: Likewise.
56995         * string/string.h: Likewise.
56996         * string/strings.h: Likewise.
56997         * sunrpc/rpc/auth.h: Likewise.
56998         * sunrpc/rpc/auth_des.h: Likewise.
56999         * sunrpc/rpc/clnt.h: Likewise.
57000         * sunrpc/rpc/netdb.h: Likewise.
57001         * sunrpc/rpc/pmap_clnt.h: Likewise.
57002         * sunrpc/rpc/xdr.h: Likewise.
57003         * sysdeps/generic/inttypes.h: Likewise.
57004         * sysdeps/generic/net/if.h: Likewise.
57005         * sysdeps/generic/sys/swap.h: Likewise.
57006         * sysdeps/gnu/net/if.h: Likewise.
57007         * sysdeps/gnu/utmpx.h: Likewise.
57008         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
57009         * sysdeps/i386/i486/bits/string.h: Likewise.
57010         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
57011         * sysdeps/s390/bits/string.h: Likewise.
57012         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
57013         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
57014         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
57015         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
57016         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
57017         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
57018         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
57019         * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
57020         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
57021         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
57022         * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
57023         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
57024         * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
57025         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
57026         * sysdeps/unix/sysv/linux/readv.c: Likewise.
57027         * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
57028         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
57029         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
57030         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
57031         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
57032         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
57033         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
57034         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
57035         * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
57036         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
57037         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
57038         * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
57039         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
57040         * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
57041         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
57042         * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
57043         * sysvipc/sys/ipc.h: Likewise.
57044         * sysvipc/sys/msg.h: Likewise.
57045         * sysvipc/sys/sem.h: Likewise.
57046         * sysvipc/sys/shm.h: Likewise.
57047         * termios/termios.h: Likewise.
57048         * time/sys/time.h: Likewise.
57049         * time/time.h: Likewise.
57050         * wcsmbs/bits/wchar2.h: Likewise.
57051         * wcsmbs/uchar.h: Likewise.
57052         * wcsmbs/wchar.h: Likewise.
57053         * wctype/wctype.h: Likewise.
57055         [BZ #13551]
57056         * Makeconfig: Remove all but ELF support including AIX support.
57057         * Makerules: Likewise.
57058         * config.h.in: Likewise.
57059         * config.make.in: Likewise.
57060         * configure: Likewise.
57061         * configure.in: Likewise.
57062         * csu/Makefile: Likewise.
57063         * csu/version.c: Likewise.
57064         * debug/Makefile: Likewise.
57065         * dlfcn/Makefile: Likewise.
57066         * elf/Makefile: Likewise.
57067         * extra-lib.mk: Likewise.
57068         * iconv/Makefile: Likewise.
57069         * include/libc-symbols.h: Likewise.
57070         * include/shlib-compat.h: Likewise.
57071         * resolv/Makefile: Likewise.
57072         * resolv/res_libc.c: Likewise.
57073         * rt/Makefile: Likewise.
57074         * sysdeps/i386/asm-syntax.h: Likewise.
57075         * sysdeps/i386/sysdep.h: Likewise.
57076         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
57077         * sysdeps/mach/sysdep.h: Likewise.
57078         * sysdeps/powerpc/powerpc32/Makefile: Likewise.
57079         * sysdeps/powerpc/powerpc64/Makefile: Likewise.
57080         * sysdeps/s390/asm-syntax.h: Likewise.
57081         * sysdeps/s390/s390-32/sysdep.h: Likewise.
57082         * sysdeps/s390/s390-64/sysdep.h: Likewise.
57083         * sysdeps/sh/sysdep.h: Likewise.
57084         * sysdeps/unix/sparc/sysdep.h: Likewise.
57085         * sysdeps/wordsize-32/divdi3.c: Likewise.
57086         * sysdeps/x86_64/sysdep.h: Likewise.
57088         * argp/Versions: Remove _argp_unlock_xxx.
57090         [BZ #13559]
57091         * abilist/ld.abilist: Update.  Adjust for removal of tls option.
57092         * abilist/libBrokenLocale.abilist: Likewise.
57093         * abilist/libanl.abilist: Likewise.
57094         * abilist/libc.abilist: Likewise.
57095         * abilist/libcrypt.abilist: Likewise.
57096         * abilist/libdl.abilist: Likewise.
57097         * abilist/libm.abilist: Likewise.
57098         * abilist/libnsl.abilist: Likewise.
57099         * abilist/libpthread.abilist: Likewise.
57100         * abilist/libresolv.abilist: Likewise.
57101         * abilist/librt.abilist: Likewise.
57102         * abilist/libthread_db.abilist: Likewise.
57103         * abilist/libutil.abilist: Likewise.
57104         * abilist/libnss_db.abilist: New file.
57106         * scripts/abilist.awk: Add support for indirect functions.
57108         * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
57110         * sysdeps/generic/ldsodefs.h: Remove Alpha support.
57112         * shlib-versions: Remove entries for ports architectures.
57114         * elf/tls-macros.h: Remove support for Alpha and IA-64.  Should be in
57115         files in ports.
57116         * elf/stackguard-macros.h: Remove support for IA-64.
57117         * elf/tst-auditmod1.c: Likewise.
57118         * sysdeps/generic/ldsodefs.h: Likewise.
57120         * sysdeps/unix/sysv/linux/configure.in: Ports should define
57121         libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
57122         configure files.
57124         [BZ #13552]
57125         * configure.in: Remove --enable-omitfp support.
57126         * FAQ.in: Adjust.
57127         * config.make.in: Likewise.
57128         * Makeconfig: Likewise.
57129         * manual/install.texi: Likewise.
57131         In case anyone cares, the IA-64 architecture could move to ports.
57132         * sysdeps/ia64/*: Removed.
57133         * sysdeps/unix/sysv/linux/ia64/*: Removed.
57134         * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
57136         [BZ #13555]
57137         * configure.in: Remove entries for unsupported architectures.
57139         [BZ #13533]
57140         * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
57141         * iconv/gconv_simple.c: Rename char16_t routines.  Add char16_t<->utf8
57142         routines.
57143         * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
57144         * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
57145         * wcsmbs/c16rtomb.c: Fix a few problems.  Disable all the code and
57146         fall back to using wcrtomb.
57147         * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
57148         * wcsmbs/wcsmbsload.c: Make char16 routines optional.  Adjust for
57149         renaming.
57150         * wcsmbs/Makefile (tests): Add tst-c16c32-1:
57151         * wcsmbs/tst-c16c32-1.c: New file.
57153         * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
57154         local variable.
57156         * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
57158         * elf/tst-unique3.cc: Add explicit declaration of gets.
57159         * elf/tst-unique3lib.cc: Likewise.
57160         * elf/tst-unique3lib2.cc: Likewise.
57161         * elf/tst-unique4.cc: Likewise.
57163         * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
57165 2012-01-06  Joseph Myers  <joseph@codesourcery.com>
57167         [BZ #13566]
57168         * assert/assert.h (static_assert): Don't define for C++.
57169         * libio/stdio.h (gets): Do declare for C++ <= C++11.
57170         * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
57172 2012-01-03  Ulrich Drepper  <drepper@gmail.com>
57174         * iconv/loop.c (single loop): Fix assertion in storing of
57175         remaining bytes.
57177         * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
57179 2012-01-01  Ulrich Drepper  <drepper@gmail.com>
57181         * posix/getconf.c: Update copyright year.
57182         * nss/getent.c: Likewise.
57183         * nss/makedb.c: Likewise.
57184         * iconv/iconvconfig.c: Likewise.
57185         * iconv/iconv_prog.c: Likewise.
57186         * elf/ldconfig.c: Likewise.
57187         * elf/pldd.c: Likewise.
57188         * elf/sotruss.ksh: Likewise.
57189         * catgets/gencat.c: Likewise.
57190         * csu/version.c: Likewise.
57191         * elf/ldd.bash.in: Likewise.
57192         * elf/sprof.c (print_version): Likewise.
57193         * locale/programs/locale.c: Likewise.
57194         * locale/programs/localedef.c: Likewise.
57195         * login/programs/pt_chown.c: Likewise.
57196         * nscd/nscd.c (print_version): Likewise.
57197         * debug/xtrace.sh: Likewise.
57198         * malloc/memusage.sh: Likewise.
57199         * malloc/mtrace.pl: Likewise.
57200         * debug/catchsegv.sh: Likewise.
57202 2011-12-30  Jakub Jelinek  <jakub@redhat.com>
57204         * posix/regex_internal.c (re_string_fetch_byte_case): Remove
57205         pure attribute.
57207 2011-12-24  Ulrich Drepper  <drepper@gmail.com>
57209         [BZ #13533]
57210         * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
57211         * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
57212         transformations.
57213         * iconv/gconv_int.h: Likewise.
57214         * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
57215         * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
57216         from libc for GLIBC_2.16.
57217         * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
57218         * wcsmbs/wcrtomb.c: Define c32rtomb alias.
57219         * wcsmbs/uchar.h: Really define mbstate_t.
57220         * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
57221         * wcsmbs/c16rtomb.c: New file.
57222         * wcsmbs/mbrtoc16.c: New file.
57223         * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
57224         for C/POSIX locale.
57225         (__wcsmbs_load_conv): Do not fill in c16 routines yet.
57226         * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
57228         * wcsmbs/wchar.h: Add missing __restrict.
57230 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
57232         [BZ #13532]
57233         * time/Makefile (routines): Add timespec_get.
57234         * time/Versions: Export timespec_get from libc for GLIBC_2.16.
57235         * time/time.h: Define TIME_UTC and declare timespec_get.  Define
57236         timespec for ISO C11.
57237         * time/timespec_get.c: New file.
57238         * sysdeps/unix/sysv/linux/timespec_get.c: New file.
57239         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
57241         [BZ #13531]
57242         * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
57243         * stdlib/stdlib.h: Declare aligned_alloc.
57244         * Versions.def: Add GLIBC_2.16 for libc.
57245         * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
57247         [BZ 13527]
57248         * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
57249         ISO C11.
57251         * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
57252         code.
57254         [BZ #13528]
57255         * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
57257         [BZ #13529]
57258         * assert/assert.h (static_assert): Define.
57260         * version.h: Update for 2.16 development version.
57262         [BZ #13526]
57263         * include/features.h: Handle __STDC_VERSION__ >= 201112 and
57264         _ISOC11_SOURCE.
57266         * version.h (RELEASE): Bump for 2.15 release.
57267         * include/features.h (__GLIBC_MINOR__): Bump to 15.
57269         * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
57270         Patch by Marek Polacek <mpolacek@redhat.com>.
57272         * bits/byteswap.h: Protect long long constants with __extension__.
57273         * sysdeps/i386/bits/byteswap.h: Likewise.
57274         * sysdeps/ia64/bits/byteswap.h: Likewise.
57275         * sysdeps/s390/bits/byteswap.h: Likewise.
57276         * sysdeps/x86_64/bits/byteswap.h: Likewise.
57278 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
57280         [BZ #13540]
57281         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
57282         destination buffer.
57283         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
57285 2011-12-23  Marek Polacek  <polacek@redhat.com>
57287         * elf/dl-addr.c (determine_info): Add inline keyword.
57288         * elf/tst-auditmod4b.c (check_avx): Likewise.
57289         * elf/tst-auditmod6b.c (check_avx): Likewise.
57290         * elf/tst-auditmod6c.c (check_avx): Likewise.
57291         * elf/tst-auditmod7b.c (check_avx): Likewise.
57293 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
57295         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
57296         !__SSE_MATH__.
57298 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
57300         [BZ #13540]
57301         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
57302         processing for last bytes.
57304 2011-08-06  Bruno Haible  <bruno@clisp.org>
57306         [BZ #13061]
57307         * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
57308         U+0385, not to U+1FEE.
57310         [BZ #13062]
57311         * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
57312         entry for U+00A5 U+0301.
57314 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
57316         [BZ #13166]
57317         * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
57318         buffer for the output is too small.
57320         * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
57321         optimization.
57323         [BZ #13185]
57324         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
57325         SSE flags if possible.
57327 2011-12-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
57329         [BZ #13540]
57330         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
57331         processing for last bytes.
57333 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
57335         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
57336         (syscall-list-default-options, syscall-list-default-condition)
57337         (syscall-list-includes): Define.
57338         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
57339         list of ABIs and options and #if conditions for each ABI.  Do not
57340         handle common syscalls between ABIs specially.
57341         * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
57342         Remove.
57343         (syscall-list-variants, syscall-list-32bit-options)
57344         (syscall-list-32bit-condition, syscall-list-64bit-options)
57345         (syscall-list-64bit-condition): Define.
57346         * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
57347         (syscall-list-variants, syscall-list-32bit-options)
57348         (syscall-list-32bit-condition, syscall-list-64bit-options)
57349         (syscall-list-64bit-condition): Define.
57350         * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
57351         Remove.
57352         (syscall-list-variants, syscall-list-32bit-options)
57353         (syscall-list-32bit-condition, syscall-list-64bit-options)
57354         (syscall-list-64bit-condition): Define.
57355         * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
57356         Remove.
57357         (syscall-list-variants, syscall-list-32bit-options)
57358         (syscall-list-32bit-condition, syscall-list-64bit-options)
57359         (syscall-list-64bit-condition): Define.
57361 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
57363         * locale/iso-639.def: Add brx entry.
57365         [BZ #13328]
57366         * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
57367         Proposed by Mariusz_Cukr <marcukr@op.pl>.
57369         * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
57370         __feraiseexcept_renamed.
57372 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
57374         [BZ #13538]
57375         * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
57376         EPOLLET with unsigned values.
57377         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
57378         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
57380         * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
57381         to large cancellation.
57382         * math/s_cacoshf.c: Likewise.
57383         * math/s_cacoshl.c: Likewise.
57385 2011-11-18  Richard B. Kreckel  <kreckel@ginac.de>
57387         [BZ #13305]
57388         [BZ #12786]
57389         * math/s_cacosh.c: Fix rare miscomputation in cacosh().
57390         * math/s_cacoshf.c: Likewise.
57391         * math/s_cacoshl.c: Likewise.
57393 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
57395         [BZ #13439]
57396         * iconv/gconv.h: Define __GCONV_SWAP.
57397         * iconvdata/unicode.c: The swap bit must be stored in __flags.
57398         * iconvdata/utf-16.c: Likewise.
57399         * iconvdata/utf-32.c: Likewise.
57401 2011-12-21  Andreas Schwab  <schwab@linux-m68k.org>
57403         [BZ #13524]
57404         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
57405         numerator after shifting it by one limb.
57407 2011-12-19  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
57409         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
57410         under [__USE_EXTERN_INLINES].
57412 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
57414         [BZ #13446]
57415         * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
57417 2011-11-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
57419         * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
57420         * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
57421         optimized code.
57422         * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
57423         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
57424         * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
57425         * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
57426         for strncasecmp/strncasecmp_l compilation.
57427         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
57428         * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
57430 2011-12-08  Marek Polacek  <mpolacek@redhat.com>
57432         [BZ #13484]
57433         * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
57434         of __asm__.
57436 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
57438         [BZ #13506]
57439         * time/tzfile.c (__tzfile_read): Check values from file header.
57441 2011-11-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
57443         * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
57444         * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
57445         * powerpc/powerpc32/dl-start.S: Likewise.
57446         * powerpc/powerpc32/elf/start.S: Likewise.
57447         * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
57448         * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
57449         * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
57450         * powerpc/powerpc32/fpu/s_floor.S: Likewise.
57451         * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
57452         * powerpc/powerpc32/fpu/s_lround.S: Likewise.
57453         * powerpc/powerpc32/fpu/s_rint.S: Likewise.
57454         * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
57455         * powerpc/powerpc32/fpu/s_round.S: Likewise.
57456         * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
57457         * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
57458         * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
57459         * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
57460         * powerpc/powerpc32/memset.S: Likewise.
57461         * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
57462         * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
57463         * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
57464         * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
57465         * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
57466         * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
57467         * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
57468         * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
57469         * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
57470         * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
57471         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
57472         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
57473         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
57475 2011-11-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
57477         * math/libm-test.inc: Added more nearbyint tests.
57478         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
57479         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
57480         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
57481         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
57483 2011-11-21  Ross Lagerwall  <rosslagerwall@gmail.com>
57485         * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
57486         FD_CLOEXEC.
57488 2011-11-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
57490         * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
57491         Add wcscpy-ssse3 wcscpy-c.
57492         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
57493         * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
57494         * sysdeps/x86_64/multiarch/wcscpy.S: New file.
57495         * sysdeps/x86_64/wcschr.S: New file.
57496         * sysdeps/x86_64/wcsrchr.S: New file.
57497         * string/test-strcmp.c: Remove checking of wcscmp function for
57498         wrong alignments.
57499         * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
57500         (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
57501         wcsrchr-sse2 wcsrchr-c.
57502         * sysdeps/i386/i686/multiarch/wcschr.S: New file.
57503         * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
57504         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
57505         * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
57506         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
57507         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
57508         * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
57509         * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
57510         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
57511         * wcsmbc/wcschr.c (WCSCHR): New macro.
57513 2011-11-17  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
57515         * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
57516         * wcsmbs/test-wcsrchr.c: New file.
57517         * string/test-strrchr.c: Add wcsrchr support.
57518         (WIDE): New macro.
57519         * wcsmbs/test-wcscpy.c: New file.
57520         * string/test-strcpy.c: Add wcscpy support.
57521         (WIDE): New macro.
57523 2011-12-10  Ulrich Drepper  <drepper@gmail.com>
57525         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
57526         the inner loop.
57528 2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
57530         [BZ #13472]
57531         * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
57533 2011-12-04  Ulrich Drepper  <drepper@gmail.com>
57535         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
57536         Minor optimizations.
57538         * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
57539         * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
57540         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
57542 2011-12-03  Ulrich Drepper  <drepper@gmail.com>
57544         * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
57545         IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
57546         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
57547         for gcc to avoid warnings.
57548         * inet/Makefile (tests): Add tst-checks.
57549         * inet/tst-checks.c: New file.
57551         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
57552         warning.
57554         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
57555         __wmemcmp_sse2.
57557         * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
57558         * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
57560         * malloc/mcheck.h: Fix use of incorrect encoding in comment.
57562 2011-12-02  Ulrich Drepper  <drepper@gmail.com>
57564         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
57565         problem.
57567         * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
57569 2011-11-29  Joseph Myers  <joseph@codesourcery.com>
57571         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
57572         conditional on GCC version.
57573         (__arch_compare_and_exchange_val_8_acq)
57574         (__arch_compare_and_exchange_val_16_acq)
57575         (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
57576         (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
57577         (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
57579 2011-12-02  Joseph Myers  <joseph@codesourcery.com>
57581         * sysdeps/sh/backtrace.c: New file.
57583 2011-12-02  Andreas Schwab  <schwab@redhat.com>
57585         * misc/bits/select2.h (__FD_ELT): Mark as extension.  Add
57586         parenthesis.
57588 2011-12-01  Andreas Schwab  <schwab@redhat.com>
57590         * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
57591         falling back to utime.
57593 2011-11-30  Andreas Schwab  <schwab@redhat.com>
57595         * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
57596         expectations for float.
57598 2011-11-29  Andreas Schwab  <schwab@redhat.com>
57600         * locale/weight.h (findidx): Add parameter len.
57601         * locale/weightwc.h (findidx): Likewise.
57602         * posix/fnmatch_loop.c (FCT): Adjust caller.
57603         * posix/regcomp.c (build_equiv_class): Likewise.
57604         * posix/regex_internal.h (re_string_elem_size_at): Likewise.
57605         * posix/regexec.c (check_node_accept_bytes): Likewise.
57606         * string/strcoll_l.c (STRCOLL): Likewise.
57607         * string/strxfrm_l.c (STRXFRM): Likewise.
57609 2011-11-17  Ulrich Drepper  <drepper@gmail.com>
57611         * Makefile.in: Remove CVSOPT handling.
57612         * configure.in: Remove use of AC_REVISION.
57613         * iconvdata/Makefile (distribute): No need to filter out CVS.
57614         * scripts/list-sources.sh: Remove CVS, subversion and monotone
57615         handling.
57617 2011-11-16  Andreas Schwab  <schwab@redhat.com>
57619         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
57620         [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
57621         [USE_AS_STRNCASECMP_L]: Likewise.
57622         (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
57623         NO_TLS_DIRECT_SEG_REFS.
57624         * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
57625         Fix argument offsets for non-PIC.
57626         [USE_AS_STRNCASECMP_L]: Likewise.
57627         (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
57628         NO_TLS_DIRECT_SEG_REFS.
57630 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
57632         * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
57633         O_CLOEXEC.
57634         * locale/loadlocale.c (_nl_load_locale): Likewise.
57636 2011-11-15  Andreas Schwab  <schwab@redhat.com>
57638         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
57639         [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
57640         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
57641         (SYSCALL_GETTIME): Set errno on error.
57643         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
57644         count references to noai6ai_cached.
57646 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
57648         * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
57650         * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
57651         FD_CLOEXEC for /proc/self/maps.
57653         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
57654         FD_CLOEXEC for /proc/meminfo.
57656         * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
57657         gai.conf.
57659         * resolv/res_query.c (res_hostalias):  Don't allow cancellation and set
57660         FD_CLOEXEC for given file.
57662         * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
57664         * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
57665         FD_CLOEXEC for /etc/hosts.
57666         (_gethtent): Likewise.
57668         * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
57670         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
57671         cancellation and set FD_CLOEXEC for /etc/netgroup.
57673         * nss/nss_files/files-key.c (search): Don't allow cancellation when
57674         reading /etc/publickey.
57676         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
57677         allow cancellation when reading /etc/group.
57679         * nss/nss_files/files-alias.c (internal_setent): Don't allow
57680         cancellation.
57681         (get_next_alias): Likewise for included file.  Also set FD_CLOEXEC.
57683         * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
57684         when using data file.
57686         * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
57688         * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
57689         (write_nis_obj): Use "c" and "e" in fopen.
57691         * misc/mntent_r.c (__setmntent): Also append e to fopen format.
57693         * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
57695         * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
57697         * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
57699         * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
57700         locale.alias.
57702         * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
57704         * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
57706         * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
57708         * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
57709         file parsing and set FD_CLOEXEC.
57711 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
57713         * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
57715 2011-11-14  Andreas Schwab  <schwab@redhat.com>
57717         * malloc/arena.c (arena_get2): Don't call reused_arena when
57718         _int_new_arena failed.
57720 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
57722         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
57723         (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
57724         * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
57725         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
57726         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
57727         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
57728         to compile strcasecmp and strncasecmp.
57729         * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
57730         * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
57732         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
57734 2011-11-13  Ulrich Drepper  <drepper@gmail.com>
57736         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
57737         locale-defines.sym to gen-as-const-headers.
57738         (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
57739         strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
57740         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
57741         to compile strcasecmp and strncasecmp.
57742         * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
57743         strcasecmp_l and strncasecmp_l.
57744         * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
57745         * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
57746         * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
57747         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
57748         * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
57749         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
57750         * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
57751         * sysdeps/i386/i686/multiarch/strncase.S: New file.
57752         * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
57753         * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
57754         * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
57756 2011-11-12  Ulrich Drepper  <drepper@gmail.com>
57758         * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
57759         result of SYSDEP_GETTIME_CPU to retval.
57760         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
57761         parameter list to macro.  Remove trailing semicolon.  Adjust users.
57763         * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
57764         variable.
57766         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
57767         mantissa words.
57768         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
57770         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
57771         from unused variable.
57773         * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
57774         DWARF definitions.
57775         * sysdeps/generic/dwarf2.h: Don't define enums when using the file
57776         for assembling.
57778         * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
57779         over namespaces.
57781         * sunrpc/rpc_prot.c (rejected): Fix case value.
57783         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
57784         unsigned long long int to avoid warnings in shift.
57786         * posix/regex_internal.c (re_string_reconstruct): Actually use result
57787         of use of trans.
57788         * posix/regex_internal.h (re_string_wchar_at): Remove temporary
57789         variable tmp.
57791         * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
57792         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
57793         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
57795         * nis/nis_table.c (nis_list): Use variable of correct type for
57796         result of __follow_path call.
57798 2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
57800         * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
57801         of math functions ceil, trunc, floor, round, and sqrt, when
57802         avaliable on the platform.
57803         * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
57804         name clash.
57805         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
57806         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
57807         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
57809 2011-10-30  Marek Polacek  <mpolacek@redhat.com>
57811         * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
57812         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
57814 2011-11-11  Roland McGrath  <roland@hack.frob.com>
57816         * include/unistd.h: Fix __readlink return type.
57817         Reported by Chris Metcalf <cmetcalf@tilera.com>.
57819 2011-11-11  Ulrich Drepper  <drepper@gmail.com>
57821         * stdlib/ucontext.h: Undo last change for makecontext.
57823 2011-11-11  Andreas Schwab  <schwab@redhat.com>
57825         * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
57827         * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
57828         * setjmp/setjmp.h: Mark functions as non-leaf.
57829         * setjmp/bits/setjmp2.h: Likewise.
57830         * stdlib/ucontext.h: Likewise.
57832 2011-11-10  Andreas Schwab  <schwab@redhat.com>
57834         * malloc/arena.c (_int_new_arena): Don't increment narenas.
57835         (reused_arena): Don't check arena limit.
57836         (arena_get2): Atomically check arena limit.
57838 2011-11-08  Ulrich Drepper  <drepper@gmail.com>
57840         * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
57841         * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
57843         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
57844         instructions.
57846 2011-11-07  Andreas Schwab  <schwab@redhat.com>
57848         * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
57849         handler when locking.
57851         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
57852         Fix size of allocated buffer.
57854 2011-11-04  Andreas Schwab  <schwab@redhat.com>
57856         [BZ #10103]
57857         * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
57858         declarations for long double functions.
57859         * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
57861         * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
57863 2011-11-03  Andreas Schwab  <schwab@redhat.com>
57865         * nscd/nscd.c (main): Don't start AVC thread until credentials are
57866         installed.
57868         * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
57869         is disabled.
57871 2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
57873         * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
57875 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
57877         * include/alloca.h (stackinfo_alloca_round): Define.
57878         (extend_alloca): Use it.
57879         [_STACK_GROWS_UP]: Correct check for adjacent allocation.
57880         * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
57881         here.
57883         * scripts/check-local-headers.sh: Ignore libaudit.h.
57885         * nscd/Makefile (extra-objs): Make recursively expanded.
57887 2011-11-01  Ulrich Drepper  <drepper@gmail.com>
57889         * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
57890         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
57892         * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
57893         * posix/tst-rfc3484-2.c: Likewise.
57894         * posix/tst-rfc3484-3.c: Likewise.
57896         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
57897         process_vm_writev.
57898         * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
57899         process_vm_writev.
57900         * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
57901         process_vm_writev from libc using GLIBC_2.15 version.
57903         * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
57905 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
57907         * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
57908         stack usage.
57910 2011-10-31  Ulrich Drepper  <drepper@gmail.com>
57912         [BZ #13367]
57913         * nss/getent.c (initgroups_keys): Show error message in case no group
57914         names are given.
57916         * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
57917         * inet/check_pf.c: Provide dummy versions of __free_in6ai and
57918         __bump_nl_timestamp.
57919         * nscd/connections (nscd_init): When host database is served open
57920         netlink socket and request notification about configuration changes.
57921         (main_loop_poll): Track netlink file descriptor and bump timestamp
57922         in case data becomes available.
57923         (main_loop_epoll): Likewise.
57924         * nscd/nscd-client.h (DB_VERSION): Bump to 2.
57925         (database_pers_head): Add extra_data fileds.
57926         Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
57927         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
57928         * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
57929         Adjust caller.
57930         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
57931         in6ai data, call __free_in6ai.
57932         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
57933         Add -DHAVE_NETLINK.
57934         * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite.  Cache the
57935         interface information.  Reuse previous data if netlink timestamp
57936         is not changed.
57937         (__bump_nl_timestamp): New function.
57938         (__free_in6ai): New function.
57940 2011-10-30  Ulrich Drepper  <drepper@gmail.com>
57942         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
57943         close_not_cancel_no_status here.
57944         (__check_pf): Reorganize code a bit to not call close twice if OOM.
57946 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
57948         [BZ #13276]
57949         * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
57950         return value.
57952         * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
57953         * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
57954         asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
57956 2011-07-03  Andreas Jaeger  <aj@suse.de>
57958         [BZ #10709]
57959         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
57960         of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
57961         * math/libm-test.inc (sin_test): Add test case.
57963 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
57965         [BZ #13337]
57966         * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
57967         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
57969         * elf/chroot_canon.c (chroot_canon): Cleanups.
57971         * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
57973         [BZ #13335]
57974         * elf/chroot_canon.c (chroot_canon): Fix readlink call.
57975         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
57977         * string/test-strchr.c: Make usable for strchrnul testing.
57978         * string/test-strchrnul.c: New file.
57979         * string/Makefile (strop-tests): Add strchrnul.
57981         * po/it.po: Update from translation team.
57982         * po/es.po: Likewise.
57984 2011-10-28  Ulrich Drepper  <drepper@gmail.com>
57986         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
57987         the three constants needed as parameters.  Drop the others.
57988         (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
57989         __m128i_strloadu_tolower.
57990         Create and initialize variable zero and use it in all the places
57991         where _mm_setzero_si128 was used.
57993         * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
57994         doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
57995         mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
57996         * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
57997         anymore.
57998         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
57999         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
58000         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
58001         __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
58002         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
58003         __mpranred, __mptan.
58004         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
58005         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
58006         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
58007         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
58008         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
58009         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
58010         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
58011         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
58012         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
58014 2011-10-28  Andreas Schwab  <schwab@redhat.com>
58016         * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
58017         redefine if SHARED.
58018         * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
58020         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
58021         wide char related routines to wcsmbs subdir.
58023 2011-10-27  Andreas Schwab  <schwab@redhat.com>
58025         [BZ #13344]
58026         * misc/sys/cdefs.h (__THROWNL): Define.
58027         * posix/unistd.h: Use __THREADNL instead of __THREAD
58028         for memory synchronization functions.
58030 2011-10-26  Roland McGrath  <roland@hack.frob.com>
58032         [BZ #13349]
58033         * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
58034         doesn't exist.
58035         * manual/stdio.texi (Obstack Streams): Node removed.
58037 2011-10-26  Andreas Schwab  <schwab@redhat.com>
58039         * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
58040         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
58041         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
58043         * math/math_private.h (math_force_eval): Allow non-addressable
58044         arguments.
58045         * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
58047 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
58049         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
58050         file is not needed.
58052         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
58053         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
58054         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
58055         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
58056         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
58057         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
58058         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
58059         * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
58060         Add AVX variants.
58061         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
58062         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
58063         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
58064         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
58065         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
58066         * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
58067         * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
58068         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
58069         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
58070         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
58071         * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
58072         * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
58073         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
58074         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
58075         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
58076         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
58077         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
58078         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
58079         * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
58081         * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
58082         all the time.  Define bit_AVX.  Define HAS_* macros using bit_* macros.
58084         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
58085         place.  Use VEX encoding when compiling for AVX.
58087 2011-10-25  Andreas Schwab  <schwab@redhat.com>
58089         * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
58090         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
58092         * string/test-strchr.c (do_test): Don't generate NUL bytes.
58094 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
58096         * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
58097         useless if() expression.
58098         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
58099         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
58100         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
58101         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
58102         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
58103         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
58104         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
58105         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
58106         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
58107         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
58108         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
58109         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
58110         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
58111         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
58112         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
58113         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
58114         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
58115         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
58116         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
58118         * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
58120 2011-10-25  Andreas Schwab  <schwab@redhat.com>
58122         * elf/dl-deps.c (_dl_map_object_deps): Remove always true
58123         condition.
58124         * elf/dl-fini.c (_dl_sort_fini): Likewise.
58126 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
58128         * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
58129         .text section.  Avoid duplicate constants.
58130         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
58131         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
58132         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
58133         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
58134         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
58135         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
58136         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
58137         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
58138         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
58139         * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
58140         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
58141         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
58142         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
58143         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
58144         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
58145         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
58146         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
58147         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
58148         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
58149         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
58150         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
58151         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
58152         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
58153         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
58154         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
58155         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
58156         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
58157         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
58158         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
58159         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
58160         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
58161         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
58162         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
58163         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
58164         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
58165         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
58166         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
58167         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
58168         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
58169         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
58170         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
58171         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
58172         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
58173         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
58174         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
58176 2011-10-24  Ulrich Drepper  <drepper@gmail.com>
58178         * sysdeps/x86_64/dla.h: Move to ...
58179         * sysdeps/x86_64/fpu/dla.h: ...here.
58180         (DLA_FMS): Some compilers fail to inline __builtin_fma in some
58181         situations.  Use __builtin_fma only for gcc 4.6 and up.
58183         * config.make.in: Add have-mfma4 entry.
58184         * configure.in: Substitute libc_cv_cc_fma4.
58185         * math/Makefile (dbl-only-routines): Add sincostab.
58186         * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
58187         Use __sincostab not sincos.
58188         * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
58189         name is a macro.
58190         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
58191         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
58192         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
58193         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.  Define singArctan2
58194         using __copysign.
58195         * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr.  Don't define
58196         __cr and __cpymn.  Define __cpy unless NO___CPY is defined.  Define
58197         norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
58198         * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
58199         and __inv.
58200         * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
58201         * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
58202         __copysign.
58203         * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos.  Don't
58204         define aliases when function name is a macro.
58205         * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
58206         sysdeps/ieee754/dbl-64/sincos.tbl.
58207         * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
58208         fma4-enabled routines.
58209         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
58210         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
58211         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
58212         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
58213         * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
58214         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
58215         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
58216         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
58217         * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
58218         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
58219         * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
58220         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
58221         * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
58222         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
58223         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
58224         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
58225         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
58226         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
58227         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
58228         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
58229         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
58230         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
58231         * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
58232         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
58233         * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
58234         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
58235         * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
58236         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
58237         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
58238         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
58240         * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
58241         rename.
58242         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
58243         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
58244         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
58245         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
58246         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
58247         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
58248         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
58249         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
58251 2011-10-24  Andreas Schwab  <schwab@redhat.com>
58253         * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
58255 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
58257         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
58259         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
58260         prediction.
58261         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
58263         * string/strnlen.c: Don't define STRNLEN, reverse logic.
58264         Remove unused variable magic_bits.
58265         * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
58267         * string/strnlen.c: Define and use STRNLEN macro.
58268         * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
58269         Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
58270         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
58271         * wcsmbs/wcslen.c: Define and use WCSLEN.
58272         * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
58273         * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
58274         * sysdeps/i386/i686/multiarch/strnlen.S: New file.
58275         * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
58276         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
58277         * sysdeps/i386/i686/multiarch/wcslen.S: New file.
58278         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
58280 2011-10-20  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
58282         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
58283         strnlen-sse2-no-bsf.
58284         Rename strlen-no-bsf to strlen-sse2-no-bsf.
58285         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
58286         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
58287         Add strnlen support.
58288         (USE_AS_STRNLEN): New macro.
58289         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
58290         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
58291         Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
58292         * sysdeps/x86_64/wcslen.S: New file.
58294 2011-10-20  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
58296         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
58297         XMM-moves are used for copying on small sizes.
58299 2011-10-19  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
58301         * wcsmbs/Makefile (strop-tests): Add wcschr.
58302         * wcsmbs/test-wcschr.c: New file.
58303         * string/test-strchr.c: Update.
58304         Add wcschr support.
58305         (WIDE): New macro.
58307 2011-10-18  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
58309         * wcsmbs/Makefile (strop-tests): Add wcslen.
58310         * wcsmbs/test-wcslen.c: New file.
58311         * string/test-strlen.c: Update.
58312         Add wcslen support.
58313         (WIDE): New macro.
58315 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
58317         * po/it.po: Update from translation team.
58319 2011-09-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
58321         * sysdeps/x86_64/wcscmp.S: Update.
58322         Fix wrong comparison semantics.
58323         wcscmp shall use signed comparison not unsigned.
58324         Don't use substraction to avoid overflow bug.
58325         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
58326         * wcsmbc/wcscmp.c: Likewise.
58327         * string/test-strcmp.c: Likewise.
58328         Add new tests to check cases with negative values.
58330 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
58332         * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
58333         * sysdeps/x86_64/dla.h: ...here.  New file.
58334         * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
58335         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
58336         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
58337         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
58338         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
58339         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
58340         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
58341         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
58342         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
58344 2011-10-23  Andreas Schwab  <schwab@linux-m68k.org>
58346         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
58347         __ynl_finite aliases.
58349 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
58351         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
58353         * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
58354         define DLA_FMA.
58355         [DLA_FMA] (EMULV): Use DLA_FMA.
58356         [DLA_FMA] (MUL12): Use EMULV.
58357         * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
58358         that are not needed.
58359         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
58360         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
58361         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
58362         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
58363         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
58364         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
58365         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
58367 2011-10-22  Andreas Schwab  <schwab@linux-m68k.org>
58369         * math/s_nan.c: Undef __nan.
58370         * math/s_nanf.c: Undef __nanf.
58371         * math/s_nanl.c: Undef __nanl.
58372         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
58373         "math_private.h".
58375 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
58377         * math/s_catan.c: Add branch predictions.
58378         * math/s_catanf.c: Likewise.
58379         * math/s_catanh.c: Likewise.
58380         * math/s_catanhf.c: Likewise.
58381         * math/s_catanhl.c: Likewise.
58382         * math/s_catanl.c: Likewise.
58383         * math/s_cexp.c: Likewise.
58384         * math/s_cexpf.c: Likewise.
58385         * math/s_cexpl.c: Likewise.
58386         * math/s_clog.c: Likewise.
58387         * math/s_clog10.c: Likewise.
58388         * math/s_clog10f.c: Likewise.
58389         * math/s_clog10l.c: Likewise.
58390         * math/s_clogf.c: Likewise.
58391         * math/s_clogl.c: Likewise.
58392         * math/s_csqrt.c: Likewise.
58393         * math/s_csqrtf.c: Likewise.
58394         * math/s_csqrtl.c: Likewise.
58395         * math/s_ctanf.c: Likewise.
58396         * math/s_ctanh.c: Likewise.
58397         * math/s_ctanhf.c: Likewise.
58398         * math/s_ctanhl.c: Likewise.
58399         * math/s_ctanl.c: Likewise.
58401         * math/math_private.h: Define __nan, __nanf, __nanl.
58402         * math/s_cacosh.c: Include <math_private.h>.
58403         * math/s_cacoshl.c: Likewise.
58404         * math/s_casinh.c: Likewise.
58405         * math/s_casinhf.c: Likewise.
58406         * math/s_casinhl.c: Likewise.
58407         * math/s_ccos.c: Rely entire on ccosh.
58408         * math/s_ccosf.c: Rely entire on ccoshf.
58409         * math/s_ccosl.c: Rely entirely on ccoshl.
58410         * math/s_ccosh.c: Add branch predicion helpers.  Add branch prediction.
58411         Remove tests for FE_INVALID.
58412         * math/s_ccoshf.c: Likewise.
58413         * math/s_ccoshl.c: Likewise.
58414         * math/s_csin.c: Likewise.
58415         * math/s_csinf.c: Likewise.
58416         * math/s_csinh.c Likewise.
58417         * math/s_csinhf.c: Likewise.
58418         * math/s_csinhl.c: Likewise.
58419         * math/s_csinl.c: Likewise.
58420         * math/s_ctan.c: Likewise.
58421         * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
58422         * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
58423         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
58425 2011-10-21  Ulrich Drepper  <drepper@gmail.com>
58427         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
58428         compilation problems.
58430         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
58431         __builtin_expect.
58433 2011-10-20  Ulrich Drepper  <drepper@gmail.com>
58435         * sysdeps/i386/configure.in: Test for -mfma4 option.
58436         * config.h.in: Add HAVE_FMA4_SUPPORT entry.
58437         * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
58438         COMMON_CPUID_INDEX_80000001.
58439         * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
58440         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
58441         use it if FMA3 is not supported.
58442         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
58444         * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
58445         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
58447 2011-10-20  Andreas Schwab  <schwab@redhat.com>
58449         [BZ #12892]
58450         * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
58451         it would create a cycle with a link time dependency.
58453 2011-10-19  Ulrich Drepper  <drepper@gmail.com>
58455         * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
58456         instruction.
58457         * string/Makefile (strop-tests): Add rawmemchr.
58458         * string/test-rawmemchr.c: New file.
58460         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
58461         * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file.  Split out from...
58462         * sysdeps/x86_64/multiarch/strcmp.S: ...here.  Include strcmp-sse42.S
58463         when compiling str{,n}casecmp and when AVX is available.  Hook up
58464         new optimized code in initializers.
58466 2011-10-19  Andreas Schwab  <schwab@redhat.com>
58468         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
58469         __feraiseexcept instead of feraiseexcept.
58471 2011-10-18  Ulrich Drepper  <drepper@gmail.com>
58473         * math/math_private.h: Define defaults for libc_fetestexcept and
58474         libc_feupdateenv.
58475         * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
58476         * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
58477         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
58478         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
58479         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
58480         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
58481         libc_fetestexcept and libc_feupdateenv.
58483         * math/math_private.h: Define defaults for libc_feholdexcept_setround,
58484         libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
58485         * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
58486         * sysdeps/x86_64/fpu/math_private.h: Define special version of
58487         libc_feholdexcept_setround.
58489         * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
58490         Add s_nearbyint-c and s_nearbyintf-c.
58491         * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
58492         nearbyintf inlines.
58493         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
58494         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
58495         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
58496         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
58498         * math/math_private.h: Define defaults for libc_fegetround,
58499         libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
58500         libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
58501         libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
58502         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
58503         libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
58504         standard functions.
58505         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
58506         Remove comments and hacks for old compiler versions.
58507         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
58508         libc_fegetround, libc_fesetround, libc_feholdexcept, and
58509         libc_feholdexceptl.
58511 2011-10-18  Andreas Schwab  <schwab@redhat.com>
58513         * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
58514         (__feraiseexcept_renamed): Add __NTH.
58515         (feraiseexcept): Add __NTH.  Rename local variables to fix
58516         namespace violations.
58518 2011-10-17  Ulrich Drepper  <drepper@gmail.com>
58520         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
58522         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
58524         * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
58525         recently added interfaces.
58526         * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
58528         * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
58529         about macro parameter expansion.
58531         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
58532         __NO_MATH_INLINES is defined.  Cleanups.
58534         * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
58535         and __floorf is target has SSE4.1.
58536         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
58537         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
58538         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
58539         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
58541         * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
58542         name.
58543         (floorf): Likewise.
58545         * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
58547 2011-10-17  Andreas Schwab  <schwab@redhat.com>
58549         * misc/sys/cdefs.h: Fix last change.
58551         * grp/initgroups.c (internal_getgrouplist): Fix initgroups
58552         database lookup.
58554 2011-10-16  Ulrich Drepper  <drepper@gmail.com>
58556         * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
58558         * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
58559         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
58560         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
58561         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
58562         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
58563         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
58564         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
58565         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
58566         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
58567         * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
58568         * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
58569         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
58570         * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
58571         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
58572         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
58573         * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
58574         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
58575         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
58576         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
58577         * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
58578         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
58579         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
58581         * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
58582         ceil, ceilf, floor, floorf.
58584         * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
58585         Perform IRELATIVE relocations last.
58587         * elf/do-rel.h: Add another parameter nrelative, replacing the
58588         local variable with the same name.  Change name of the function
58589         to end in Rel or Rela (uppercase).
58590         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
58591         nrelative to ranges.  Only nonzero for DT_REL/DT_RELA.  Pass to the
58592         elf_dynamic_do_##reloc function.
58594 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
58596         * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
58597         is sufficient, at least on modern CPUs.
58599         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
58601         * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
58602         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
58604         * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
58605         __expl_finite.
58606         * math/bits/math-finite.h: Add entries for exp.
58607         * math/e_expl.c: Add __*_finite alias.
58608         * sysdeps/i386/fpu/e_exp.S: Likewise.
58609         * sysdeps/i386/fpu/e_expf.S: Likewise.
58610         * sysdeps/i386/fpu/e_expl.c: Likewise.
58611         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
58612         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
58613         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
58614         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
58615         * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
58616         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
58617         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
58619         * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
58620         is sufficient, at least on modern CPUs.
58622         * ctype/ctype-info.c (__ctype_init): Define.
58623         * include/ctype.h (__ctype_init): Declare.
58624         (__ctype_b_loc): The variable is always initialized.
58625         (__ctype_toupper_loc): Likewise.
58626         (__ctype_tolower_loc): Likewise.
58627         * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
58628         * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
58630 2011-10-15  Andreas Schwab  <schwab@linux-m68k.org>
58632         * wcsmbs/wmemcmp.c (WMEMCMP): Define.
58634         * configure.in: Also look in $cxxmachine/include for C++ system
58635         headers.
58637 2011-09-27  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
58639         * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
58640         memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
58641         * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
58642         * sysdeps/x86_64/multiarch/memcmp.S: Update.  Add __memcmp_ssse3.
58643         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
58644         (USE_AS_WMEMCMP): New macro.
58645         Fixing indents.
58646         * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
58647         * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
58648         * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
58649         * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
58650         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
58651         wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
58652         * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
58653         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
58654         * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
58655         * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
58656         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
58657         (USE_AS_WMEMCMP): New macro.
58658         * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
58659         * sysdeps/string/test-memcmp.c: Update.
58660         Fix simple_wmemcmp.
58661         Add new tests.
58662         * wcsmbs/wmemcmp.c: Update.
58663         (WMEMCMP): New macro.
58664         Fix overflow bug.
58666 2011-10-12  Andreas Jaeger  <aj@suse.de>
58668         [BZ #13268]
58669         * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
58671 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
58673         * libio/iofwide.c (do_length): Avoid warning.
58675         * ctype/ctype.h (__isctype_f): Add missing __THROW.
58677 2011-10-14  Ulrich Drepper  <drepper@gmail.com>
58679         * elf/pldd-xx.c (find_maps): Remove leftover debug message.
58681         * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
58682         * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
58683         * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
58684         * sysdeps/i386/i686/fpu/e_log.S: New file.
58685         * sysdeps/i386/i686/fpu/e_logf.S: New file.
58686         * sysdeps/i386/i686/fpu/e_logl.S: New file.
58688         * ctype/ctype.h: Add support for inlined isXXX functions when
58689         compiling C++ code.
58691 2011-10-14  Andreas Schwab  <schwab@redhat.com>
58693         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
58695         * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
58697 2011-10-13  Roland McGrath  <roland@hack.frob.com>
58699         [BZ #13291]
58700         * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
58702 2011-10-13  Andreas Schwab  <schwab@redhat.com>
58704         * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
58705         * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
58706         feraiseexcept.
58708         * sysdeps/x86_64/memrchr.S: Check for zero size.
58710         * string/stratcliff.c: Add memrchr tests.
58712 2011-10-12  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
58714         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
58715         memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
58716         rawmemchr-sse2 rawmemchr-sse2-bsf.
58717         * sysdeps/i386/i686/multiarch/memchr.S: New file.
58718         * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
58719         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
58720         * sysdeps/i386/i686/multiarch/memrchr.S: New file.
58721         * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
58722         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
58723         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
58724         * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
58725         * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
58726         * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
58727         * string/memrchr.c (MEMRCHR): New macro.
58729 2011-10-12  Ulrich Drepper  <drepper@gmail.com>
58731         Add integration with gcc's -ffinite-math-only and optimize wrapper
58732         functions in libm.
58733         * Versions.def: Define GLIBC_2.15 version for libm.
58734         * math/Makefile (headers): Add bits/math-finite.h.
58735         * math/bits/math-finite.h: New file.
58736         * sysdeps/ia64/fpu/bits/math-finite.h: New file.
58737         * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
58738         * math/e_acoshl.c: Add __*_finite alias.
58739         * math/e_acosl.c: Likewise.
58740         * math/e_asinl.c: Likewise.
58741         * math/e_atan2l.c: Likewise.
58742         * math/e_atanhl.c: Likewise.
58743         * math/e_coshl.c: Likewise.
58744         * math/e_exp10.c: Likewise.
58745         * math/e_exp10f.c: Likewise.
58746         * math/e_exp10l.c: Likewise.
58747         * math/e_exp2l.c: Likewise.
58748         * math/e_fmodl.c: Likewise.
58749         * math/e_gammal_r.c: Likewise.
58750         * math/e_hypotl.c: Likewise.
58751         * math/e_j0l.c: Likewise.
58752         * math/e_j1l.c: Likewise.
58753         * math/e_jnl.c: Likewise.
58754         * math/e_lgammal_r.c: Likewise.
58755         * math/e_log10l.c: Likewise.
58756         * math/e_log2l.c: Likewise.
58757         * math/e_logl.c: Likewise.
58758         * math/e_powl.c: Likewise.
58759         * math/e_sinhl.c: Likewise.
58760         * math/e_sqrtl.c: Likewise.
58761         * math/e_scalb.c: Completely rewritten and optimized.
58762         * math/e_scalbf.c: Likewise.
58763         * math/e_scalbl.c: Likewise.
58764         * math/w_acos.c: Likewise.
58765         * math/w_acosf.c: Likewise.
58766         * math/w_acosl.c: Likewise.
58767         * math/w_acosh.c: Likewise.
58768         * math/w_acoshf.c: Likewise.
58769         * math/w_acoshl.c: Likewise.
58770         * math/w_asin.c: Likewise.
58771         * math/w_asinf.c: Likewise.
58772         * math/w_asinl.c: Likewise.
58773         * math/w_atan2.c: Likewise.
58774         * math/w_atan2f.c: Likewise.
58775         * math/w_atan2l.c: Likewise.
58776         * math/w_atanh.c: Likewise.
58777         * math/w_atanhf.c: Likewise.
58778         * math/w_atanhl.c: Likewise.
58779         * math/w_exp10.c: Likewise.
58780         * math/w_exp10f.c: Likewise.
58781         * math/w_exp10l.c: Likewise.
58782         * math/w_fmod.c: Likewise.
58783         * math/w_fmodf.c: Likewise.
58784         * math/w_fmodl.c: Likewise.
58785         * math/w_j0.c: Likewise.
58786         * math/w_j0f.c: Likewise.
58787         * math/w_j0l.c: Likewise.
58788         * math/w_j1.c: Likewise.
58789         * math/w_j1f.c: Likewise.
58790         * math/w_j1l.c: Likewise.
58791         * math/w_jn.c: Likewise.
58792         * math/w_jnf.c: Likewise.
58793         * math/w_log.c: Likewise.
58794         * math/w_logf.c: Likewise.
58795         * math/w_logl.c: Likewise.
58796         * math/w_log10.c: Likewise.
58797         * math/w_log10f.c: Likewise.
58798         * math/w_log10l.c: Likewise.
58799         * math/w_log2.c: Likewise.
58800         * math/w_log2f.c: Likewise.
58801         * math/w_log2l.c: Likewise.
58802         * math/w_pow.c: Likewise.
58803         * math/w_powf.c: Likewise.
58804         * math/w_powl.c: Likewise.
58805         * math/w_remainder.c: Likewise.
58806         * math/w_remainderf.c: Likewise.
58807         * math/w_remainderl.c: Likewise.
58808         * math/w_scalb.c: Likewise.
58809         * math/w_scalbf.c: Likewise.
58810         * math/w_scalbl.c: Likewise.
58811         * math/w_sqrt.c: Likewise.
58812         * math/w_sqrtf.c: Likewise.
58813         * math/w_sqrtl.c: Likewise.
58814         * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
58815         are declared.  Include <bits/math-finite.h> if -ffinite-math-only is
58816         used.
58817         * math/math_private.h: Declare __kernel_standard_f.
58818         * math/w_cosh.c: Remove cruft and optimize a bit.
58819         * math/w_coshf.c: Likewise.
58820         * math/w_coshl.c: Likewise.
58821         * math/w_exp2.c: Likewise.
58822         * math/w_exp2f.c: Likewise.
58823         * math/w_exp2l.c: Likewise.
58824         * math/w_hypot.c: Likewise.
58825         * math/w_hypotf.c: Likewise.
58826         * math/w_hypotl.c: Likewise.
58827         * math/w_lgamma.c: Likewise.
58828         * math/w_lgamma_r.c: Likewise.
58829         * math/w_lgammaf.c: Likewise.
58830         * math/w_lgammaf_r.c: Likewise.
58831         * math/w_lgammal.c: Likewise.
58832         * math/w_lgammal_r.c: Likewise.
58833         * math/w_sinh.c: Likewise.
58834         * math/w_sinhf.c: Likewise.
58835         * math/w_sinhl.c: Likewise.
58836         * math/w_tgamma.c: Likewise.
58837         * math/w_tgammaf.c: Likewise.
58838         * math/w_tgammal.c: Likewise.
58839         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
58840         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
58841         * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
58842         Minor optimizations.  Pretty printing.  Remove cruft.
58843         * sysdeps/i386/fpu/e_acosf.S: Likewise.
58844         * sysdeps/i386/fpu/e_acosh.S: Likewise.
58845         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
58846         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
58847         * sysdeps/i386/fpu/e_acosl.c: Likewise.
58848         * sysdeps/i386/fpu/e_asin.S: Likewise.
58849         * sysdeps/i386/fpu/e_asinf.S: Likewise.
58850         * sysdeps/i386/fpu/e_atan2.S: Likewise.
58851         * sysdeps/i386/fpu/e_atan2f.S: Likewise.
58852         * sysdeps/i386/fpu/e_atan2l.c: Likewise.
58853         * sysdeps/i386/fpu/e_atanh.S: Likewise.
58854         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
58855         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
58856         * sysdeps/i386/fpu/e_exp10.S: Likewise.
58857         * sysdeps/i386/fpu/e_exp10f.S: Likewise.
58858         * sysdeps/i386/fpu/e_exp10l.S: Likewise.
58859         * sysdeps/i386/fpu/e_exp2.S: Likewise.
58860         * sysdeps/i386/fpu/e_exp2f.S: Likewise.
58861         * sysdeps/i386/fpu/e_exp2l.S: Likewise.
58862         * sysdeps/i386/fpu/e_fmod.S: Likewise.
58863         * sysdeps/i386/fpu/e_fmodf.S: Likewise.
58864         * sysdeps/i386/fpu/e_fmodl.c: Likewise.
58865         * sysdeps/i386/fpu/e_hypot.S: Likewise.
58866         * sysdeps/i386/fpu/e_hypotf.S: Likewise.
58867         * sysdeps/i386/fpu/e_log.S: Likewise.
58868         * sysdeps/i386/fpu/e_log10.S: Likewise.
58869         * sysdeps/i386/fpu/e_log10f.S: Likewise.
58870         * sysdeps/i386/fpu/e_log10l.S: Likewise.
58871         * sysdeps/i386/fpu/e_log2.S: Likewise.
58872         * sysdeps/i386/fpu/e_log2f.S: Likewise.
58873         * sysdeps/i386/fpu/e_log2l.S: Likewise.
58874         * sysdeps/i386/fpu/e_logf.S: Likewise.
58875         * sysdeps/i386/fpu/e_logl.S: Likewise.
58876         * sysdeps/i386/fpu/e_pow.S: Likewise.
58877         * sysdeps/i386/fpu/e_powf.S: Likewise.
58878         * sysdeps/i386/fpu/e_powl.S: Likewise.
58879         * sysdeps/i386/fpu/e_remainder.S: Likewise.
58880         * sysdeps/i386/fpu/e_remainderf.S: Likewise.
58881         * sysdeps/i386/fpu/e_remainderl.S: Likewise.
58882         * sysdeps/i386/fpu/e_scalb.S: Likewise.
58883         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
58884         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
58885         * sysdeps/i386/fpu/e_sqrt.S: Likewise.
58886         * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
58887         * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
58888         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
58889         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
58890         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
58891         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
58892         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
58893         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
58894         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
58895         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
58896         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
58897         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
58898         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
58899         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
58900         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
58901         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
58902         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
58903         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
58904         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
58905         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
58906         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
58907         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
58908         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
58909         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
58910         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
58911         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
58912         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
58913         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
58914         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
58915         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
58916         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
58917         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
58918         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
58919         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
58920         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
58921         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
58922         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
58923         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
58924         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
58925         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
58926         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
58927         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
58928         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
58929         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
58930         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
58931         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
58932         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
58933         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
58934         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
58935         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
58936         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
58937         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
58938         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
58939         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
58940         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
58941         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
58942         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
58943         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
58944         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
58945         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
58946         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
58947         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
58948         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
58949         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
58950         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
58951         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
58952         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
58953         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
58954         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
58955         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
58956         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
58957         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
58958         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
58959         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
58960         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
58961         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
58962         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
58963         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
58964         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
58965         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
58966         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
58967         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
58968         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
58969         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
58970         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
58971         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
58972         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
58973         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
58974         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
58975         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
58976         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
58977         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
58978         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
58979         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
58980         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
58981         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
58982         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
58983         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
58984         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
58985         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
58986         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
58987         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
58988         * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
58989         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
58990         * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
58991         * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
58992         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
58993         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
58994         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
58995         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
58996         * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
58997         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
58998         * sysdeps/x86_64/fpu/e_sqrt.c: Likewise.  Fix parameter order
58999         * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
59000         * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
59001         (__isnanf): Likewise.
59002         (__isinf_ns): Likewise.
59003         (__isinf_nsf): Likewise.
59004         (__finite): Likewise.
59005         (__finitef): Likewise.
59006         (__ieee754_sqrt): Define as macro.
59007         (__ieee754_sqrtf): Define as macro.
59008         (__ieee754_sqrtl): Define as macro.
59009         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
59010         inlined copy.
59011         * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
59012         __FINITE_MATH_ONLY__ consistent.
59013         * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
59015 2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
59017         * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
59018         of rawmemchr.
59020         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
59022 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
59024         * po/ja.po: Update from translation team.
59026 2011-10-08  Roland McGrath  <roland@hack.frob.com>
59028         * locale/programs/locarchive.c (prepare_address_space): New function.
59029         (create_archive, enlarge_archive, open_archive): Use it.
59031         * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
59032         inside [SHARED], where it is used.
59034         * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
59036         * nss/getent.c (netgroup_keys): Remove unused variable.
59037         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
59039 2011-10-08  Ulrich Drepper  <drepper@gmail.com>
59041         * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
59042         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
59043         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
59044         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
59045         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
59046         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
59047         * math/Makefile (libm-calls): Add s_isinf_ns.
59048         * math/divtc3.c: Use __isinf_nsl instead of isinf.
59049         * math/multc3.c: Likewise.
59050         * math/s_casin.c: Likewise.
59051         * math/s_casinf.c: Likewise.
59052         * math/s_casinl.c: Likewise.
59053         * math/s_ccos.c: Likewise.
59054         * math/s_ccosf.c: Likewise.
59055         * math/s_ccosl.c: Likewise.
59056         * math/s_ctan.c: Likewise.
59057         * math/s_ctanf.c: Likewise.
59058         * math/s_ctanh.c: Likewise.
59059         * math/s_ctanhf.c: Likewise.
59060         * math/s_ctanhl.c: Likewise.
59061         * math/s_ctanl.c: Likewise.
59062         * math/w_fmod.c: Likewise.
59063         * math/w_fmodf.c: Likewise.
59064         * math/w_fmodl.c: Likewise.
59065         * math/w_remainder.c: Likewise.
59066         * math/w_remainderf.c: Likewise.
59067         * math/w_remainderl.c: Likewise.
59068         * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
59069         * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
59070         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
59071         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
59072         * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
59073         * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
59074         * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
59075         __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
59077         * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
59078         of the number.
59079         * stdio-common/printf_fphex.c: Likewise.
59080         * stdio-common/printf_size.c: Likewise.
59082         * math/e_exp10.c: Include math_private.h using <...> not "...".
59083         * math/e_exp10f.c: Likewise.
59084         * math/e_exp10l.c: Likewise.
59085         * math/e_exp2l.c: Likewise.
59086         * math/e_j0l.c: Likewise.
59087         * math/e_j1l.c: Likewise.
59088         * math/e_jnl.c: Likewise.
59089         * math/e_lgammal_r.c: Likewise.
59090         * math/e_rem_pio2l.c: Likewise.
59091         * math/e_scalb.c: Likewise.
59092         * math/e_scalbf.c: Likewise.
59093         * math/e_scalbl.c: Likewise.
59094         * math/k_cosl.c: Likewise.
59095         * math/k_sinl.c: Likewise.
59096         * math/k_tanl.c: Likewise.
59097         * math/s_cacoshf.c: Likewise.
59098         * math/s_catan.c: Likewise.
59099         * math/s_catanf.c: Likewise.
59100         * math/s_catanh.c: Likewise.
59101         * math/s_catanhf.c: Likewise.
59102         * math/s_catanhl.c: Likewise.
59103         * math/s_catanl.c: Likewise.
59104         * math/s_ccosh.c: Likewise.
59105         * math/s_ccoshf.c: Likewise.
59106         * math/s_ccoshl.c: Likewise.
59107         * math/s_cexp.c: Likewise.
59108         * math/s_cexpf.c: Likewise.
59109         * math/s_cexpl.c: Likewise.
59110         * math/s_clog.c: Likewise.
59111         * math/s_clog10.c: Likewise.
59112         * math/s_clog10f.c: Likewise.
59113         * math/s_clog10l.c: Likewise.
59114         * math/s_clogf.c: Likewise.
59115         * math/s_clogl.c: Likewise.
59116         * math/s_csin.c: Likewise.
59117         * math/s_csinf.c: Likewise.
59118         * math/s_csinh.c: Likewise.
59119         * math/s_csinhf.c: Likewise.
59120         * math/s_csinhl.c: Likewise.
59121         * math/s_csinl.c: Likewise.
59122         * math/s_csqrt.c: Likewise.
59123         * math/s_csqrtf.c: Likewise.
59124         * math/s_csqrtl.c: Likewise.
59125         * math/s_ctan.c: Likewise.
59126         * math/s_ctanf.c: Likewise.
59127         * math/s_ctanh.c: Likewise.
59128         * math/s_ctanhf.c: Likewise.
59129         * math/s_ctanhl.c: Likewise.
59130         * math/s_ctanl.c: Likewise.
59131         * math/s_ldexp.c: Likewise.
59132         * math/s_ldexpf.c: Likewise.
59133         * math/s_ldexpl.c: Likewise.
59134         * math/s_significand.c: Likewise.
59135         * math/s_significandf.c: Likewise.
59136         * math/s_significandl.c: Likewise.
59137         * math/w_acos.c: Likewise.
59138         * math/w_acosf.c: Likewise.
59139         * math/w_acosh.c: Likewise.
59140         * math/w_acoshf.c: Likewise.
59141         * math/w_acoshl.c: Likewise.
59142         * math/w_acosl.c: Likewise.
59143         * math/w_asin.c: Likewise.
59144         * math/w_asinf.c: Likewise.
59145         * math/w_asinl.c: Likewise.
59146         * math/w_atan2.c: Likewise.
59147         * math/w_atan2f.c: Likewise.
59148         * math/w_atan2l.c: Likewise.
59149         * math/w_atanh.c: Likewise.
59150         * math/w_atanhf.c: Likewise.
59151         * math/w_atanhl.c: Likewise.
59152         * math/w_cosh.c: Likewise.
59153         * math/w_coshf.c: Likewise.
59154         * math/w_coshl.c: Likewise.
59155         * math/w_dremf.c: Likewise.
59156         * math/w_exp10.c: Likewise.
59157         * math/w_exp10f.c: Likewise.
59158         * math/w_exp10l.c: Likewise.
59159         * math/w_exp2.c: Likewise.
59160         * math/w_exp2f.c: Likewise.
59161         * math/w_fmod.c: Likewise.
59162         * math/w_fmodf.c: Likewise.
59163         * math/w_fmodl.c: Likewise.
59164         * math/w_hypot.c: Likewise.
59165         * math/w_hypotf.c: Likewise.
59166         * math/w_hypotl.c: Likewise.
59167         * math/w_j0.c: Likewise.
59168         * math/w_j0f.c: Likewise.
59169         * math/w_j0l.c: Likewise.
59170         * math/w_j1.c: Likewise.
59171         * math/w_j1f.c: Likewise.
59172         * math/w_j1l.c: Likewise.
59173         * math/w_jn.c: Likewise.
59174         * math/w_jnf.c: Likewise.
59175         * math/w_jnl.c: Likewise.
59176         * math/w_lgamma.c: Likewise.
59177         * math/w_lgamma_r.c: Likewise.
59178         * math/w_lgammaf.c: Likewise.
59179         * math/w_lgammaf_r.c: Likewise.
59180         * math/w_lgammal.c: Likewise.
59181         * math/w_lgammal_r.c: Likewise.
59182         * math/w_log.c: Likewise.
59183         * math/w_log10.c: Likewise.
59184         * math/w_log10f.c: Likewise.
59185         * math/w_log10l.c: Likewise.
59186         * math/w_log2.c: Likewise.
59187         * math/w_log2f.c: Likewise.
59188         * math/w_log2l.c: Likewise.
59189         * math/w_logf.c: Likewise.
59190         * math/w_logl.c: Likewise.
59191         * math/w_pow.c: Likewise.
59192         * math/w_powf.c: Likewise.
59193         * math/w_powl.c: Likewise.
59194         * math/w_remainder.c: Likewise.
59195         * math/w_remainderf.c: Likewise.
59196         * math/w_remainderl.c: Likewise.
59197         * math/w_scalb.c: Likewise.
59198         * math/w_scalbf.c: Likewise.
59199         * math/w_scalbl.c: Likewise.
59200         * math/w_sinh.c: Likewise.
59201         * math/w_sinhf.c: Likewise.
59202         * math/w_sinhl.c: Likewise.
59203         * math/w_sqrt.c: Likewise.
59204         * math/w_sqrtf.c: Likewise.
59205         * math/w_sqrtl.c: Likewise.
59206         * math/w_tgamma.c: Likewise.
59207         * math/w_tgammaf.c: Likewise.
59208         * math/w_tgammal.c: Likewise.
59210         * po/ja.po: Update from translation team.
59212 2011-09-29  Andreas Jaeger  <aj@suse.de>
59214         [BZ #13179]
59215         * sunrpc/netname.c (netname2host): Fix logic.
59217         [BZ #6779]
59218         [BZ #6783]
59219         * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
59220         correctly.
59221         * math/w_remainder.c (__remainder): Likewise.
59222         * math/w_remainderf.c (__remainderf): Likewise.
59223         * math/libm-test.inc (remainder_test): Add test cases.
59225 2011-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
59227         * stdlib/longlong.h: Update from GCC.  Fix zarch smul_ppmm and
59228         sdiv_qrnnd.
59230 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
59232         * string/test-memcmp.c: Avoid unncessary #defines.
59233         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
59235 2011-08-31  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
59237         * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
59238         Use new sse2 version for core i3 - i7 as it's faster
59239         than sse42 version.
59240         (bit_Prefer_PMINUB_for_stringop): New.
59241         * sysdeps/x86_64/rawmemchr.S: Update.
59242         Replace with faster SSE2 version.
59243         * sysdeps/x86_64/memrchr.S: New file.
59244         * sysdeps/x86_64/memchr.S: Update.
59245         Replace with faster SSE2 version.
59247 2011-09-12  Marek Polacek  <mpolacek@redhat.com>
59249         * elf/dl-load.c (lose): Add cast to avoid warning.
59251 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
59253         * po/ca.po: Update from translation team.
59255         * inet/getnetgrent_r.c: Hook up nscd.
59256         * nscd/Makefile (routines): Add nscd_netgroup.
59257         (nscd-modules): Add netgroupcache.
59258         (CFLAGS-netgroupcache.c): Define.
59259         * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
59260         (cache_search): Add const to second parameter.
59261         * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
59262         INNETGR.
59263         (dbs): Add netgrdb entry.
59264         (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
59265         (verify_persistent_db): Handle netgrdb.
59266         (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
59267         * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
59268         GETFDNETGR.
59269         (netgroup_response_header): Define.
59270         (innetgroup_response_header): Define.
59271         (datahead): Add netgroup_response_header and innetgroup_response_header
59272         elements.
59273         * nscd/nscd.conf: Add entries for netgroup cache.
59274         * nscd/nscd.h (dbtype): Add netgrdb.
59275         (_PATH_NSCD_NETGROUP_DB): Define.
59276         (netgroup_iov_disabled): Declare.
59277         (xmalloc, xcalloc, xrealloc): Move declarations here.
59278         (cache_search): Adjust prototype.
59279         Add netgroup-related prototypes.
59280         * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
59281         * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
59282         (__nscd_innetgr): Declare.
59283         * nscd/selinux.c (perms): Use access_vector_t as element type and
59284         add netgroup-related initializers.
59285         * nscd/netgroupcache.c: New file.
59286         * nscd/nscd_netgroup.c: New file.
59287         * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
59288         * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
59289         For four parameters use innetgr.
59290         * nss/nss_files/files-init.c: Add definition and callback for netgr.
59291         * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
59292         (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
59293         * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
59295         * nscd/connections.c (register_traced_file): Don't register file
59296         for disabled databases.
59298 2011-10-06  Ulrich Drepper  <drepper@gmail.com>
59300         * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
59302         * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
59303         from tree and freeing node.
59305 2011-09-25  Jiri Olsa  <jolsa@redhat.com>
59307         * nss/nsswitch.c (__nss_database_lookup): Handle
59308         nss_parse_service_list out of memory case.
59310 2011-09-15  Jiri Olsa  <jolsa@redhat.com>
59312         * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
59313         out of memory case.
59315 2011-10-04  Andreas Schwab  <schwab@redhat.com>
59317         * include/dlfcn.h (__RTLD_NOIFUNC): Define.
59318         * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
59319         pass it down.
59320         * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
59321         elf_machine_rela, elf_machine_lazy_rel.
59322         (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
59323         (ELF_DYNAMIC_DO_REL): Likewise.
59324         (ELF_DYNAMIC_DO_RELA): Likewise.
59325         (ELF_DYNAMIC_RELOCATE): Likewise.
59326         * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
59327         to ELF_DYNAMIC_DO_REL.
59328         * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
59329         (dl_main): In trace mode always set __RTLD_NOIFUNC.
59330         * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
59331         elf_machine_rela.
59332         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
59333         skip_ifunc, don't call ifunc function if non-zero.
59334         (elf_machine_rela): Likewise.
59335         (elf_machine_lazy_rel): Likewise.
59336         (elf_machine_lazy_rela): Likewise.
59337         * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
59338         (elf_machine_lazy_rel): Likewise.
59339         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
59340         Likewise.
59341         (elf_machine_lazy_rel): Likewise.
59342         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
59343         Likewise.
59344         (elf_machine_lazy_rel): Likewise.
59345         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
59346         (elf_machine_lazy_rel): Likewise.
59347         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
59348         (elf_machine_lazy_rel): Likewise.
59349         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
59350         (elf_machine_lazy_rel): Likewise.
59351         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
59352         (elf_machine_lazy_rel): Likewise.
59353         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
59354         (elf_machine_lazy_rel): Likewise.
59355         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
59356         (elf_machine_lazy_rel): Likewise.
59358 2011-09-28  Ulrich Drepper  <drepper@gmail.com>
59360         * nss/nss_files/files-init.c (_nss_files_init): Use static
59361         initialization for all the *_traced_file variables.
59363 2011-09-28  Andreas Schwab  <schwab@redhat.com>
59365         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
59367 2011-09-27  Roland McGrath  <roland@hack.frob.com>
59369         [BZ #13226]
59370         * manual/signal.texi (Longjmp in Handler): Grammar fixes.
59372 2011-09-27  Andreas Schwab  <schwab@redhat.com>
59374         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
59375         Reread the line before reparsing it.
59377 2011-09-26  Andreas Schwab  <schwab@redhat.com>
59379         * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
59381 2011-09-21  Chung-Lin Tang  <cltang@codesourcery.com>
59382             Maxim Kuvyrkov  <maxim@codesourcery.com>
59383             Joseph Myers  <joseph@codesourcery.com>
59385         * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
59386         if needed for __stack_chk_guard.
59388 2011-09-19  Roland McGrath  <roland@hack.frob.com>
59390         * sysdeps/posix/spawni.c (script_execute): Always define it.
59391         It will be optimized away if unused.
59392         (maybe_script_execute): New function.
59393         (__spawni): Call it.
59395         * Makerules: Don't include tls.make.
59396         (config-tls): Always set to thread.
59397         * tls.make.c: File removed.
59399 2011-09-19  Mike Frysinger  <vapier@gentoo.org>
59401         * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
59402         * config.make.in (CPPFLAGS-config): New substituted variable.
59404 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
59406         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
59408         [BZ #13192]
59409         * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
59410         Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
59412 2011-09-15  Roland McGrath  <roland@hack.frob.com>
59414         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
59415         (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
59416         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
59417         (CALL_FAIL): Likewise.
59418         * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
59419         (CALL_FAIL): Macro removed.
59420         Patch mostly by Mike Frysinger <vapier@gentoo.org>.
59422 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
59424         * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
59425         for __FINITE_MATH_ONLY__ == 1.
59427 2011-09-15  Andreas Schwab  <schwab@redhat.com>
59429         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
59430         __ieee754_sqrt instead of sqrt.
59431         * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
59432         __ieee754_sqrtf instead of sqrtf.
59433         * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
59434         __floorf instead of floorf.
59435         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
59436         __floorf, __truncf instead of floorf, truncf.
59438 2011-09-14  Ulrich Drepper  <drepper@gmail.com>
59440         * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
59442         * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
59443         __extern_always_inline.
59444         Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
59445         32-bit.
59447 2011-09-14  Andreas Schwab  <schwab@redhat.com>
59449         * elf/rtld.c (dl_main): Also relocate in dependency order when
59450         doing symbol dependency testing.
59452 2011-09-13  Andreas Schwab  <schwab@linux-m68k.org>
59454         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
59455         Always define `refsym'.
59457 2011-09-13  Andreas Schwab  <schwab@redhat.com>
59459         * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
59460         (__FD_ELT): Renamed from __FDELT.
59461         * misc/bits/select2.h (__FD_ELT): Likewise.
59462         * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
59463         __FD_MASK instead of __FDELT, __FDMASK.
59464         * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
59465         Likewise.
59466         * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
59467         Likewise.
59469         * elf/Makefile (gen-ldd): Fix pattern.
59471         * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
59472         (init_tls): Likewise.
59474 2011-09-12  Ulrich Drepper  <drepper@gmail.com>
59476         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
59478 2011-09-12  Andreas Schwab  <schwab@redhat.com>
59480         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
59481         `struct cmsghdr *' instead of `void *'.
59482         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
59483         Likewise.
59485 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
59487         * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
59488         if non-absolute.
59489         * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
59490         ldd_rewrite_script.
59492 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
59494         * configure.in: Remove --with-tls option.
59495         * config.h.in: Remove HAVE_TLS_SUPPORT entry.
59496         * sysdeps/i386/elf/configure.in: Always test for TLS support and err
59497         out in case it is missing.
59498         * sysdeps/ia64/elf/configure.in: Likewise.
59499         * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
59500         * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
59501         * sysdeps/s390/s390-32/elf/configure.in: Likewise.
59502         * sysdeps/s390/s390-64/elf/configure.in: Likewise.
59503         * sysdeps/sh/elf/configure.in: Likewise.
59504         * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
59505         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
59506         * sysdeps/x86_64/elf/configure.in: Likewise.
59507         * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
59508         * sysdeps/mach/hurd/tls.h: Likewise.
59510         [BZ #13067]
59511         * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
59513         [BZ #13090]
59514         * configure.in: Fix use of AC_INIT.
59516         * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
59518 2011-09-10  Ulrich Drepper  <drepper@gmail.com>
59520         * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
59521         __set_errno.
59522         * malloc/hooks.c: Likewise.
59524         [BZ #11929]
59525         * malloc/arena.c (ptmalloc_init_minimal): Removed.  Initialize all
59526         variables statically.
59527         (narenas): Initialize.
59528         (list_lock): Initialize.
59529         (ptmalloc_init): Don't call ptmalloc_init_minimal.  Remove
59530         initializtion of main_arena and list_lock.  Small cleanups.
59531         Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
59532         * malloc/malloc.c: Remove malloc_getpagesize.  Include <ldsodefs.h>.
59533         Add initializers to main_arena and mp_.
59534         (malloc_state): Remove pagesize member.  Change all users to use
59535         GLRO(dl_pagesize).
59537         * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
59538         * sysdeps/unix/sysv/linux/getpagesize.c: Simplify.  GLRO(dl_pagesize)
59539         is always initialized.
59541         * malloc/malloc.c: Removed unused configurations and dead code.
59542         * malloc/arena.c: Likewise.
59543         * malloc/hooks.c: Likewise.
59544         * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
59546         * include/tls.h: Removed.  USE___THREAD must always be defined.
59547         * bits/libc-tsd.h: Don't handle !USE___THREAD.
59548         * elf/dl-libc.c: Likewise.
59549         * elf/dl-tsd.c: Likewise.
59550         * include/errno.h: Likewise.
59551         * include/netdb.h: Likewise.
59552         * include/resolv.h: Likewise.
59553         * inet/herrno-loc.c: Likewise.
59554         * inet/herrno.c: Likewise.
59555         * malloc/arena.c: Likewise.
59556         * malloc/hooks.c: Likewise.
59557         * malloc/malloc.c: Likewise.
59558         * resolv/res-state.c: Likewise.
59559         * resolv/res_libc.c: Likewise.
59560         * sysdeps/i386/dl-machine.h: Likewise.
59561         * sysdeps/ia64/dl-machine.h: Likewise.
59562         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
59563         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
59564         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
59565         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
59566         * sysdeps/sh/dl-machine.h: Likewise.
59567         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
59568         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
59569         * sysdeps/unix/i386/sysdep.S: Likewise.
59570         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
59571         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
59572         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
59573         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
59574         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
59575         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
59576         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
59577         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
59578         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
59579         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
59580         * sysdeps/unix/x86_64/sysdep.S: Likewise.
59581         * sysdeps/x86_64/dl-machine.h: Likewise.
59582         * tls.make.c: Likewise.
59584         * configure.in: Remove --with-__thread option.  Make tests for
59585         --no-whole-archive, __builtin_expect, symbol redirection, __thread,
59586         tls_model attribute fail if no support is available.  Remove
59587         USE_IN_LIBIO.
59588         * Makeconfig: Adjust for dropped configure option.  All features are
59589         now mandatory.
59590         * Makerules: Likewise.
59591         * Versions.def: Likewise.
59592         * argp/argp-fmtstream.c: Likewise.
59593         * argp/argp-fmtstream.h: Likewise.
59594         * argp/argp-help.c: Likewise.
59595         * assert/assert.c: Likewise.
59596         * config.h.in: Likewise.
59597         * config.make.in: Likewise.
59598         * configure: Likewise.
59599         * configure.in: Likewise.
59600         * csu/Versions: Likewise.
59601         * csu/init.c: Likewise.
59602         * elf/tst-audit2.c: Likewise.
59603         * elf/tst-tls10.c: Likewise.
59604         * elf/tst-tls10.h: Likewise.
59605         * elf/tst-tls11.c: Likewise.
59606         * elf/tst-tls12.c: Likewise.
59607         * elf/tst-tls14.c: Likewise.
59608         * elf/tst-tlsmod11.c: Likewise.
59609         * elf/tst-tlsmod12.c: Likewise.
59610         * elf/tst-tlsmod13.c: Likewise.
59611         * elf/tst-tlsmod13a.c: Likewise.
59612         * elf/tst-tlsmod14a.c: Likewise.
59613         * elf/tst-tlsmod15b.c: Likewise.
59614         * elf/tst-tlsmod16a.c: Likewise.
59615         * elf/tst-tlsmod16b.c: Likewise.
59616         * elf/tst-tlsmod7.c: Likewise.
59617         * elf/tst-tlsmod8.c: Likewise.
59618         * elf/tst-tlsmod9.c: Likewise.
59619         * gmon/gmon.c: Likewise.
59620         * grp/fgetgrent_r.c: Likewise.
59621         * grp/putgrent.c: Likewise.
59622         * hurd/fopenport.c: Likewise.
59623         * include/libc-symbols.h: Likewise.
59624         * include/tls.h: Likewise.
59625         * intl/gettextP.h: Likewise.
59626         * intl/loadinfo.h: Likewise.
59627         * locale/global-locale.c: Likewise.
59628         * locale/localeinfo.h: Likewise.
59629         * mach/devstream.c: Likewise.
59630         * malloc/arena.c: Likewise.
59631         * malloc/set-freeres.c: Likewise.
59632         * misc/err.c: Likewise.
59633         * misc/getttyent.c: Likewise.
59634         * misc/mntent_r.c: Likewise.
59635         * posix/getopt.c: Likewise.
59636         * posix/wordexp.c: Likewise.
59637         * pwd/fgetpwent_r.c: Likewise.
59638         * resolv/Versions: Likewise.
59639         * resolv/res_hconf.c: Likewise.
59640         * shadow/fgetspent_r.c: Likewise.
59641         * shadow/putspent.c: Likewise.
59642         * stdio-common/printf_fphex.c: Likewise.
59643         * stdio-common/tmpfile.c: Likewise.
59644         * stdlib/abort.c: Likewise.
59645         * stdlib/fmtmsg.c: Likewise.
59646         * sunrpc/auth_unix.c: Likewise.
59647         * sunrpc/clnt_perr.c: Likewise.
59648         * sunrpc/clnt_tcp.c: Likewise.
59649         * sunrpc/clnt_udp.c: Likewise.
59650         * sunrpc/clnt_unix.c: Likewise.
59651         * sunrpc/openchild.c: Likewise.
59652         * sunrpc/svc_simple.c: Likewise.
59653         * sunrpc/svc_tcp.c: Likewise.
59654         * sunrpc/svc_udp.c: Likewise.
59655         * sunrpc/svc_unix.c: Likewise.
59656         * sunrpc/xdr.c: Likewise.
59657         * sunrpc/xdr_array.c: Likewise.
59658         * sunrpc/xdr_rec.c: Likewise.
59659         * sunrpc/xdr_ref.c: Likewise.
59660         * sunrpc/xdr_stdio.c: Likewise.
59662 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
59664         * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
59666 2011-07-03  Andreas Jaeger  <aj@suse.de>
59668         * math/libm-test.inc (jn_test): Add tests for BZ#11589.
59669         * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
59670         regenerate with gen-libm-tests.pl.
59672 2010-05-12  Petr Baudis  <pasky@suse.cz>
59674         [BZ #11589]
59675         * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
59676         around j0() zero points by switching to j1().
59677         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
59678         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
59679         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
59680         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
59682 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
59684         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
59685         instead of 0.
59686         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
59687         instead of 0.
59688         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
59689         Patch in part by Pavel Roskin <proski@gnu.org>.
59691         [BZ #13138]
59692         * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
59693         realloc.
59694         (_IO_vfscanf_internal): Remove reteof.  Use errout after setting done.
59695         Free memory block if necessary.
59697         [BZ #12847]
59698         * libio/genops.c (INTDEF): For string streams the _lock pointer can
59699         be NULL.  Don't lock in this case.
59701 2011-09-09  Roland McGrath  <roland@hack.frob.com>
59703         * elf/elf.h (ELFOSABI_GNU): New macro.
59704         (ELFOSABI_LINUX): Define to that.
59706 2011-07-29  Denis Zaitceff  <zaitceff@gmail.com>
59708         * string/strncat.c (strncat): Undef the symbol in case it has been
59709         defined in bits/string.h.
59711 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
59713         * elf/sotruss.ksh: Clean up, fix, and complete help messages.
59715         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
59716         link map.
59718 2011-08-17  Andreas Jaeger  <aj@suse.de>
59720         * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
59722 2011-08-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
59723             Ian Lance Taylor  <iant@google.com>
59725         * math/libm-test.inc (lround_test): New testcase.
59726         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
59728 2011-09-08  Ulrich Drepper  <drepper@gmail.com>
59730         * Makefile: Remove support for automatic cvs check-ins.
59731         * Makerules: Likewise.
59732         * config.make.in: Likewise.
59733         * configure.in: Likewise.
59734         * intl/Makefile: Likewise.
59735         * locale/Makefile: Likewise.
59736         * po/Makefile: Likewise.
59737         * posix/Makefile: Likewise.
59738         * sysdeps/gnu/Makefile: Likewise.
59739         * sysdeps/mach/hurd/Makefile: Likewise.
59740         * sysdeps/sparc/sparc32/Makefile: Likewise.
59742         [BZ #13118]
59743         * posix/Makefile (bug-regex32-ENV): Define.
59744         Patch by John Stanley <jpsinthemix@verizon.net>.
59746         * misc/Makefile (headers): Add bits/select2.h.
59747         * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
59748         * misc/bits/select2.h: New file.
59749         * include/bits/select2.h: New file.
59750         * debug/Makefile (routines): Add fdelt_chk.
59751         * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
59752         * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
59753         FD_ISSET.
59754         * debug/fdelt_chk.c: New file.
59756         * wcsmbs/test-wcscmp.c: Moved from string/*.  Adjust.
59757         * wcsmbs/test-wmemcmp.c: Likewise.
59758         * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
59759         * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
59761 2011-09-08  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
59763         * string/Makefile (strop-tests): Add memcmp.
59764         * string/test-wmemcmp.c: New file.
59765         * string/test-memcmp.c: Add wmemcmp support.
59767 2011-09-08  Roland McGrath  <roland@hack.frob.com>
59769         [BZ #13153]
59770         * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
59771         2011-07-19 change.
59773         * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
59774         garbage value in a __mach_port_mod_refs call in the cases of the
59775         task-self and thread-self ports.
59777 2011-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
59779         * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
59781 2011-09-08  Andreas Schwab  <schwab@redhat.com>
59783         * elf/dl-load.c (lose): Check for non-null L.
59785 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
59787         * elf/dl-load.c (open_verify): Use O_CLOEXEC.
59789         * elf/dl-libc.c (dlerror_run): Pass back error code from
59790         dl_catch_error.
59792         [BZ #13123]
59793         * elf/dl-load.c (lose): Free l_origin if it is valid.
59795         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
59796         names.
59797         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
59798         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
59799         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
59800         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
59801         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
59802         Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
59804 2011-08-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
59806         * sysdeps/powerpc/fpu/e_hypot.c: New file.
59807         * sysdeps/powerpc/fpu/e_hypotf.c: New file.
59808         * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
59809         * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
59810         * sysdeps/powerpc/fpu/k_cosf.c: New file.
59811         * sysdeps/powerpc/fpu/k_sinf.c: New file.
59812         * sysdeps/powerpc/fpu/s_cosf.c: New file.
59813         * sysdeps/powerpc/fpu/s_sinf.c: New file.
59814         * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
59815         * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
59817 2011-08-15  Alan Modra  <amodra@gmail.com>
59819         [BZ #13092]
59820         * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
59821         * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
59822         * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here.  Add
59823         ppc_mcount to static-only-routines.
59824         * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
59825         __mcount_internal.
59826         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
59827         __mcount_internal with usual JUMPTARGET.  Remove useless nop.
59829 2011-08-18  David Flaherty  <flaherty@linux.vnet.ibm.com>
59831         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
59832         for finite and infinity parameters.
59834 2011-08-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
59836         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
59837         and add nop instructions for throughput optimization.
59838         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
59840 2011-07-28  Will Schmidt  <will_schmidt@vnet.ibm.com>
59842         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
59843         aligned copy for power7 with vector-scalar instructions.
59844         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
59846 2011-07-24  H.J. Lu  <hongjiu.lu@intel.com>
59848         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
59849         AVX check.
59851 2011-09-07  Andreas Schwab  <schwab@redhat.com>
59853         [BZ #13144]
59854         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
59855         last change.
59857 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
59859         * sysdeps/unix/sysv/linux/x86_64/init-first.c
59860         (_libc_vdso_platform_setup): If vDSO is not present store pointer to
59861         syscall wrapper around clock_gettime in __vdso_clock_gettime.
59862         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
59863         clock_gettime.
59865 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
59867         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
59868         Forgot to demangle the pointer.
59870         * sysdeps/i386/sysdep.h: Define atom_text_section.
59871         * sysdeps/x86_64/sysdep.h: Likewise.
59872         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
59873         section with atom_text_section.
59874         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
59875         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
59876         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
59877         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
59878         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
59880         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
59881         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
59882         already be defined.  Change to take two parameters and don't assign
59883         result to variable.  Adjust all users.
59884         Define INTERNAL_GETTIME if not already defined.
59885         Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
59886         call.
59887         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
59888         HAVE_CLOCK_GETTIME_VSYSCALL.
59889         * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
59891         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
59892         gettimeofday vsyscall, just use time.
59894 2011-09-06  Andreas Schwab  <schwab@redhat.com>
59896         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
59897         <errno.h>.
59899 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
59901         * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
59902         syscall on x86-64.
59903         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
59904         syscall.
59905         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
59906         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
59907         syscall if possible.
59909 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
59911         * elf/pldd.c (get_process_info): Don't read whole ELF header, just
59912         e_ident.  Don't pass to find_mapsXX.
59913         * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
59915 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
59917         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
59918         strchr-sse2-no-bsf strrchr-sse2-no-bsf
59919         * sysdeps/x86_64/multiarch/strchr.S: Update.
59920         Check bit_slow_BSF bit.
59921         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
59922         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
59923         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
59925 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
59927         [BZ #13134]
59928         * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
59929         before glibc 2.15.
59930         (tryshell): Define.
59931         (__spawni): Change last parameter to be flag.  Test
59932         SPAWN_XFLAGS_USE_PATH flag to use path or not.
59933         Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
59934         * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
59935         * posix/spawni.c: Likewise.
59936         * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
59937         * posix/spawnp.c: Likewise.  Change normal version to use
59938         SPAWN_XFLAGS_USE_PATH.
59939         * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
59940         SPAWN_XFLAGS_TRY_SHELL.
59942         [BZ #13150]
59943         * posix/glob.h: Remove gcc 1.x support.
59945         [BZ #13068]
59946         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
59948 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
59950         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
59951         strchr-sse2 strrchr-sse2 strchr-sse2-bsf
59952         strrchr-sse2-bsf
59953         * sysdeps/i386/i686/multiarch/strchr.S: New file.
59954         * sysdeps/i386/i686/multiarch/strrchr.S: New file.
59955         * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
59956         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
59957         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
59958         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
59960 2011-08-29  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
59962         * sysdeps/x86_64/wcscmp.S: New file.
59964         * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
59965         wcscmp-c wcscmp-sse2
59966         * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
59967         * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
59968         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
59969         * wcsmbs/wcscmp.c: Allow renaming.
59971 2011-09-05  David S. Miller  <davem@davemloft.net>
59973         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
59974         stack slot, rather than the struct return pointer slot.
59975         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
59976         * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
59977         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
59978         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
59980 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
59982         * po/ja.po: Update from translation team.
59984         [BZ #13144]
59985         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
59986         kernel in 64-bit binaries.
59988 2011-09-01  David S. Miller  <davem@davemloft.net>
59990         * elf/elf.h (HWCAP_SPARC_*): Move to..
59991         * sysdeps/sparc/sysdep.h: this new file and add new values.
59992         * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
59993         * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
59994         _DL_HWCAP_COUNT to 24.
59995         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
59996         entries.
59997         * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
59998         __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
59999         * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
60000         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
60001         instead of magic constants.
60002         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
60004 2011-08-31  David S. Miller  <davem@davemloft.net>
60006         * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
60007         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
60008         Reimplement to do errno handling inline.
60009         (SYSCALL_ERROR_HANDLER): New macro.
60010         (__SYSCALL_STRING): Do not do errno handling in asm.
60011         (__CLONE_SYSCALL_STRING): Delete.
60012         (__INTERNAL_SYSCALL_STRING): Delete.
60013         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
60014         sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
60015         (PSEUDO): Reimplement to do errno handling inline.
60016         (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
60017         (SYSCALL_ERROR_HANDLER): New macro.
60018         (__SYSCALL_STRING): Do not do errno handling in asm.
60019         (__CLONE_SYSCALL_STRING): Delete.
60020         (__INTERNAL_SYSCALL_STRING): Delete.
60021         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
60022         Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
60023         i386.
60024         (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
60025         (inline_syscall*): Add 'err' argument.
60026         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
60027         INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
60028         (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
60029         INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
60031         * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
60032         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
60034 2011-08-30  Andreas Schwab  <schwab@redhat.com>
60036         * elf/rtld.c (dl_main): Relocate objects in dependency order.
60038 2011-08-29  Jiri Olsa <jolsa@redhat.com>
60040         * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
60041         directive.
60043 2011-08-24  David S. Miller  <davem@davemloft.net>
60045         * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
60047 2011-08-24  Andreas Schwab  <schwab@redhat.com>
60049         * elf/Makefile: Add rules to build and run unload8 test.
60050         * elf/unload8.c: New file.
60051         * elf/unload8mod1.c: New file.
60052         * elf/unload8mod1x.c: New file.
60053         * elf/unload8mod2.c: New file.
60054         * elf/unload8mod3.c: New file.
60056         * elf/dl-close.c (_dl_close_worker): Reset private search list if
60057         it wasn't used.
60059 2011-08-23  David S. Miller  <davem@davemloft.net>
60061         * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
60062         subtract stack bias.
60063         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
60064         %sp not %fp in calculations.
60065         (_JMPBUF_UNWINDS_ADJ): Likewise.
60067         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
60068         (aio_suspend): Call it to force an exception region around the
60069         AIO_MISC_WAIT() invocation.
60071 2011-08-23  Andreas Schwab  <schwab@redhat.com>
60073         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
60074         backslash.
60076 2011-07-04  Aurelien Jarno  <aurelien@aurel32.net>
60078         * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
60079         protection macro.
60080         * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
60081         and <dl-machine.h>.
60082         (Elf64_FuncDesc): Remove.
60084 2011-08-22  David S. Miller  <davem@davemloft.net>
60086         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
60087         sigaltstack check, add missing cfi directives.
60088         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
60089         missing cfi directives, and sigaltstack handling.
60091 2011-08-16  Andreas Schwab  <schwab@redhat.com>
60093         [BZ #11724]
60094         * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
60095         object is seen twice.
60096         * elf/dl-fini.c (_dl_sort_fini): Likewise.
60098         * elf/Makefile (distribute): Add tst-initorder2.c.
60099         (tests): Add tst-initorder2.
60100         (modules-names): Add tst-initorder2a tst-initorder2b
60101         tst-initorder2c tst-initorder2d.  Add rules to build them.
60102         ($(objpfx)tst-initorder2.out): New rule.
60103         * elf/tst-initorder2.c: New file.
60104         * elf/tst-initorder2.exp: New file.
60106 2011-08-22  Andreas Schwab  <schwab@redhat.com>
60108         * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
60110         * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
60111         dependencies back to end of function.
60113         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
60114         $(elfobjdir)/ld.so.
60116 2011-08-21  Ulrich Drepper  <drepper@gmail.com>
60118         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
60119         * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
60120         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
60121         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
60122         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
60123         of __vdso_gettimeofday.
60124         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
60125         __vdso_gettimeofday and __vdso_time.  Define __vdso_getcpu with
60126         attribute_hidden.
60127         (_libc_vdso_platform_setup): Remove initialization of
60128         __vdso_gettimeofday and __vdso_time.
60130 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
60132         * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
60133         and fgetc_unlocked.
60134         * nss/nss_files/files-key.c (search): Use fgets_unlocked and
60135         getc_unlocked.
60137         * elf/dl-open.c (add_to_global): Report additions to the global scope
60138         for LD_DEBUG=scopes.
60139         (dl_open_worker): Also print scope of newly loaded dependencies.
60140         (_dl_show_scope): Indicate if there is no scope.
60142         [BZ #13114]
60143         * stdio-common/Makefile (tests): Add bug24.
60144         * stdio-common/bug24.c: New file.
60146 2011-08-19  Andreas Jaeger  <aj@suse.de>
60148         [BZ #13114]
60149         * libio/fileops.c (_IO_new_file_fopen): Fix handling of
60150         non-existant file when using close-on-exec mode.
60152 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
60154         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
60155         the very first instruction.
60157         * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
60158         the CFI state in the end.
60159         * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
60160         inclusion of dl-trampoline.h.
60161         Based on a patch by Jiri Olsa <jolsa@redhat.com>.
60163 2011-08-19  Andreas Schwab  <schwab@redhat.com>
60165         * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
60166         expectations for long double.
60168         * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
60169         from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
60171 2011-08-14  David S. Miller  <davem@davemloft.net>
60173         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
60174         artificual limit depends upon the system page size.
60176 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
60178         * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
60179         * resolv/Makefile: Define CFLAGS-libresolv.
60181 2011-08-17  Andreas Schwab  <schwab@redhat.com>
60183         * nss/makedb.c (compute_tables): Make variables used in nested
60184         function static.
60186 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
60188         * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
60189         * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
60190         if buffer was too small.
60192         * elf/pldd.c (main): Attach to all threads in the process.
60193         Rewrite /proc handling to use *at functions.
60195 2011-08-16  Ulrich Drepper  <drepper@gmail.com>
60197         * elf/dl-open.c (_dl_show_scope): Take additional parameter which
60198         specifies first scope to show.
60199         (dl_open_worker): Update callers.  Move printing scope of new
60200         object to before the relocation.
60201         * elf/rtld.c (dl_main): Update _dl_show_scope call.
60202         * sysdeps/generic/ldsodefs.h: Update declaration.
60204         * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
60205         string for the scope number.
60207 2011-08-14  Ulrich Drepper  <drepper@gmail.com>
60209         * nscd/servicescache.c (cache_addserv): Make sure written is always
60210         initialized.
60212 2011-08-14  Roland McGrath  <roland@hack.frob.com>
60214         * sysdeps/i386/i486/bits/atomic.h
60215         (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
60216         statement expression, so as to suppress "set but not used" warning.
60217         (__arch_c_compare_and_exchange_val_64_acq): Likewise.
60219         * string/strncat.c (STRNCAT): Use prototype definition.
60221         * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
60222         (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
60223         -Iprograms here.
60224         (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
60225         (localedef-modules): Add localedef.
60226         (locale-modules): Add locale.
60228         * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
60229         * elf/rtld.c (dl_main): Invert order of assignment in last change,
60230         to avoid a warning.
60232 2011-08-14  David S. Miller  <davem@davemloft.net>
60234         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
60235         RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
60237 2011-08-13  Ulrich Drepper  <drepper@gmail.com>
60239         * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
60240         (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
60241         * elf/rtld.c (dl_main): Set l_name of vDSO.
60242         Call _dl_show_scope when DL_DEBUG_SCOPES.
60243         (process_dl_debug): Recognize scopes flag and also set it for all.
60244         * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
60245         Declare _dl_show_scope.
60247         * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
60248         (do_dlopen): Pass caller_dlopen to dl_open.
60249         (__libc_dlopen_mode): Initialize caller_dlopen.
60251         * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
60252         of libc.  Make tolower call locale-independent.  Optimize a bit by
60253         using isdigit instead of isalnum.
60254         * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
60256 2011-08-12  Ulrich Drepper  <drepper@gmail.com>
60258         * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
60259         was a dependency or dynamically loaded.
60261 2011-08-11  Ulrich Drepper  <drepper@gmail.com>
60263         * intl/l10nflist.c: Allow architecture-specific pop function.
60264         * sysdeps/x86_64/l10nflist.c: New file.
60266         * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
60267         classification.
60269 2011-08-10  Andreas Schwab  <schwab@redhat.com>
60271         * include/dirent.h: Add libc_hidden_proto for scandirat and
60272         scandirat64.  Don't declare __scandirat64.
60273         * dirent/scandirat.c: Add libc_hidden_def.
60274         * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
60275         * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
60277 2011-08-10  David S. Miller  <davem@davemloft.net>
60279         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
60280         enum.
60281         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
60282         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
60283         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
60285 2011-08-09  Ulrich Drepper  <drepper@gmail.com>
60287         * Versions.def [libc]: Add GLIBC_2.15.
60288         * dirent/Makefile (routines): Add scandirat and scandirat64.
60289         * dirent/Versions [libc]: Export scandirat and scandirat64 for
60290         GLIBC_2.15.
60291         * dirent/dirent.h: Declare scandirat and scandirat64.
60292         * dirent/scandirat.c: New file.
60293         * dirent/scandirat64.c: New file.
60294         * sysdeps/wordsize-64/scandirat.c: New file.
60295         * sysdeps/wordsize-64/scandirat64.c: New file.
60296         * dirent/opendir.c: Define opendirat.
60297         * dirent/scandir.c: Move code to scandirat.c.  Implement scandir
60298         using scandirat.
60299         * dirent/scandir64.c: Adjust for scandir.c change.
60300         * include/dirent.h: Define scandir_cancel_struct.  Declare __opendirat,
60301         __scandirat64, and __scandir_cancel_handler.
60302         * sysdeps/unix/opendir.c: Rename __opendir to __opendirat.  Take
60303         additional parameter and use openat instead of open (outside of ld.so).
60304         Add new __opendir as wrapper around __opendirat.
60305         * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
60306         here without requiring old scandirat implementation.
60308 2011-08-08  Ulrich Drepper  <drepper@gmail.com>
60310         * dirent/scandir.c (cancel_handler): Renamed to
60311         __scandir_cancel_handler.  Do not define if SKIP_SCANDIR_CANCEL is
60312         defined.  Adjust users.
60313         * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
60314         * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
60316 2011-08-04  Ulrich Drepper  <drepper@gmail.com>
60318         * string/test-string.h (IMPL): Use __STRING to expand name and then
60319         stringify it.
60321         * string/test-strcmp.c: Unify most of the WIDE and !WIDE code.  Lots
60322         of cleanups.
60324 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
60326         * string/Makefile: Update.
60327         (strop-tests): Append strncat.
60328         * string/test-wcscmp.c: New file.
60329         New comprehensive test for wcscmp.
60330         * string/test-strcmp.c: Update.
60331         (WIDE): New define.
60333 2011-07-22  Andreas Schwab  <schwab@redhat.com>
60335         * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
60336         line.
60338 2011-07-26  Andreas Schwab  <schwab@redhat.com>
60340         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
60341         encoding to ACE if AI_IDN.
60343 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
60345         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
60346         to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
60348 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
60350         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
60351         Fix overflow bug in strncat.
60352         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
60354         * string/test-strncat.c: Update.
60355         Add new tests for checking overflow bugs.
60357 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
60359         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
60360         strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
60361         * sysdeps/i386/i686/multiarch/strcat.S: New file.
60362         * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
60363         * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
60364         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
60365         * sysdeps/i386/i686/multiarch/strncat.S: New file.
60366         * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
60367         * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
60369         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
60370         (USE_AS_STRCAT): Define.
60371         Add strcat and strncat support.
60372         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
60374 2011-07-25  Andreas Schwab  <schwab@redhat.com>
60376         * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
60377         __n bigger than INT_MAX+1.
60378         (__strncmp_g): Likewise.
60380 2011-07-23  Ulrich Drepper  <drepper@gmail.com>
60382         * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
60383         * libio/stido.h: Likewise.
60385         * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
60386         (AF_NFC): Define.
60387         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
60388         (AF_NFC): Define.
60390         * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
60391         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
60392         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
60393         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
60394         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
60396         [BZ #13021]
60397         * scripts/test-installation.pl: Don't expect libnss_test1 to be
60398         installed.
60400         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
60401         typo.
60402         (_dl_x86_64_save_sse): Likewise.
60404 2011-07-22  Ulrich Drepper  <drepper@gmail.com>
60406         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
60407         OSXSAVE.
60408         (_dl_x86_64_save_sse): Likewise.
60410         * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
60412         * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
60414 2011-07-21  Andreas Schwab  <schwab@redhat.com>
60416         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
60417         change.
60418         (_dl_x86_64_save_sse): Use correct AVX check.
60420 2011-07-21  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
60422         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
60423         bug in strncpy/strncat.
60424         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
60426 2011-07-21  Ulrich Drepper  <drepper@gmail.com>
60428         * string/tester.c (test_strcat): Add tests for different alignments
60429         of source and destination.
60430         (test_strncat): Likewise.
60432 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
60434         [BZ #12852]
60435         * posix/glob.c (glob): Check passed in values before using them in
60436         expressions to avoid some overflows.
60437         (glob_in_dir): Likewise.
60439         [BZ #13007]
60440         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
60441         check for AVX enablement so that we don't crash with old kernels and
60442         new hardware.
60443         * elf/tst-audit4.c: Add same checks here.
60444         * elf/tst-audit6.c: Likewise.
60446         * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
60448 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
60450         * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
60452 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
60454         * po/cs.po: Update from translation team.
60455         * po/bg.po: Likewise.
60457 2011-07-12  Marek Polacek  <mpolacek@redhat.com>
60459         * misc/sys/cdefs.h: Add support for const attribute.
60460         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
60461         to gnu_dev_{major,minor,makedev} functions.
60463 2011-07-20  Marek Polacek  <mpolacek@redhat.com>
60465         * intl/dcigettext.c (get_output_charset): Add missing bracket.
60467 2011-07-20  Andreas Schwab  <schwab@redhat.com>
60469         * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
60470         strlen results.
60472 2011-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
60474         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
60475         (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
60476         register in order to avoid conflicts with the soft frame pointer
60477         being held in r11 when necessary.
60478         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
60479         (INTERNAL_VSYSCALL_NCS): Likewise.
60481 2011-07-14  Marek Polacek  <mpolacek@redhat.com>
60483         * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
60484         * elf/dl-fini.c (_dl_fini): Adjust caller.
60485         * elf/dl-close.c (_dl_close_worker): Likewise.
60486         * sysdeps/generic/ldsodefs.h: Adjust declaration.
60488 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
60490         * elf/cache.c (load_aux_cache): Remove unnecessary condition of
60491         "aux_cache->nlibs < 0".
60493         * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
60494         in the reload-count case.
60496 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
60498         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
60499         strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
60500         strncat-sse2-unaligned strncat-c strlen-sse2-pminub
60501         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
60502         * sysdeps/x86_64/multiarch/strcat.S: New file.
60503         * sysdeps/x86_64/multiarch/strncat.S: New file.
60504         * sysdeps/x86_64/multiarch/strncat-c.c: New file.
60505         * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
60506         * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
60507         * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
60508         * sysdeps/x86_64/multiarch/strcpy-ssse3.S
60509         (USE_AS_STRCAT): Define.
60510         Add strcat and strncat support.
60511         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
60512         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
60513         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
60514         * string/strncat.c: Update.
60515         (USE_AS_STRNCAT): Define.
60516         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
60517         Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
60518         and i7.
60519         * sysdeps/x86_64/multiarch/init-arch.h
60520         (bit_Prefer_PMINUB_for_stringop): New.
60521         (index_Prefer_PMINUB_for_stringop): Likewise.
60522         * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
60523         bit_Prefer_PMINUB_for_stringop.
60525 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
60527         * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
60528         buffer64.
60529         * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
60530         of casting of buffer.
60531         * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
60532         buffer32 and buffer64.
60533         * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
60534         writes instead of casting of buffer.
60535         * crypt/md5.h (struct md5_ctx): Move buffer into union and add
60536         buffer32.
60537         * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
60538         casting of buffer.
60540 2011-07-19  Andreas Schwab  <schwab@redhat.com>
60542         * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
60544 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
60546         * nscd/nscd.c (termination_handler): Don't do anything for a database
60547         if it has not yet been initialized.
60549 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
60551         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
60553 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
60555         * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
60557 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
60559         * po/nl.po: Update from translation team.
60560         * po/sv.po: Likewise.
60562 2011-07-16  Roland McGrath  <roland@hack.frob.com>
60564         * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
60565         now disallowed by GCC.
60567         * configure.in (use-default-link): Default to yes if a test -shared
60568         link meets our qualifications.
60569         * configure: Regenerated.
60571         * config.make.in (output-format): New variable.
60572         * configure.in: Check for ld --print-output-format support.
60573         * configure: Regenerated.
60574         * Makerules ($(common-objpfx)format.lds)
60575         [$(output-format) != unknown]: Just use $(output-format),
60576         instead of the linker-script munging.
60578 2011-07-14  Roland McGrath  <roland@hack.frob.com>
60580         * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
60581         of $(common-objpfx)shlib.lds.
60582         * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
60584         * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
60585         Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
60587         * configure.in (-z relro check): Adjust test code to add a large
60588         writable data section after it.
60589         * configure: Regenerated.
60591 2011-07-11  Roland McGrath  <roland@hack.frob.com>
60593         * configure.in (-z relro check): Fix test code to make the variable
60594         truly const.
60595         * configure: Regenerated.
60597 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
60599         * nscd/nscd.h (struct traced_file): Define.
60600         (struct database_dyn): Remove inotify_descr, reset_res, and filename
60601         elements.  Add traced_files.
60602         (inotify_fd): Declare.
60603         (register_traced_file): Declare.
60604         * nscd/connections.c (dbs): Remove reset_res and filename initializers.
60605         (inotify_fd): Export.
60606         (resolv_conf_descr): Remove.
60607         (nscd_init): Move inotify descriptor creation to main.
60608         Don't register files for notification here.
60609         (register_traced_file): New function.
60610         (invalidate_cache): Don't use reset_res to determine whether to call
60611         res_init, go through the list of registered files.
60612         (main_loop_poll): The inotify descriptors are now stored in the
60613         structures for the traced files.
60614         (main_loop_epoll): Likewise
60615         * nscd/nscd.c (main): Create inotify socket here.  Pass extra argument
60616         to __nss_disable_nscd.
60617         * nscd/cache.c (prune_cache): There is no single inotify descriptor
60618         for a database anymore.  Check the records for all the registered
60619         files instead.
60620         * nss/Makefile (libnss_files-routines): Add files-init.
60621         (libnss_db-routines): Add db-init.
60622         * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
60623         [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
60624         * nss/nss_db/db-init.c: New file.
60625         * nss/nss_files/files-init.c: New file.
60626         * nss/nsswitch.c (nss_load_library): New function.  Broken out of
60627         __nss_lookup_function.
60628         (__nss_lookup_function): Call nss_load_library.
60629         (nss_load_all_libraries): New function.
60630         (__nss_disable_nscd): Take parameter with callback function for files
60631         to register.  Set is_nscd.  Load all the DSOs for the NSS modules
60632         used for the cached services.
60633         * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
60634         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
60635         options for features to all the files in nscd.
60637         * nss/nsswitch.c (nss_parse_file): Add missing fclose.
60639 2011-07-10  Roland McGrath  <roland@hack.frob.com>
60641         * csu/elf-init.c (__libc_csu_init): Comment typo.
60643 2011-07-09  Ulrich Drepper  <drepper@gmail.com>
60645         * po/pl.po: Update from translation team.
60646         * po/ja.po: Likewise.
60647         * po/ru.po: Likewise.
60648         * po/ko.po: Likewise.
60649         * po/fr.po: Likewise.
60651 2011-07-09  Roland McGrath  <roland@hack.frob.com>
60653         * configure.in (.ctors/.dtors header and trailer check):
60654         Use an empirical test on a built program.
60655         * configure: Regenerated.
60657         * configure.in (-z relro check): Use an empirical test on a built DSO.
60658         Detect, but do not require, on ia64.
60659         * configure: Regenerated.
60661         * configure.in (READELF): Find it with AC_CHECK_TOOL.
60662         Update tests that use readelf to use $READELF instead.
60663         * configure: Regenerated.
60665 2011-07-08  Ulrich Drepper  <drepper@gmail.com>
60667         * malloc/hooks.c (memalign_check): Avoid using checked_request2size
60668         if the result is not used.
60670 2011-07-05  Andreas Jaeger  <aj@suse.de>
60672         [BZ#9696]
60673         * stdlib/tst-strtod.c: Add testcase.
60675 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
60677         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
60678         (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
60679         The latter has a higher limit.  Take additional parameter to pass to
60680         the new function.
60681         (__pathconf): Pass file to __statfs_link_max.
60682         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
60683         __statfs_link_max.
60684         * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
60685         __statfs_link_max.
60687         [BZ #12868]
60688         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
60689         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
60690         Handle Lustre.
60691         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
60692         (__statfs_filesize_max): Likewise.
60693         Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
60695 2011-07-05  Andreas Jaeger  <aj@suse.de>
60697         * resolv/res_comp.c (dn_skipname): Remove unused variable.
60699 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
60701         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
60702         `status' variable.
60703         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
60704         Likewise.
60706 2011-07-04  H.J. Lu  <hongjiu.lu@intel.com>
60708         * Makefile (strop-tests): Add strncat.
60709         * string/test-strncat.c: New file.
60711 2011-06-30  Marek Polacek  <mpolacek@redhat.com>
60713         * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
60715 2011-06-21  Andreas Jaeger  <aj@suse.de>
60717         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
60718         Copy rule from iconvdata/Makefile.
60720 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
60722         [BZ #12922]
60723         * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
60724         but no long options are defined, just return 'W'.
60726 2011-06-22  Marek Polacek  <mpolacek@redhat.com>
60728         [BZ #9696]
60729         * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
60731 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
60733         * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
60734         netgroups to read.
60735         (innetgr): Likewise.
60737 2011-07-05  Roland McGrath  <roland@hack.frob.com>
60739         * config.make.in (install_root): Default to $(DESTDIR).
60741 2011-07-05  Ulrich Drepper  <drepper@gmail.com>
60743         * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
60745 2011-07-02  Roland McGrath  <roland@hack.frob.com>
60747         * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
60749         * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
60750         containing directory rather than embedding absolute directory names.
60752         * scripts/check-local-headers.sh: Rewritten using awk.
60753         Match by word, not by line.  Print error messages for matches.
60754         * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
60756         * Makerules [shlib-lds-flags empty]:
60757         ($(common-objpfx)libc_pic.opts): New target.
60758         ($(common-objpfx)libc_pic.os.clean): New target.
60759         ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
60761         * config.make.in (OBJCOPY): New variable.
60762         * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
60763         * configure: Regenerated.
60765         * config.make.in (use-default-link): New variable.
60766         * configure.in (use_default_link): Grok --with-default-link to set it.
60767         * configure: Regenerated.
60768         * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
60769         (shlib-lds, shlib-lds-flags): Define to empty.
60771         * Makerules (shlib-lds): New variable.
60772         (shlib-lds-flags): New variable.
60773         (build-shlib, build-moduile, build-module-asneeded): Use it.
60774         ($(common-objpfx)libc.so): Use $(shlib-lds).
60775         ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
60776         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
60778         * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
60779         DT_FLAGS/DT_FLAGS_1 with zero flags.
60781         * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
60782         linker script munging.
60784 2011-07-02  Ulrich Drepper  <drepper@gmail.com>
60786         * crypt/sha512.h (struct sha512_ctx): Add union to access total also
60787         as 128-bit value.
60788         * crypt/sha512.c (sha512_process_block): Perform total addition using
60789         128-bit if possible.
60790         (__sha512_finish_ctx): Likewise.
60791         * crypt/sha256.h (struct sha256_ctx): Add union to access total also
60792         as 64-bit value.
60793         * crypt/sha256.c (SWAP64): Define.
60794         (sha256_process_block): Perform total addition using 64-bit if
60795         possible.
60796         (__sha256_finish_ctx): Likewise.
60798 2011-07-01  Ulrich Drepper  <drepper@gmail.com>
60800         * nscd/pwdcache.c (cache_addpw): Cleanup.  Add branch prediction.
60801         * nscd/initgrcache.c (addinitgroupsX): Likewise.
60802         * nscd/hstcache.c (cache_addhst): Likewise.
60803         * nscd/grpcache.c (cache_addgr): Likewise.
60804         * nscd/aicache.c (addhstaiX): Likewise
60805         * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
60807 2011-07-01  Thorsten Kukuk  <kukuk@suse.de>
60809         * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
60810         * nscd/initgrcache.c (addinitgroupsX): Likewise.
60811         * nscd/hstcache.c (cache_addhst): Likewise.
60812         * nscd/grpcache.c (cache_addgr): Likewise.
60813         * nscd/aicache.c (addhstaiX): Likewise
60815 2011-07-01  Andreas Schwab  <schwab@redhat.com>
60817         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
60818         domain only when needed.
60820 2011-06-30  Andreas Schwab  <schwab@redhat.com>
60822         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
60823         is always restored.
60825 2011-06-29  Ulrich Drepper  <drepper@gmail.com>
60827         * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
60828         are re-adding the entry.
60829         * nscd/servicescache.c (cache_addserv): Likewise.
60831 2011-06-30  Aurelien Jarno  <aurelien@aurel32.net>
60833         * sysdeps/generic/dl-irel.h: fix protection against multiple
60834         inclusions.
60835         * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
60837 2011-06-28  Ulrich Drepper  <drepper@gmail.com>
60839         [BZ #12935]
60840         * malloc/memusage.sh: Fix quoting in message.
60841         * debug/xtrace.sh: Likewise.
60843         * configure.in: Remove support for --experimental-malloc option, make
60844         it the default.
60845         * config.make.in: Likewise.
60846         * malloc/Makefile: Likewise.
60848 2011-06-27  Andreas Schwab  <schwab@redhat.com>
60850         * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
60851         two-byte characters.
60853 2011-06-27  Roland McGrath  <roland@hack.frob.com>
60855         * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
60856         AC_CACHE_CHECK invocation.
60857         * configure: Regenerated.
60859         * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
60861 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
60863         [BZ #12350]
60864         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
60865         bit from old_res_options.
60867         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
60869         * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
60870         value type for setfct.
60872 2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
60874         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
60875         __gettimeofday instead of gettimeofday.
60877 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
60879         * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
60881 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
60883         * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
60885         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
60886         info.
60888 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
60890         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
60891         strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
60892         strcpy-sse2-unaligned strncpy-sse2-unaligned
60893         stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
60894         * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
60895         * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
60896         * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
60897         * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
60898         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
60899         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
60900         * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
60901         * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
60902         * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
60903         (STRCPY): Support SSE2 and SSSE3 versions.
60905 2011-06-24  Ulrich Drepper  <drepper@gmail.com>
60907         [BZ #12874]
60908         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
60909         * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
60910         kernels which artificially limit size of requests.
60912 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
60914         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
60915         strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
60916         strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
60917         * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
60918         * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
60919         * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
60920         * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
60921         * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
60922         * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
60923         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
60924         * sysdeps/i386/i686/multiarch/strcpy.S: New file.
60925         * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
60926         * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
60927         * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
60928         * sysdeps/i386/i686/multiarch/strncpy.S: New file.
60929         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
60930         Enable unaligned load optimization for Intel Core i3, i5 and i7
60931         processors.
60932         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
60933         Define.
60934         (index_Fast_Unaligned_Load): Define.
60935         (HAS_FAST_UNALIGNED_LOAD): Define.
60937 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
60939         * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
60941 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
60943         [BZ #12907]
60944         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
60945         until it is clear that the information is realy needed.
60946         Patch mostly by David Hanisch <david.hanisch@nsn.com>.
60948 2011-06-22  Andreas Schwab  <schwab@redhat.com>
60950         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
60952 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
60954         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
60955         /sys/devices/system/cpu/online if it is usable.
60957         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
60958         reading the information from the /proc filesystem to once a second.
60960 2011-06-21  Andreas Jaeger  <aj@suse.de>
60962         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
60963         NULL after inclusion of kernel headers.
60965 2011-06-21  Ulrich Drepper  <drepper@gmail.com>
60967         * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
60968         calls to internal_setent.
60970         [BZ #12885]
60971         * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
60972         addresses using gethostbyname4_r ignore IPv4 addresses.
60974         * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
60975         branch using gethostbyname2 is only for AF_INET.  Optimize accordingly.
60977         * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
60979 2011-06-20  David S. Miller  <davem@davemloft.net>
60981         * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
60982         inclusions.
60983         * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
60985         * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
60986         (elf_irel): Use it.
60987         * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
60988         * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
60989         * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
60990         * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
60991         * sysdeps/x86_64/dl-irel.h: Likewise.
60993         * elf/dl-runtime.c: Use elf_ifunc_invoke.
60994         * elf/dl-sym.c: Likewise.
60996 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
60998         * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
60999         need to dereference resplen2.
61001 2011-06-14  Andreas Schwab  <schwab@redhat.com>
61003         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
61005 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
61007         * Makeconfig: Define vardbdir and inst_vardbdir.
61008         * nss/Makefile: Add rules to install db-Makefile.
61010         * nss/nss_db/db-XXX.c: Cleanup.
61012         * nss/Makefile (libnss_db-dbs): Add db-initgroups.
61013         * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
61014         GLIBC_PRIVATE.
61015         * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
61016         * nss/makedb.c: Implement -g option to specify that value strings
61017         are generated and should not be added to table iterated over for
61018         get*ent calls.
61019         * nss/nss_db/db-initgroups.c: New file.
61021         * nss/getent.c: Add support for initgroups lookups through getgrouplist
61022         interface.
61024         * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
61025         (internal_getgrouplist): Adjust to name change.
61026         Update use_initgroups_entry if this is not the first call.
61027         * nss/databases.def: Add initgroups entry.
61029         * nss/makedb.c (compute_tables): Check result of multiple hash table
61030         sizes to minimize maximum chain length.
61032 2011-06-14  Ulrich Drepper  <drepper@gmail.com>
61034         * Versions.def: Add entry for libnss_db.
61035         * shlib-versions: Likewise.
61036         * nss/Makefile: Add rules to build libnss_db.
61037         * nss/Versions: Add libnss_db information.  Organize libnss_files
61038         entries better.
61039         * nss/db-Makefile: Add gshadow support.  Change rules for the new
61040         makedb progra.  Some minor improvements to generate smaller files.
61041         * nss/nss_db/nss_db.h: Move NSS database header data structures to
61042         here from...
61043         * nss/makedb.c: ...here.
61044         Improve database format to be smaller and require less memory at
61045         runtime.
61046         * nss/nss_db/db-XXX.x: Adjust for new database format.  Don't use
61047         db anymore.
61048         * nss/nss_db/db-netgrp.c: Likewise.
61049         * nss/nss_db/db-open.c: Likewise.
61050         * nss/nss_files/flies-XXX.x: Adjust comments.
61051         * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
61052         * nss/nss_files/files-grp.c: Likewise.
61053         * nss/nss_files/files-hosts.c: Likewise.
61054         * nss/nss_files/files-network.c: Likewise.
61055         * nss/nss_files/files-proto.c: Likewise.
61056         * nss/nss_files/files-pwd.c: Likewise.
61057         * nss/nss_files/files-rpc.c: Likewise.
61058         * nss/nss_files/files-service.c: Likewise.
61059         * nss/nss_files/files-sgrp.c: Likewise.
61060         * nss/nss_files/files-spwd.c: Likewise.
61061         * nss/nss_db/db-alias.c: Removed.
61062         * nss/nss_db/dummy-db.h: Removed.
61064 2011-06-02  Ulrich Drepper  <drepper@gmail.com>
61066         * nss/makedb.c: Rewritten to not use database library.
61067         * nss/Makefile: Update to build new makedb program.
61069 2011-06-14  Andreas Jaeger  <aj@suse.de>
61071         * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
61072         memset declaration.
61074 2011-06-10  Andreas Schwab  <schwab@redhat.com>
61076         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
61077         tmpbuf.
61079 2011-06-10  Roland McGrath  <roland@hack.frob.com>
61081         * Makerules (shlib.lds): Fail if the linker script comes out empty.
61082         * elf/Makefile ($(objpfx)ld.so): Likewise.
61084         * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
61085         Don't list ld.so twice in dependencies.
61087         * posix/bug-regex31.c: Include <stdlib.h>.
61089         * nscd/hstcache.c (cache_addhst): Remove unused variable.
61091         * nis/nss_compat/compat-spwd.c
61092         (getspent_next_nss_netgr): Remove unused variable.
61093         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
61095         * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
61096         nonmembers" output to use the right array.
61098         * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
61100         * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
61102         * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
61103         * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
61104         * catgets/gencat.c (read_input_file): Likewise.
61105         * locale/programs/locarchive.c (enlarge_archive): Likewise.
61107         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
61108         variable definition inside #if's controlling its use.
61110         * inet/getnetgrent_r.c (innetgr): Remove unused variable.
61112         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
61114         * misc/syslog.c (__vsyslog_chk): Remove unused variable.
61116         * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
61117         unreachable code.
61119         * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
61121         * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
61122         * configure: Regenerated.
61124         * Makerules: Revert last change.
61125         * elf/Makefile: Likewise.
61127 2011-06-09  Roland McGrath  <roland@hack.frob.com>
61129         * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
61130         * elf/Makefile ($(objpfx)librtld.os): Likewise.
61131         (reloc-link): Likewise.
61133 2011-06-09  Ulrich Drepper  <drepper@gmail.com>
61135         * elf/Makefile: Add rules to build pldd.
61136         * elf/pldd.c: New file.
61137         * elf/pldd-xx.c: New file.
61139 2011-06-07  Ulrich Drepper  <drepper@gmail.com>
61141         * version.h: Update for 2.15 development version.
61143 2011-06-07  David S. Miller  <davem@davemloft.net>
61145         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
61146         ifuncs.
61147         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
61148         elf_machine_lazy_rel): Likewise.
61149         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
61150         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
61151         elf_machine_lazy_rel): Likewise.
61152         * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
61153         dl_hwcap via passed in argument.
61154         * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
61155         Likewise.
61157 2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
61159         * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
61161 2011-06-06  Roland McGrath  <roland@hack.frob.com>
61163         [BZ #12849]
61164         * manual/fdl-1.1.texi: New file, verbatim from:
61165         http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
61166         * manual/lgpl-2.1.texi: New file, verbatim from:
61167         http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
61168         * manual/Makefile (licenses): New variable, list those new file names.
61169         (texis): Use it.
61170         (chapters.% top-menu.%): Include $(licenses) with $(appendices).
61172         * manual/fdl.texi: File removed.
61173         * manual/lesser.texi: File removed.
61174         * manual/libc.texinfo (Copying, Documentation License):
61175         Use new @include file names, put @appendix directive before @include.
61177 2011-06-04  Jakub Jelinek  <jakub@redhat.com>
61179         [BZ #12841]
61180         * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
61181         (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
61182         (mq_open): Add __NTH.
61184 2011-06-02  H.J. Lu  <hongjiu.lu@intel.com>
61186         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
61187         Assume Intel Core i3/i5/i7 processor if AVX is available.
61189 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
61191         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
61192         typo.
61194 2011-05-31  Andreas Schwab  <schwab@redhat.com>
61196         * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
61197         memory.  Use alloca_account.  Fix memory leak when retrying.
61199 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
61201         * version.h (RELEASE): Bump for 2.14 release.
61202         * include/features.h (__GLIBC_MINOR__): Bump to 14.
61204         * config.make.in (RANLIB): Remove entry.
61206 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
61208         * po/Makefile (po-sed-cmd): Add ksh to extensions.
61209         (libc.pot): Work around missing support for .ksh extension in xgettext.
61211         [BZ #12684]
61212         * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
61213         if both request failed.
61214         (send_dg): In case of server errors clear resplen or *resplen2.
61216         [BZ #12454]
61217         * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
61218         when there are multiple maps.
61219         * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
61220         (_dl_fini): Remove test here.
61222         * elf/rtld.c (dl_main): Don't allow the loader to load itself.
61224 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
61226         [BZ #12350]
61227         * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
61228         bit from old_res_options.
61229         (gaih_inet): Likewise.
61231         [BZ #11099]
61232         * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
61233         as signed.
61235         * resolv/res_init.c (res_setoptions): Make the code more compact.
61237         [BZ #11558]
61238         * resolv/res_init.c (res_setoptions): Recognize use-vc option and
61239         set RES_USEVC.
61241         [BZ #11634]
61242         * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
61244         * malloc/malloc.h: Mark malloc hook variables as deprecated.
61246         [BZ #11781]
61247         * malloc/malloc.h: Declare malloc hook variables as volatile.
61249         * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
61250         in last patch.
61252         [BZ #11799]
61253         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
61254         raise in the comment.
61255         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
61256         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
61257         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
61259 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
61261         [BZ #12811]
61262         * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
61263         grow the buffers more if it already has to be sufficient.
61264         (build_wcs_upper_buffer): Likewise.
61265         * posix/regexec.c (check_matching): Likewise.
61266         (clean_state_log_if_needed): Likewise.
61267         (extend_buffers): Don't enlarge buffers beyond size of the input
61268         buffer.
61269         Patches mostly by Emil Wojak <emil@wojak.eu>.
61270         * posix/bug-regex32.c: New file.
61271         * posix/Makefile (tests): Add bug-regex32.
61273         * locale/findlocale.c (_nl_find_locale): Return right away if
61274         _nl_explode_name failed.
61275         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
61277         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
61279         * debug/xtrace.sh: Unify messages.
61280         * malloc/memusage.sh: Likewise.
61282         [BZ #12813]
61283         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
61284         time symbol from vDSO.  Substitute with vsyscall if not available.
61285         * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
61286         __vdso_time.
61288         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
61289         * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
61290         * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
61291         Add sendmmsg and internal_sendmmsg.
61292         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
61293         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
61294         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
61296         * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
61297         * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
61298         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
61300 2011-05-27  Ulrich Drepper  <drepper@gmail.com>
61302         [BZ #12813]
61303         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
61304         Retrieve getcpu symbol from vDSO.  Substitute with vsyscall if not
61305         available.
61306         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
61307         __vdso_getcpu.
61309         [BZ #12814]
61310         * iconvdata/Makefile (tests): Add bug-iconv9.
61311         * iconvdata/bug-iconv9.c: New file.
61313 2011-05-27  Andreas Schwab  <schwab@redhat.com>
61315         [BZ #12814]
61316         * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
61318 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
61320         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
61321         (struct user_regs_struct): Change intcs field back to cs.
61323 2011-05-25  Ulrich Drepper  <drepper@gmail.com>
61325         * po/ja.po: Update from translation team.
61327 2011-05-23  Ulrich Drepper  <drepper@gmail.com>
61329         [BZ #12795]
61330         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
61331         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
61333 2011-05-20  Andreas Schwab  <schwab@redhat.com>
61335         * stdlib/longlong.h: Update from GCC.
61337 2011-05-23  Andreas Schwab  <schwab@redhat.com>
61339         * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
61340         parameter name.
61341         * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
61342         Add parameter name.
61343         (__sysconf): Pass it down.
61345 2011-05-22  Ulrich Drepper  <drepper@gmail.com>
61347         [BZ #12671]
61348         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
61349         some situations.
61350         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
61351         * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
61352         add in in __libc_use_alloca calls.  Adjust callers.
61353         (glob): Use malloc in some situations.
61355         * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
61356         and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
61357         pltexit.
61359 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
61361         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
61362         and CLOCK_BOOTTIME_ALARM.
61364         [BZ #12782]
61365         * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
61366         is returned.
61368         * string/_strerror.c (__strerror_r): Print negative errors as signed
61369         numbers.
61371         [BZ #12777]
61372         * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
61373         (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
61374         * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
61376         * configure.in: Fix typo in redirection and correct removal of test
61377         files in two cases.
61379         [BZ #12788]
61380         * locale/setlocale.c (new_composite_name): Fix test to check for
61381         identical name of all categories.
61383         [BZ #12792]
61384         * libio/filedoalloc.c (local_isatty): New function.
61385         (_IO_file_doallocate): Use local_isatty.
61386         * stdio-common/perror.c (perror): In case a new stream is used
61387         forward the stream error.
61388         * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
61389         error flag.
61391 2011-05-20  Ulrich Drepper  <drepper@gmail.com>
61393         [BZ #11869]
61394         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
61395         alloca.
61396         * include/alloca.h (extend_alloca_account): Define.
61398         [BZ #11857]
61399         * posix/regex.h: Fix comments with documentation of user-accessible
61400         fields after compilation and describe correct free'ing of pattern
61401         after re_compile_pattern.
61402         Patch by Reuben Thomas <rrt@sc3d.org>.
61404 2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
61406         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
61407         and -mno-altivec to prevent the compiler from using Altivec and/or
61408         VSX instructions when the corresponding registers are not available.
61410 2011-05-19  Andreas Schwab  <schwab@redhat.com>
61412         * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
61414 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
61416         * libio/freopen.c (freopen): Use __dup2, not dup2.
61417         * libio/freopen64.c (freopen64): Likewise.
61419 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
61421         [BZ #12775]
61422         * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
61423         * math/Makefile (tests): Add test-powl.
61424         (CFLAGS-test-powl.c): Define.
61425         * math/test-powl.c: New file.
61427 2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
61429         * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
61431 2011-05-17  Ulrich Drepper  <drepper@gmail.com>
61433         [BZ #11837]
61434         * iconvdata/gb18030.c: Update to GB18020-2005.
61436 2011-05-16  Ulrich Drepper  <drepper@gmail.com>
61438         * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
61439         RE_SYNTAX_POSIX_AWK): Update to match recent development.
61440         Patch by Aharon Robbins <arnold@skeeve.com>.
61442         [BZ #11892]
61443         * stdlib/putenv.c (putenv): Don't always create copy of the variable
61444         on the stack.
61446         [BZ #11895]
61447         * misc/pselect.c (__pselect): Handle timeout value errors hidden
61448         through underflows.
61450         [BZ #12766]
61451         * misc/error.c (error_at_line): Ensure file_name and old_file_name
61452         point to strings before performing equality test for error_one_per_line
61453         mode.
61455         [BZ #11697]
61456         * login/programs/pt_chown.c (do_pt_chown): Always call chown.
61458         [BZ #11820]
61459         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
61460         (struct user_fpregs_struct): Avoid __uint*_t types.
61462         [BZ #6420]
61463         * malloc/mtrace.c (tr_where): Add additional parameter to point to
61464         symbol info.  Use it instead of calling _dl_addr locally.
61465         (lock_and_info): New function.
61466         (tr_freehook): Call lock_and_info and pass symbol info as additional
61467         parameter to tr_where.
61468         (tr_mallochook): Likewise.
61469         (tr_reallochook): Likewise.
61470         (tr_memalignhook): Likewise.
61472         * malloc/mtrace.c: Remove support for USE_MTRACE_FILE.  It is not
61473         used and couldn't be at all thread-safe.
61475 2011-05-15  Ulrich Drepper  <drepper@gmail.com>
61477         * libio/freopen.c (freopen): Don't close old file descriptor
61478         before the new one is opened.  Instead dup the new file descriptor
61479         to the old one after the new stream is created.
61480         * libio/freopen64.c (freopen64): Likewise.
61481         * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
61482         * libio/fileops.c (_IO_new_file_close_it): Handle new
61483         _IO_FLAGS2_NOCLOSE flag.
61484         (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
61485         If _IO_file_open didn't set FD_CLOEXEC do it after the call.
61486         * libio/oldfileops.c (_IO_old_file_close_it): Handle new
61487         _IO_FLAGS2_NOCLOSE flag.
61488         * include/unistd.h: Add hidden_proto for dup3.
61489         Define __have_dup3.
61490         * io/dup3.c: Define hidden symbol.
61491         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
61493         [BZ #7101]
61494         * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
61495         when an incomplete long option is used.
61496         * posix/tst-getopt_long1.c: New file.
61497         * posix/Makefile (tests): Add tst-getopt_long1.
61499         [BZ #10138]
61500         * scripts/config.guess: Update from autoconf-2.68.
61501         * scripts/config.sub: Likewise.
61503         [BZ #10157]
61504         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
61505         tests into ...
61506         (has_cpuclock): ...this.  New function.
61507         * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
61508         macro here based on has_cpuclock code.
61510         [BZ #10149]
61511         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
61512         First byte (not low byte) is now always NUL.
61513         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
61515         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
61516         Use non-cancelable interfaces.
61518         [BZ #9809]
61519         * locale/iso-639.def: Add entry for Sorani.
61521         [BZ #11901]
61522         * include/stdlib.h: Move include protection to the right place.
61523         Define abort_msg_s.  Declare __abort_msg with it.
61524         * stdlib/abort.c (__abort_msg): Adjust type.
61525         * assert/assert.c (__assert_fail_base): New function.  Majority
61526         of code from __assert_fail.  Allocate memory for __abort_msg with
61527         mmap.
61528         (__assert_fail): Now call __assert_fail_base.
61529         * assert/assert-perr.c: Remove bulk of implementation.  Use
61530         __assert_fail_base.
61531         * include/assert.hL Declare __assert_fail_base.
61532         * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
61533         mmap.
61534         * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
61536 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
61538         [BZ #11952]
61539         [BZ #12453]
61540         * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
61541         until all modules are registered in the DTV.
61542         * elf/Makefile: Add rules to build and run tst-tls19.
61543         * elf/tst-tls19.c: New file.
61544         * elf/tst-tls19mod1.c: New file.
61545         * elf/tst-tls19mod2.c: New file.
61546         * elf/tst-tls19mod3.c: New file.
61547         Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
61549         [BZ #12083]
61550         * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
61551         correctly.
61553         [BZ #12601]
61554         * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
61555         two-byte sequence errors.
61556         * iconvdata/Makefile (tests): Add bug-iconv8.
61557         * iconvdata/bug-iconv8.c: New file.
61559         [BZ #12626]
61560         * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
61561         buf2 definition.
61563         * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
61565         [BZ #12432]
61566         * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
61567         (dummy_getcfa): New function.
61568         (init): Get _Unwind_GetCFA address, use dummy if not found.
61569         (backtrace_helper): In recursion check, also check whether CFA changes.
61570         (__backtrace): Completely initialize arg.
61572         * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
61573         storing incomplete byte sequence in state object.  Avoid testing for
61574         guaranteed too small input if we know there is enough data available.
61576 2011-05-11  Andreas Schwab  <schwab@redhat.com>
61578         * Makeconfig (+link-pie): Indent.
61579         * Rules (binaries-pie): Define if $(have-fpie) and
61580         $(build-shared).
61581         (binaries-shared): Also filter out $(binaries-pie).
61582         ($(addprefix $(objpfx),$(binaries-pie))): New rule.
61583         * nscd/Makefile (others-pie): Add nscd.
61584         (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
61585         ($(objpfx)nscd): Remove command override.
61586         * login/Makefile (others-pie): Add pt_chown.
61587         ($(objpfx)pt_chown): Remove command override.
61588         * elf/Makefile: Add PIE tests to tests and tests-pie variables and
61589         remove command overrides.
61591 2011-05-13  Ulrich Drepper  <drepper@gmail.com>
61593         * libio/tst_putwc.c: Fix error messages.
61595         [BZ #12724]
61596         * libio/fileops.c (_IO_new_file_close_it): Always flush when
61597         currently writing and seek to current position when not.
61598         * libio/Makefile (tests): Add bug-fclose1.
61599         * libio/bug-fclose1.c: New file.
61601 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
61603         [BZ #12511]
61604         * elf/dl-lookup.c (enter): Don't test for copy relocation here and
61605         don't set DF_1_NODELETE here.
61606         (do_lookup_x): When entering new entry test for copy relocation
61607         and if necessary set DF_1_NODELETE flag.
61608         * elf/tst-unique4.cc: New file.
61609         * elf/tst-unique4.h: New file.
61610         * elf/tst-unique4lib.cc: New file.
61611         * elf/Makefile: Add rules to build and run tst-unique4.
61612         Patch by Piotr Bury <pbury@goahead.com>.
61614 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
61616         [BZ #12052]
61617         * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
61619         [BZ #12625]
61620         * misc/mntent_r.c (addmntent): Flush the stream after the output
61622         [BZ #12393]
61623         * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
61624         (is_trusted_path_normalize): Skip initial colon.  Append slash
61625         to empty buffer.  Duplicate is_trusted_path code but allow
61626         constructed patch to be prefix.
61627         (is_dst): Allow $ORIGIN followed by /.
61628         (_dl_dst_substitute): Correct clearing of check_for_trusted.
61629         Correct testing of result of is_trusted_path_normalize
61630         (decompose_rpath): Fix warning.
61632 2011-05-10  Ulrich Drepper  <drepper@gmail.com>
61634         [BZ #11257]
61635         * grp/initgroups.c (internal_getgrouplist): When we found the service
61636         list through the initgroups entry in nsswitch.conf do not always
61637         continue on a successful lookup.  Don't always use the
61638         __nss_group_database value if it is set.
61639         * nss/nsswitch.conf (initgroups): Change action for successful db
61640         lookup to continue for compatibility.
61642 2011-05-09  Ulrich Drepper  <drepper@gmail.com>
61644         [BZ #11532]
61645         * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
61646         and CP774 modules.
61647         * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
61648         and CP774 modules.
61649         * iconvdata/tst-tables.sh: Likewise.
61650         * iconvdata/cp770.c: New file.
61651         * iconvdata/cp771.c: New file.
61652         * iconvdata/cp772.c: New file.
61653         * iconvdata/cp773.c: New file.
61654         * iconvdata/cp774.c: New file.
61655         * iconvdata/testdata/CP770: New file.
61656         * iconvdata/testdata/CP770..UTF8: New file.
61657         * iconvdata/testdata/CP771: New file.
61658         * iconvdata/testdata/CP771..UTF8: New file.
61659         * iconvdata/testdata/CP772: New file.
61660         * iconvdata/testdata/CP772..UTF8: New file.
61661         * iconvdata/testdata/CP773: New file.
61662         * iconvdata/testdata/CP773..UTF8: New file.
61663         * iconvdata/testdata/CP774: New file.
61664         * iconvdata/testdata/CP774..UTF8: New file.
61666         * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
61667         END CHARMAP line.
61668         * iconvdata/gen-8bit-gap.sh: Likewise.
61669         * iconvdata/gen-8bit.sh: Likewise.
61671         * locale/iso-639.def: Add ary entry.
61673         [BZ #11258]
61674         * locale/C-translit.h.in: Add U20A1 transliteration.
61676         [BZ #12178]
61677         * locale/iso-639.def: Add wae entry.
61678         Patch by Kevin Bortis <bortis@translate-wae.ch>.
61680         [BZ #12545]
61681         * locale/programs/localedef.c (construct_output_path): Use ssize_t
61682         for n.
61684         [BZ #12711]
61685         * locale/C-translit.h.in: Add entry for U20B9.
61686         Patch by pravin.d.s@gmail.com.
61688 2011-05-08  Ulrich Drepper  <drepper@gmail.com>
61690         [BZ #12713]
61691         * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
61692         ENAMETOOLONG use generic getcwd.
61693         * sysdeps/posix/getcwd.c: Add support to use openat.  Make usable
61694         in rtld.  Use *stat64.
61695         * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
61696         Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
61697         * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
61698         * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
61699         * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
61700         * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
61701         * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
61702         __fstatat64 macros.
61703         * include/dirent.h: Add libc_hidden_proto for rewinddir.
61704         * dirent/rewinddir.c: Add libc_hidden_def.
61705         * sysdeps/mach/hurd/rewinddir.c: Likewise.
61706         * sysdeps/unix/rewinddir.c: Likewise.  Don't do locking outside libc.
61708         * include/dirent.h (__alloc_dir): Add flags parameter.
61709         * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
61710         * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
61711         __alloc_dir.
61712         (__alloc_dir): Take new parameter.  Don't call fcntl for invocations
61713         from fdopendir if O_CLOEXEC is already set.
61715 2011-03-15  Alan Modra  <amodra@gmail.com>
61717         * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
61718         l_tls_firstbyte_offset non-zero.  Save padding offset in
61719         l_tls_firstbyte_offset for later use.
61720         * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
61721         freeing static tls block.
61723 2011-03-05  Jonathan Nieder  <jrnieder@gmail.com>
61725         * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
61726         where #ifdef was intended.  The intent is to prevent ARG_MAX from
61727         being defined by the kernel headers.
61729 2011-05-07  Ulrich Drepper  <drepper@gmail.com>
61731         [BZ #12734]
61732         * resolv/resolv.h: Define RES_NOTLDQUERY.
61733         * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
61734         no-tld-query and set RES_NOTLDQUERY.
61735         * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
61736         * resolv/res_query.c (__libc_res_nsearch): Backport changes from
61737         modern BIND to search name as TLD unless forbidden.
61739 2011-05-07  Petr Baudis  <pasky@suse.cz>
61740             Ulrich Drepper  <drepper@gmail.com>
61742         [BZ #12393]
61743         * elf/dl-load.c (fillin_rpath): Move trusted path check...
61744         (is_trusted_path): ...to here.
61745         (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
61746         (_dl_dst_substitute): Verify expanded $ORIGIN path elements
61747         using is_trusted_path_normalize() in setuid scripts.
61749 2011-05-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
61751         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
61752         __BEGIN/__END_DECLS.
61754 2011-05-06  Ulrich Drepper  <drepper@gmail.com>
61756         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
61757         NSS_STATUS_NOTFOUND if no record was found.
61759 2011-05-05  Andreas Schwab  <schwab@redhat.com>
61761         * sunrpc/Makefile (headers): Add rpc/netdb.h.
61762         (headers-not-in-tirpc): Remove rpc/netdb.h
61763         * resolv/netdb.h: Revert last change.
61765 2011-05-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
61767         * Makeconfig (link-libc-static): Use --{start,end}-group to handle
61768         circular dependency between libgcc.a and libc.a.
61770 2011-05-05  Andreas Schwab  <schwab@redhat.com>
61772         * resolv/netdb.h: Don't include <rpc/netdb.h>.
61773         * nis/Makefile: Don't install rpcsvc/*.
61774         * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
61775         instead of <rpc/types.h>.
61776         (MAXHOSTNAMELEN): Define.
61778 2011-05-03  Andreas Schwab  <schwab@redhat.com>
61780         * elf/ldconfig.c (add_dir): Don't crash on empty path.
61782 2011-04-28  Maciej Babinski  <mbabinski@google.com>
61784         [BZ #12714]
61785         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
61786         gethostbyname4_r when IPv6 results are possible.
61788 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
61790         [BZ #12723]
61791         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
61792         _PC_PIPE_BUF handling.
61794 2011-04-30  Bruno Haible  <bruno@clisp.org>
61796         [BZ #12717]
61797         * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
61798         * resolv/netdb.h (getnameinfo): Change type of flags parameter
61799         to 'int'.
61800         * inet/getnameinfo.c (getnameinfo): Likewise.
61802 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
61804         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
61805         to groups setting in database lookup.
61806         * nss/nsswitch.conf: Add initgroups entry.
61808 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
61810         [BZ #12685]
61811         * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
61812         mode string.
61813         Patch by Eric Blake <eblake@redhat.com>.
61815 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
61817         * sunrpc/Makefile (need-export-routines): Add svc_run.
61818         (routines): Remove svc_run.
61819         ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
61820         * sunrpc/clnt_perr.c (clnt_perrno): Export.
61821         * sunrpc/svc_run.c (svc_run): Likewise.
61822         * sunrpc/svc_udp.c (svcudp_create): Likewise.
61824 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
61826         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
61827         problem in reallocation in last patch.
61829 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
61831         * sunrpc/Makefile: Move inclusion of Rules.
61833 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
61835         * nss/nss_files/files-initgroups.c: New file.
61836         * nss/Makefile (libnss_files-routines): Add files-initgroups.
61837         * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
61838         _nss_files_initgroups_dyn.
61840 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
61842         * elf/elf.h (R_ARM_IRELATIVE): Define.
61844 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
61846         * po/ru.po: Update from translation team.
61848 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
61850         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
61851         dependencies.
61853 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
61855         [BZ #12653]
61856         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
61857         MEMCPY_CHK with USE_AS_BCOPY ifdef check.
61858         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
61859         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
61860         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
61862 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
61864         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
61865         differing bytes.
61866         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
61867         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
61868         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
61870 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
61872         [BZ #12420]
61873         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
61874         storing it.
61875         * stdlib/bug-getcontext.c: New file.
61876         * stdlib/Makefile: Add rules to build and run bug-getcontext.
61878 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
61880         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
61881         instructions into .machine "z9-109".
61882         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
61883         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
61885 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
61887         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
61888         between environment variables and auxiliary vector.
61890 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
61892         * Makefile: Add rules to build linkobj/libc.so.
61893         * include/libc-symbols.h: Define libc_hidden_nolink.
61894         * include/rpc/auth.h: Mark functions which are to be hidden.
61895         * include/rpc/auth_des.h: Likewise.
61896         * include/rpc/auth_unix.h: Likewise.
61897         * include/rpc/clnt.h: Likewise.
61898         * include/rpc/des_crypt.h: Likewise.
61899         * include/rpc/key_prot.h: Likewise.
61900         * include/rpc/pmap_clnt.h: Likewise.
61901         * include/rpc/pmap_prot.h: Likewise.
61902         * include/rpc/pmap_rmt.h: Likewise.
61903         * include/rpc/rpc_msg.h: Likewise.
61904         * include/rpc/svc.h: Likewise.
61905         * include/rpc/svc_auth.h: Likewise.
61906         * include/rpc/xdr.h: Likewise.
61907         * nis/Makefile: Link all DSOs against linkobj/libc.so.
61908         * nss/Makefile: Likewise.
61909         * sunrpc/Makefile: Don't install headers.  Build library with normal
61910         entry points.  Don't build rpcinfo.  Link RPC tests appropriately.
61911         * sunrpc/auth_des.c: Hide exported symbols by default, export some
61912         for the compat linking library.  Remove use of INTDEF/INTUSE.
61913         * sunrpc/auth_none.c: Likewise.
61914         * sunrpc/auth_unix.c: Likewise.
61915         * sunrpc/authdes_prot.c: Likewise.
61916         * sunrpc/authuxprot.c: Likewise.
61917         * sunrpc/clnt_gen.c: Likewise.
61918         * sunrpc/clnt_perr.c: Likewise.
61919         * sunrpc/clnt_raw.c: Likewise.
61920         * sunrpc/clnt_simp.c: Likewise.
61921         * sunrpc/clnt_tcp.c: Likewise.
61922         * sunrpc/clnt_udp.c: Likewise.
61923         * sunrpc/clnt_unix.c: Likewise.
61924         * sunrpc/des_crypt.c: Likewise.
61925         * sunrpc/des_soft.c: Likewise.
61926         * sunrpc/get_myaddr.c: Likewise.
61927         * sunrpc/key_call.c: Likewise.
61928         * sunrpc/key_prot.c: Likewise.
61929         * sunrpc/netname.c: Likewise.
61930         * sunrpc/pm_getmaps.c: Likewise.
61931         * sunrpc/pm_getport.c: Likewise.
61932         * sunrpc/pmap_clnt.c: Likewise.
61933         * sunrpc/pmap_prot.c: Likewise.
61934         * sunrpc/pmap_prot2.c: Likewise.
61935         * sunrpc/pmap_rmt.c: Likewise.
61936         * sunrpc/publickey.c: Likewise.
61937         * sunrpc/rpc_cmsg.c: Likewise.
61938         * sunrpc/rpc_common.c: Likewise.
61939         * sunrpc/rpc_dtable.c: Likewise.
61940         * sunrpc/rpc_prot.c: Likewise.
61941         * sunrpc/rpc_thread.c: Likewise.
61942         * sunrpc/rtime.c: Likewise.
61943         * sunrpc/svc.c: Likewise.
61944         * sunrpc/svc_auth.c: Likewise.
61945         * sunrpc/svc_authux.c: Likewise.
61946         * sunrpc/svc_raw.c: Likewise.
61947         * sunrpc/svc_run.c: Likewise.
61948         * sunrpc/svc_simple.c: Likewise.
61949         * sunrpc/svc_tcp.c: Likewise.
61950         * sunrpc/svc_udp.c: Likewise.
61951         * sunrpc/svc_unix.c: Likewise.
61952         * sunrpc/svcauth_des.c: Likewise.
61953         * sunrpc/xcrypt.c: Likewise.
61954         * sunrpc/xdr.c: Likewise.
61955         * sunrpc/xdr_array.c: Likewise.
61956         * sunrpc/xdr_float.c: Likewise.
61957         * sunrpc/xdr_intXX_t.c: Likewise.
61958         * sunrpc/xdr_mem.c: Likewise.
61959         * sunrpc/xdr_rec.c: Likewise.
61960         * sunrpc/xdr_ref.c: Likewise.
61961         * sunrpc/xdr_sizeof.c: Likewise.
61962         * sunrpc/xdr_stdio.c: Likewise.
61964 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
61966         [BZ #12650]
61967         * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
61968         * sysdeps/ia64/dl-tls.h: Likewise.
61969         * sysdeps/powerpc/dl-tls.h: Likewise.
61970         * sysdeps/s390/dl-tls.h: Likewise.
61971         * sysdeps/sh/dl-tls.h: Likewise.
61972         * sysdeps/sparc/dl-tls.h: Likewise.
61973         * sysdeps/x86_64/dl-tls.h: Likewise.
61974         * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
61976 2011-03-14  Andreas Schwab  <schwab@redhat.com>
61978         * elf/dl-load.c (_dl_dst_substitute): When skipping the first
61979         rpath element also skip the following colon.
61980         (expand_dynamic_string_token): Add is_path parameter and pass
61981         down to DL_DST_REQUIRED and _dl_dst_substitute.
61982         (decompose_rpath): Call expand_dynamic_string_token with
61983         non-zero is_path.  Ignore empty rpaths.
61984         (_dl_map_object_from_fd): Call expand_dynamic_string_token
61985         with zero is_path.
61987 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
61989         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
61990         Make cancelable.
61992 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
61994         [BZ #12655]
61995         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
61996         Patch by Filipe David Manana <fdmanana@apache.org>.
61998 2011-04-07  Andreas Schwab  <schwab@redhat.com>
62000         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
62001         Maintain aligned stack.
62002         (CHECK_RSP): Remove unused macro.
62004 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
62006         * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
62007         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
62009 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
62011         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
62013         * include/features.h: Mention __USE_XOPEN2K8 in comment.
62015 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
62017         [BZ #12518]
62018         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
62019         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
62020         * sysdeps/x86_64/memmove.c: New file.
62021         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
62022         (memcpy): Renamed to ...
62023         (__new_memcpy): This.
62024         (memcpy): Provide GLIBC_2_14 memcpy.
62025         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
62026         (memcpy): Provide GLIBC_2_2_5 memcpy.
62028 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
62030         [BZ #12631]
62031         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
62033 2011-03-30  Andreas Schwab  <schwab@redhat.com>
62035         * misc/syncfs.c: New file.
62036         * misc/Makefile (routines): Add syncfs.
62037         * posix/unistd.h: Declare syncfs.
62038         * sysdeps/unix/syscalls.list: Add syncfs.
62040 2011-04-01  Andreas Schwab  <schwab@redhat.com>
62042         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
62043         open_by_handle_at.
62044         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
62045         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
62046         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
62047         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
62048         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
62049         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
62050         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
62052 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
62054         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
62055         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
62056         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
62057         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
62058         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
62059         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
62060         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
62062         * io/Makefile: Compile fallocate.c, fallocate64.c, and
62063         sync_file_range.c with -fexceptions.
62064         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
62065         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
62066         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
62067         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
62068         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
62069         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
62070         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
62071         sync_file_range as cancellation point
62072         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
62073         now a wrapper around __call_sync_file_range with cancellation handling.
62074         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
62075         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
62076         function name to __call_sync_file_range.
62077         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
62078         Add call_sync_file_range.
62080 2011-04-01  Andreas Schwab  <schwab@redhat.com>
62082         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
62083         bits/timex.h.
62085 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
62087         * iconv/iconv.h: Fix typo in comment.
62088         * io/fcntl.h: Likewise.
62089         * libio/stdio.h: Likewise.
62090         * posix/spawn.h: Likewise.
62091         * posix/unistd.h: Likewise.
62092         * stdlib/stdlib.h: Likewise.
62093         * time/time.h: Likewise.
62094         * wcsmbs/wchar.h: Likewise.
62096         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
62097         open_by_handle): Add.
62098         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
62099         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
62100         Augment a few comments.
62101         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
62102         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
62103         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
62104         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
62105         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
62106         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
62107         open_by_handle.
62109         * io/fcntl.h (AT_EMPTY_PATH): Define.
62111 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
62113         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
62114         * sysdeps/unix/sysv/linux/bits/time.h: New file.
62115         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
62116         to...
62117         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
62118         * Versions.def: Add GLIBC_2.14.
62119         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
62120         Export.
62122 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
62124         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
62125         round counter.
62126         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
62128 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
62130         [BZ #12597]
62131         * string/test-strncmp.c (do_page_test): New function.
62132         (check2): Likewise.
62133         (test_main): Call check2.
62134         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
62136 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
62138         [BZ #12587]
62139         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
62140         Handle cache information in CPU leaf 4.
62141         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
62143 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
62145         [BZ #12583]
62146         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
62147         character representation.
62148         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
62150 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
62152         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
62153         END(__isnan) to END(__isnanf) to match function entry point/label
62154         EALIGN(__isnanf,...).
62156 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
62158         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
62160 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
62162         [BZ #12510]
62163         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
62164         copy from the symbol referenced in the relocation to initialize the
62165         used variable.
62166         Patch by Piotr Bury <pbury@goahead.com>.
62167         * elf/Makefile: Add rules to build and tst-unique3.
62168         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
62169         * elf/tst-unique3.cc: New file.
62170         * elf/tst-unique3.h: New file.
62171         * elf/tst-unique3lib.cc: New file.
62172         * elf/tst-unique3lib2.cc: New file.
62174         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
62176 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
62178         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
62179         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
62180         to _start.
62182 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
62184         * elf/dl-load.c (_dl_map_object): If we are looking for the first
62185         to-be-loaded object along a path to loader is ld.so.
62187 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
62188             Ulrich Drepper  <drepper@gmail.com>
62190         * sysdeps/x86_64/memset.S: After aligning destination, code
62191         branches to different locations depending on the value of
62192         misalignment, when multiarch is enabled. Fix this.
62194 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
62196         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
62197         Set _x86_64_preferred_memory_instruction for AMD processsors.
62198         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
62199         Set bit_Prefer_SSE_for_memop for AMD processors.
62201 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
62203         * libio/fmemopen.c (fmemopen): Optimize a bit.
62205 2011-03-03  Andreas Schwab  <schwab@redhat.com>
62207         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
62209 2011-03-03  Roland McGrath  <roland@redhat.com>
62211         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
62213 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
62215         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
62216         __bzero_ultra1 instead of __memset_ultra1.
62218 2011-02-23  Andreas Schwab  <schwab@redhat.com>
62219             Ulrich Drepper  <drepper@gmail.com>
62221         [BZ #12509]
62222         * include/link.h (struct link_map): Add l_orig_initfini.
62223         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
62224         returning unsuccessfully.
62225         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
62226         close of a file loaded at startup, restore the original l_initfini
62227         list.
62228         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
62229         list, store the pointer.
62230         * elf/Makefile ($(objpfx)noload-mem): New rule.
62231         (noload-ENV): Define.
62232         (tests): Add $(objpfx)noload-mem.
62233         * elf/noload.c: Include <memcheck.h>.
62234         (main): Call mtrace.  Close all opened handles.
62236 2011-02-17  Andreas Schwab  <schwab@redhat.com>
62238         [BZ #12454]
62239         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
62240         dependencies are missing.
62242 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
62244         Fix __if_freereq crash: Unlike the generic version which uses free,
62245         Hurd needs munmap.
62246         * sysdeps/mach/hurd/ifreq.h: New file.
62248 2011-01-27  Petr Baudis  <pasky@suse.cz>
62249             Ulrich Drepper  <drepper@gmail.com>
62251         [BZ 12445]#
62252         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
62253         to extend_alloca().
62254         * stdio-common/bug23.c: New file.
62255         * stdio-common/Makefile (tests): Add bug23.
62257 2010-09-28  Andreas Schwab  <schwab@redhat.com>
62258             Ulrich Drepper  <drepper@gmail.com>
62260         [BZ #12489]
62261         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
62262         before performing relro protection.  At old place add assertion
62263         to make sure nothing changed.
62265 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
62266             Glauber de Oliveira Costa  <glommer@gmail.com>
62268         * elf/elf.h: Add new ARM TLS relocs.
62270 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
62272         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
62273         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
62274         cast from r3.
62275         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
62276         'tests' variable.
62277         * sysdeps/wordsize-64/tst-writev.c: New file.
62279 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
62281         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
62282         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
62283         insns in _dl_start to prevent a TOC reference before relocs are
62284         resolved.
62286 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
62288         [BZ #12469]
62289         * Makeconfig: Remove RANLIB definition.
62290         * Makerules: Don't use RANLIB.
62291         * aclocal.m4: Remove ranlib test.
62292         * configure.in: No need to check for ranlib.
62293         * elf/rtld-Rules: Don't use RANLIB.
62295 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
62297         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
62298         protection macro.
62299         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
62300         inclusion protection macro.
62302         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
62303         SIGRTMIN and SIGRTMAX and print information in that case only when
62304         SIGRTMIN is defined.
62306 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
62308         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
62309         arginfo fn returning -1.
62311         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
62312         and thousands string is zero terminated.
62314 2011-02-03  Andreas Schwab  <schwab@redhat.com>
62316         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
62317         sysdeps/unix/sysv/linux/bits/socket.h.
62319 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
62321         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
62322         (__CPU_COUNT): Remove old macros.
62323         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
62324         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
62325         (__CPU_ALLOC, __CPU_FREE): Add macros.
62326         (__sched_cpualloc, __sched_cpufree): Add declarations.
62328 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
62330         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
62331         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
62332         * nscd/aicache.c (addhstaiX): Return timeout of added value.
62333         (readdhstai): Return value of addhstaiX call.
62334         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
62335         (addgrbyX): Return value returned by cache_addgr.
62336         (readdgrbyname): Return value returned by addgrbyX.
62337         (readdgrbygid): Likewise.
62338         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
62339         (addpwbyX): Return value returned by cache_addpw.
62340         (readdpwbyname): Return value returned by addhstbyX.
62341         (readdpwbyuid): Likewise.
62342         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
62343         (addservbyX): Return value returned by cache_addserv.
62344         (readdservbyname): Return value returned by addservbyX:
62345         (readdservbyport): Likewise.
62346         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
62347         (addhstbyX): Return value returned by cache_addhst.
62348         (readdhstbyname): Return value returned by addhstbyX.
62349         (readdhstbyaddr): Likewise.
62350         (readdhstbynamev6): Likewise.
62351         (readdhstbyaddrv6): Likewise.
62352         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
62353         (readdinitgroups): Return value returned by addinitgroupsX.
62354         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
62355         (prune_cache): Keep track of timeout value of re-added entries.
62356         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
62357         * nscd/nscd.h: Adjust prototypes of readd* functions.
62359 2011-02-04  Roland McGrath  <roland@redhat.com>
62361         * nis/nis_server.c (nis_servstate): Use the right name for 0.
62362         (nis_stats): Likewise.
62363         * nis/nis_modify.c (nis_modify): Likewise.
62364         * nis/nis_remove.c (nis_remove): Likewise.
62365         * nis/nis_add.c (nis_add): Likewise.
62367         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
62369         * posix/fnmatch_loop.c: Add some consts.
62371         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
62373 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
62375         [BZ #12460]
62376         * config.make.in (config-cflags-novzeroupper): Define.
62377         * configure.in: Substitute libc_cv_cc_novzeroupper.
62378         * elf/Makefile (AVX-CFLAGS): Define.
62379         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
62380         (CFLAGS-tst-auditmod4a.c): Likewise.
62381         (CFLAGS-tst-auditmod4b.c): Likewise.
62382         (CFLAGS-tst-auditmod6b.c): Likewise.
62383         (CFLAGS-tst-auditmod6c.c): Likewise.
62384         (CFLAGS-tst-auditmod7b.c): Likewise.
62385         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
62387 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
62389         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
62390         function to the callback.
62391         Patch partly by Jiri Olsa <jolsa@redhat.com>.
62393 2011-02-02  Andreas Schwab  <schwab@redhat.com>
62395         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
62396         of errno.
62398 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
62400         [BZ #11724]
62401         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
62402         of constructors.
62403         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
62404         of destructors.
62405         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
62407         [BZ #11724]
62408         * elf/Makefile: Add rules to build and run new test.
62409         * elf/tst-initorder.c: New file.
62410         * elf/tst-initorder.exp: New file.
62411         * elf/tst-initordera1.c: New file.
62412         * elf/tst-initordera2.c: New file.
62413         * elf/tst-initordera3.c: New file.
62414         * elf/tst-initordera4.c: New file.
62415         * elf/tst-initorderb1.c: New file.
62416         * elf/tst-initorderb2.c: New file.
62417         * elf/tst-order-a1.c: New file.
62418         * elf/tst-order-a2.c: New file.
62419         * elf/tst-order-a3.c: New file.
62420         * elf/tst-order-a4.c: New file.
62421         * elf/tst-order-b1.c: New file.
62422         * elf/tst-order-b2.c: New file.
62423         * elf/tst-order-main.c: New file.
62424         New test case by George Gensure <werkt0@gmail.com>.
62426 2010-10-01  Andreas Schwab  <schwab@redhat.com>
62428         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
62429         decoding ACE if AI_CANONIDN.
62431 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
62433         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
62435 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
62437         * version.h (RELEASE): Bump for 2.13 release.
62438         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
62440         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
62442         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
62443         MADV_NOHUGEPAGE.
62444         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
62445         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
62446         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
62447         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
62448         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
62449         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
62451         * posix/getconf.c: Update copyright year.
62452         * catgets/gencat.c: Likewise.
62453         * csu/version.c: Likewise.
62454         * debug/catchsegv.sh: Likewise.
62455         * debug/xtrace.sh: Likewise.
62456         * elf/ldconfig.c: Likewise.
62457         * elf/ldd.bash.in: Likewise.
62458         * elf/sprof.c (print_version): Likewise.
62459         * iconv/iconv_prog.c: Likewise.
62460         * iconv/iconvconfig.c: Likewise.
62461         * locale/programs/locale.c: Likewise.
62462         * locale/programs/localedef.c: Likewise.
62463         * malloc/memusage.sh: Likewise.
62464         * malloc/mtrace.pl: Likewise.
62465         * nscd/nscd.c (print_version): Likewise.
62466         * nss/getent.c: Likewise.
62468         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
62469         PF_CAIF, and PF_ALG.
62470         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
62472 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
62474         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
62475         (modules-names): Use them.
62476         (ifunc-test-modules, ifunc-pie-tests): Define.
62477         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
62478         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
62479         (test-extras): Likewise.
62480         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
62481         $(compile-command.c).
62482         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
62483         (all-built-dso): Define.
62484         (check-textrel.out, check-execstack.out): Depend on it.
62486         * configure.in: Don't override --enable-multi-arch.
62488 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
62490         [BZ #6812]
62491         * nscd/hstcache.c (tryagain): Define.
62492         (cache_addhst): Return tryagain not notfound for temporary errors.
62493         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
62494         failed.
62496 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
62498         [BZ #10563]
62499         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
62500         to make the syscall.
62501         * sysdeps/unix/sysv/linux/setgroups.c: New file.
62503         [BZ #12378]
62504         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
62505         and fall back to matching as normal character if the string ends before
62506         the matching ']' is found.  This is what POSIX requires.
62507         * posix/testfnm.c: Adjust test result.
62508         * posix/globtest.sh: Adjust test result.  Add new test.
62509         * posix/tst-fnmatch.input: Likewise.
62510         * posix/tst-fnmatch2.c: Add new test.
62512 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
62514         * elf/Makefile (check-execstack): Revert last change.  Depend on
62515         check-execstack.h.
62516         (check-execstack.h): New target.
62517         (generated): Add check-execstack.h.
62518         * elf/check-execstack.c: Include "check-execstack.h".
62519         (main): Revert last change.
62520         (handle_file): Return zero if GNU_STACK is absent and
62521         DEFAULT_STACK_PERMS doesn't include PF_X.
62523 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
62525         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
62526         in child fails because the descriptor is already closed.
62527         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
62528         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
62529         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
62531         [BZ #12397]
62532         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
62533         syscall.
62535         [BZ #10484]
62536         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
62537         temporary buffer used to handle multi lookups locally.
62538         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
62540 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
62542         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
62543         loader is ld.so.
62545 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
62547         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
62548         alignment for SSE2.
62550 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
62552         [BZ #12394]
62553         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
62554         characters.  When rounding increased number of integer digits recompute
62555         number of groups.
62556         * stdio-common/tst-grouping.c: New file.
62557         * stdio-common/Makefile: Add rules to build and run tst-grouping.
62559 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
62561         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
62562         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
62564         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
62565         void.
62566         * bits/select.h: Likewise.
62568 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
62570         * po/ja.po: Update from translation team.
62572 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
62574         [BZ #11155]
62575         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
62576         implementation just like for lxstat, fxstatat, et al.
62578 2010-12-27  Jim Meyering  <meyering@redhat.com>
62580         [BZ #12348]
62581         * posix/regexec.c (build_trtable): Return failure indication upon
62582         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
62584 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
62586         [BZ #12201]
62587         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
62588         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
62589         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
62590         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
62592         [BZ #12207]
62593         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
62595         [BZ #12204]
62596         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
62597         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
62599 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
62601         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
62602         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
62603         script has SORT_BY_INIT_PRIORITY.
62604         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
62605         NO_CTORS_DTORS_SECTIONS is defined.
62606         * elf/soinit.c: Likewise.
62607         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
62608         NO_CTORS_DTORS_SECTIONS is defined.
62609         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
62610         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
62611         * sysdeps/sh/init-first.c: Likewise.
62612         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
62614 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
62616         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
62617         always use the slow path.
62619 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
62621         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
62622         similar rule which adds the sysdep directories to the header search in
62623         order to pick up the correct platform stackinfo.h.
62624         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
62625         perform test if it is, otherwise return successfully without testing.
62626         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
62627         DEFAULT_STACK_PERMS define in stackinfo.h.
62628         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
62629         defined in stackinfo.h.
62630         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
62631         DEFAULT_STACK_PERMS defined in stackinfo.h.
62632         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
62633         * sysdeps/ia64/stackinfo.h: Likewise.
62634         * sysdeps/s390/stackinfo.h: Likewise.
62635         * sysdeps/sh/stackinfo.h: Likewise.
62636         * sysdeps/sparc/stackinfo.h: Likewise.
62637         * sysdeps/x86_64/stackinfo.h: Likewise.
62638         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
62639         PF_X for powerpc64.  Retain PF_X for powerpc32.
62641 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
62643         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
62644         accurately.
62645         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
62646         GETDENTS_64BIT_ALIGNED.
62648 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
62650         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
62652 2010-12-10  Andreas Schwab  <schwab@redhat.com>
62654         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
62655         _GNU_SOURCE.
62657         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
62658         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
62659         Remove __restrict.
62660         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
62661         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
62663 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
62665         [BZ #11655]
62666         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
62667         are initialized.
62669 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
62671         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
62673 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
62675         * po/it.po: Update from translation team.
62677 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
62679         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
62680         unused codes.
62682 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
62684         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
62686 2010-11-24  Andreas Schwab  <schwab@redhat.com>
62688         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
62689         specially.
62690         (gaih_getanswer_slice): Likewise.
62692 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
62694         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
62696 2010-05-31  Petr Baudis  <pasky@suse.cz>
62698         [BZ #11149]
62699         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
62700         silently even in the chroot mode.
62702 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
62704         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
62705         last patch a bit.  Pretty printing
62707 2010-05-31  Petr Baudis <pasky@suse.cz>
62709         [BZ #10085]
62710         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
62711         initialization of skip_initgroups_dyn.
62713 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
62715         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
62716         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
62718 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
62720         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
62722 2010-11-11  Andreas Schwab  <schwab@redhat.com>
62724         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
62725         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
62726         (tst-fnmatch-ENV): Set MALLOC_TRACE.
62727         ($(objpfx)tst-fnmatch-mem): New rule.
62728         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
62729         * posix/tst-fnmatch.c (main): Call mtrace.
62731 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
62733         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
62734         Support Intel processor model 6 and model 0x2c.
62736 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
62738         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
62739           signed comparison.
62741 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
62743         [BZ #12205]
62744         * string/test-strncasecmp.c (check_result): New function.
62745         (do_one_test): Use it.
62746         (check1): New function.
62747         (test_main): Use it.
62748         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
62749         Support strcasecmp and strncasecmp.
62751 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
62753         [BZ #12194]
62754         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
62755         * sysdeps/x86_64/bits/byteswap.h: Likewise.
62757 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
62759         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
62760         IFUNC support.
62761         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
62762         memset-x86-64.
62763         * sysdeps/x86_64/multiarch/bzero.S: New file.
62764         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
62765         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
62766         * sysdeps/x86_64/multiarch/memset.S: New file.
62767         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
62768         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
62769         Set bit_Prefer_SSE_for_memop for Intel processors.
62770         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
62771         Define.
62772         (index_Prefer_SSE_for_memop): Define.
62773         (HAS_PREFER_SSE_FOR_MEMOP): Define.
62775 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
62777         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
62778         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
62780 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
62782         [BZ #12191]
62783         * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
62784         (__x86_64_raw_data_cache_size_half): Likewise.
62785         (__x86_64_raw_shared_cache_size): Likewise.
62786         (__x86_64_raw_shared_cache_size_half): Likewise.
62788         * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
62789         (__x86_64_raw_data_cache_size_half): Likewise.
62790         (__x86_64_raw_shared_cache_size): Likewise.
62791         (__x86_64_raw_shared_cache_size_half): Likewise.
62792         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
62793         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
62794         and __x86_64_raw_shared_cache_size_half.  Round
62795         __x86_64_data_cache_size_half, __x86_64_data_cache_size
62796         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
62797         to multiple of 256 bytes.
62799 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
62801         [BZ #12167]
62802         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
62803         of inacessible symlinks.  Verify result of symlink before returning it.
62804         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
62805         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
62807 2010-10-28  Erich Ritz  <erichritz@gmail.com>
62809         * math/math.h (isinf): Fix typo in comment.
62811 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
62813         * po/da.po: Update from translation team.
62815 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
62817         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
62818         is added to the list.
62820 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
62821             Ulrich Drepper  <drepper@gmail.com>
62823         * elf/dl-object.c (_dl_new_object): Don't append the new object to
62824         the global list here.  Move code to...
62825         (_dl_add_to_namespace_list): ...here.  New function.
62826         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
62827         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
62828         * elf/dl-load.c (lose): Don't remove the element from the list.
62829         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
62830         (_dl_map_object): Likewise.
62832 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
62834         [BZ #12159]
62835         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
62836         into all bytes of SSE register.
62837         Patch by Richard Li <richardpku@gmail.com>.
62839 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
62841         [BZ #12140]
62842         * malloc/malloc.c (_int_free): Fill correct number of bytes when
62843         perturbing.
62845 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
62847         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
62848         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
62849         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
62850         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
62851         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
62852         submachine.
62853         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
62855 2010-10-22  Andreas Schwab  <schwab@redhat.com>
62857         * include/dlfcn.h (__RTLD_SECURE): Define.
62858         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
62859         mode & __RTLD_SECURE instead.
62860         (open_path): Rename preloaded parameter to secure.
62861         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
62862         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
62863         * elf/dl-deps.c (openaux): Likewise.
62864         * elf/rtld.c (struct map_args): Remove is_preloaded.
62865         (map_doit): Don't use it.
62866         (dl_main): Likewise.
62867         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
62868         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
62870 2010-09-09  Andreas Schwab  <schwab@redhat.com>
62872         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
62873         (sysd-rules-targets): Remove duplicates.
62874         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
62875         rtld-%.$o dependency.
62877 2010-10-18  Andreas Schwab  <schwab@redhat.com>
62879         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
62880         _dl_map_object do it.
62882 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
62884         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
62885         fast fma builtins, define the macros in the C99 standard.
62886         (FP_FAST_FMAF): Likewise.
62887         (FP_FAST_FMAL): Likewise.
62888         * sysdeps/x86_64/bits/mathdef.h: Likewise.
62890         * bits/mathdef.h: Update copyright year.
62891         * sysdeps/powerpc/bits/mathdef.h: Likewise.
62893 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
62895         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
62896         builtins, define the macros in the C99 standard.
62897         (FP_FAST_FMAF): Likewise.
62898         (FP_FAST_FMAL): Likewise.
62899         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
62900         multiply/add.
62901         (FP_FAST_FMAF): Likewise.
62903 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
62905         [BZ #3268]
62906         * math/libm-test.inc (fma_test): Some new testcases.
62907         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
62908         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
62909         y and infinite z.  Do multiplication by C already in long double.
62910         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
62911         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
62912         y and infinite z.  Do bitwise or of inexact bit into u.d.
62913         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
62914         * sysdeps/i386/fpu/s_fmaf.S: Removed.
62915         * sysdeps/i386/fpu/s_fma.S: Removed.
62916         * sysdeps/i386/fpu/s_fmal.S: Removed.
62918 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
62920         [BZ #3268]
62921         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
62922         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
62923         computation is not scheduled after fetestexcept.  Fix value
62924         of minimum denormal long double.
62926 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
62928         [BZ #3268]
62929         * math/libm-test.inc (fma_test): Add some more tests.
62930         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
62931         correctly.
62933 2010-10-15  Andreas Schwab  <schwab@redhat.com>
62935         * scripts/data/localplt-s390-linux-gnu.data: New file.
62936         * scripts/data/localplt-s390x-linux-gnu.data: New file.
62938 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
62940         [BZ #3268]
62941         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
62942         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
62943         instead of dbl-64.
62944         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
62945         inlines.
62946         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
62947         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
62948         if one of x and y is very large and the other is subnormal.
62949         * sysdeps/s390/fpu/s_fmaf.c: New file.
62950         * sysdeps/s390/fpu/s_fma.c: New file.
62951         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
62952         * sysdeps/powerpc/fpu/s_fma.S: New file.
62953         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
62954         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
62955         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
62957 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
62959         [BZ #3268]
62960         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
62961         fma tests.
62962         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
62963         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
62964         * sysdeps/i386/i686/multiarch/s_fma.c: Include
62965         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
62966         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
62967         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
62968         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
62970 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
62972         [BZ #12078]
62973         * posix/regcomp.c (parse_branch): One more memory leak plugged.
62974         * posix/bug-regex31.input: Add test case.
62976 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
62978         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
62979         * posix/bug-regex31.input: New file.
62981         [BZ #12078]
62982         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
62983         (parse_sub_exp): Fix last change, use postorder.
62985         * posix/bug-regex31.c: New file.
62986         * posix/Makefile: Add rules to build and run bug-regex31.
62988         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
62990         [BZ #12078]
62991         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
62993         [BZ #12108]
62994         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
62995         to have entries in sys_siglist.
62997         [BZ #12093]
62998         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
62999         be NULL.
63001 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
63003         [BZ #3268]
63004         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
63005         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
63006         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
63007         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
63008         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
63009         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
63010         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
63011         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
63012         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
63013         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
63014         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
63015         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
63016         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
63017         * math/ftestexcept.c (fetestexcept): Likewise.
63018         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
63019         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
63020         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
63021         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
63022         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
63023         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
63024         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
63026 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
63028         [BZ #12107]
63029         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
63030         newline.
63032 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
63034         * string/bug-strstr1.c: New file.
63035         * string/Makefile: Add rules to build and run bug-strstr1.
63037 2010-10-05  Eric Blake  <eblake@redhat.com>
63039         [BZ #12092]
63040         * string/str-two-way.h (two_way_long_needle): Always clear memory
63041         when skipping input due to the shift table.
63043 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
63045         [BZ #12005]
63046         * malloc/mcheck.c: Handle large requests.
63048         [BZ #12077]
63049         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
63050         for strncmp and strncasecmp.
63051         * string/stratcliff.c: Add tests for strcmp and strncmp.
63052         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
63054 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
63056         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
63057         __set_fpscr.
63059 2010-09-30  Andreas Jaeger  <aj@suse.de>
63061         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
63062         (CGROUP_SUPER_MAGIC): Define.
63063         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
63064         Handle btrfs and cgroup file systems.
63065         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
63066         Likewise.
63068 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
63070         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
63071         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
63073 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
63075         [BZ #12067]
63076         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
63077         trying to locate the ELF header.
63079 2010-09-27  Andreas Schwab  <schwab@redhat.com>
63081         [BZ #11611]
63082         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
63083         Mask out sign-bit copies when constructing f_fsid.
63085 2010-09-24  Petr Baudis <pasky@suse.cz>
63087         * debug/stack_chk_fail_local.c: Add missing licence exception.
63088         * debug/warning-nop.c: Likewise.
63090 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
63092         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
63093         implementing getdents64 using getdents syscall, set d_type if
63094         __ASSUME_GETDENTS32_D_TYPE.
63096 2010-09-16  Andreas Schwab  <schwab@redhat.com>
63098         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
63099         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
63101 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
63103         [BZ #12037]
63104         * posix/unistd.h: Undo change of feature selection for ftruncate from
63105         2010-01-11.
63107 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
63109         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
63110         detection.
63112 2010-09-20  Andreas Schwab  <schwab@redhat.com>
63114         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
63115         fanotify_mark.
63116         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
63118 2010-09-14  Andreas Schwab  <schwab@redhat.com>
63120         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
63121         variables after CHECK_SP call.
63122         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
63124 2010-09-13  Andreas Schwab  <schwab@redhat.com>
63125             Ulrich Drepper  <drepper@redhat.com>
63127         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
63128         re-relocationg ld.so.
63129         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
63130         _dl_init_paths call.
63131         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
63132         here anymore.
63134 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
63136         * resolv/res_init.c (__res_vinit): Count the default server we added.
63138 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
63139             Ulrich Drepper  <drepper@redhat.com>
63141         [BZ #11968]
63142         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
63143         (____longjmp_chk): Use %ebx for saving value across system call.
63144         Add unwind info.
63146 2010-09-06  Andreas Schwab  <schwab@redhat.com>
63148         * manual/Makefile: Don't mix pattern rules with normal rules.
63150 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
63152         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
63153         operation.
63154         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
63155         * libio/iofopncook.c (_IO_cookie_init): Likewise.
63156         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
63157         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
63158         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
63159         Likewise.
63161 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
63163         [BZ #11979]
63164         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
63165         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
63167 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
63169         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
63170         * sysdeps/x86_64/addmul_1.S: Likewise.
63171         * sysdeps/x86_64/lshift.S: Likewise.
63172         * sysdeps/x86_64/mul_1.S: Likewise.
63173         * sysdeps/x86_64/rshift.S: Likewise.
63174         * sysdeps/x86_64/sub_n.S: Likewise.
63175         * sysdeps/x86_64/submul_1.S: Likewise.
63177 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
63179         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
63180         Define __sched_param instead of SCHED_* and sched_param when
63181         <bits/sched.h> is included with __need_schedparam defined.
63182         * bits/sched.h [__need_schedparam]
63183         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
63184         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
63185         (__defined_schedparam): Define to 1.
63186         (__sched_param): New structure, identical to sched_param.
63187         (__need_schedparam): Undefine.
63189 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
63191         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
63192         (epoll_create1): Declare.
63194         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
63196 2010-08-31  Andreas Schwab  <schwab@redhat.com>
63198         [BZ #7066]
63199         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
63200         shifting retval into place.
63202 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
63204         * nis/rpcsvc/nis.h: Update copyright notice.
63205         * nis/rpcsvc/nis.x: Likewise.
63206         * nis/rpcsvc/nis_callback.h: Likewise.
63207         * nis/rpcsvc/nis_callback.x: Likewise.
63208         * nis/rpcsvc/nis_object.x: Likewise.
63209         * nis/rpcsvc/nis_tags.h: Likewise.
63210         * nis/rpcsvc/yp.h: Likewise.
63211         * nis/rpcsvc/yp.x: Likewise.
63212         * nis/rpcsvc/ypupd.h: Likewise.
63213         * nis/yp_xdr.c: Likewise.
63214         * nis/ypupdate_xdr.c: Likewise.
63216         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
63217         mainly the body of pmap_getport.  Add parameters to specify timeouts.
63218         (pmap_getport): Use __libc_rpc_getport.
63219         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
63220         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
63221         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
63223 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
63225         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
63226         fanotify_mark.
63228 2010-08-27  Roland McGrath  <roland@redhat.com>
63230         * sysdeps/i386/i686/multiarch/Makefile
63231         (CFLAGS-varshift.c): New variable.
63233 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
63235         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
63236         * sysdeps/i386/i686/multiarch/varshift.c: New file.
63238         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
63240         * sysdeps/x86_64/strlen.S: Minimal code improvement.
63242 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
63244         * sysdeps/x86_64/strlen.S: Unroll the loop.
63245         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
63246         strlen-sse2 strlen-sse2-bsf.
63247         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
63248         __strlen_no_bsf if bit_Slow_BSF is set.
63249         (__strlen_sse42): Removed.
63250         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
63251         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
63253 2010-08-25  Roland McGrath  <roland@redhat.com>
63255         * sysdeps/x86_64/multiarch/varshift.S: File removed.
63256         * sysdeps/x86_64/multiarch/varshift.c: New file.
63257         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
63258         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
63259         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
63260         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
63262 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
63264         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
63265         strlen-sse2 strlen-sse2-bsf.
63266         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
63267         __strlen_sse2_bsf if bit_Slow_BSF is unset.
63268         (__strlen_sse2): Removed.
63269         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
63270         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
63271         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
63272         bit_Slow_BSF for Atom.
63273         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
63274         (index_Slow_BSF): Define.
63275         (HAS_SLOW_BSF): Define.
63277 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
63279         [BZ #10851]
63280         * resolv/res_init.c (__res_vinit): When no server address at all
63281         is given default to loopback.
63283 2010-08-24  Roland McGrath  <roland@redhat.com>
63285         * configure.in: Remove config-name.h generation.
63286         * configure: Regenerated.
63287         * config-name.in: File removed.
63288         * scripts/config-uname.sh: New file.
63289         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
63290         ($(objdir)config-name.h): New target.
63292         * sunrpc/rpc_parse.h: Avoid nested comment.
63294 2010-08-24  Richard Henderson  <rth@redhat.com>
63295             Ulrich Drepper  <drepper@redhat.com>
63296             H.J. Lu  <hongjiu.lu@intel.com>
63298         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
63299         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
63300         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
63301         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
63302         _mm_alignr_epi8 with _mm_loadu_si128.
63303         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
63304         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
63305         (__m128i_shift_right): Removed.
63306         * sysdeps/i386/i686/multiarch/varshift.h: New file.
63307         * sysdeps/i386/i686/multiarch/varshift.S: New file.
63308         * sysdeps/x86_64/multiarch/varshift.h: New file.
63309         * sysdeps/x86_64/multiarch/varshift.S: New file.
63311 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
63313         * configure.in: Move assembler checks to before sysdep dir checking.
63315 2010-08-20  Petr Baudis  <pasky@suse.cz>
63317         * LICENSES: Sync the sunrpc license.
63319 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
63321         * sunrpc/auth_des.c: Update copyright notice once again.
63322         * sunrpc/auth_none.c: Likewise.
63323         * sunrpc/auth_unix.c: Likewise.
63324         * sunrpc/authdes_prot.c: Likewise.
63325         * sunrpc/authuxprot.c: Likewise.
63326         * sunrpc/bindrsvprt.c: Likewise.
63327         * sunrpc/clnt_gen.c: Likewise.
63328         * sunrpc/clnt_perr.c: Likewise.
63329         * sunrpc/clnt_raw.c: Likewise.
63330         * sunrpc/clnt_simp.c: Likewise.
63331         * sunrpc/clnt_tcp.c: Likewise.
63332         * sunrpc/clnt_udp.c: Likewise.
63333         * sunrpc/clnt_unix.c: Likewise.
63334         * sunrpc/des_crypt.c: Likewise.
63335         * sunrpc/des_soft.c: Likewise.
63336         * sunrpc/get_myaddr.c: Likewise.
63337         * sunrpc/getrpcport.c: Likewise.
63338         * sunrpc/key_call.c: Likewise.
63339         * sunrpc/key_prot.c: Likewise.
63340         * sunrpc/openchild.c: Likewise.
63341         * sunrpc/pm_getmaps.c: Likewise.
63342         * sunrpc/pm_getport.c: Likewise.
63343         * sunrpc/pmap_clnt.c: Likewise.
63344         * sunrpc/pmap_prot.c: Likewise.
63345         * sunrpc/pmap_prot2.c: Likewise.
63346         * sunrpc/pmap_rmt.c: Likewise.
63347         * sunrpc/rpc/auth.h: Likewise.
63348         * sunrpc/rpc/auth_unix.h: Likewise.
63349         * sunrpc/rpc/clnt.h: Likewise.
63350         * sunrpc/rpc/des_crypt.h: Likewise.
63351         * sunrpc/rpc/key_prot.h: Likewise.
63352         * sunrpc/rpc/netdb.h: Likewise.
63353         * sunrpc/rpc/pmap_clnt.h: Likewise.
63354         * sunrpc/rpc/pmap_prot.h: Likewise.
63355         * sunrpc/rpc/pmap_rmt.h: Likewise.
63356         * sunrpc/rpc/rpc.h: Likewise.
63357         * sunrpc/rpc/rpc_des.h: Likewise.
63358         * sunrpc/rpc/rpc_msg.h: Likewise.
63359         * sunrpc/rpc/svc.h: Likewise.
63360         * sunrpc/rpc/svc_auth.h: Likewise.
63361         * sunrpc/rpc/types.h: Likewise.
63362         * sunrpc/rpc/xdr.h: Likewise.
63363         * sunrpc/rpc_clntout.c: Likewise.
63364         * sunrpc/rpc_cmsg.c: Likewise.
63365         * sunrpc/rpc_common.c: Likewise.
63366         * sunrpc/rpc_cout.c: Likewise.
63367         * sunrpc/rpc_dtable.c: Likewise.
63368         * sunrpc/rpc_hout.c: Likewise.
63369         * sunrpc/rpc_main.c: Likewise.
63370         * sunrpc/rpc_parse.c: Likewise.
63371         * sunrpc/rpc_parse.h: Likewise.
63372         * sunrpc/rpc_prot.c: Likewise.
63373         * sunrpc/rpc_sample.c: Likewise.
63374         * sunrpc/rpc_scan.c: Likewise.
63375         * sunrpc/rpc_scan.h: Likewise.
63376         * sunrpc/rpc_svcout.c: Likewise.
63377         * sunrpc/rpc_tblout.c: Likewise.
63378         * sunrpc/rpc_util.c: Likewise.
63379         * sunrpc/rpc_util.h: Likewise.
63380         * sunrpc/rpcinfo.c: Likewise.
63381         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
63382         * sunrpc/rpcsvc/key_prot.x: Likewise.
63383         * sunrpc/rpcsvc/klm_prot.x: Likewise.
63384         * sunrpc/rpcsvc/mount.x: Likewise.
63385         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
63386         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
63387         * sunrpc/rpcsvc/rex.x: Likewise.
63388         * sunrpc/rpcsvc/rstat.x: Likewise.
63389         * sunrpc/rpcsvc/rusers.x: Likewise.
63390         * sunrpc/rpcsvc/sm_inter.x: Likewise.
63391         * sunrpc/rpcsvc/spray.x: Likewise.
63392         * sunrpc/rpcsvc/yppasswd.x: Likewise.
63393         * sunrpc/rtime.c: Likewise.
63394         * sunrpc/svc.c: Likewise.
63395         * sunrpc/svc_auth.c: Likewise.
63396         * sunrpc/svc_authux.c: Likewise.
63397         * sunrpc/svc_raw.c: Likewise.
63398         * sunrpc/svc_run.c: Likewise.
63399         * sunrpc/svc_simple.c: Likewise.
63400         * sunrpc/svc_tcp.c: Likewise.
63401         * sunrpc/svc_udp.c: Likewise.
63402         * sunrpc/svc_unix.c: Likewise.
63403         * sunrpc/svcauth_des.c: Likewise.
63404         * sunrpc/xcrypt.c: Likewise.
63405         * sunrpc/xdr.c: Likewise.
63406         * sunrpc/xdr_array.c: Likewise.
63407         * sunrpc/xdr_float.c: Likewise.
63408         * sunrpc/xdr_mem.c: Likewise.
63409         * sunrpc/xdr_rec.c: Likewise.
63410         * sunrpc/xdr_ref.c: Likewise.
63411         * sunrpc/xdr_sizeof.c: Likewise.
63412         * sunrpc/xdr_stdio.c: Likewise.
63414         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
63415         handling.
63417 2010-08-19  Andreas Schwab  <schwab@redhat.com>
63419         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
63421 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
63423         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
63424         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
63425         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
63426         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
63427         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
63428         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
63429         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
63430         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
63431         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
63432         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
63433         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
63434         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
63435         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
63436         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
63438 2010-07-26  Anton Blanchard  <anton@samba.org>
63440         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
63441         * malloc/arena.c (heap_trim): Likewise.
63443 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
63445         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
63446         here.  Not...
63447         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
63448         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
63450 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
63452         * sysdeps/i386/elf/Makefile: New file.
63454 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
63456         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
63457         from fanotify_init.
63458         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
63459         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
63461 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
63463         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
63464         of strncasecmp_l.
63465         * sysdeps/multiarch/strcmp.S: Likewise.
63467 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
63469         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
63470         strncase_l-nonascii.
63471         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
63472         Add strncase_l-ssse3.
63473         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
63474         * sysdeps/x86_64/strcmp.S: Likewise.
63475         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
63476         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
63477         * sysdeps/x86_64/strncase.S: New file.
63478         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
63479         * sysdeps/x86_64/strncase_l.S: New file.
63480         * string/Makefile (strop-tests): Add strncasecmp.
63481         * string/test-strncasecmp.c: New file.
63483         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
63484         warning.
63486         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
63487         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
63489 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
63491         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
63493 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
63495         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
63496         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
63497         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
63499 2010-05-01  Alan Modra  <amodra@gmail.com>
63501         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
63502         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
63503         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
63504         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
63505         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
63506         tidying.  Don't tail-call __sigjmp_save for static lib.
63507         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
63508         save location.
63509         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
63510         (CALL_MCOUNT): Add eh info, and nop after bl.
63511         (TAIL_CALL_SYSCALL_ERROR): New macro.
63512         (PSEUDO_RET): Use it.
63513         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
63514         Correct save location of integer regs and cr.
63515         (_dl_profile_resolve): Correct cr save location.  Delete nops
63516         after bl when SHARED.  Reduce cfi size a little by better
63517         placement of cfi directives.
63518         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
63519         make a stack frame.  Instead use parm save area as a temp.
63520         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
63521         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
63522         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
63523         Don't make a stack frame for parent, use parm save area.
63524         Increase child stack frame to 112 bytes.  Don't save unused reg,
63525         and adjust reg usage.  Set up cfi on error recovery and
63526         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
63527         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
63528         (__makecontext): Add dummy nop after jump to exit.
63529         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
63530         Use correct parm save area and cr save, reduce stack frame.
63531         Correct cfi for possible PSEUDO_RET frame setup.
63532         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
63533         Branch to local label emitted by PSEUDO_RET rather than
63534         __syscall_error.
63536 2010-08-12  Andreas Schwab  <schwab@redhat.com>
63538         [BZ #11904]
63539         * locale/programs/locale.c (print_assignment): New function.
63540         (show_locale_vars): Use it.
63542 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
63544         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
63545         field.
63546         (struct statfs64): Likewise.
63547         (_STATFS_F_FLAGS): Define.
63548         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
63549         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
63550         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
63551         (ST_VALID): Define locally.
63552         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
63553         __statvfs_getflags, use the provided value.
63554         * sysdeps/unix/sysv/linux/kernel-features.h: Define
63555         __ASSUME_STATFS_F_FLAGS.
63557         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
63559         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
63560         Add sys/fanotify.h.
63561         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
63562         fanotify_mask for GLIBC_2.13.
63563         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
63564         fanotify_init and fanotify_mark.
63565         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
63566         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
63568         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
63569         Add prlimit.
63570         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
63571         prlimit64 for GLIBC_2.13.
63572         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
63573         prlimit64.
63574         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
63575         syscall.
63576         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
63577         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
63578         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
63579         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
63580         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
63581         add prlimit alias.
63582         * sysdeps/unix/sysv/linux/prlimit.c: New file.
63584         [BZ #11903]
63585         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
63586         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
63588         * nss/Makefile: Add rules to build and run tst-nss-test1.
63589         * shlib-versions: Add entry for libnss_test1.
63590         * nss/nss_test1.c: New file.
63591         * nss/tst-nss-test1.c: New file.
63593         * nss/nsswitch.c (__nss_database_custom): Define new variable.
63594         (__nss_configure_lookup): Set appropriate entry in
63595         __nss_configure_lookup to true.
63596         * nss/nsswitch.h: Define enum with indeces of databases in
63597         databases and __nss_database_custom arrays.  Declare
63598         __nss_database_custom.
63599         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
63600         to avoid using nscd when custom rules are installed.
63601         * nss/getXXbyYY_r.c: Likewise.
63602         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
63604         * nss/nss_files/files-parse.c: Whitespace fixes.
63606 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
63608         [BZ #11883]
63609         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
63610         * posix/fnmatch_loop.c: Likewise.
63612 2010-07-17  Andi Kleen  <ak@linux.intel.com>
63614         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
63615         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
63616         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
63617         * Versions.def [GLIBC_2.13]: Add.
63619 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
63621         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
63622         Also fail if tpwd after pwuid call is NULL.
63624 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
63626         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
63627         when converting to ms.
63629 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
63631         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
63632         EOPNOTSUPP errors with ENOTTY.
63633         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
63634         EOPNOTSUPP errors with ENOTTY.
63636 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
63638         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
63639         Add strcasecmp_l-ssse3.
63640         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
63641         strcasecmp.
63642         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
63643         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
63644         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
63646 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
63648         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
63650         * string/Makefile (strop-tests): Add strcasecmp.
63651         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
63652         strcasecmp_l-nonascii.
63653         (gen-as-const-headers): Add locale-defines.sym.
63654         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
63655         * sysdeps/x86_64/strcasecmp.S: New file.
63656         * sysdeps/x86_64/strcasecmp_l.S: New file.
63657         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
63658         * sysdeps/x86_64/locale-defines.sym: New file.
63659         * string/test-strcasecmp.c: New file.
63661         * string/test-strcasestr.c: Test both ends of the range of characters.
63662         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
63664 2010-07-29  Roland McGrath  <roland@redhat.com>
63666         [BZ #11856]
63667         * manual/locale.texi (Yes-or-No Questions): Fix example code.
63669 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
63671         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
63672         for ld.so.
63674 2010-07-27  Andreas Schwab  <schwab@redhat.com>
63676         * manual/memory.texi (Malloc Tunable Parameters): Document
63677         M_PERTURB.
63679 2010-07-26  Roland McGrath  <roland@redhat.com>
63681         [BZ #11840]
63682         * configure.in (-fgnu89-inline check): Set and substitute
63683         gnu89_inline, not libc_cv_gnu89_inline.
63684         * configure: Regenerated.
63685         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
63687 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
63689         * string/test-strnlen.c: New file.
63690         * string/Makefile (strop-tests): Add strnlen.
63691         * string/tester.c (test_strnlen): Add a few more test cases.
63692         * string/tst-strlen.c: Better error reporting.
63694         * sysdeps/x86_64/strnlen.S: New file.
63696 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
63698         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
63699         lower-latency instructions.
63701 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
63703         * string/test-strcasestr.c: New file.
63704         * string/test-strstr.c: New file.
63705         * string/Makefile (strop-tests): Add strstr and strcasestr.
63706         * string/str-two-way.h: Don't undefine MAX.
63707         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
63709 2010-07-21  Andreas Schwab  <schwab@redhat.com>
63711         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
63712         strcasestr-nonascii.
63713         (CFLAGS-strcasestr-nonascii.c): Define.
63714         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
63715         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
63716         Remove unused attribute.
63718 2010-07-20  Roland McGrath  <roland@redhat.com>
63720         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
63721         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
63722         ld.so.cache was broken.  With it, there is no way to disable dsocaps
63723         like LD_HWCAP_MASK can disable hwcaps.
63725 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
63727         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
63729 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
63731         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
63732         call in strcasestr.
63733         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
63734         __strcasestr_sse42_nonascii.
63735         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
63736         strcasestr-nonascii.c.
63737         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
63739 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
63741         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
63742         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
63743         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
63744         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
63746 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
63748         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
63749         fcntl.
63751 2010-07-06  Andreas Schwab  <schwab@redhat.com>
63753         [BZ #11577]
63754         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
63755         dl_signal_cerror.
63757 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
63759         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
63760         _PC_PIPE_BUF using F_GETPIPE_SZ.
63762 2010-07-05  Roland McGrath  <roland@redhat.com>
63764         * manual/arith.texi (Rounding Functions): Fix rint description
63765         implicit in round description.
63767 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
63769         * elf/Makefile: Fix linking for a few tests to make recent linker
63770         happy.
63772 2010-06-30  Andreas Schwab  <schwab@redhat.com>
63774         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
63775         $(common-objpfx)libc_nonshared.a.
63777 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
63779         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
63780         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
63781         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
63782         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
63783         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
63784         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
63785         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
63786         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
63787         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
63788         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
63789         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
63790         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
63791         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
63792         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
63793         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
63794         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
63795         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
63796         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
63797         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
63798         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
63799         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
63800         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
63801         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
63802         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
63803         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
63804         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
63805         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
63806         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
63807         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
63808         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
63809         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
63810         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
63811         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
63812         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
63813         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
63814         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
63815         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
63816         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
63817         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
63818         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
63819         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
63820         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
63821         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
63822         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
63823         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
63824         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
63825         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
63826         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
63828 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
63830         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
63831         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
63832         * string/memmove.c (memmove): Renamed to ...
63833         (MEMMOVE): ...this.  Default to memmove.
63834         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
63835         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
63836         (END_CHK): Define.
63837         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
63838         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
63839         mempcpy-ssse3-back memmove-ssse3-back.
63840         * sysdeps/x86_64/multiarch/bcopy.S: New file .
63841         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
63842         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
63843         * sysdeps/x86_64/multiarch/memcpy.S: New file.
63844         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
63845         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
63846         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
63847         * sysdeps/x86_64/multiarch/memmove.c: New file.
63848         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
63849         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
63850         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
63851         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
63852         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
63853         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
63854         Define.
63855         (index_Fast_Copy_Backward): Define.
63856         (HAS_ARCH_FEATURE): Define.
63857         (HAS_FAST_REP_STRING): Define.
63858         (HAS_FAST_COPY_BACKWARD): Define.
63860 2010-06-21  Andreas Schwab  <schwab@redhat.com>
63862         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
63863         Restore proper fallback handling.
63865 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
63867         [BZ #11701]
63868         * posix/group_member.c (__group_member): Correct checking loop.
63870         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
63871         OOM in getpwuid_r correctly.  Return error number when the caller
63872         should return, otherwise -1.
63873         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
63874         call returning > 0 value.
63875         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
63877 2010-06-07  Andreas Schwab  <schwab@redhat.com>
63879         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
63880         libc_nonshared.a from targets in modules-names.
63882 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
63884         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
63885         requires it.
63887 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
63889         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
63890         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
63891         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
63892         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
63894 2010-06-02  Andreas Schwab  <schwab@redhat.com>
63896         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
63898 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
63900         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
63901         and F_GETPIPE_SZ.
63902         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
63903         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
63904         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
63905         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
63906         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
63907         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
63909 2010-06-14  Roland McGrath  <roland@redhat.com>
63911         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
63913 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
63915         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
63916         __REDIRECT followed by __THROW.
63917         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
63918         * posix/getopt.h (getopt): Likewise.
63920 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
63922         * hurd/lookup-at.c (__file_name_lookup_at): Accept
63923         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
63924         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
63925         in AT_FLAGS.
63926         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
63927         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
63929 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
63931         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
63933 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
63935         [BZ #11640]
63936         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
63937         Properly check family and model.
63939 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
63941         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
63943 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
63945         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
63947 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
63949         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
63950         symbol reference.
63952 2010-05-19  Andreas Schwab  <schwab@redhat.com>
63954         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
63955         symbol reference.
63957 2010-05-21  Andreas Schwab  <schwab@redhat.com>
63959         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
63960         and internal_recvmmsg.
63961         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
63962         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
63963         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
63964         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
63966         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
63967         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
63968         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
63970 2010-05-20  Andreas Schwab  <schwab@redhat.com>
63972         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
63974 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
63976         POWER7 optimizations.
63977         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
63978         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
63980 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
63982         * version.h: Update for 2.13 development version.
63984 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
63986         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
63987         exceptions.  Return 0.
63989 2010-05-07  Roland McGrath  <roland@redhat.com>
63991         * elf/ldconfig.c (main): Add a const.
63993 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
63995         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
63996         (args_options): Add no-idn option.
63997         (ahosts_keys_int): Add idn_flags to ai_flags.
63998         (parse_option): Handle 'i' option to clear idn_flags.
64000         * malloc/malloc.c (_int_free): Possible race in the most recently
64001         added check.  Only act on the data if no current modification
64002         happened.
64004 See ChangeLog.17 for earlier changes.