S390: Optimize strnlen and wcsnlen.
[glibc.git] / ChangeLog
blobe43a29d19a83546f88d9d52c6d0242d3421ad586
1 2015-08-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
3         * sysdeps/s390/multiarch/strnlen-c.c: New File.
4         * sysdeps/s390/multiarch/strnlen-vx.S: Likewise.
5         * sysdeps/s390/multiarch/strnlen.c: Likewise.
6         * sysdeps/s390/multiarch/wcsnlen-c.c: Likewise.
7         * sysdeps/s390/multiarch/wcsnlen-vx.S: Likewise.
8         * sysdeps/s390/multiarch/wcsnlen.c: Likewise.
9         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strnlen and
10         wcsnlen functions.
11         * sysdeps/s390/multiarch/ifunc-impl-list.c
12         (__libc_ifunc_impl_list): Add ifunc test for strnlen, wcsnlen.
13         * wcsmbs/wcsnlen.c: Use WCSNLEN if defined.
14         * string/test-strnlen.c: Add wcsnlen support.
15         * wcsmbs/test-wcsnlen.c: New File.
16         * wcsmbs/Makefile (strop-tests): Add wcsnlen.
17         * benchtests/bench-strnlen.c: Add wcsnlen support.
18         * benchtests/bench-wcsnlen.c: New File.
19         * benchtests/Makefile (wcsmbs-bench): Add wcsnlen.
21 2015-08-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
23         * sysdeps/s390/multiarch/Makefile: New File.
24         * sysdeps/s390/multiarch/strlen-c.c: Likewise.
25         * sysdeps/s390/multiarch/strlen-vx.S: Likewise.
26         * sysdeps/s390/multiarch/strlen.c: Likewise.
27         * sysdeps/s390/multiarch/wcslen-c.c: Likewise.
28         * sysdeps/s390/multiarch/wcslen-vx.S: Likewise.
29         * sysdeps/s390/multiarch/wcslen.c: Likewise.
30         * string/strlen.c (STRLEN): Define and use macro.
31         * sysdeps/s390/multiarch/ifunc-impl-list.c
32         (IFUNC_VX_IMPL): New macro function.
33         (__libc_ifunc_impl_list): Add ifunc test for strlen, wcslen.
34         * benchtests/Makefile (wcsmbs-bench): New variable.
35         (string-bench-all): Added wcsmbs-bench.
36         * benchtests/bench-wcslen.c: New File.
38 2015-08-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
40         * sysdeps/s390/multiarch/ifunc-resolve.h (s390_vx_libc_ifunc,
41         s390_vx_libc_ifunc2): New macro function.
43 2015-08-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
45         * config.h.in (HAVE_S390_VX_ASM_SUPPORT): New macro undefine.
46         * sysdeps/s390/configure.ac: Add test for S390 vector instruction
47         assembler support.
48         * sysdeps/s390/configure: Regenerated.
50 2015-08-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
52         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add z13.
53         * sysdeps/s390/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increased.
55 2015-08-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
57         * sysdeps/s390/dl-procinfo.c (_dl_s390_platforms): Add vector flag.
58         * sysdeps/s390/dl-procinfo.h: Add vector capability.
59         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h (HWCAP_S390_VX): Define.
61 2015-08-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
63         * sysdeps/s390/s390-32/multiarch/Makefile (sysdep_routines):
64         Remove ifunc-resolve, add memset-s390, memcpy-s390, memcmp-s390.
65         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Delete File.
66         * sysdeps/s390/s390-32/multiarch/memcmp.S: Move to ...
67         * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: ... here.
68         (memcmp, bcmp): Use __memcmp_default as alias source.
69         * sysdeps/s390/s390-32/multiarch/memcmp.c: New File.
70         * sysdeps/s390/s390-32/memcmp.S (__memcmp_g5):
71         Rename to __memcmp_default.
72         * sysdeps/s390/s390-32/multiarch/memcpy.S: Move to ...
73         * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: ... here.
74         (memcpy): Use __memcpy_default as alias source.
75         * sysdeps/s390/s390-32/multiarch/memcpy.c: New File.
76         * sysdeps/s390/s390-32/memcpy.S (__memcpy_g5):
77         Rename to __memcpy_default.
78         * sysdeps/s390/s390-32/multiarch/memset.S: Move to ...
79         * sysdeps/s390/s390-32/multiarch/memset-s390.S: ... here.
80         (memset): Use __memset_default as alias source.
81         * sysdeps/s390/s390-32/multiarch/memset.c: New File.
82         * sysdeps/s390/s390-32/memset.S (__memset_g5):
83         Rename to __memset_default.
84         * sysdeps/s390/s390-64/multiarch/Makefile (sysdep_routines):
85         Remove ifunc-resolve, add memset-s390x, memcpy-s390x, memcmp-s390x.
86         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Delete File.
87         * sysdeps/s390/s390-64/multiarch/memcmp.S: Move to ...
88         * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: ... here.
89         (memcmp, bcmp): Use __memcmp_default as alias source.
90         * sysdeps/s390/s390-64/multiarch/memcmp.c: New File.
91         * sysdeps/s390/s390-64/memcmp.S (__memcmp_z900):
92         Rename to __memcmp_default.
93         * sysdeps/s390/s390-64/multiarch/memcpy.S: Move to ...
94         * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: ... here.
95         (memcpy): Use __memcpy_default as alias source.
96         * sysdeps/s390/s390-64/multiarch/memcpy.c: New File.
97         * sysdeps/s390/s390-64/memcpy.S (__memcpy_z900):
98         Rename to __memcpy_default.
99         * sysdeps/s390/s390-64/multiarch/memset.S: Move to ...
100         * sysdeps/s390/s390-64/multiarch/memset-s390x.S: ... here.
101         (memset): Use __memset_default as alias source.
102         * sysdeps/s390/s390-64/multiarch/memset.c: New File.
103         * sysdeps/s390/s390-64/memset.S (__memset_z900):
104         Rename to __memset_default.
105         * sysdeps/s390/multiarch/ifunc-resolve.h: New File.
106         * sysdeps/s390/multiarch/ifunc-impl-list.c: New File.
108 2015-08-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
110         [BZ #18610]
111         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Rename
112         __ieee_instruction_pointer to __unused.
113         * sysdeps/s390/fpu/fesetenv.c (__fesetenv): Remove usage of
114         __ieee_instruction_pointer.
115         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Fix dxc-field handling.
116         * sysdeps/s390/fpu/fgetexcptflg.c (fegetexceptflag): Likewise.
117         * sysdeps/s390/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
118         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
119         * sysdeps/s390/fpu/fpu_control.h (_FPU_RESERVED):
120         Mark dxc-field as reserved.
122 2015-08-25  Roland McGrath  <roland@hack.frob.com>
124         * sysdeps/nacl/start.c (_start): Call __nacl_main instead of main
125         if the weak reference is not null.
127 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
129         * sysdeps/x86_64/strcmp.S: Remove "#if !IS_IN (libc)".
131 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
133         [BZ #11214]
134         * sysdeps/unix/sysv/linux/Makefile (tst-getpid2-ENV): Removed.
136 2015-08-25  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
138         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: Define new macros.
139         * sysdeps/unix/sysv/linux/accept.c: Call direct system call.
140         * sysdeps/unix/sysv/linux/bind.c: Call direct system call.
141         * sysdeps/unix/sysv/linux/connect.c: Call direct system call.
142         * sysdeps/unix/sysv/linux/getpeername.c: Call direct system call.
143         * sysdeps/unix/sysv/linux/getsockname.c: Call direct system call.
144         * sysdeps/unix/sysv/linux/getsockopt.c: Call direct system call.
145         * sysdeps/unix/sysv/linux/listen.c: Call direct system call.
146         * sysdeps/unix/sysv/linux/recv.c: Call direct system call.
147         * sysdeps/unix/sysv/linux/recvfrom.c: Call direct system call.
148         * sysdeps/unix/sysv/linux/recvmsg.c: Call direct system call.
149         * sysdeps/unix/sysv/linux/send.c: Call direct system call.
150         * sysdeps/unix/sysv/linux/sendmsg.c: Call direct system call.
151         * sysdeps/unix/sysv/linux/sendto.c: Call direct system call.
152         * sysdeps/unix/sysv/linux/setsockopt.c: Call direct system call.
153         * sysdeps/unix/sysv/linux/shutdown.c: Call direct system call.
154         * sysdeps/unix/sysv/linux/socket.c: Call direct system call.
155         * sysdeps/unix/sysv/linux/socketpair.c: Call direct system call.
157 2015-08-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
159         * sysdeps/powerpc/powerpc32/sysdep.h (ABORT_TRANSACTION): Use
160         register other than r0 for tabort, it has special meaning.
161         * sysdeps/powerpc/powerpc64/sysdep.h (ABORT_TRANSACTION): Likewise
162         * sysdeps/unix.sysv/linux/powerpc/syscall.S (syscall): Abort
163         transaction before starting syscall.
165 2015-08-25  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
167         * sysdeps/powerpc/powerpc64/power7/strstr.S: Handle worst case.
169 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
171         * sysdeps/x86_64/strlen.S: Replace %xmm[8-12] with %xmm[0-4].
173 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
175         * sysdeps/x86_64/rtld-memcmp.c: Removed.
176         * sysdeps/x86_64/rtld-memset.S: Likewise.
177         * sysdeps/x86_64/rtld-strchr.S: Likewise.
178         * sysdeps/x86_64/rtld-strlen.S: Likewise.
179         * sysdeps/x86_64/multiarch/rtld-memcmp.c: Likewise.
180         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
182 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
184         * sysdeps/x86_64/memset.S: Replace %xmm8 with %xmm0.
186 2015-08-25  Ondřej Bílka  <neleai@seznam.cz>
188         * debug/strcpy_chk.c: Improve performance.
189         * debug/stpcpy_chk.c: Likewise.
190         * sysdeps/x86_64/strcpy_chk.S: Remove.
191         * sysdeps/x86_64/stpcpy_chk.S: Remove.
193         [BZ #18240]
194         * misc/hsearch_r.c (__hcreate_r): Handle overflow.
196 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
198         [BZ #15128]
199         * sysdeps/x86_64/Makefile [$(subdir) == elf] (tests): Add
200         ifuncmain8.
201         (modules-names): Add ifuncmod8.
202         ($(objpfx)ifuncmain8): New rule.
203         * sysdeps/x86_64/dl-machine.h: Include <dl-procinfo.h> and
204         <cpuid.h>.
205         (elf_machine_runtime_setup): Use _dl_runtime_resolve_sse,
206         _dl_runtime_resolve_avx, or _dl_runtime_resolve_avx512,
207         _dl_runtime_profile_sse, _dl_runtime_profile_avx, or
208         _dl_runtime_profile_avx512, based on HAS_ARCH_FEATURE.
209         * sysdeps/x86_64/dl-trampoline.S: Rewrite.
210         * sysdeps/x86_64/dl-trampoline.h: Likewise.
211         * sysdeps/x86_64/ifuncmain8.c: New file.
212         * sysdeps/x86_64/ifuncmod8.c: Likewise.
213         * sysdeps/x86_64/nptl/tcb-offsets.sym (RTLD_SAVESPACE_SSE):
214         Removed.
215         * sysdeps/x86_64/nptl/tls.h (__128bits): Removed.
216         (tcbhead_t): Change rtld_must_xmm_save to __glibc_unused1.
217         Change rtld_savespace_sse to __glibc_unused2.
218         (RTLD_CHECK_FOREIGN_CALL): Removed.
219         (RTLD_ENABLE_FOREIGN_CALL): Likewise.
220         (RTLD_PREPARE_FOREIGN_CALL): Likewise.
221         (RTLD_FINALIZE_FOREIGN_CALL): Likewise.
223 2015-08-24  Wilco Dijkstra  <wdijkstr@arm.com>
225         * sysdeps/aarch64/bzero.S (__bzero): Remove.
227 2015-08-24  Wilco Dijkstra  <wdijkstr@arm.com>
229         * sysdeps/aarch64/fpu/math_private.h (libc_feholdsetround_aarch64_ctx):
230         Unconditionally set __fpcr to avoid uninialized warning.
231         (libc_feholdsetround_noex_aarch64_ctx): Likewise.
233 2015-08-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
235         * malloc/arena.c (arena_get_retry): Don't use main_arena if it
236         is corrupt.
238         * malloc/arena.c (arena_get2): Drop unused argument.
239         (arena_lock): Adjust.
240         (arena_get_retry): Likewise.
242 2015-08-24  Andreas Schwab  <schwab@suse.de>
244         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_IPC64):
245         Don't define.
246         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
247         (__ASSUME_IPC64): Don't undef.
248         * sysdeps/unix/sysv/linux/msgctl.c: Don't check for __ASSUME_IPC64.
249         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
250         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
251         * sysdeps/unix/sysv/linux/i386/msgctl.c: Remove.
252         * sysdeps/unix/sysv/linux/i386/semctl.c: Remove.
253         * sysdeps/unix/sysv/linux/i386/shmctl.c: Remove.
254         * sysdeps/unix/sysv/linux/m68k/msgctl.c: Remove.
255         * sysdeps/unix/sysv/linux/m68k/semctl.c: Remove.
256         * sysdeps/unix/sysv/linux/m68k/shmctl.c: Remove.
257         * sysdeps/unix/sysv/linux/s390/s390-32/msgctl.c: Remove.
258         * sysdeps/unix/sysv/linux/s390/s390-32/semctl.c: Remove.
259         * sysdeps/unix/sysv/linux/s390/s390-32/shmctl.c: Remove.
260         * sysdeps/unix/sysv/linux/sh/msgctl.c: Remove.
261         * sysdeps/unix/sysv/linux/sh/semctl.c: Remove.
262         * sysdeps/unix/sysv/linux/sh/shmctl.c: Remove.
263         * sysdeps/unix/sysv/linux/sparc/sparc32/msgctl.c: Remove.
264         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Remove.
265         * sysdeps/unix/sysv/linux/sparc/sparc32/shmctl.c: Remove.
266         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Remove.
267         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Remove.
268         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Remove.
270 2015-08-21  Mike Frysinger  <vapier@gentoo.org>
272         * manual/Makefile (install): Only build manual when perl is available.
274 2015-08-21  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
276         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Replace
277         '#undef memcpy' by '#undef memchr'.
279 2015-08-21  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
281         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: Make
282         memchr not point to the internal __GI_memchr implementation.
284 2015-08-20  Joseph Myers  <joseph@codesourcery.com>
286         * timezone/Makefile (CFLAGS-zdump.c): Remove
287         -Wno-strict-prototypes.
288         (CFLAGS-zic.c): Likewise.
289         (CFLAGS-ialloc.c): Likewise.
290         (CFLAGS-scheck.c): Likewise.
292         * Makeconfig [$(enable-werror) = yes] (+gccwarn): Do not add
293         -Wno-error=undef.
295 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
297         * i386/i686/multiarch/strcasestr-c.c: Removed.
298         * x86_64/multiarch/strcasestr.c: Likewise.
299         * x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
300         Remove strcasestr.
302 2015-08-20  Joseph Myers  <joseph@codesourcery.com>
304         * math/Makefile (CFLAGS): Don't add -Wno-uninitialized.
306         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Always initialize
307         variables for high and low parts before possibly modifying them.
309 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
311         * sysdeps/i386/i686/multiarch/init-arch.h: Removed.
312         * sysdeps/unix/sysv/linux/x86/init-arch.h: Likewise.
313         * sysdeps/x86_64/cacheinfo.c: Include <init-arch.h> instead
314         of "multiarch/init-arch.h".
315         * sysdeps/x86_64/multiarch/init-arch.h: Renamed to ...
316         * sysdeps/x86/init-arch.h: This.
318 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
320         * sysdeps/i386/i686/multiarch/init-arch.c: Removed.
321         * sysdeps/unix/sysv/linux/x86/init-arch.c: Likewise.
323 2015-08-20  Ondřej Bílka  <neleai@seznam.cz>
325         [BZ #17787]
326         * manual/macros.texi: Add twoexp macro.
327         * manual/filesys.texi: Fix exponents.
328         * manual/llio.texi: Likewise.
329         * manual/stdio.texi: Likewise.
331 2015-08-20  Florian Weimer  <fweimer@redhat.com>
333         * sysdeps/x86/elide.h (ELIDE_UNLOCK): Document crash due to
334         incorrect use.
336 2015-08-19  Joseph Myers  <joseph@codesourcery.com>
338         [BZ #18370]
339         * math/s_csqrt.c (__csqrt): Force underflow exception for results
340         whose real or imaginary part has small absolute value.
341         * math/s_csqrtf.c (__csqrtf): Likewise.
342         * math/s_csqrtl.c (__csqrtl): Likewise.
343         * math/auto-libm-test-in: Add more tests of csqrt.
344         * math/auto-libm-test-out: Regenerated.
345         * sysdeps/i386/fpu/libm-test-ulps: Update.
347 2015-08-19  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
349         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_set_ppr_med_high,
350         __ppc_set_ppr_very_low): New functions.
351         * manual/platform.texi: Add documentation about
352         __ppc_set_ppr_med_high and __ppc_set_ppr_very_low.
354 2015-08-19  Wilco Dijkstra  <wdijkstr@arm.com>
356         * string/stpncpy.c (stpncpy): Improve performance using
357         __strnlen/memcpy/memset.
359 2015-08-19  Andrew Senkevich  <andrew.senkevich@intel.com>
361         [BZ #18796]
362         * scripts/test-installation.pl: Don't add -lmvec to build options if
363         libmvec wasn't built.
365 2015-08-19   Petar Jovanovic  <petar.jovanovic@rt-rk.com>
367         [BZ #14341]
368         * elf/dynamic-link.h (elf_machine_lazy_rel): Properly handle the
369         case when there is a gap between DT_REL and DT_JMPREL sections.
370         * sysdeps/x86_64/Makefile (tests): Add tst-split-dynreloc.
371         (LDFLAGS-tst-split-dynreloc): New.
372         (tst-split-dynreloc-ENV): Likewise.
373         * sysdeps/x86_64/tst-split-dynreloc.c: New file.
374         * sysdeps/x86_64/tst-split-dynreloc.lds: Likewise.
376 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
378         [BZ #18822]
379         * sysdeps/unix/sysv/linux/xstatconv.h (__xstat_conv): Add
380         attribute_hidden.
381         (__xstat64_conv): Likewise.
382         (__xstat32_conv): Likewise.
384 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
386         [BZ #18822]
387         * sysdeps/unix/sysv/linux/i386/makecontext.S (__makecontext):
388         Don't load %ebx when calling __setcontext.  Call __setcontext
389         with HIDDEN_JUMPTARGET.
390         * sysdeps/unix/sysv/linux/i386/setcontext.S (__setcontext): Add
391         libc_hidden_def.
393 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
395         * sysdeps/i386/i686/Makefile
396         [$(subdir) == string] (sysdep_routines): Moved to ...
397         * sysdeps/i386/Makefile: Here.
398         * sysdeps/i386/i686/cacheinfo.c: Moved to ...
399         * sysdeps/i386/cacheinfo.c: Here.
400         * sysdeps/unix/sysv/linux/i386/sysconf.c: Removed.
401         * sysdeps/unix/sysv/linux/i386/i686/sysconf.c: Likewise.
402         * sysdeps/unix/sysv/linux/x86_64/sysconf.c: Moved to ...
403         * sysdeps/unix/sysv/linux/x86/sysconf.c: Here.
405 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
407         * sysdeps/x86/cpu-features.h (HAS_I586): Defined to 1 if
408         __i586__ is defined.
409         (HAS_I686): Defined to 1 if __i686__ is defined.
411 2015-08-19  Joseph Myers  <joseph@codesourcery.com>
413         * elf/Makefile [$(have-z-execstack) = yes]
414         (CPPFLAGS-tst-execstack.c): New variable.
416         * login/tst-utmp.c [_HAVE_UT_TYPE || defined UTMPX]: Change
417         conditional to [defined UTMPX || _HAVE_UT_TYPE].
418         [_HAVE_UT_TV || defined UTMPX]: Change conditional to [defined
419         UTMPX || _HAVE_UT_TV].
420         [_HAVE_UT_TV - 0 || defined UTMPX]: Change conditional to [defined
421         UTMPX || _HAVE_UT_TV - 0].
423 2015-08-18  Joseph Myers  <joseph@codesourcery.com>
425         * sysdeps/mips/dl-machine.h [__mips_isa_rev < 6]: Change
426         conditionals to [!defined __mips_isa_rev || __mips_isa_rev < 6].
427         * sysdeps/mips/machine-gmon.h [__mips_isa_rev < 6]: Likewise.
429 2015-08-18  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
431         * sysdeps/powerpc/dl-procinfo.c:
432         (_dl_powerpc_cap_flags): Added missing strings for some
433         hwcap features.
434         * sysdeps/powerpc/dl-procinfo.h: Updated hwcap bit count.
436 2015-08-18  Paul Eggert  <eggert@cs.ucla.edu>
438         Port the 0x7efe...feff pattern to GCC 6.
439         See Steve Ellcey's bug report in:
440         https://sourceware.org/ml/libc-alpha/2015-07/msg00673.html
441         * string/memrchr.c (MEMRCHR):
442         * string/rawmemchr.c (RAWMEMCHR):
443         * string/strchr.c (strchr):
444         * string/strchrnul.c (STRCHRNUL):
445         Rewrite code to avoid issues with signed shift overflow.
447 2015-08-18  H.J. Lu  <hongjiu.lu@intel.com>
449         * sysdeps/x86/cpu-features.c (init_cpu_features): Check
450         whether cpuid is available only if HAS_CPUID is 0.
451         * sysdeps/x86/cpu-features.h (HAS_CPUID): New.
452         (HAS_I586): Likewise.
453         (HAS_I686): Likewise.
455 2015-08-18  Zack Weinberg  <zackw@panix.com>
457         * misc/Versions (libc): Add GLIBC_2.23.
459 2015-08-18  Alan Modra  <amodra@gmail.com>
461         [BZ #18421]
462         * sysdeps/hppa/start.S [SHARED]: Use .section .data.rel.ro and define
463         .Lp__global.
464         (_start): Load %dp via .Lp__global.
465         [!SHARED]: Use .section .rodata.
467 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
469         * sysdeps/unix/sysv/linux/hppa/bits/timerfd.h: New file.
470         * sysdeps/unix/sysv/linux/hppa/sys/timerfd.h: Delete.
472 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
474         * sysdeps/unix/sysv/linux/hppa/bits/signalfd.h: New file.
475         * sysdeps/unix/sysv/linux/hppa/sys/signalfd.h: Delete.
477 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
479         * sysdeps/unix/sysv/linux/hppa/bits/inotify.h: New file.
480         * sysdeps/unix/sysv/linux/hppa/sys/inotify.h: Delete.
482 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
484         * sysdeps/unix/sysv/linux/hppa/bits/eventfd.h: New file.
485         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Delete.
487 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
489         * sysdeps/unix/sysv/linux/hppa/bits/epoll.h: New file.
490         * sysdeps/unix/sysv/linux/hppa/sys/epoll.h: Delete.
492 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
494         * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h (SA_RESETHAND,
495         SA_NODEFER, SA_RESTART): Define when __USE_XOPEN2K8 is defined.
497 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
499         * sysdeps/unix/sysv/linux/hppa/bits/shm.h (SHM_EXEC): Define.
501 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
503         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Delete
504         kernel-features.h include.  Delete __ASSUME_LWS_CAS checks.
505         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
506         (__ASSUME_LWS_CAS): Delete.
508 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
510         * sysdeps/hppa/configure.ac: Delete binutils tls checks.
511         * sysdeps/hppa/configure: Regenerated.
512         * sysdeps/hppa/dl-machine.h: Delete USE_TLS and USE___THREAD checks.
513         * sysdeps/hppa/libc-tls.c: Delete USE_TLS checks.
514         * sysdeps/hppa/nptl/tls.h: Likewise.
516 2015-08-17  Joseph Myers  <joseph@codesourcery.com>
518         [BZ #18823]
519         * math/s_csqrt.c (__csqrt): Increase threshold and scale factor
520         for scaling up small arguments.
521         * math/s_csqrtf.c (__csqrtf): Likewise.
522         * math/s_csqrtl.c (__csqrtl): Likewise.
523         * math/auto-libm-test-in: Add more tests of csqrt.
524         * math/auto-libm-test-out: Regenerated.
526 2015-08-17  Andreas Schwab  <schwab@suse.de>
528         * sysdeps/unix/sysv/linux/powerpc/Versions (libm): Add empty
529         version set GLIBC_2.19.
531 2015-08-16  Zack Weinberg  <zackw@panix.com>
533         [BZ #18681]
534         * misc/regexp.h: This interface is no longer supported.
535         Remove all contents, leaving only an #error directive.
536         * misc/regexp.c (loc1, loc2, locs, step, advance):
537         Demote to compatibility symbols.
539 2015-08-15  Paul Pluzhnikov  <ppluzhnikov@google.com>
541         [BZ #18084]
542         * debug/tst-backtrace2.c (do_test): Add test for BZ #18084.
543         * sysdeps/arm/backtrace.c (__backtrace): Handle size <= 0.
544         * sysdeps/i386/backtrace.c (__backtrace): Likewise.
545         * sysdeps/m68k/backtrace.c (__backtrace): Likewise.
546         * sysdeps/microblaze/backtrace.c (__backtrace): Likewise.
547         * sysdeps/s390/s390-32/backtrace.c (__backtrace): Likewise.
548         * sysdeps/s390/s390-64/backtrace.c (__backtrace): Likewise.
549         * sysdeps/sparc/backtrace.c (__backtrace): Likewise.
550         * sysdeps/x86_64/backtrace.c (__backtrace): Likewise.
552 2015-08-15  Zack Weinberg  <zackw@panix.com>
554         [BZ #18795]
555         * string/bits/string3.h (stpncpy): Call __stpncpy_chk if the
556         buffer length is known to be too large, not if it's known to be
557         small enough.
558         * debug/tst-chk1.c (do_test): Do all tests for catching a buffer
559         overflow at runtime, involving a length parameter, twice: once
560         with a compile-time constant length parameter, once without.
562 2015-08-14  Joseph Myers  <joseph@codesourcery.com>
564         [BZ #18824]
565         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Increase threshold for
566         scaling x * y up instead of down.
567         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
568         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
569         * math/auto-libm-test-in: Add more tests of fma.
570         * math/auto-libm-test-out: Regenerated.
572 2015-08-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
574         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
576 2015-08-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
578         * sysdeps/x86_64/fpu/multiarch/s_floorf.S (__floorf): Remove
579         unnecessary movq.
580         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S (__nearbyint):
581         Likewise.
583 2015-08-13  Joseph Myers  <joseph@codesourcery.com>
585         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
586         asinh, atan, atan2, atanh, cabs, cbrt, cosh, csqrt, erf, erfc,
587         exp, exp2, lgamma, log, log1p, log2, pow, sin, sincos, tan, tanh
588         and tgamma.
589         * math/auto-libm-test-out: Regenerated.
590         * sysdeps/i386/fpu/libm-test-ulps: Update.
591         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
593         [BZ #16520]
594         * sysdeps/ieee754/dbl-64/s_tanh.c: Include <float.h>.
595         (__tanh): Force underflow exception for arguments with small
596         absolute value.
597         * sysdeps/ieee754/flt-32/s_tanhf.c: Include <float.h>.
598         (__tanhf): Force underflow exception for arguments with small
599         absolute value.
600         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Include <float.h>.
601         (__tanhl): Force underflow exception for arguments with small
602         absolute value.
603         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Include <float.h>.
604         (__tanhl): Force underflow exception for arguments with small
605         absolute value.
606         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Include <float.h>.
607         (__tanhl): Force underflow exception for arguments with small
608         absolute value.
609         * math/auto-libm-test-in: Add more tests of tanh.
610         * math/auto-libm-test-out: Regenerated.
611         * sysdeps/i386/fpu/libm-test-ulps: Update.
613 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
615         * sysdeps/x86/cpu-features.c (init_cpu_features): Call
616         __get_cpuid_max if not compiling for i586, i686 nor x86-64.
618 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
620         * sysdeps/unix/sysv/linux/x86/elision-conf.h: Don't include
621         <cpuid.h>.
623 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
625         * sysdeps/unix/sysv/linux/x86/elision-conf.c (elision_init):
626         Replace HAS_RTM with HAS_CPU_FEATURE (RTM).
628 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
630         * math/Makefile ($(addprefix $(objpfx), $(libm-vec-tests))):
631         Remove $(objpfx)init-arch.o.
632         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Remove
633         init-arch.
634         * sysdeps/x86_64/fpu/math-tests-arch.h (avx_usable): Removed.
635         (INIT_ARCH_EXT): Defined as empty.
636         (CHECK_ARCH_EXT): Replace HAS_XXX with HAS_ARCH_FEATURE (XXX).
637         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: Remove
638         __init_cpu_features call.  Replace HAS_XXX with
639         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
640         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: Likewise.
641         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Likewise.
642         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: Likewise.
643         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: Likewise.
644         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
645         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: Likewise.
646         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: Likewise.
647         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
648         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: Likewise.
649         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: Likewise.
650         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
651         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: Likewise.
652         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: Likewise.
653         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
654         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: Likewise.
655         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: Likewise.
656         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
657         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
658         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: Likewise.
659         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: Likewise.
660         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
661         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: Likewise.
662         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: Likewise.
663         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
664         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: Likewise.
665         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: Likewise.
666         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
667         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: Likewise.
668         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: Likewise.
669         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
670         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S: Likewise.
671         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S: Likewise.
672         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
673         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: Likewise.
674         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: Likewise.
676 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
678         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Replace HAS_XXX
679         with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
680         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
681         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
682         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: Likewise.
683         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: Likewise.
684         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Likewise.
685         * sysdeps/i386/i686/multiarch/s_fma.c: Likewise.
686         * sysdeps/i386/i686/multiarch/s_fmaf.c: Likewise.
687         * sysdeps/i386/i686/multiarch/bcopy.S: Remove __init_cpu_features
688         call.  Merge SHARED and !SHARED.  Add LOAD_GOT_AND_RTLD_GLOBAL_RO.
689         Use LOAD_FUNC_GOT_EAX to load function address.  Replace HAS_XXX
690         with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
691         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
692         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
693         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
694         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
695         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
696         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
697         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
698         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
699         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
700         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
701         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
702         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
703         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
704         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
705         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
706         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
707         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
708         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
709         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
710         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
711         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
712         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
713         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
714         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
715         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
716         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
717         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
718         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
719         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
720         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
722 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
724         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Replace HAS_XXX with
725         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
726         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
727         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
728         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
729         * sysdeps/x86_64/fpu/multiarch/e_pow.c: Likewise.
730         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
731         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Likewise.
732         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
733         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
734         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
735         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: Use
736         LOAD_RTLD_GLOBAL_RO_RDX and HAS_CPU_FEATURE (SSE4_1).
737         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: Likewise.
738         * sysdeps/x86_64/fpu/multiarch/s_floor.S: Likewise.
739         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: Likewise.
740         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S : Likewise.
741         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: Likewise.
742         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: Likewise.
743         * sysdeps/x86_64/fpu/multiarch/s_rintf.S : Likewise.
744         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Likewise.
745         * sysdeps/x86_64/multiarch/sched_cpucount.c: Likewise.
746         * sysdeps/x86_64/multiarch/strstr.c: Likewise.
747         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
748         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
749         * sysdeps/x86_64/multiarch/test-multiarch.c: Likewise.
750         * sysdeps/x86_64/multiarch/memcmp.S: Remove __init_cpu_features
751         call.  Add LOAD_RTLD_GLOBAL_RO_RDX.  Replace HAS_XXX with
752         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
753         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
754         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
755         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
756         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
757         * sysdeps/x86_64/multiarch/memset.S: Likewise.
758         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
759         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
760         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
761         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
762         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
763         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
764         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
765         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
766         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
768 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
770         * sysdeps/i386/dl-machine.h: Include <cpu-features.c>.
771         (dl_platform_init): Call init_cpu_features.
772         * sysdeps/i386/dl-procinfo.c (_dl_x86_cpu_features): New.
773         * sysdeps/i386/i686/cacheinfo.c
774         (DISABLE_PREFERRED_MEMORY_INSTRUCTION): Removed.
775         * sysdeps/i386/i686/multiarch/Makefile (aux): Remove init-arch.
776         * sysdeps/i386/i686/multiarch/Versions: Removed.
777         * sysdeps/i386/i686/multiarch/ifunc-defines.sym (KIND_OFFSET):
778         Removed.
779         * sysdeps/i386/ldsodefs.h: Include <cpu-features.h>.
780         * sysdeps/unix/sysv/linux/x86/Makefile
781         (libpthread-sysdep_routines): Remove init-arch.
782         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Include
783         <sysdeps/x86_64/dl-procinfo.c> instead of
784         sysdeps/generic/dl-procinfo.c>.
785         * sysdeps/x86/Makefile [$(subdir) == csu] (gen-as-const-headers):
786         Add cpu-features-offsets.sym and rtld-global-offsets.sym.
787         [$(subdir) == elf] (sysdep-dl-routines): Add dl-get-cpu-features.
788         [$(subdir) == elf] (tests): Add tst-get-cpu-features.
789         [$(subdir) == elf] (tests-static): Add
790         tst-get-cpu-features-static.
791         * sysdeps/x86/Versions: New file.
792         * sysdeps/x86/cpu-features-offsets.sym: Likewise.
793         * sysdeps/x86/cpu-features.c: Likewise.
794         * sysdeps/x86/cpu-features.h: Likewise.
795         * sysdeps/x86/dl-get-cpu-features.c: Likewise.
796         * sysdeps/x86/libc-start.c: Likewise.
797         * sysdeps/x86/rtld-global-offsets.sym: Likewise.
798         * sysdeps/x86/tst-get-cpu-features-static.c: Likewise.
799         * sysdeps/x86/tst-get-cpu-features.c: Likewise.
800         * sysdeps/x86_64/dl-procinfo.c: Likewise.
801         * sysdeps/x86_64/cacheinfo.c (__cpuid_count): Removed.
802         Assume USE_MULTIARCH is defined and don't check it.
803         (is_intel): Replace __cpu_features with GLRO(dl_x86_cpu_features).
804         (is_amd): Likewise.
805         (max_cpuid): Likewise.
806         (intel_check_word): Likewise.
807         (__cache_sysconf): Don't call __init_cpu_features.
808         (__x86_preferred_memory_instruction): Removed.
809         (init_cacheinfo): Don't call __init_cpu_features. Replace
810         __cpu_features with GLRO(dl_x86_cpu_features).
811         * sysdeps/x86_64/dl-machine.h: <cpu-features.c>.
812         (dl_platform_init): Call init_cpu_features.
813         * sysdeps/x86_64/ldsodefs.h: Include <cpu-features.h>.
814         * sysdeps/x86_64/multiarch/Makefile (aux): Remove init-arch.
815         * sysdeps/x86_64/multiarch/Versions: Removed.
816         * sysdeps/x86_64/multiarch/cacheinfo.c: Likewise.
817         * sysdeps/x86_64/multiarch/init-arch.c: Likewise.
818         * sysdeps/x86_64/multiarch/ifunc-defines.sym (KIND_OFFSET):
819         Removed.
820         * sysdeps/x86_64/multiarch/init-arch.h: Rewrite.
822 2015-08-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
824         [BZ #18820]
825         * libio/Makefile (test-fmemopen-mem): New test.
826         * libio/test-fmemopen.c (do_bz18820): New test.
827         * libio/fmemopen.c (__fmemopen): Fix memory leak.
828         * libio/oldfmemopen.c (__old_fmemopen): Likewise.
830 2015-08-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
832         [BZ #16734]
833         * libio/libioP.h (ROUND_TO_PAGE, ALLOC_BUF, ALLOC_WBUF): Delete.
834         (FREE_BUF): Delete.
835         * libio/libio.h (_IO_FILE_complete): Delete unused _freeres_size.
836         * libio/genops.c (_IO_setb): Use malloc and free directly.
837         (_IO_default_doallocate, _IO_default_finish): Likewise.
838         ( _IO_unbuffer_all): Likewise.
839         ( libc_freeres_fn): Likewise.
840         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
841         * libio/wfiledoalloc.c (_IO_wfile_doallocate): Likewise.
842         * libio/wgenops.c (_IO_wsetb, _IO_wdefault_finish): Likewise.
843         (_IO_wdefault_doallocate): Likewise.
845 2015-08-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
847         [BZ #18086]
848         * sysdeps/posix/nice.c (nice): Restore old errno.
849         * posix/tst-nice.c (do_test): Add test for BZ #18086.
851 2015-08-10  Ondrej Bilka  <neleai@seznam.cz>
853         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Fix ifunc.
855 2015-08-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
857         * sysdeps/powerpc/powerpc64/power7/memmove.S (bcopy): Changing to
858         __bcopy and add a weak_alias to bcopy.
859         * sysdeps/powerpc/powerpc64/power7/strstr.S (strstr): Use __strnlen
860         for static build.
862         * string/stpcpy.c (__stpcpy): Use STPCPY to redefine symbol name and
863         cleanup macro usage.
864         * string/strcpy.c (strcpt): Use STRCPY to redefine symbol name.
865         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.S: Remove file.
866         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
867         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.S: Likewise.
868         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
869         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: Likewise.
870         * sysdeps/powerpc/powerpc64/power7/strcpy.S: Likewise.
871         * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
872         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
873         * sysdeps/powerpc/powerpc64/strcpy.S: Likewise.
874         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
875         [SHARED && IS_IN (libc)]: Include <string/strcpy.c>.
876         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
877         [SHARED && IS_IN (libc)]: Include <string/stpcpy.c>.
878         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
879         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: Likewise.
880         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: Likewise.
881         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: Likewise.
882         * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
884         * sysdeps/powerpc/powerpc64/power7/strnlen.S (__strnlen): Add
885         libc_hidden_def.
886         (strnlen): Remove libc_hidden_builtin_def and add libc_hidden_def.
888         * sysdeps/powerpc/powerpc64/power7/Makefile [$(subdir) = string]
889         (sysdep_routines): Add strstr-ppc64.
890         * sysdeps/powerpc/powerpc64/power7/strstr-ppc64.c: New file.
892 2015-08-10  Maxim Ostapenko  <m.ostapenko@partner.samsung.com>
894         [BZ #18778]
895         * elf/Makefile (tests): Add Add tst-nodelete2.
896         (modules-names): Add tst-nodelete2mod.
897         (tst-nodelete2mod.so-no-z-defs): New.
898         ($(objpfx)tst-nodelete2): Likewise.
899         ($(objpfx)tst-nodelete2.out): Likewise.
900         (LDFLAGS-tst-nodelete2): Likewise.
901         * elf/dl-close.c (_dl_close_worker): Move DF_1_NODELETE clearing
902         out of loop through all loaded libraries.
903         * elf/tst-nodelete2.c: New file.
904         * elf/tst-nodelete2mod.c: Likewise.
906 2015-08-11  Andreas Schwab  <schwab@suse.de>
908         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Don't define.
909         * sysdeps/unix/sysv/linux/wordsize-64/openat.c
910         (__openat64_nocancel): Likewise.
912 2015-08-11  Joseph Myers  <joseph@codesourcery.com>
914         * math/auto-libm-test-in: Add more tests of acosh, asin, asinh,
915         atanh, cabs, carg, cbrt, cosh, csqrt, erf, erfc, exp, exp10,
916         expm1, hypot, log, log10, log1p, log2, pow, sinh, tan and tgamma.
917         * math/auto-libm-test-out: Regenerated.
918         * sysdeps/i386/fpu/libm-test-ulps: Update.
919         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
921 2015-08-10  Joseph Myers  <joseph@codesourcery.com>
923         [BZ #18790]
924         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Increase
925         threshold for returning +/- 1.
926         * math/auto-libm-test-in: Add more tests of tanh.
927         * math/auto-libm-test-out: Regenerated.
928         * sysdeps/i386/fpu/libm-test-ulps: Update.
930 2015-08-10  Andreas Schwab  <schwab@suse.de>
932         [BZ #18781]
933         * sysdeps/unix/sysv/linux/openat.c (__OPENAT) [MORE_OFLAGS]: Add
934         MORE_OFLAGS to oflag.
935         * io/test-lfs.c (do_test): Test openat64.
937 2015-08-10  Joseph Myers  <joseph@codesourcery.com>
939         [BZ #18789]
940         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Use
941         smaller threshold for returning the argument.
942         * math/auto-libm-test-in: Add more tests of sinh.
943         * math/auto-libm-test-out: Regenerated.
944         * sysdeps/i386/fpu/libm-test-ulps: Update.
946 2015-08-09  H.J. Lu  <hongjiu.lu@intel.com>
948         [BZ #18674]
949         * sysdeps/i386/tst-auditmod3b.c (la_objsearch): Add a missing
950         break.
952 2015-08-09  Andreas Schwab  <schwab@linux-m68k.org>
954         * timezone/Makefile (tzbases, tzlinks, tzfiles): Don't define.
955         (generated): Don't add $(addprefix z.,$(tzfiles)).
957 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
959         * nptl/tst-cancel-wrappers.sh: Change 3rd arg to gensub to 1.
960         * scripts/sysd-rules.awk: Likewise.
962 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
964         * iconvdata/tst-tables.sh: Change echo -n to printf.
965         * nss/db-Makefile: Likewise.
966         * posix/tst-getconf.sh: Likewise.
967         * stdio-common/tst-unbputc.sh: Likewise.
969 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
971         * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]: Move all
972         MADV_*_PAGES defines behind this feature check.
974 2015-08-09  John David Anglin  <danglin@gcc.gnu.org>
976         [BZ #18480]
977         * sysdeps/unix/sysv/linux/hppa/sysdep.h (LOAD_ARGS_0, LOAD_ARGS_1,
978         LOAD_ARGS_2, LOAD_ARGS_3, LOAD_ARGS_4, LOAD_ARGS_5, LOAD_ARGS_6):
979         Define.
980         (LOAD_REGS_0, LOAD_REGS_1, LOAD_REGS_2, LOAD_REGS_3, LOAD_REGS_4,
981         LOAD_REGS_5, LOAD_REGS_6): Update.
982         (INTERNAL_SYSCALL): Update using new LOAD defines.
983         (INTERNAL_SYSCALL_NCS): Likewise.
984         * sysdeps/unix/sysv/linux/hppa/syscall.c (syscall): Likewise.
986 2015-08-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
988         [BZ #16734]
989         * libio/genops.c (_IO_unbuffer_all): Free wide buffer as well.
991 2015-08-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
993         [BZ #17905]
994         * catgets/Makefile (tst-catgets-mem): New test.
995         * catgets/catgets.c (catopen): Don't use unbounded alloca.
996         * catgets/open_catalog.c (__open_catalog): Likewise.
997         * catgets/tst-catgets.c (do_bz17905): Test unbounded alloca.
999 2015-08-08  John David Anglin  <danglin@gcc.gnu.org>
1001         [BZ #18787]
1002         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (_LWS_CLOBBER): Revise
1003         clobber registers.
1004         (atomic_compare_and_exchange_val_acq): Use register asms to assign
1005         operand registers.  Use register %r20 for EAGAIN and EDEADLOCK checks.
1006         Cast return to __typeof (oldval).
1008 2015-08-08  Mike Frysinger  <vapier@gentoo.org>
1010         * sysdeps/unix/sysv/linux/microblaze/sysdep.h: Wrap the whole file
1011         in _LINUX_MICROBLAZE_SYSDEP_H defines.  Include sysdeps/unix/sysdep.h
1012         and delete sys/syscall.h include.
1014 2015-08-07  Joseph Myers  <joseph@codesourcery.com>
1016         [BZ #16517]
1017         * sysdeps/ieee754/dbl-64/s_tan.c: Include <float.h>.
1018         (tan): Force underflow exception for arguments with small absolute
1019         value.
1020         * sysdeps/ieee754/flt-32/k_tanf.c: Include <float.h>.
1021         (__kernel_tanf): Force underflow exception for arguments with
1022         small absolute value.
1023         * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <float.h>.
1024         (__kernel_tanl): Force underflow exception for arguments with
1025         small absolute value.
1026         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <float.h>.
1027         (__kernel_tanl): Force underflow exception for arguments with
1028         small absolute value.
1029         * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <float.h>.
1030         (__kernel_tanl): Force underflow exception for arguments with
1031         small absolute value.
1032         * math/auto-libm-test-in: Add more tests of tan.
1033         * math/auto-libm-test-out: Regenerated.
1035 2015-08-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
1037         Fix sysdeps/i386/fpu/s_scalbn.S build
1039         * math/Versions (libc: GLIBC_2_22): New (empty) version set.
1041 2015-08-07  Mike Frysinger  <vapier@gentoo.org>
1043         * sysdeps/hppa/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
1045 2015-08-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
1047         Fix gcrt0.o compilation
1049         When static-start-installed-name is different from
1050         start-installed-name, we must not use the shared objects.
1052         * csu/Makefile
1053         (extra-objs): Add gmon-start.o when building shared library and
1054         $(static-start-installed-name) is different from
1055         $(start-installed-name).
1056         $(objpfx)g$(static-start-installed-name): When building shared
1057         library and $(static-start-installed-name) is different from
1058         $(static-start-installed-name), revert to non-shared rule,
1059         i.e. using $(objpfx)% and gmon-start.o.
1061 2015-08-06  Joseph Myers  <joseph@codesourcery.com>
1063         [BZ #16519]
1064         * sysdeps/ieee754/dbl-64/e_sinh.c: Include <float.h>.
1065         (__ieee754_sinh): Force underflow exception for arguments with
1066         small absolute value.
1067         * sysdeps/ieee754/flt-32/e_sinhf.c: Include <float.h>.
1068         (__ieee754_sinhf): Force underflow exception for arguments with
1069         small absolute value.
1070         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Include <float.h>.
1071         (__ieee754_sinhl): Force underflow exception for arguments with
1072         small absolute value.
1073         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Include <float.h>.
1074         (__ieee754_sinhl): Force underflow exception for arguments with
1075         small absolute value.
1076         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Include <float.h>.
1077         (__ieee754_sinhl): Force underflow exception for arguments with
1078         small absolute value.
1079         * math/auto-libm-test-in: Add more tests of sinh.
1080         * math/auto-libm-test-out: Regenerated.
1081         * sysdeps/i386/fpu/libm-test-ulps: Update.
1083 2015-08-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
1085         * libio/oldfileops.c: Include unistd.h.
1087 2015-08-06  Mike Frysinger  <vapier@gentoo.org>
1089         * stdlib/isomac.c: Include ctype.h.
1091 2015-08-06  Arjun Shankar  <arjun.is@lostca.se>
1093         * dirent/tst-seekdir.c (main): Converted to ...
1094         (do_test): ... this.
1095         (TEST_FUNCTION): New macro.
1096         Include test-skeleton.c.
1097         * elf/tst-dlmodcount.c (main): Converted to ...
1098         (do_test): ... this.
1099         (TEST_FUNCTION): New macro.
1100         Include test-skeleton.c.
1101         * elf/tst-order-main.c (main): Converted to ...
1102         (do_test): ... this.
1103         (TEST_FUNCTION): New macro.
1104         Include test-skeleton.c.
1105         * elf/tst-pie2.c (main): Converted to ...
1106         (do_test): ... this.
1107         (TEST_FUNCTION): New macro.
1108         Include test-skeleton.c.
1109         * inet/tst-ether_aton.c (main): Converted to ...
1110         (do_test): ... this.
1111         (TEST_FUNCTION): New macro.
1112         Include test-skeleton.c.
1113         * misc/tst-mntent.c (main): Converted to ...
1114         (do_test): ... this.
1115         (TEST_FUNCTION): New macro.
1116         Include test-skeleton.c.
1117         * misc/tst-tsearch.c (main): Converted to ...
1118         (do_test): ... this.
1119         (TEST_FUNCTION): New macro.
1120         Include test-skeleton.c.
1121         * posix/tst-regexloc.c (main): Converted to ...
1122         (do_test): ... this.
1123         (TEST_FUNCTION): New macro.
1124         Include test-skeleton.c.
1125         * resolv/tst-aton.c (main): Converted to ...
1126         (do_test): ... this.
1127         (TEST_FUNCTION): New macro.
1128         Include test-skeleton.c.
1129         * stdio-common/test-fwrite.c (main): Converted to ...
1130         (do_test): ... this.
1131         (TEST_FUNCTION): New macro.
1132         Include test-skeleton.c.
1133         * stdio-common/tst-ferror.c (main): Converted to ...
1134         (do_test): ... this.
1135         (TEST_FUNCTION): New macro.
1136         Include test-skeleton.c.
1137         * stdio-common/tst-printf.c (main): Converted to ...
1138         (do_test): ... this.
1139         (TEST_FUNCTION): New macro.
1140         Include test-skeleton.c.
1141         * stdio-common/tst-printfsz.c (main): Converted to ...
1142         (do_test): ... this.
1143         (TEST_FUNCTION): New macro.
1144         Include test-skeleton.c.
1145         * stdlib/tst-strtod.c (main): Converted to ...
1146         (do_test): ... this.
1147         (TEST_FUNCTION): New macro.
1148         Include test-skeleton.c.
1149         * string/tst-strlen.c (main): Converted to ...
1150         (do_test): ... this.
1151         (TEST_FUNCTION): New macro.
1152         Include test-skeleton.c.
1153         * string/tst-svc.c (main): Converted to ...
1154         (do_test): ... this.
1155         (TEST_FUNCTION): New macro.
1156         Include test-skeleton.c.
1157         * time/tst-strptime.c (main): Converted to ...
1158         (do_test): ... this.
1159         (TEST_FUNCTION): New macro.
1160         Include test-skeleton.c.
1161         * timezone/tst-timezone.c (main): Converted to ...
1162         (do_test): ... this.
1163         (TEST_FUNCTION): New macro.
1164         Include test-skeleton.c.
1166 2015-08-05  Zack Weinberg  <zackw@panix.com>
1168         * misc/regexp.h: Update comments.
1170 2015-08-05  Andreas Schwab  <schwab@linux-m68k.org>
1172         [BZ #18635]
1173         * sysdeps/unix/sysv/linux/m68k/m680x0/makecontext.S: Add nop
1174         before return label.
1176 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
1178         [BZ #18661]
1179         * sysdeps/x86_64/fpu/s_cosf.S (__cosf): Align stack to 16 bytes
1180         when calling __errno_location.
1181         * sysdeps/x86_64/fpu/s_sincosf.S (__sincosf): Likewise.
1182         * sysdeps/x86_64/fpu/s_sinf.S (__sinf): Likewise.
1184 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
1186         [BZ #18661]
1187         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S
1188         (__lll_timedwait_tid): Align stack to 16 bytes when calling
1189         __gettimeofday.
1191 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
1193         [BZ #18661]
1194         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
1195         (__start_context): Don't use pop to restore %rdi so that stack
1196         is aligned to 16 bytes when calling __setcontext.
1198 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
1200         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Compile
1201         only for libc.
1202         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
1204 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
1206         * string/string.h: (mempcpy): Redirect to __mempcpy_inline.
1207         (__mempcpy): Likewise.  (__mempcpy_inline): New inline function.
1208         * sysdeps/sparc/bits/string.h: (_HAVE_STRING_ARCH_mempcpy): Define.
1210 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
1212         * string/memccpy.c (memccpy):
1213         Improve performance by using memchr/memcpy/__mempcpy.
1215 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
1217         * string/strncpy.c (strncpy):
1218         Improve performance by using __strnlen/memcpy.
1220 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
1222         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
1223         Optimize to avoid an unnecessary FPCR read.
1225 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
1227         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
1228         Optimize to reduce FPCR/FPSR accesses.
1230 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
1232         * locale/loadarchive.c (_nl_archive_subfreeres): Also check
1233         dead->data[category] != NULL.
1235 2015-08-05  Joseph Myers  <joseph@codesourcery.com>
1237         [BZ #18647]
1238         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): For large y
1239         and |x| close to 1, use absolute value of x when computing log.
1240         * math/auto-libm-test-in: Add more tests of pow.
1241         * math/auto-libm-test-out: Regenerated.
1243 2015-08-05  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1245         * sysdeps/unix/sysv/linux/arm/mmap.c: Add file.
1246         * sysdeps/unix/sysv/linux/arm/mmap.S: Remove file.
1247         * sysdeps/unix/sysv/linux/arm/mmap64.S: Likewise.
1249 2015-08-05  Marko Myllynen  <myllynen@redhat.com>
1251         [BZ #18525]
1252         * locales/km_KH: Remove timezone definition.
1253         * locales/lo_LA: Likewise.
1254         * locales/my_MM: Likewise.
1255         * locales/nan_TW@latin: Likewise.
1256         * locales/th_TH: Likewise.
1257         * locales/uk_UA: Likewise.
1259 2015-08-05  Daniel Marjamäki  <daniel.marjamaki@evidente.se>
1261         [BZ #18265]
1262         * wcsmbs/wchar.h (wcscat): Add __nonnull attribute.
1263         (wcsncat): Likewise.
1264         (wcscmp): Likewise.
1265         (wcsncmp): Likewise.
1267 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
1269         * test-skeleton.c (usage): New function.
1270         (main): Call usage when opt is '?'.
1272 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
1274         * sysdeps/unix/sysv/linux/mmap64.c: Move MMAP2_PAGE_SHIFT define
1275         before first use.
1277 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
1279         * nptl/allocatestack.c (allocate_stack): Move stacktop decl down to
1280         bottom and under _STACK_GROWS_DOWN.  Move the stacktop assignment
1281         in there too.
1283 2015-08-05  Carlos O'Donell  <carlos@systemhalted.org>
1285         * version.h (RELEASE): Set to "development".
1286         (VERSION): Set to "2.22.90"
1288         * version.h (RELEASE): Set to "stable".
1289         (VERSION): Set to "2.22"
1290         * include/features.h (__GLIBC_MINOR__): Set to 22.
1292 2015-08-04  Chris Metcalf  <cmetcalf@ezchip.com>
1294         * sysdeps/tile/tilepro/bits/atomic.h (__atomic_update):
1295         Restructure macro to avoid "value computed is not used" warning.
1296         (atomic_compare_and_exchange_val_acq): Likewise.
1298 2015-08-04  Andreas Schwab  <schwab@suse.de>
1300         [BZ #18635]
1301         * sysdeps/unix/sysv/linux/i386/makecontext.S: Terminate FDE before
1302         ret.
1303         * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext): Remove.
1305 2015-08-01  Carlos O'Donell  <carlos@redhat.com>
1307         * po/pl.po: Updated translation.
1308         * po/uk.po: Likewise.
1309         * po/fi.po: Likewise.
1310         * po/ko.po: Likewise.
1311         * po/ru.po: Likewise.
1312         * po/vi.po: Likewise.
1314 2015-07-31  Zack Weinberg  <zackw@panix.com>
1316         [BZ #18681]
1317         * regexp.h: Add unconditional #warning stating that this header
1318         will be removed soon.  Revise banner comment to match.
1319         (compile): Consistently use ERROR instead of RETURN to report
1320         errors (partial fix for bz#18681).
1321         * regexp.c: Don't include regexp.h. Remove some unnecessary
1322         declarations.
1324 2015-07-31  Carlos O'Donell  <carlos@redhat.com>
1326         * po/libc.pot: Regenerated.
1328 2015-07-30  Andrew Senkevich  <andrew.senkevich@intel.com>
1330         [BZ #18740]
1331         * sysdeps/x86_64/fpu/Makefile (double-vlen2-arch-ext-cflags,
1332         float-vlen4-arch-ext-cflags): Removed.
1333         * math/Makefile (CFLAGS-test-double-vlen2-wrappers.c,
1334         CFLAGS-test-float-vlen4-wrappers.c): Likewise.
1336 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
1338         [BZ #14113]
1339         * sysdeps/hppa/nptl/bits/pthreadtypes.h (pthread_mutex_t): Change
1340         aligned to __aligned__.
1341         (pthread_cond_t, pthread_rwlock_t): Likewise.
1343 2015-07-30  Torvald Riegel  <triegel@redhat.com>
1345         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: Remove file.
1347 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
1349         * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h: Include bits/wordsize.h.
1350         (struct sigaction): Change sa_flags from a long to an int, and add
1351         __glibc_reserved0 before it for padding when __WORDSIZE is 64.
1353 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
1355         * hppa/sysdep.h: Delete sys/syscall.h and config.h includes.
1356         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: Delete
1357         sysdeps/generic/sysdep.h include.
1358         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Wrap the whole file in
1359         _LINUX_HPPA_SYSDEP_H defines.  Include sysdeps/unix/sysdep.h and
1360         sysdeps/hppa/sysdep.h.
1361         (ENTRY, PSEUDO): Undefine before defining.
1363 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
1365         * sysdeps/unix/sysv/linux/hppa/sysdep.h (INLINE_SYSCALL): Rewrite
1366         from scratch to use INTERNAL_SYSCALL.
1368 2015-07-29  H.J. Lu  <hongjiu.lu@intel.com>
1370         [BZ #18078]
1371         * scripts/check-localplt.awk: Support alternate relocations.
1372         * scripts/localplt.awk: Also check relocations in DT_RELA/DT_REL
1373         sections.
1374         * sysdeps/unix/sysv/linux/i386/localplt.data: Mark free and
1375         malloc entries with + REL R_386_GLOB_DAT.
1376         * sysdeps/x86_64/localplt.data: New file.
1378 2015-07-29  Andrew Senkevich  <andrew.senkevich@intel.com>
1380         [BZ #18731]
1381         * sysdeps/x86_64/fpu/math-tests-arch.h: Added AVX runtime check.
1382         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
1383         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
1385 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
1387         * sysdeps/unix/sysv/linux/ia64/localplt.data: Delete __tls_get_addr.
1389 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
1391         * sysdeps/ia64/bits/atomic.h (atomic_exchange_and_add): Define
1392         directly in terms of __sync_fetch_and_add and delete (int) cast.
1394 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
1396         * sysdeps/unix/sysv/linux/ia64/Makefile (CPPFLAGS): Delete
1397         the -D_ASM_IA64_CURRENT_H flag.
1399 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
1401         [BZ #18641]
1402         * pwd/pwd.h (putpwent): Delete __nonnull markings.
1404 2015-07-27  Andreas Schwab  <schwab@suse.de>
1406         * conform/conformtest.pl (checknamespace): Filter out string
1407         literals while tokenizing.
1409 2015-07-26  Chung-Lin Tang  <cltang@codesourcery.com>
1411         * sysdeps/nios2/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
1412         * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Handle
1413         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
1415 2015-07-26  Chung-Lin Tang  <cltang@codesourcery.com>
1417         * nptl/tst-join7mod.c: Add #include <string.h>.
1419 2015-07-25  Chung-Lin Tang  <cltang@codesourcery.com>
1421         * sysdeps/nios2/libm-test-ulps: Update.
1423 2015-07-25  Chung-Lin Tang  <cltang@codesourcery.com>
1425         * sysdeps/unix/sysv/linux/nios2/setcontext.S (__setcontext):
1426         Fix order of arguments to the rt_sigprocmask syscall.
1427         * sysdeps/unix/sysv/linux/nios2/swapcontext.S (__swapcontext):
1428         Likewise.
1430 2015-07-24  Roland McGrath  <roland@hack.frob.com>
1432         * sysdeps/nacl/bits/fcntl.h (O_SHLOCK, O_EXLOCK): Macros removed.
1434 2015-07-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
1436         [BZ #18457]
1437         * nptl/Makefile (tests): New test case tst-join7.
1438         (modules-names): New test case module tst-join7mod.
1439         * nptl/tst-join7.c: New file.
1440         * nptl/tst-join7mod.c: New file.
1441         * Makeconfig (tls-model): Pass -ftls-model=initial-exec for
1442         all translation units in libc.so, libpthread.so and rtld.
1444 2015-07-24  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1446         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1448 2015-07-24  Andrew Senkevich  <andrew.senkevich@intel.com>
1450         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Fixed AVX512 IFUNC.
1451         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
1452         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
1453         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
1454         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
1455         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
1456         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
1457         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
1458         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
1459         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
1460         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
1461         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
1462         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Fixed wrappers to AVX2.
1463         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Likewise.
1464         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: Fixed KNL
1465         implementation.
1467 2015-07-24  Szabolcs Nagy  <szabolcs.nagy@arm.com>
1469         [BZ #17711]
1470         * sysdeps/aarch64/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
1471         * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Handle
1472         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
1473         * sysdeps/arm/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
1474         * sysdeps/arm/dl-machine.h (elf_machine_type_class): Handle
1475         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
1477 2015-07-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
1479         * stdlib/cxa_thread_atexit_impl.c: Use the lock name dl_load_lock
1480         instead of just saying load lock in the comments.
1482 2015-07-23  Roland McGrath  <roland@hack.frob.com>
1484         * sysdeps/unix/Subdirs: Moved ...
1485         * sysdeps/posix/Subdirs: ... here.
1486         * login/pty.h (struct termios, struct winsize): Add forward decls.
1487         * login/openpty.c (openpty): Put ioctl call under [TIOCSWINSZ].
1488         * sysdeps/nacl/glob.c: Just #include <sysdeps/wordsize-64/glob.c>.
1489         * sysdeps/arm/nacl/libc.abilist: Updated.
1490         * sysdeps/nacl/libutil.abilist: New file.
1492         * bits/signum.h: Update comments to mention 1003.1-2013 too.
1493         (SIGWINCH): New macro.
1495         * sysdeps/nacl/getdtsz.c (getdtablesize): Add missing weak_alias.
1496         * sysdeps/arm/nacl/libc.abilist: Add it.
1498 2015-07-23  Mike Frysinger  <vapier@gentoo.org>
1500         * conform/linknamespace.pl (@whitelist): Add matherrf and matherrl.
1502 2015-07-23  Mike Frysinger  <vapier@gentoo.org>
1504         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
1505         Swap __glibc_reserved0 and sa_flags order.
1507 2015-07-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
1509         [BZ #18657]
1510         * elf/dl-close.c (_dl_close_worker): Don't unload DSO if there
1511         are pending TLS destructor calls.
1512         * include/link.h (struct link_map): Add concurrency note for
1513         L_TLS_DTOR_COUNT.
1514         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
1515         Don't touch the link map flag.  Atomically increment
1516         l_tls_dtor_count.
1517         (__call_tls_dtors): Atomically decrement l_tls_dtor_count.
1518         Avoid taking the load lock and don't touch the link map flag.
1519         * stdlib/tst-tls-atexit-nodelete.c: New test case.
1520         * stdlib/Makefile (tests): Use it.
1521         * stdlib/tst-tls-atexit.c (do_test): dlopen
1522         tst-tls-atexit-lib.so again before dlclose.  Add conditionals
1523         to allow tst-tls-atexit-nodelete test case to use it.
1525 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
1527         * sysdeps/unix/sysv/linux/ia64/bits/msq.h: Change sys/types.h include
1528         to bits/types.h.
1529         (msgqnum_t): New typedef.
1530         (msglen_t): Likewise.
1531         (struct msqid_ds): Update comment.  Change msg_qnum type to msgqnum_t
1532         and msg_qbytes type to msglen_t.
1534 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
1536         * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat): Rename
1537         pad0 to __glibc_reserved0.
1538         (struct stat64): Likewise.
1540 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
1542         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
1543         Change sa_flags from a long to an int and add __glibc_reserved0 before
1544         it for padding.
1546 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
1548         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (siginfo_t): Make struct
1549         anonymous by deleting "siginfo" name.
1551 2015-07-21  Roland McGrath  <roland@hack.frob.com>
1553         * sysdeps/nacl/nacl-interface-list.h: Remove nacl_irt_filename.
1554         * sysdeps/nacl/open.c (__libc_open): Use __nacl_irt_dev_filename
1555         rather than __nacl_irt_filename.
1556         * sysdeps/nacl/xstat.c (__xstat): Likewise.
1558         * NEWS: New item for arm-nacl port.
1559         * sysdeps/arm/nacl/libc.abilist: New file.
1560         * sysdeps/nacl/ld.abilist: New file.
1561         * sysdeps/nacl/libBrokenLocale.abilist: New file.
1562         * sysdeps/nacl/libanl.abilist: New file.
1563         * sysdeps/nacl/libcrypt.abilist: New file.
1564         * sysdeps/nacl/libdl.abilist: New file.
1565         * sysdeps/nacl/libm.abilist: New file.
1566         * sysdeps/nacl/libpthread.abilist: New file.
1567         * sysdeps/nacl/libresolv.abilist: New file.
1568         * sysdeps/nacl/librt.abilist: New file.
1570 2015-07-21  Chris Metcalf  <cmetcalf@ezchip.com>
1572         * sysdeps/unix/sysv/linux/tile/makecontext.c (__makecontext): Call
1573         __startcontext to initialize the new context.
1574         * sysdeps/unix/sysv/linux/tile/setcontext.S (__startcontext): Set
1575         up CFI directive to forbid further backtracing.
1577 2015-07-21  Marko Myllynen  <myllynen@redhat.com>
1579         * charmaps/ANSI_X3.110-1983: Remove obsolete repertoire map
1580         reference.
1581         * charmaps/ANSI_X3.4-1968: Likewise.
1582         * charmaps/BS_4730: Likewise.
1583         * charmaps/BS_VIEWDATA: Likewise.
1584         * charmaps/CP1250: Likewise.
1585         * charmaps/CP1251: Likewise.
1586         * charmaps/CP1252: Likewise.
1587         * charmaps/CP1253: Likewise.
1588         * charmaps/CP1254: Likewise.
1589         * charmaps/CP1255: Likewise.
1590         * charmaps/CP1256: Likewise.
1591         * charmaps/CSN_369103: Likewise.
1592         * charmaps/EBCDIC-DK-NO: Likewise.
1593         * charmaps/GB_1988-80: Likewise.
1594         * charmaps/GREEK-CCITT: Likewise.
1595         * charmaps/GREEK7: Likewise.
1596         * charmaps/INIS-8: Likewise.
1597         * charmaps/ISIRI-3342: Likewise.
1598         * charmaps/ISO_2033-1983: Likewise.
1599         * charmaps/ISO_5427-EXT: Likewise.
1600         * locales/POSIX: Likewise.
1601         * locales/ar_SA: Likewise.
1602         * locales/be_BY: Likewise.
1603         * locales/be_BY@latin: Likewise.
1604         * locales/ca_ES: Likewise.
1605         * locales/cs_CZ: Likewise.
1606         * locales/da_DK: Likewise.
1607         * locales/de_BE: Likewise.
1608         * locales/de_CH: Likewise.
1609         * locales/de_LU: Likewise.
1610         * locales/en_AU: Likewise.
1611         * locales/en_BW: Likewise.
1612         * locales/en_CA: Likewise.
1613         * locales/en_DK: Likewise.
1614         * locales/en_GB: Likewise.
1615         * locales/en_IE: Likewise.
1616         * locales/en_NZ: Likewise.
1617         * locales/en_ZA: Likewise.
1618         * locales/en_ZW: Likewise.
1619         * locales/es_AR: Likewise.
1620         * locales/es_BO: Likewise.
1621         * locales/es_CL: Likewise.
1622         * locales/es_CO: Likewise.
1623         * locales/es_DO: Likewise.
1624         * locales/es_EC: Likewise.
1625         * locales/es_ES: Likewise.
1626         * locales/es_HN: Likewise.
1627         * locales/es_MX: Likewise.
1628         * locales/es_PA: Likewise.
1629         * locales/es_PE: Likewise.
1630         * locales/es_PY: Likewise.
1631         * locales/es_SV: Likewise.
1632         * locales/es_US: Likewise.
1633         * locales/es_UY: Likewise.
1634         * locales/es_VE: Likewise.
1635         * locales/et_EE: Likewise.
1636         * locales/fa_IR: Likewise.
1637         * locales/fo_FO: Likewise.
1638         * locales/fr_CA: Likewise.
1639         * locales/fr_CH: Likewise.
1640         * locales/gv_GB: Likewise.
1641         * locales/he_IL: Likewise.
1642         * locales/hr_HR: Likewise.
1643         * locales/id_ID: Likewise.
1644         * locales/is_IS: Likewise.
1645         * locales/it_CH: Likewise.
1646         * locales/iw_IL: Likewise.
1647         * locales/kl_GL: Likewise.
1648         * locales/ko_KR: Likewise.
1649         * locales/kw_GB: Likewise.
1650         * locales/lg_UG: Likewise.
1651         * locales/lt_LT: Likewise.
1652         * locales/lv_LV: Likewise.
1653         * locales/mi_NZ: Likewise.
1654         * locales/nhn_MX: Likewise.
1655         * locales/nl_BE: Likewise.
1656         * locales/pl_PL: Likewise.
1657         * locales/sk_SK: Likewise.
1658         * locales/sl_SI: Likewise.
1659         * locales/sv_FI: Likewise.
1660         * locales/tl_PH: Likewise.
1661         * locales/tr_TR: Likewise.
1662         * locales/vi_VN: Likewise.
1664 2015-07-21  Khem Raj  <raj.khem@gmail.com>
1666         [BZ #17475]
1667         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Adjust for rename
1668         of tu_IN and bh_IN.
1670 2015-07-21  Mike Frysinger  <vapier@gentoo.org>
1672         [BZ #18694]
1673         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Include
1674         bits/wordsize.h.
1675         (sigaction): Declare __glibc_reserved0 only when __WORDSIZE is 64.
1677 2015-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
1679         * stdlib/tst-tls-atexit-lib.c (do_foo): Rename to reg_dtor.
1680         * stdlib/tst-tls-atexit.c: (is_loaded): New function.
1681         (spawn_thread): New function.
1682         (load): Rename to reg_dtor_and_close.  Move dlopen to...
1683         (do_test): ... here.  Use IS_LOADED to test for its
1684         availability.
1686 2015-07-21  Andreas Schwab  <schwab@linux-m68k.org>
1688         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
1690 2015-07-20  H.J. Lu  <hongjiu.lu@intel.com>
1692         [BZ #18696]
1693         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (_sigfault): Add
1694         si_addr_bnd.
1695         (si_lower): New.
1696         (si_upper): Likewise.
1698 2015-07-16  David S. Miller  <davem@davemloft.net>
1700         * sysdeps/sparc/fpu/libm-test-ulps: Regenerated.
1702 2015-07-16  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1704         * libio/fmemopen.c (__fmemopen): Fix 'w' openmode with provided
1705         buffer.
1706         * stdio-common/tst-fmemopen2.c (do_test_with_buffer): Fix typo and
1707         fail output information.
1709 2015-07-16  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
1711         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strstr-power7
1712         and strstr-ppc64..
1713         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
1714         * sysdeps/powerpc/powerpc64/power7/strstr.S: New File.
1715         * sysdeps/powerpc/powerpc64/multiarch/strstr-power7.S: New File.
1716         * sysdeps/powerpc/powerpc64/multiarch/strstr-ppc64.c: New File.
1717         * sysdeps/powerpc/powerpc64/multiarch/strstr.c: New File.
1719 2015-07-16  Mike Frysinger  <vapier@gentoo.org>
1721         * sysdeps/hppa/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
1722         * sysdeps/hppa/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
1723         * sysdeps/ia64/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
1724         * sysdeps/ia64/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
1726 2015-07-16  Mike Frysinger  <vapier@gentoo.org>
1728         * elf/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
1729         * sysdeps/hppa/dl-lookupcfg.h (_dl_symbol_address): Add
1730         rtld_hidden_proto.
1731         * sysdeps/ia64/dl-lookupcfg.h (_dl_symbol_address): Likewise.
1733 2015-07-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
1735         * tst-nodelete-opened.c (do_test): Add comment to clarify how
1736         the test can fail.
1738         * stdlib/cxa_thread_atexit_impl.c: Whitespace fixup.
1740         [BZ #18676]
1741         * elf/tst-nodelete-opened.c: New test case.
1742         * elf/tst-nodelete-opened-lib.c: New test case module.
1743         * elf/Makefile (tests, modules-names): Use them.
1744         * elf/dl-open.c (dl_open_worker): Set DF_1_NODELETE flag
1745         early.
1747 2015-07-15  David S. Miller  <davem@davemloft.net>
1749         * sysdeps/sparc/nptl/pthread_barrier_init.c: Include
1750         futex-intenal.h
1751         * sysdeps/sparc/sparc32/sparcv9/Makefile (nscd): Add cpu_relax.
1752         * sysdeps/sparc/sparc64/Makefile: Likewise.
1753         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
1754         Remove space from macro define.
1755         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_spin_nop): Likewise.
1757 2015-07-15  Pravin Satpute  <psatpute@redhat.com>
1759         [BZ #17475]
1760         * locale/iso-639.def: Update Bhili and Tulu language codes as
1761         per iso639-3.
1763 2015-07-15  Arjun Shankar  <arjun.is@lostca.se>
1765         * elf/tst-leaks1.c (main): Converted to ...
1766         (do_test): ... this.
1767         (TEST_FUNCTION): New macro.
1768         Include test-skeleton.c.
1769         * localedata/tst-langinfo.c (main): Converted to ...
1770         (do_test): ... this.
1771         (TEST_FUNCTION): New macro.
1772         Include test-skeleton.c.
1773         * math/test-fpucw.c (main): Converted to ...
1774         (do_test): ... this.
1775         (TEST_FUNCTION): New macro.
1776         Include test-skeleton.c.
1777         * math/test-tgmath.c (main): Converted to ...
1778         (do_test): ... this.
1779         (TEST_FUNCTION): New macro.
1780         Include test-skeleton.c.
1781         * math/test-tgmath2.c (main): Converted to ...
1782         (do_test): ... this.
1783         (TEST_FUNCTION): New macro.
1784         Include test-skeleton.c.
1785         * setjmp/tst-setjmp.c (main): Converted to ...
1786         (do_test): ... this.
1787         (TEST_FUNCTION): New macro.
1788         Include test-skeleton.c.
1789         * stdio-common/tst-sscanf.c (main): Converted to ...
1790         (do_test): ... this.
1791         (TEST_FUNCTION): New macro.
1792         Include test-skeleton.c.
1793         * sysdeps/x86_64/tst-audit6.c (main): Converted to ...
1794         (do_test): ... this.
1795         (TEST_FUNCTION): New macro.
1796         Include test-skeleton.c.
1798         * elf/tst-audit9.c (main): Converted to ...
1799         (do_test): ... this.
1800         (TEST_FUNCTION): New macro.
1801         Include test-skeleton.c.
1803 2015-07-15  Mike Frysinger  <vapier@gentoo.org>
1805         * timezone/tst-tzset.c (TIMEOUT): Define to 5.
1807 2015-07-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
1809         * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext):
1810         New variable.
1812 2015-07-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
1814         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
1816 2015-07-14  Roland McGrath  <roland@hack.frob.com>
1818         * sysdeps/generic/dl-fileid.h: New file.
1819         * sysdeps/posix/dl-fileid.h: New file.
1820         * sysdeps/nacl/dl-fileid.h: New file.
1821         * include/link.h: Include <dl-fileid.h>.
1822         (struct link_map): Replace l_dev and l_ino with l_file_id.
1823         * elf/dl-load.c (_dl_map_object_from_fd): Use _dl_get_file_id rather
1824         than __fxstat64.  Use _dl_file_id_match_p rather than comparing l_dev
1825         and l_ino directly.  Initialize l_file_id rather than l_dev and l_ino.
1827 2015-07-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
1829         * stdlib/tst-tls-atexit.c (do_test): Fix typo.
1831 2015-07-14  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1833         * elf/Makefile [ifeq (yes,$(build-shared)) (tests)] (tst-nodelete):
1834         Add iff $CXX is set.
1835         [ifeq (yes,$(build-shared)) (modules-names)] (tst-nodelete-rtldmod):
1836         Likewise.
1837         (tst-nodelete-zmodiff): Likewise.
1838         * nptl/Makefile [[ifeq (,$(CXX))] (tests-unsupported)]: Add tst-once5.
1840 2015-07-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
1842         * stdlib/tst-tls-atexit.c (load): Fix up whitespace.
1844 2015-07-13  Wilco Dijkstra  <wdijkstr@arm.com>
1846         * sysdeps/aarch64/fpu/math_private.h
1847         (define math_opt_barrier): Add AArch64 version.
1848         (math_force_eval): Likewise.
1850 2015-07-13  Wilco Dijkstra  <wdijkstr@arm.com>
1852         * sysdeps/aarch64/strlen.S (strlen): Optimize strlen.
1854 2015-07-11  H.J. Lu  <hongjiu.lu@intel.com>
1856         * stdio-common/tst-fmemopen2.c (do_test_without_buffer): Replace
1857         %ld with %jd and cast to intmax_t.
1858         (do_test_length_zero): Likewise.
1860 2015-07-10  Roland McGrath  <roland@hack.frob.com>
1862         * sysdeps/nacl/pthread_condattr_setclock.c: New file.
1864 2015-07-10  Chris Metcalf  <cmetcalf@ezchip.com>
1866         * sysdeps/tile/libm-test-ulps: Regenerated.
1868         * math/test-fenvinline.c (feenable_test) [FE_ALL_EXCEPT == 0]:
1869         Comment out the whole function, not just its body.
1871 2015-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
1873         * stdlib/tst-tls-atexit.c (load): Remove unnecessary mutex
1874         locks.
1876         * stdlib/tst-tls-atexit.c (load): Avoid boolean coercion.
1878 2015-07-10  Torvald Riegel  <triegel@redhat.com>
1880         * nptl/sem_waitcommon.c (__new_sem_wait_slow): Update comments.
1881         (sem_assume_only_signals_cause_futex_EINTR): Remove.
1883 2015-07-10  Torvald Riegel  <triegel@redhat.com>
1885         * sysdeps/nptl/futex-internal.h: New file.
1886         * sysdeps/nacl/futex-internal.h: New file.
1887         * sysdeps/unix/sysv/linux/futex-internal.h: New file.
1888         * nptl/allocatestack.c (setxid_mark_thread): Use futex wrappers with
1889         error checking.
1890         (setxid_unmark_thread): Likewise.
1891         (__nptl_setxid): Likewise.
1892         (__wait_lookup_done): Likewise.
1893         * nptl/cancellation.c (__pthread_disable_asynccancel): Likewise.
1894         * nptl/nptl-init.c (sighandler_setxid): Likewise.
1895         * nptl/pthread_create.c (START_THREAD_DEFN): Likewise.
1896         * nptl/pthread_once.c (clear_once_control): Likewise.
1897         (__pthread_once_slow): Likewise.
1898         * nptl/unregister-atfork.c (__unregister_atfork): Likewise.
1899         * sysdeps/nacl/exit-thread.h (__exit_thread): Likewise.
1900         * sysdeps/nptl/aio_misc.h (AIO_MISC_NOTIFY, AIO_MISC_WAIT): Likewise.
1901         * sysdeps/nptl/fork.c (__libc_fork): Likewise.
1902         * sysdeps/nptl/gai_misc.h (GAI_MISC_NOTIFY, GAI_MISC_WAIT): Likewise.
1903         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock_slow):
1904         Likewise.
1905         (__pthread_rwlock_rdlock): Likewise.
1906         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
1907         Likewise.
1908         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
1909         Likewise.
1910         * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
1911         Likewise.
1912         * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Likewise.
1913         * nptl/pthread_rwlock_wrlock.c (__pthread_rwlock_wrlock_slow:
1914         Likewise.
1915         * nptl/pthread_rwlock_init (__pthread_rwlock_init): Remove
1916         __ASSUME_PRIVATE_FUTEX check.
1917         * nptl/pthread_rwlockattr_setpshared (pthread_rwlockattr_setpshared):
1918         Check that shared futexes are supported.
1919         * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Use futex
1920         wrappers with error checking.
1921         * nptl/pthread_barrier_init.c (pthread_barrier_init): Add comments,
1922         remove attribute sanity check and __ASSUME_PRIVATE_FUTEX check.
1923         * nptl/pthread_barrierattr_setpshared.c
1924         (pthread_barrierattr_setpshared): Check that shared futexes are
1925         supported.
1926         * nptl/pthread_condattr_setpshared.c (pthread_condattr_setpshared):
1927         Likewise.
1928         * nptl/pthread_mutexattr_setpshared.c (pthread_mutexattr_setpshared):
1929         Likewise.
1930         * nptl/sem_init.c (futex_private_if_supported): Remove.
1931         (__new_sem_init): Adapt and check that shared futexes are supported.
1932         * nptl/sem_open.c (sem_open): Likewise.
1933         * nptl/sem_post.c (futex_wake): Remove.
1934         * nptl/sem_waitcommon.c (futex_abstimed_wait, futex_wake): Remove.
1935         (do_futex_wait): Use futex wrappers with error checking.
1936         * nptl/sem_wait.c: Include lowlevellock.h.
1937         * sysdeps/sparc/nptl/pthread_barrier_init.c (__pthread_barrier_init):
1938         Use futex_supports_pshared.
1939         * sysdeps/sparc/nptl/pthread_barrier_wait.c (pthread_barrier_wait):
1940         Use futex wrappers with error checking.
1941         * sysdeps/sparc/sparc32/pthread_barrier_wait.c (pthread_barrier_wait):
1942         Likewise.
1943         * sysdeps/sparc/sparc32/sem_init.c (futex_private_if_supported): Remove.
1944         * sysdeps/sparc/sparc32/sem_post.c (futex_wake): Likewise.
1945         * sysdeps/sparc/sparc32/sem_open.c (sem_open): Use FUTEX_SHARED.
1946         * sysdeps/sparc/sparc32/sem_waitcommon.c (futex_abstimed_wait): Remove.
1947         (futex_wake): Likewise.
1948         (sem_assume_only_signals_cause_futex_EINTR): Likewise.
1949         (do_futex_wait): Use futex wrappers with error checking.
1950         (__new_sem_wait_slow): Update EINTR handling.
1951         * sysdeps/sparc/sparc32/sem_wait.c: Include lowlevellock.h.
1953 2015-07-09  Martin Sebor  <msebor@redhat.com>
1955         [BZ #18435]
1956         * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
1957         Revert commit ed225df3ad9cbac3c22ec3f0fbbed1f9c61d1c54.
1958         * nptl/Makefile (test-xfail-tst-once5): Define.
1960 2015-07-09  Roland McGrath  <roland@hack.frob.com>
1962         * include/stdio.h: Add rtld_hidden_proto (__libc_fatal).
1963         * elf/dl-minimal.c: For readability, reorder some definitions and
1964         introduce more page breaks.  Include <stdio.h>.
1965         (__libc_fatal): New function.
1967         * include/unistd.h: Add rtld_hidden_proto for _exit.
1968         * posix/_exit.c: Add rtld_hidden_def.
1969         * sysdeps/mach/hurd/_exit.c: Likewise.
1970         * sysdeps/nacl/_exit.c: Likewise.
1971         * sysdeps/unix/sysv/linux/_exit.c: Likewise.
1972         * sysdeps/unix/sysv/linux/i386/_exit.S: Likewise.
1974 2015-07-09  H.J. Lu  <hongjiu.lu@intel.com>
1976         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Improve
1977         bndmov encoding with zero displacement.
1979 2015-07-09  Igor Zamyatin  <igor.zamyatin@intel.com>
1980             H.J. Lu  <hongjiu.lu@intel.com>
1982         [BZ #18134]
1983         * sysdeps/i386/configure.ac: Set HAVE_MPX_SUPPORT.
1984         * sysdeps/i386/configure: Regenerated.
1985         * sysdeps/i386/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
1986         (_dl_runtime_profile): Save and restore Intel MPX return bound
1987         registers when calling _dl_call_pltexit.  Add
1988         PRESERVE_BND_REGS_PREFIX before return.
1989         * sysdeps/i386/link-defines.sym (LRV_BND0_OFFSET): New.
1990         (LRV_BND1_OFFSET): Likewise.
1991         * sysdeps/x86/bits/link.h (La_i86_retval): Add lrv_bnd0 and
1992         lrv_bnd1.
1993         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix
1994         typo in bndmov encoding.
1995         * sysdeps/x86_64/dl-trampoline.h: Properly save and restore
1996         Intel MPX bound registers.  Add PRESERVE_BND_REGS_PREFIX before
1997         branch instructions to preserve bounds.
1999 2015-07-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2001         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
2002         [GLIBC_2.22]: Add fmemopen.
2004 2015-07-09  Samuel Thibault  <samuel.thibault@ens-lyon.org>
2006         * sysdeps/mach/hurd/mlock.c (mlock): When __get_privileged_ports
2007         returns an error, also try to use host port from __mach_host_self for
2008         the __vm_wire call.
2009         * sysdeps/mach/hurd/munlock.c (munlock): Likewise.
2011 2015-07-09  Szabolcs Nagy  <szabolcs.nagy@arm.com>
2013         [BZ #18400]
2014         [BZ #18648]
2015         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h (struct elf_prpsinfo):
2016         Fix pr_uid and pr_gid members.
2017         * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (greg_t): Change the
2018         definition to elf_greg_t.
2020 2015-07-08  Roland McGrath  <roland@hack.frob.com>
2022         [BZ #18383]
2023         * sysdeps/arm/configure.ac (libc_cv_arm_tpoff_addend): New check.
2024         Emit test-xfail-tst-tlsalign{,-static}=yes if it fails.
2025         * sysdeps/arm/configure: Regenerated.
2026         * elf/Makefile (test-xfail-tst-tlsalign): Variable removed.
2027         (test-xfail-tst-tlsalign-static): Variable removed.
2029         * Makerules (do-install-so): Use $(LN_S) rather than explicit 'ln -s'.
2030         * elf/Makefile ($(objpfx)$(rtld-installed-name)): Use $(make-link)
2031         rather than explicit 'ln -s'.
2033         * resolv/rpc/netdb.h: New file.
2034         * resolv/Makefile [sunrpc not in $(subdirs)] (headers): Add it.
2036 2015-07-08  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2038         * stdio-common/tst-fmemopen2.c (do_test): Add test for NULL and zero
2039         length buffers.
2040         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
2041         test-skeleton.c.
2043         [BZ #6544]
2044         [BZ #11216]
2045         [BZ #12836]
2046         [BZ #13151]
2047         [BZ #13152]
2048         [BZ #14292]
2049         * include/stdio.h (fmemopen): Remove hidden prototype.
2050         (__fmemopen): Add new hidden prototype.
2051         * libio/Makefile: Add oldfmemopen object.
2052         * libio/Versions [GLIBC_2.22]: Add new fmemopen symbol.
2053         * libio/fmemopen.c (__fmemopen): Function rewrite to be POSIX
2054         compliance.
2055         * libio/oldfmemopen.c: New file: old fmemopen implementation for
2056         symbol compatibility.
2057         * stdio-common/Makefile [tests]: Add new tst-fmemopen3.
2058         * stdio-common/psiginfo.c [psiginfo]: Call __fmemopen instead of
2059         fmemopen.
2060         * stdio-common/tst-fmemopen3.c: New file: more fmemopen tests, focus
2061         on append and read mode.
2062         * sysdeps/unix/sysv/linux/aarch64/libc.abilist [GLIBC_2.22]: Add
2063         fmemopen.
2064         * sysdeps/unix/sysv/linux/alpha/libc.abilist [GLIBC_2.22]: Likewise.
2065         * sysdeps/unix/sysv/linux/arm/libc.abilist [GLIBC_2.22]: Likewise.
2066         * sysdeps/unix/sysv/linux/i386/libc.abilist [GLIBC_2.22]: Likewise.
2067         * sysdeps/unix/sysv/linux/ia64/libc.abilist [GLIBC_2.22]:
2068         Likewise.
2069         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
2070         [GLIBC_2.22]: Likewise.
2071         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist [GLIBC_2.22]:
2072         Likewise.
2073         * sysdeps/unix/sysv/linux/microblaze/libc.abilist [GLIBC_2.22]:
2074         Likewise.
2075         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
2076         [GLIBC_2.22]: Likewise.
2077         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
2078         [GLIBC_2.22]: Likewise.
2079         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
2080         [GLIBC_2.22]: Likewise.
2081         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
2082         [GLIBC_2.22]: Likewise.
2083         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
2084         [GLIBC_2.22]: Likewise.
2085         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
2086         [GLIBC_2.22]: Likewise.
2087         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
2088         [GLIBC_2.22]: Likewise.
2089         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist [GLIBC_2.22]:
2090         Likewise.
2091         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist [GLIBC_2.22]:
2092         Likewise.
2093         * sysdeps/unix/sysv/linux/sh/libc.abilist [GLIBC_2.22]: Likewise.
2094         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
2095         [GLIBC_2.22]: Likewise.
2096         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
2097         [GLIBC_2.22]: Likewise.
2098         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
2099         [GLIBC_2.22]: Likewise.
2100         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
2101         [GLIBC_2.22]: Likewise.
2102         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist [GLIBC_2.22]:
2103         Likewise.
2104         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist [GLIBC_2.22]:
2105         Likewise.
2106         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist [GLIBC_2.22]:
2107         Likewise.
2108         * sysdeps/unix/sysv/linux/hppa/libc.abilist [GLIBC_2.22]: Likewise.
2109         * sysdeps/unix/sysv/linux/nios2/libc.abilist [GLIBC_2.22]: Likewise.
2111 2015-07-08  Carlos O'Donell  <carlos@redhat.com>
2113         [BZ #18643]
2114         * sysdeps/unix/sysv/linux/bits/in.h: Define IPV6_RECVPATHMTU,
2115         IPV6_PATHMTU, and IPV6_DONTFRAG.
2117 2015-07-08  Feng Gao  <gfree.wind@gmail.com>
2119         * libio/fileops.c: Use "|" instead of "+" when combine _IO_LINE_BUF
2120         and _IO_UNBUFFERED.
2121         * libio/oldfileops.c: Likewise.
2122         * libio/wfileops.c: Likewise.
2124 2015-07-08  Mike Frysinger  <vapier@gentoo.org>
2126         * nscd/selinux.c: Delete selinux/flask.h include.
2128 2015-07-08  Mike Frysinger  <vapier@gentoo.org>
2130         [BZ #18641]
2131         * pwd/pwd.h (fgetpwent): Add __nonnull markings.
2132         (putpwent): Likewise.
2133         (getpwnam): Likewise.
2134         (getpwent_r): Likewise.
2135         (getpwuid_r): Likewise.
2136         (getpwnam_r): Likewise.
2137         (fgetpwent_r): Likewise.
2139 2015-07-08  Carlos O'Donell  <carlos@redhat.com>
2141         [BZ #18557]
2142         * inet/rcmd.c (__validuser2_sa): Check user first to
2143         short-circuit host check.
2145 2015-07-07  Pavel Kopyl  <p.kopyl@samsung.com>
2146             Mikhail Ilin  <m.ilin@samsung.com>
2148         [BZ #17833]
2149         * elf/Makefile (tests): Add tst-nodelete.
2150         (modules-names): Add tst-nodelete-uniquemod.
2151         (tst-nodelete-uniquemod.so-no-z-defs): New.
2152         (tst-nodelete-rtldmod.so-no-z-defs): Likewise.
2153         (tst-nodelete-zmod.so-no-z-defs): Likewise.
2154         ($(objpfx)tst-nodelete): Likewise.
2155         ($(objpfx)tst-nodelete.out): Likewise.
2156         (LDFLAGS-tst-nodelete): Likewise.
2157         (LDFLAGS-tst-nodelete-zmod.so): Likewise.
2158         * elf/dl-close.c (_dl_close_worker): Add a parameter to
2159         implement forced object deletion.
2160         (_dl_close): Pass false to _dl_close_worker.
2161         * elf/dl-open.c (_dl_open): Pass true to _dl_close_worker.
2162         * elf/tst-nodelete.cc: New file.
2163         * elf/tst-nodeletelib.cc: Likewise.
2164         * elf/tst-znodeletelib.cc: Likewise.
2165         * include/dlfcn.h (_dl_close_worker): Add a new parameter.
2167 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
2169         [BZ #18508]
2170         * stdlib/Makefile ($(objpfx)tst-makecontext3):
2171         Depend on $(libdl).
2172         * stdlib/tst-makecontext.c (cf): Test if _Unwind_Backtrace
2173         is not called infinitely times.
2174         (backtrace_helper): New function.
2175         (trace_arg): New struct.
2176         (st1): Enlarge stack size.
2177         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
2178         (__makecontext_ret): Omit cfi_startproc and cfi_endproc.
2179         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
2180         Likewise.
2182 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
2184         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
2186 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
2188         * sysdeps/unix/sysv/linux/s390/bits/sem.h:
2189         Include sys/types.h instead of bits/types.h.
2190         Remove inclusion of bits/wordsize.h.
2192 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
2194         * sysdeps/x86_64/tst-auditmod10b.c (la_symbind32): New.
2195         * sysdeps/x86_64/tst-auditmod4b.c (la_symbind32): Likewise.
2196         * sysdeps/x86_64/tst-auditmod5b.c (la_symbind32): Likewise.
2197         * sysdeps/x86_64/tst-auditmod6b.c (la_symbind32): Likewise.
2198         * sysdeps/x86_64/tst-auditmod6c.c (la_symbind32): Likewise.
2199         * sysdeps/x86_64/tst-auditmod7b.c (la_symbind32): Likewise.
2201 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
2203         * sysdeps/i386/Makefile (gen-as-const-headers)[elf]: Add
2204         link-defines.sym.
2205         * sysdeps/i386/dl-trampoline.S: Include <link-defines.h>.
2206         (_dl_runtime_profile): Use LONG_DOUBLE_SIZE, LRV_SIZE,
2207         LRV_EAX_OFFSET, LRV_EDX_OFFSET, LRV_ST0_OFFSET, LRV_ST1_OFFSET
2208         and LR_SIZE.
2209         * sysdeps/i386/link-defines.sym: New file.
2211 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
2213         * sysdeps/i386/Makefile (tests)[elf]: Add tst-audit3.
2214         (modules-names): Add tst-auditmod3a tst-auditmod3b.
2215         ($(objpfx)tst-audit3): New rule.
2216         ($(objpfx)tst-audit3.out): Likewise.
2217         * sysdeps/i386/tst-audit3.c: New file.
2218         * sysdeps/i386/tst-audit3.h: Likewise.
2219         * sysdeps/i386/tst-auditmod3a.c: Likewise.
2220         * sysdeps/i386/tst-auditmod3b.c: Likewise.
2222 2015-07-07  Torvald Riegel  <triegel@redhat.com>
2224         [BZ #18633]
2225         * sysdeps/x86/bits/string.h (__memmove_g): Do not create invalid
2226         pointer in C code.
2227         (__strcat_c): Likewise.
2228         (__strcat_g): Likewise.
2230 2015-07-07  Cyril Hrubis <chrubis@suse.cz>
2232         [BZ #18592]
2233         * misc/sbrk.c: Set errno to ENOMEM on overflow.
2235 2015-07-06  Wilco Dijkstra  <wdijkstr@arm.com>
2237         * sysdeps/aarch64/fpu/math_private.h (__ieee754_sqrt):
2238         New function.  (__ieee754_sqrtf): New function.
2239         * sysdeps/aarch64/fpu/e_sqrt.c (__ieee754_sqrt):
2240         New function.
2241         * sysdeps/aarch64/fpu/e_sqrtf.c (__ieee754_sqrtf):
2242         New function.
2244 2015-07-06  Wilco Dijkstra  <wdijkstr@arm.com>
2246         * sysdeps/ieee754/support.c: Remove unused file.
2248 2015-07-06  Szabolcs Nagy  <szabolcs.nagy@arm.com>
2250         * sysdeps/unix/sysv/linux/aarch64/getcontext.S (__getcontext): Use q
2251         registers instead of d ones so the layout is kernel abi compatible.
2252         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext): Likewise.
2253         * sysdeps/unix/sysv/linux/aarch64/swapcontext.S (__swapcontext):
2254         Likewise.
2256 2015-07-02  Szabolcs Nagy  <szabolcs.nagy@arm.com>
2258         * sysdeps/aarch64/libm-test-ulps: Regenerated.
2260 2015-07-01  Joseph Myers  <joseph@codesourcery.com>
2262         [BZ #18619]
2263         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Force underflow
2264         and return argument in case of subnormal argument.
2266 2015-07-01  Martin Sebor  <msebor@redhat.com>
2268         [BZ #18435]
2269         * nptl/Makefile: Add tst-once5.cc.
2270         * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
2271         Remove macro redefinitions.
2272         * nptl/tst-once5.cc: New test.
2274 2015-07-01  Joseph Myers  <joseph@codesourcery.com>
2276         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
2278         * sysdeps/arm/libm-test-ulps: Regenerated.
2280         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
2281         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
2283 2015-06-30  Torvald Riegel  <triegel@redhat.com>
2285         * nptl/DESIGN-systemtap-probes.txt: Remove lll_lock_wait,
2286         lll_lock_wait_private and lll_futex_wake probes.
2288         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (BUSY_WAIT_NOP): Remove.
2289         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (BUSY_WAIT_NOP):
2290         Likewise.
2291         * sysdeps/i386/i486/bits/atomic.h (atomic_delay): Rename to
2292         atomic_spin_nop.
2293         * sysdeps/x86_64/bits/atomic.h: Likewise.
2294         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (BUSY_WAIT_NOP): Rename
2295         to atomic_spin_nop and move ...
2296         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
2297         ... here and ...
2298         * sysdeps/sparc/sparc64/bits/atomic.h: ... here.
2299         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Use
2300         atomic_spin_nop instead of BUSY_WAIT_NOP.
2301         * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock):
2302         Likewise.
2303         * sysdeps/nacl/lll_timedwait_tid.c (__lll_timedwait_tid): Likewise.
2304         * sysdeps/nacl/lowlevellock.h (BUSY_WAIT_NOP): Remove.
2305         (lll_wait_tid): Use atomic_spin_nop instead of BUSY_WAIT_NOP.
2306         * nscd/nscd-client.h (__nscd_acquire_maplock): Use atomic_spin_nop
2307         instead of atomic_delay.
2309 2015-06-29  Joseph Myers  <joseph@codesourcery.com>
2311         [BZ #18613]
2312         * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Take log of
2313         X_ADJ not X when adjusting exponent.
2314         (__ieee754_gamma_r): Do intermediate computations in
2315         round-to-nearest then adjust overflowing and underflowing results
2316         as needed.
2317         * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Take log
2318         of X_ADJ not X when adjusting exponent.
2319         (__ieee754_gammaf_r): Do intermediate computations in
2320         round-to-nearest then adjust overflowing and underflowing results
2321         as needed.
2322         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive): Take
2323         log of X_ADJ not X when adjusting exponent.
2324         (__ieee754_gammal_r): Do intermediate computations in
2325         round-to-nearest then adjust overflowing and underflowing results
2326         as needed.  Use 1.0L not 1.0f as numerator of division.
2327         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive): Take
2328         log of X_ADJ not X when adjusting exponent.
2329         (__ieee754_gammal_r): Do intermediate computations in
2330         round-to-nearest then adjust overflowing and underflowing results
2331         as needed.  Use 1.0L not 1.0f as numerator of division.
2332         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive): Take log
2333         of X_ADJ not X when adjusting exponent.
2334         (__ieee754_gammal_r): Do intermediate computations in
2335         round-to-nearest then adjust overflowing and underflowing results
2336         as needed.  Use 1.0L not 1.0f as numerator of division.
2337         * math/libm-test.inc (tgamma_test_data): Remove one test.  Moved
2338         to auto-libm-test-in.
2339         (tgamma_test): Use ALL_RM_TEST.
2340         * math/auto-libm-test-in: Add one test of tgamma.  Mark some other
2341         tests of tgamma with spurious-overflow.
2342         * math/auto-libm-test-out: Regenerated.
2343         * math/gen-libm-have-vector-test.sh: Do not check for START.
2344         * sysdeps/i386/fpu/libm-test-ulps: Update.
2345         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2347         [BZ #18612]
2348         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): For small
2349         arguments, just return 0.5 times the argument, with underflow
2350         forced as needed.
2351         * math/auto-libm-test-in: Add more tests of j1.
2352         * math/auto-libm-test-out: Regenerated.
2354         [BZ #16559]
2355         * sysdeps/ieee754/dbl-64/e_j1.c: Include <float.h>.
2356         (__ieee754_j1): Force underflow exception for small results.
2357         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
2358         * sysdeps/ieee754/flt-32/e_j1f.c: Include <float.h>.
2359         (__ieee754_j1f): Force underflow exception for small results.
2360         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
2361         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
2362         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
2363         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <float.h>.
2364         (__ieee754_j1l): Force underflow exception for small results.
2365         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
2366         * math/auto-libm-test-in: Add more tests of j1 and jn.
2367         * math/auto-libm-test-out: Regenerated.
2369         * sysdeps/unix/sysv/linux/bits/in.h (IP_CHECKSUM): New macro.
2370         * sysdeps/unix/sysv/linux/bits/socket.h (PF_IB): Likewise.
2371         (PF_MPLS): Likewise.
2372         (AF_IB): Likewise.
2373         (AF_MPLS): Likewise.
2374         * sysdeps/unix/sysv/linux/sys/mount.h (MS_LAZYTIME): New enum
2375         value and macro.
2376         (MS_RMT_MASK): Include MS_LAZYTIME.
2378 2015-06-26  Mel Gorman  <mgorman@suse.de>
2380         [BZ #18502]
2381         * malloc/arena.c (heap_trim): Don't try to shrink a heap that is
2382         already minimal.
2384 2015-06-26  Matthew Fortune  <matthew.fortune@imgtec.com>
2386         * elf/elf.h (DT_MIPS_RLD_MAP_REL): New macro.
2387         (DT_MIPS_NUM): Update.
2388         * sysdeps/mips/dl-machine.h (ELF_MACHINE_DEBUG_SETUP): Handle
2389         DT_MIPS_RLD_MAP_REL.
2391 2015-06-25  Joseph Myers  <joseph@codesourcery.com>
2393         [BZ #16559]
2394         [BZ #18602]
2395         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Set
2396         round-to-nearest internally then recompute results that
2397         underflowed to zero in the original rounding mode.
2398         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
2399         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
2400         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
2401         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise
2402         * math/libm-test.inc (jn_test): Use ALL_RM_TEST.
2403         * sysdeps/i386/fpu/libm-test-ulps: Update.
2404         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2406 2015-06-25  Andrew Senkevich  <andrew.senkevich@intel.com>
2408         * NEWS: Fixed description of link with vector math library.
2410 2015-06-25  Andreas Schwab  <schwab@suse.de>
2412         [BZ #18549]
2413         * libio/fmemopen.c (fmemopen_write): Fix bounds check for ENOSPC.
2414         * libio/test-fmemopen.c (do_test): Add test for it.
2416 2015-06-25  H.J. Lu  <hongjiu.lu@intel.com>
2418         [BZ #17841]
2419         * Makeconfig (no-pie-ldflag): New.
2420         (+link): Set to $(+link-pie) if default to PIE.
2421         (+link-tests): Set to $(+link-pie-tests) if default to PIE.
2422         * config.make.in (build-pie-default): New.
2423         * configure.ac (libc_cv_pie_default): New.  Set to yes if -fPIE
2424         is default.  AC_SUBST.
2425         * configure: Regenerated.
2426         * elf/Makefile (LDFLAGS-tst-dlopen-aout): New.
2428 2015-06-24  Roland McGrath  <roland@hack.frob.com>
2430         * nptl/descr.h (struct pthread): Change type of field setxid_futex
2431         to 'unsigned int'.
2433         * resolv/gai_misc.h (struct waitlist): Change type of field
2434         counterp to 'volatile unsigned int *'.
2435         * sysdeps/nptl/gai_misc.h (GAI_MISC_WAIT): Use unsigned types for
2436         FUTEXADDR and OLDVAL.
2437         * resolv/getaddrinfo_a.c (getaddrinfo_a):
2438         Give local variable TOTAL type 'volatile unsigned int'.
2439         (struct async_waitlist): Change type of field counter to 'unsigned int'.
2440         * resolv/gai_suspend.c (gai_suspend):
2441         Give local variable CNTR type 'unsigned int'.
2443         * sysdeps/pthread/aio_misc.h (struct waitlist): Change type of field
2444         counterp to 'volatile unsigned int *'.
2445         * sysdeps/pthread/aio_suspend.c [DONT_NEED_AIO_MISC_COND]
2446         (do_aio_misc_wait): Give argument CNTR type 'unsigned int *'.
2447         (aio_suspend): Give local variable CNTR type 'unsigned int'.
2448         * sysdeps/pthread/lio_listio.c (lio_listio_internal):
2449         Give local variable TOTAL type 'volatile unsigned int'.
2450         (struct async_waitlist): Change type of field counter to 'unsigned int'.
2452 2015-06-24  H.J. Lu  <hongjiu.lu@intel.com>
2454         [BZ #18383]
2455         * csu/libc-tls.c (__libc_setup_tls) [TLS_TCB_AT_TP]: Align
2456         TCB_OFFSET to MAX_ALIGN, not just TCBALIGN.  Add comment.
2457         * elf/Makefile (test-xfail-tst-tlsalign{,-static}): Remove
2458         comment for i386/x86-64.
2459         (test-xfail-tst-tlsalign-extern-static): Removed.
2461 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
2463         * math/test-double.h: New file.
2464         * math/test-float.h: Likewise.
2465         * math/test-ldouble.h: Likewise.
2466         * math/test-math-inline.h: Likewise.
2467         * math/test-math-no-inline.h: Likewise.
2468         * math/test-math-scalar.h: Likewise.
2469         * math/test-math-vector.h: Likewise.
2470         * math/test-vec-loop.h: Remove file.  Contents moved into
2471         test-math-vector.h.
2472         * math/libm-test.inc (MATHCONST): Do not document macro.
2473         * math/test-double.c: Include test-double.h, test-math-no-inline.h
2474         and test-math-scalar.h.
2475         (FUNC): Remove macro.
2476         (FUNC_TEST): Likewise.
2477         (FLOAT): Likewise.
2478         (MATHCONST): Likewise.
2479         (PRINTF_EXPR): Likewise.
2480         (PRINTF_XEXPR): Likewise.
2481         (PRINTF_NEXPR): Likewise.
2482         (TEST_DOUBLE): Likewise.
2483         (TEST_MATHVEC): Likewise.
2484         (__NO_MATH_INLINES): Likewise.
2485         * math/test-float.c: Include test-float.h, test-math-no-inline.h
2486         and test-math-scalar.h.
2487         (FUNC): Remove macro.
2488         (FUNC_TEST): Likewise.
2489         (FLOAT): Likewise.
2490         (MATHCONST): Likewise.
2491         (PRINTF_EXPR): Likewise.
2492         (PRINTF_XEXPR): Likewise.
2493         (PRINTF_NEXPR): Likewise.
2494         (TEST_FLOAT): Likewise.
2495         (TEST_MATHVEC): Likewise.
2496         (__NO_MATH_INLINES): Likewise.
2497         * math/test-idouble.c: Include test-double.h, test-math-inline.h
2498         and test-math-scalar.h.
2499         (FUNC): Remove macro.
2500         (FUNC_TEST): Likewise.
2501         (FLOAT): Likewise.
2502         (MATHCONST): Likewise.
2503         (PRINTF_EXPR): Likewise.
2504         (PRINTF_XEXPR): Likewise.
2505         (PRINTF_NEXPR): Likewise.
2506         (TEST_DOUBLE): Likewise.
2507         (TEST_MATHVEC): Likewise.
2508         (TEST_INLINE): Likewise.
2509         (__NO_MATH_INLINES): Likewise.
2510         * math/test-ifloat.c: Include test-float.h, test-math-inline.h and
2511         test-math-scalar.h.
2512         (FUNC): Remove macro.
2513         (FUNC_TEST): Likewise.
2514         (FLOAT): Likewise.
2515         (MATHCONST): Likewise.
2516         (PRINTF_EXPR): Likewise.
2517         (PRINTF_XEXPR): Likewise.
2518         (PRINTF_NEXPR): Likewise.
2519         (TEST_FLOAT): Likewise.
2520         (TEST_MATHVEC): Likewise.
2521         (TEST_INLINE): Likewise.
2522         (__NO_MATH_INLINES): Likewise.
2523         * math/test-ildoubl.c: Include test-ldouble.h, test-math-inline.h
2524         and test-math-scalar.h.
2525         (FUNC): Remove macro.
2526         (FUNC_TEST): Likewise.
2527         (FLOAT): Likewise.
2528         (MATHCONST): Likewise.
2529         (PRINTF_EXPR): Likewise.
2530         (PRINTF_XEXPR): Likewise.
2531         (PRINTF_NEXPR): Likewise.
2532         (TEST_LDOUBLE): Likewise.
2533         (TEST_MATHVEC): Likewise.
2534         (TEST_INLINE): Likewise.
2535         (__NO_MATH_INLINES): Likewise.
2536         * math/test-ldouble.c: Include test-ldouble.h,
2537         test-math-no-inline.h and test-math-scalar.h.
2538         (FUNC): Remove macro.
2539         (FUNC_TEST): Likewise.
2540         (FLOAT): Likewise.
2541         (MATHCONST): Likewise.
2542         (PRINTF_EXPR): Likewise.
2543         (PRINTF_XEXPR): Likewise.
2544         (PRINTF_NEXPR): Likewise.
2545         (TEST_LDOUBLE): Likewise.
2546         (TEST_MATHVEC): Likewise.
2547         (__NO_MATH_INLINES): Likewise.
2548         * math/test-double-vlen2.h: Include test-double.h,
2549         test-math-no-inline.h and test-math-vector.h.
2550         (FLOAT): Remove macro.
2551         (FUNC): Likewise.
2552         (MATHCONST): Likewise.
2553         (PRINTF_EXPR): Likewise.
2554         (PRINTF_XEXPR): Likewise.
2555         (PRINTF_NEXPR): Likewise.
2556         (TEST_DOUBLE): Likewise.
2557         (TEST_MATHVEC): Likewise.
2558         (__NO_MATH_INLINES): Likewise.
2559         (CNCT): Likewise.
2560         (CONCAT): Likewise.
2561         (WRAPPER_NAME): Likewise.
2562         (WRAPPER_DECL): Likewise.
2563         (WRAPPER_DECL_ff): Likewise.
2564         (WRAPPER_DECL_fFF): Likewise.
2565         (VECTOR_WRAPPER): Likewise.
2566         (VECTOR_WRAPPER_ff): Likewise.
2567         (VECTOR_WRAPPER_fFF): Likewise.
2568         (VEC_LEN): New macro.
2569         * math/test-double-vlen4.h: Include test-double.h,
2570         test-math-no-inline.h and test-math-vector.h.
2571         (FLOAT): Remove macro.
2572         (FUNC): Likewise.
2573         (MATHCONST): Likewise.
2574         (PRINTF_EXPR): Likewise.
2575         (PRINTF_XEXPR): Likewise.
2576         (PRINTF_NEXPR): Likewise.
2577         (TEST_DOUBLE): Likewise.
2578         (TEST_MATHVEC): Likewise.
2579         (__NO_MATH_INLINES): Likewise.
2580         (CNCT): Likewise.
2581         (CONCAT): Likewise.
2582         (WRAPPER_NAME): Likewise.
2583         (WRAPPER_DECL): Likewise.
2584         (WRAPPER_DECL_ff): Likewise.
2585         (WRAPPER_DECL_fFF): Likewise.
2586         (VECTOR_WRAPPER): Likewise.
2587         (VECTOR_WRAPPER_ff): Likewise.
2588         (VECTOR_WRAPPER_fFF): Likewise.
2589         (VEC_LEN): New macro.
2590         * math/test-double-vlen8.h: Include test-double.h,
2591         test-math-no-inline.h and test-math-vector.h.
2592         (FLOAT): Remove macro.
2593         (FUNC): Likewise.
2594         (MATHCONST): Likewise.
2595         (PRINTF_EXPR): Likewise.
2596         (PRINTF_XEXPR): Likewise.
2597         (PRINTF_NEXPR): Likewise.
2598         (TEST_DOUBLE): Likewise.
2599         (TEST_MATHVEC): Likewise.
2600         (__NO_MATH_INLINES): Likewise.
2601         (CNCT): Likewise.
2602         (CONCAT): Likewise.
2603         (WRAPPER_NAME): Likewise.
2604         (WRAPPER_DECL): Likewise.
2605         (WRAPPER_DECL_ff): Likewise.
2606         (WRAPPER_DECL_fFF): Likewise.
2607         (VECTOR_WRAPPER): Likewise.
2608         (VECTOR_WRAPPER_ff): Likewise.
2609         (VECTOR_WRAPPER_fFF): Likewise.
2610         (VEC_LEN): New macro.
2611         * math/test-float-vlen4.h: Include test-float.h,
2612         test-math-no-inline.h and test-math-vector.h.
2613         (FLOAT): Remove macro.
2614         (FUNC): Likewise.
2615         (MATHCONST): Likewise.
2616         (PRINTF_EXPR): Likewise.
2617         (PRINTF_XEXPR): Likewise.
2618         (PRINTF_NEXPR): Likewise.
2619         (TEST_FLOAT): Likewise.
2620         (TEST_MATHVEC): Likewise.
2621         (__NO_MATH_INLINES): Likewise.
2622         (CNCT): Likewise.
2623         (CONCAT): Likewise.
2624         (WRAPPER_NAME): Likewise.
2625         (WRAPPER_DECL): Likewise.
2626         (WRAPPER_DECL_ff): Likewise.
2627         (WRAPPER_DECL_fFF): Likewise.
2628         (VECTOR_WRAPPER): Likewise.
2629         (VECTOR_WRAPPER_ff): Likewise.
2630         (VECTOR_WRAPPER_fFF): Likewise.
2631         (VEC_LEN): New macro.
2632         * math/test-float-vlen8.h: Include test-float.h,
2633         test-math-no-inline.h and test-math-vector.h.
2634         (FLOAT): Remove macro.
2635         (FUNC): Likewise.
2636         (MATHCONST): Likewise.
2637         (PRINTF_EXPR): Likewise.
2638         (PRINTF_XEXPR): Likewise.
2639         (PRINTF_NEXPR): Likewise.
2640         (TEST_FLOAT): Likewise.
2641         (TEST_MATHVEC): Likewise.
2642         (__NO_MATH_INLINES): Likewise.
2643         (CNCT): Likewise.
2644         (CONCAT): Likewise.
2645         (WRAPPER_NAME): Likewise.
2646         (WRAPPER_DECL): Likewise.
2647         (WRAPPER_DECL_ff): Likewise.
2648         (WRAPPER_DECL_fFF): Likewise.
2649         (VECTOR_WRAPPER): Likewise.
2650         (VECTOR_WRAPPER_ff): Likewise.
2651         (VECTOR_WRAPPER_fFF): Likewise.
2652         (VEC_LEN): New macro.
2653         * math/test-float-vlen16.h: Include test-float.h,
2654         test-math-no-inline.h and test-math-vector.h.
2655         (FLOAT): Remove macro.
2656         (FUNC): Likewise.
2657         (MATHCONST): Likewise.
2658         (PRINTF_EXPR): Likewise.
2659         (PRINTF_XEXPR): Likewise.
2660         (PRINTF_NEXPR): Likewise.
2661         (TEST_FLOAT): Likewise.
2662         (TEST_MATHVEC): Likewise.
2663         (__NO_MATH_INLINES): Likewise.
2664         (CNCT): Likewise.
2665         (CONCAT): Likewise.
2666         (WRAPPER_NAME): Likewise.
2667         (WRAPPER_DECL): Likewise.
2668         (WRAPPER_DECL_ff): Likewise.
2669         (WRAPPER_DECL_fFF): Likewise.
2670         (VECTOR_WRAPPER): Likewise.
2671         (VECTOR_WRAPPER_ff): Likewise.
2672         (VECTOR_WRAPPER_fFF): Likewise.
2673         (VEC_LEN): New macro.
2674         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Do not include
2675         test-vec-loop.h.
2676         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
2677         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
2678         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
2679         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
2680         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
2681         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
2682         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
2684 2015-06-24  Roland McGrath  <roland@hack.frob.com>
2686         * sysdeps/nacl/glob.c (getlogin_r): Macro renamed to ...
2687         (__getlogin_r): ... this.
2689 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
2691         [BZ #18594]
2692         * math/s_ccosh.c (__ccosh): Compare with least normal value
2693         instead of comparing class with FP_SUBNORMAL.
2694         * math/s_ccoshf.c (__ccoshf): Likewise.
2695         * math/s_ccoshl.c (__ccoshl): Likewise.
2696         * math/s_cexp.c (__cexp): Likewise.
2697         * math/s_cexpf.c (__cexpf): Likewise.
2698         * math/s_cexpl.c (__cexpl): Likewise.
2699         * math/s_csin.c (__csin): Likewise.
2700         * math/s_csinf.c (__csinf): Likewise.
2701         * math/s_csinh.c (__csinh): Likewise.
2702         * math/s_csinhf.c (__csinhf): Likewise.
2703         * math/s_csinhl.c (__csinhl): Likewise.
2704         * math/s_csinl.c (__csinl): Likewise.
2705         * math/s_ctan.c (__ctan): Likewise.
2706         * math/s_ctanf.c (__ctanf): Likewise.
2707         * math/s_ctanh.c (__ctanh): Likewise.
2708         * math/s_ctanhf.c (__ctanhf): Likewise.
2709         * math/s_ctanhl.c (__ctanhl): Likewise.
2710         * math/s_ctanl.c (__ctanl): Likewise.
2711         * math/auto-libm-test-in: Add more tests of ccos, ccosh, cexp,
2712         csin, csinh, ctan and ctanh.
2713         * math/auto-libm-test-out: Regenerated.
2714         * math/libm-test.inc (cexp_test): Use ALL_RM_TEST.
2715         * sysdeps/i386/fpu/libm-test-ulps: Update.
2716         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2718 2015-06-24  Roland McGrath  <roland@hack.frob.com>
2720         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): When sched_getcpu
2721         return value is wrong, print the expected value too.
2723 2015-06-24  H.J. Lu  <hongjiu.lu@intel.com>
2725         [BZ #18585]
2726         * elf/readlib.c (is_gdb_python_file): New.
2727         (process_file): Don't issue errors on filenames with -gdb.py
2728         suffix.
2730 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
2732         * math/auto-libm-test-in: Add more tests of csin and csinh.
2733         * math/auto-libm-test-out: Regenerated.
2734         * math/libm-test.inc (csin_test_data): Remove tests moved to
2735         auto-libm-test-in.
2736         (csinh_test_data): Likewise.
2738         [BZ #18593]
2739         * math/s_csin.c (__csin): Negate before rather than after possibly
2740         overflowing multiplication.
2741         * math/s_csinf.c (__csinf): Likewise.
2742         * math/s_csinh.c (__csinh): Likewise.
2743         * math/s_csinhf.c (__csinhf): Likewise.
2744         * math/s_csinhl.c (__csinhl): Likewise.
2745         * math/s_csinl.c (__csinl): Likewise.
2746         * math/auto-libm-test-in: Add some tests of csin and csinh.
2747         * math/auto-libm-test-out: Regenerated.
2748         * math/libm-test.inc (csin_test_data): Use AUTO_TESTS_c_c.
2749         (csinh_test_data): Likewise.
2750         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
2752         [BZ #18586]
2753         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Force
2754         underflow exception for small results.
2756 2015-06-24  Andrew Senkevich  <andrew.senkevich@intel.com>
2758         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
2759         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: Renamed
2760         variable and included header.
2761         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: Likewise.
2762         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: Likewise.
2763         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: Likewise.
2764         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: Likewise.
2765         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: Likewise.
2766         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S: Likewise.
2767         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S: Likewise.
2768         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S: Likewise.
2769         * sysdeps/x86_64/fpu/svml_s_trig_data.S: New file.
2770         * sysdeps/x86_64/fpu/svml_s_trig_data.h: Likewise.
2771         * sysdeps/x86_64/fpu/svml_s_cosf_data.S: Removed file.
2772         * sysdeps/x86_64/fpu/svml_s_cosf_data.h: Likewise.
2773         * sysdeps/x86_64/fpu/svml_s_sinf_data.S: Likewise.
2774         * sysdeps/x86_64/fpu/svml_s_sinf_data.h: Likewise.
2775         * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: Likewise.
2776         * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: Likewise.
2778 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
2780         [BZ #16526]
2781         [BZ #16538]
2782         * sysdeps/ieee754/dbl-64/s_sin.c: Include <float.h>.
2783         (__sin): Force underflow exception for arguments with small
2784         absolute value.
2785         * sysdeps/ieee754/flt-32/k_sinf.c: Include <float.h>.
2786         (__kernel_sinf): Force underflow exception for arguments with
2787         small absolute value.
2788         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Include <float.h>.
2789         (__kernel_sincosl): Force underflow exception for arguments with
2790         small absolute value.
2791         * sysdeps/ieee754/ldbl-128/k_sinl.c: Include <float.h>.
2792         (__kernel_sinl): Force underflow exception for arguments with
2793         small absolute value.
2794         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Include <float.h>.
2795         (__kernel_sincosl): Force underflow exception for arguments with
2796         small absolute value.
2797         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Include <float.h>.
2798         (__kernel_sinl): Force underflow exception for arguments with
2799         small absolute value.
2800         * sysdeps/ieee754/ldbl-96/k_sinl.c: Include <float.h>.
2801         (__kernel_sinl): Force underflow exception for arguments with
2802         small absolute value.
2803         * sysdeps/powerpc/fpu/k_sinf.c: Include <float.h>.
2804         (__kernel_sinf): Force underflow exception for arguments with
2805         small absolute value.
2806         * math/auto-libm-test-in: Add more tests of sin and sincos.
2807         * math/auto-libm-test-out: Regenerated.
2809         [BZ #18245]
2810         [BZ #18583]
2811         * sysdeps/ieee754/k_standardl.c: Include <fenv.h>.
2812         (__kernel_standard_l): Use feholdexcept and fesetenv around
2813         conversion to double instead of special-casing overflow and
2814         underflow.
2815         * math/libm-test.inc (fmod_test_data): Add more tests.
2816         (remainder_test_data): Likewise.
2817         (sqrt_test_data): Likewise.
2819 2015-06-23  Torvald Riegel  <triegel@redhat.com>
2821         [BZ #17403]
2822         * sysdeps/x86_64/bits/atomic.h: (atomic_full_barrier,
2823         atomic_read_barrier, atomic_write_barrier): Define.
2824         * sysdeps/i386/i486/bits/atomic.h (atomic_full_barrier,
2825         atomic_read_barrier, atomic_write_barrier): Define.
2827 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
2829         * math/Makefile [$(PERL) != no]
2830         ($(addprefix $(objpfx), $(addsuffix .o, $(libm-vec-tests)))): Move
2831         dependency on libm-test.stmp below the inclusion of Rules.
2833 2015-06-23  Andrew Senkevich  <andrew.senkevich@intel.com>
2835         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
2836         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: Renamed variable
2837         and included header.
2838         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: Likewise.
2839         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: Likewise.
2840         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: Likewise.
2841         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: Likewise.
2842         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: Likewise.
2843         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: Likewise.
2844         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: Likewise.
2845         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: Likewise.
2846         * sysdeps/x86_64/fpu/svml_d_trig_data.S: New file.
2847         * sysdeps/x86_64/fpu/svml_d_trig_data.h: Likewise.
2848         * sysdeps/x86_64/fpu/svml_d_cos2_core.S: Removed unneeded include.
2849         * sysdeps/x86_64/fpu/svml_d_cos4_core.S: Likewise.
2850         * sysdeps/x86_64/fpu/svml_d_cos8_core.S: Likewise.
2851         * sysdeps/x86_64/fpu/svml_d_cos_data.S: Removed file.
2852         * sysdeps/x86_64/fpu/svml_d_cos_data.h: Likewise.
2853         * sysdeps/x86_64/fpu/svml_d_sin_data.S: Likewise.
2854         * sysdeps/x86_64/fpu/svml_d_sin_data.h: Likewise.
2855         * sysdeps/x86_64/fpu/svml_d_sincos_data.S: Likewise.
2856         * sysdeps/x86_64/fpu/svml_d_sincos_data.h: Likewise.
2858 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
2860         [BZ #18371]
2861         * math/s_csqrt.c (__csqrt): Avoid multiplication by 0.5 where
2862         intermediate but not final result might underflow.
2863         * math/s_csqrtf.c (__csqrtf): Likewise.
2864         * math/s_csqrtl.c (__csqrtl): Likewise.
2865         * math/auto-libm-test-in: Add more tests of csqrt.
2866         * math/auto-libm-test-out: Regenerated.
2867         * sysdeps/i386/fpu/libm-test-ulps: Update.
2869         [BZ #18219]
2870         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Reduce
2871         threshold on absolute value of exponent for which scaling is used.
2872         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
2873         * math/auto-libm-test-in: Add more tests of exp2.
2874         * math/auto-libm-test-out: Regenerated.
2876 2015-06-23  Dmitry V. Levin  <ldv@altlinux.org>
2878         [BZ #17977]
2879         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix unlocking
2880         when initializing interface list, based on the bug analysis
2881         and the patch proposed by Eric Newton.
2882         * resolv/tst-res_hconf_reorder.c: New test.
2883         * resolv/Makefile [$(have-thread-library) = yes] (tests): Add
2884         tst-res_hconf_reorder.
2885         ($(objpfx)tst-res_hconf_reorder): Depend on $(libdl)
2886         and $(shared-thread-library).
2887         (tst-res_hconf_reorder-ENV): New variable.
2889         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix typo
2890         in comment.
2892 2015-06-22  Joseph Myers  <joseph@codesourcery.com>
2894         [BZ #16353]
2895         * sysdeps/i386/fpu/s_expm1.S (dbl_min): New object.
2896         (__expm1): Force underflow exception for arguments with small
2897         absolute value.
2898         * sysdeps/i386/fpu/s_expm1f.S (flt_min): New object.
2899         (__expm1f): Force underflow exception for arguments with small
2900         absolute value.
2901         * sysdeps/ieee754/dbl-64/s_expm1.c: Include <float.h>.
2902         (__expm1): Force underflow exception for arguments with small
2903         absolute value.
2904         * sysdeps/ieee754/flt-32/s_expm1f.c: Include <float.h>.
2905         (__expm1f): Force underflow exception for arguments with small
2906         absolute value.
2907         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
2908         Check for small arguments before calling __expm1.
2909         * math/auto-libm-test-in: Do not mark underflow exceptions as
2910         possibly missing for bug 16353.
2911         * math/auto-libm-test-out: Regenerated.
2913 2015-06-22  Andreas Schwab  <schwab@suse.de>
2915         [BZ #18513]
2916         * resolv/nss_dns/dns-host.c (getanswer_r): Record TTL also for
2917         PTR queries.
2919 2015-06-22  Leonhard Holz  <leonhard.holz@web.de>
2921         * string/strcoll_l.c (STRCOLL): Remove unnecessary memset.
2923         * string/strcoll_l.c: Remove unused struct element idxnow.
2925 2015-06-21  Joseph Myers  <joseph@codesourcery.com>
2927         [BZ #18569]
2928         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Force
2929         underflow and return argument in case of subnormal argument.
2930         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
2931         Likewise.
2932         * math/auto-libm-test-in: Add more tests of expm1.
2933         * math/auto-libm-test-out: Regenerated.
2935         [BZ #16361]
2936         * sysdeps/i386/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
2937         (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
2938         tiny results.
2939         * sysdeps/x86_64/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
2940         (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
2941         tiny results.
2942         * math/auto-libm-test-in: Add more tests of exp and exp10.  Do not
2943         mark underflow exceptions as possibly missing for bug 16361.
2944         * math/auto-libm-test-out: Regenerated.
2946 2015-06-19  Joseph Myers  <joseph@codesourcery.com>
2948         * conform/data/sys/select.h-data [XOPEN2K8] (pselect): Expect.
2949         * conform/Makefile (test-xfail-XOPEN2K8/sys/select.h/conform):
2950         Remove variable.
2951         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
2952         (test-xfail-XOPEN2K8/utmpx.h/conform).
2954         * conform/conformtest.pl ($xerrors): New variable.
2955         (note_error): New function.
2956         (compiletest): New argument $xfail.  Use not_error.
2957         (runtest): Likewise.
2958         (top level): Handle xfail- lines.  Update calls to compiletest and
2959         runtest.  Handle xfail- and optional- in headers listed with
2960         allow-header.
2961         * conform/data/fcntl.h-data (O_TTY_INIT): Use xfail-.
2962         (O_EXEC): Likewise.
2963         (O_SEARCH): Likewise.
2964         * conform/data/stropts.h-data (ioctl): Likewise.
2965         * conform/data/sys/ipc.h-data (ipc_perm.mode): Likewise.
2966         * conform/data/sys/sem.h-data (semid_ds.sem_nsems): Likewise.
2967         * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Likewise.
2968         (msghdr.msg_controllen): Likewise.
2969         (cmsghdr.cmsg_len): Likewise.
2970         * conform/data/utmpx.h-data (utmpx.ut_tv): Likewise.
2971         * conform/Makefile (test-xfail-XPG3/sys/ipc.h/conform): Remove
2972         variable.
2973         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
2974         (test-xfail-XPG4/stropts.h/conform): Likewise.
2975         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
2976         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
2977         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
2978         (test-xfail-UNIX98/stropts.h/conform): Likewise.
2979         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
2980         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
2981         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
2982         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
2983         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
2984         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
2985         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
2986         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
2987         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
2988         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
2989         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
2990         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
2991         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
2992         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
2993         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
2995 2015-06-19  Andrew Senkevich  <andrew.senkevich@intel.com>
2997         * sysdeps/ieee754/ldbl-opt/s_sin.c (__DECL_SIMD_sincos_disable,
2998         __DECL_SIMD_sincos_disablef, __DECL_SIMD_sincos_disablel): Added empty
2999         definitions for proper unfolding of __MATHDECL_VEC.
3001 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
3003         * benchtests/bench-strcoll.c:
3004         Include string.h.
3005         (main): Remove unused variable res.
3007 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
3009         * timezone/Makefile (%/UTC %/Universal):
3010         Generate test-result files for UTC and Universal.
3012 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
3014         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
3016 2015-06-18  Joseph Myers  <joseph@codesourcery.com>
3018         [BZ #16350]
3019         * sysdeps/i386/fpu/s_asinh.S (__asinh): Force underflow exception
3020         for arguments with small absolute value.
3021         * sysdeps/i386/fpu/s_asinhf.S (__asinhf): Likewise.
3022         * sysdeps/i386/fpu/s_asinhl.S (__asinhl): Likewise.
3023         * sysdeps/ieee754/dbl-64/s_asinh.c: Include <float.h>.
3024         (__asinh): Force underflow exception for arguments with small
3025         absolute value.
3026         * sysdeps/ieee754/flt-32/s_asinhf.c: Include <float.h>.
3027         (__asinhf): Force underflow exception for arguments with small
3028         absolute value.
3029         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Include <float.h>.
3030         (__asinhl): Force underflow exception for arguments with small
3031         absolute value.
3032         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Include <float.h>.
3033         (__asinhl): Force underflow exception for arguments with small
3034         absolute value.
3035         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Include <float.h>.
3036         (__asinhl): Force underflow exception for arguments with small
3037         absolute value.
3038         * math/auto-libm-test-in: Do not mark underflow exceptions as
3039         possibly missing for bug 16350.
3040         * math/auto-libm-test-out: Regenerated.
3042         * include/bits/ipc.h: Remove file.
3043         * conform/Makefile (test-xfail-XPG3/sys/msg.h/conform): Remove
3044         variable.
3045         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
3046         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
3047         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
3048         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
3049         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
3050         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
3051         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
3052         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
3053         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
3055         * math/auto-libm-test-in: Remove spurious underflow allowance for
3056         tests of cexp.
3057         * math/auto-libm-test-out: Regenerated.
3059         [BZ #18558]
3060         * sysdeps/unix/sysv/linux/bits/in.h (MCAST_JOIN_GROUP): Remove
3061         unconditional definition.
3062         (MCAST_BLOCK_SOURCE): Likewise.
3063         (MCAST_UNBLOCK_SOURCE): Likewise.
3064         (MCAST_LEAVE_GROUP): Likewise.
3065         (MCAST_JOIN_SOURCE_GROUP): Likewise.
3066         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
3067         (MCAST_MSFILTER): Likewise.
3068         * conform/Makefile (test-xfail-XOPEN2K/arpa/inet.h/conform):
3069         Remove variable.
3070         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
3071         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
3072         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
3073         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
3074         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
3076 2015-06-18  Andrew Senkevich  <andrew.senkevich@intel.com>
3078         * NEWS: Mention addition of x86_64 vector sincosf.
3079         * math/test-float-vlen16.h: Added wrapper for sincosf tests.
3080         * math/test-float-vlen4.h: Likewise.
3081         * math/test-float-vlen8.h: Likewise.
3082         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
3083         * sysdeps/x86/fpu/bits/math-vector.h: Added sincosf SIMD declaration.
3084         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
3085         * sysdeps/x86_64/fpu/Versions: New versions added.
3086         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
3087         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
3088         Added build of SSE, AVX2 and AVX512 IFUNC versions.
3089         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S
3090         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S
3091         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S
3092         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S
3093         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S
3094         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S
3095         * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S
3096         * sysdeps/x86_64/fpu/svml_s_sincosf4_core.S
3097         * sysdeps/x86_64/fpu/svml_s_sincosf8_core.S
3098         * sysdeps/x86_64/fpu/svml_s_sincosf8_core_avx.S
3099         * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: New file.
3100         * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: New file.
3101         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 3 argument wrappers.
3102         * sysdeps/x86_64/fpu/test-float-vlen16.c: : Vector sincosf tests.
3103         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
3104         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
3105         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
3106         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
3107         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
3108         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
3109         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
3111         * NEWS: Mention addition of x86_64 vector sincos.
3112         * bits/libm-simd-decl-stubs.h: Added stubs for sincos.
3113         * math/math.h (__MATHDECL_VEC): New macro.
3114         * math/bits/mathcalls.h: Added sincos declaration with __MATHDECL_VEC.
3115         * math/gen-libm-have-vector-test.sh: Added generation of sincos wrapper
3116         declaration under condition.
3117         * math/test-vec-loop.h (TEST_VEC_LOOP): Refactored.
3118         * math/test-double-vlen2.h: Added wrapper for sincos tests, reflected
3119         TEST_VEC_LOOP change.
3120         * math/test-double-vlen4.h: Likewise.
3121         * math/test-double-vlen8.h: Likewise.
3122         * math/test-float-vlen16.h: Reflected TEST_VEC_LOOP change.
3123         * math/test-float-vlen4.h: Likewise.
3124         * math/test-float-vlen8.h: Likewise.
3125         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
3126         * sysdeps/x86/fpu/bits/math-vector.h: Added sincos SIMD declaration.
3127         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
3128         * sysdeps/x86_64/fpu/Versions: New versions added.
3129         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
3130         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
3131         Added build of SSE, AVX2 and AVX512 IFUNC versions.
3132         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: New file.
3133         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: New file.
3134         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: New file.
3135         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: New file.
3136         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: New file.
3137         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: New file.
3138         * sysdeps/x86_64/fpu/svml_d_sincos2_core.S: New file.
3139         * sysdeps/x86_64/fpu/svml_d_sincos4_core.S: New file.
3140         * sysdeps/x86_64/fpu/svml_d_sincos4_core_avx.S: New file.
3141         * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: New file.
3142         * sysdeps/x86_64/fpu/svml_d_sincos_data.S: New file.
3143         * sysdeps/x86_64/fpu/svml_d_sincos_data.h: New file.
3144         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added wrappers for sincos.
3145         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Vector sincos tests.
3146         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
3147         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
3148         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
3149         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
3150         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
3151         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
3152         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
3154         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
3155         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
3156         redirections for powf.
3157         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
3158         * sysdeps/x86_64/fpu/Versions: New versions added.
3159         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
3160         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
3161         Added build of SSE, AVX2 and AVX512 IFUNC versions.
3162         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 2 argument wrappers.
3163         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: New file.
3164         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S: New file.
3165         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: New file.
3166         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S: New file.
3167         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: New file.
3168         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S: New file.
3169         * sysdeps/x86_64/fpu/svml_s_powf16_core.S: New file.
3170         * sysdeps/x86_64/fpu/svml_s_powf4_core.S: New file.
3171         * sysdeps/x86_64/fpu/svml_s_powf8_core.S: New file.
3172         * sysdeps/x86_64/fpu/svml_s_powf8_core_avx.S: New file.
3173         * sysdeps/x86_64/fpu/svml_s_powf_data.S: New file.
3174         * sysdeps/x86_64/fpu/svml_s_powf_data.h: New file.
3175         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector powf tests.
3176         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
3177         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
3178         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
3179         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
3180         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
3181         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
3182         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
3183         * math/test-float-vlen16.h: Fixed 2 argument macro.
3184         * math/test-float-vlen4.h: Likewise.
3185         * math/test-float-vlen8.h: Likewise.
3186         * NEWS: Mention addition of x86_64 vector powf.
3188 2015-06-17  Joseph Myers  <joseph@codesourcery.com>
3190         * math/s_ctanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
3191         and redefine.
3192         * math/s_ctanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
3193         and redefine.
3194         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c: Remove file.
3195         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
3196         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
3198         [BZ #18553]
3199         * resource/getpriority.c (getpriority): Rename to __getpriority
3200         and define as weak alias of __getpriority.
3201         * resource/setpriority.c (setpriority): Rename to __setpriority
3202         and define as weak alias of __setpriority.
3203         * sysdeps/mach/hurd/getpriority.c (getpriority): Rename to
3204         __getpriority and define as weak alias of __getpriority.
3205         * sysdeps/mach/hurd/setpriority.c (setpriority): Rename to
3206         __setpriority and define as weak alias of __setpriority.
3207         * sysdeps/unix/syscalls.list (getpriority): Use __getpriority as
3208         strong name.
3209         (setpriority): Use __setpriority as strong name.
3210         * sysdeps/unix/sysv/linux/getpriority.c (getpriority): Rename to
3211         __getpriority and define as weak alias of __getpriority.
3212         * include/sys/resource.h (__getpriority): Declare.  Use
3213         libc_hidden_proto.
3214         (__setpriority): Likewise.
3215         (getpriority): Don't use libc_hidden_proto.
3216         (setpriority): Likewise.
3217         * sysdeps/posix/nice.c (nice): Call __getpriority instead of
3218         getpriority.  Call __setpriority instead of setpriority.
3219         * conform/Makefile (test-xfail-XPG3/unistd.h/linknamespace):
3220         Remove variable.
3222         [BZ #18547]
3223         * misc/getttyent.c (getttynam): Rename to __getttynam and define
3224         as weak alias of __getttynam.  Use prototype function definition.
3225         Call __setttyent, __getttyent and __endttyent instead of
3226         setttyent, getttyent and endttyent.
3227         (getttyent): Rename to __getttyent and define as weak alias of
3228         __getttyent.  Call __setttyent instead of setttyent.  Call
3229         __fgets_unlocked instead of fgets_unlocked.
3230         (setttyent): Rename to __setttyent and define as weak alias of
3231         __setttyent.
3232         (endttyent): Rename to __endttyent and define as weak alias of
3233         __endttyent.
3234         * include/ttyent.h (__getttyent): Declare.  Use libc_hidden_proto.
3235         (__setttyent): Likewise.
3236         (__endttyent): Likewise.
3237         (getttyent): Don't use libc_hidden_proto.
3238         (setttyent): Likewise.
3239         (endttyent): Likewise.
3240         * misc/ttyslot.c (ttyslot): Call __setttyent, __getttyent and
3241         __endttyent instead of setttyent, getttyent and endttyent.
3242         * conform/Makefile (test-xfail-XPG4/unistd.h/linknamespace):
3243         Remove variable.
3245         [BZ #18546]
3246         * socket/recv.c (__recv): Use libc_hidden_def.
3247         * socket/socket.c (__socket): Likewise.
3248         * sysdeps/mach/hurd/recv.c (__recv): Likewise.
3249         * sysdeps/mach/hurd/socket.c (__socket): Likewise.
3250         * sysdeps/unix/sysv/linux/generic/recv.c (__recv): Likewise.
3251         * sysdeps/unix/sysv/linux/recv.c (__recv): Use libc_hidden_weak.
3252         * sysdeps/unix/sysv/linux/socket.c (__socket): Use
3253         libc_hidden_def.
3254         * sysdeps/unix/sysv/linux/x86_64/recv.c (__recv): Use
3255         libc_hidden_weak.
3256         * include/sys/socket.h (__socket): Do not use attribute_hidden.
3257         Use libc_hidden_proto.
3258         (__recv): Likewise.
3259         * socket/Versions (libc): Export __recv and __socket at version
3260         GLIBC_PRIVATE.
3261         * sysdeps/unix/sysv/linux/mq_notify.c (helper_thread): Call __recv
3262         instead of recv.
3263         (init_mq_netlink): Call __socket instead of socket.
3264         * conform/Makefile (test-xfail-POSIX/mqueue.h/linknamespace):
3265         Remove variable.
3267         [BZ #18545]
3268         * rt/mq_timedreceive.c (mq_timedreceive): Rename to
3269         __mq_timedreceive and define as alias of __mq_timedreceive.  Use
3270         hidden_weak.
3271         * rt/mq_timedsend.c (mq_timedsend): Rename to __mq_timedsend and
3272         define as alias of __mq_timedsend.  Use hidden_weak.
3273         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Use
3274         __mq_timedsend as strong name.
3275         (mq_timedreceive): Use __mq_timedreceive as strong name.
3276         * include/mqueue.h (__mq_timedsend): Declare.  Use hidden_proto.
3277         (__mq_timedreceive): Likewise.
3278         * sysdeps/unix/sysv/linux/mq_receive.c (mq_receive): Call
3279         __mq_timedreceive instead of mq_timedreceive.
3280         * sysdeps/unix/sysv/linux/mq_send.c (mq_send): Call __mq_timedsend
3281         instead of mq_timedsend.
3282         * conform/Makefile (test-xfail-UNIX98/mqueue.h/linknamespace):
3283         Remove variable.
3285         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Use
3286         hidden_def and hidden_weak instead of libc_hidden_def and
3287         libc_hidden_weak.
3288         (top level): Refer to hidden_def in comment.
3289         * sysdeps/unix/syscall-template.S (syscall_hidden_def): New
3290         macro.  Use it instead of libc_hidden_def.
3291         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Do not
3292         specify __GI_* name explicitly.
3293         (mq_timedreceive): Likewise.
3294         (mq_setattr): Likewise.
3296         [BZ #18544]
3297         * nptl/pthread_barrier_init.c (pthread_barrier_init): Rename to
3298         __pthread_barrier_init and define as weak alias of
3299         __pthread_barrier_init.
3300         * sysdeps/sparc/nptl/pthread_barrier_init.c
3301         (pthread_barrier_init): Likewise.
3302         * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Rename to
3303         __pthread_barrier_wait and define as weak alias of
3304         __pthread_barrier_wait.
3305         * sysdeps/sparc/nptl/pthread_barrier_wait.c
3306         (pthread_barrier_wait): Likewise.
3307         * sysdeps/sparc/sparc32/pthread_barrier_wait.c
3308         (pthread_barrier_wait): Likewise.
3309         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S
3310         (pthread_barrier_wait): Likewise.
3311         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S
3312         (pthread_barrier_wait): Likewise.
3313         * nptl/Versions (libpthread): Export __pthread_barrier_init and
3314         __pthread_barrier_wait at version GLIBC_PRIVATE.
3315         * include/pthread.h (__pthread_barrier_init): Declare.
3316         (__pthread_barrier_wait): Likewise.
3317         * sysdeps/unix/sysv/linux/mq_notify.c (notification_function):
3318         Call __pthread_barrier_wait instead of pthread_barrier_wait.
3319         (helper_thread): Likewise.
3320         (init_mq_netlink): Call __pthread_barrier_init instead of
3321         pthread_barrier_init.
3323         [BZ #18542]
3324         * libio/iovswscanf.c (__vswscanf): Use libc_hidden_def.
3325         (vswscanf): Use ldbl_weak_alias instead of ldbl_strong_alias
3326         * include/wchar.h (__vswscanf): Declare.  Use libc_hidden_proto.
3327         * libio/swscanf.c (__swscanf): Call __vswscanf instead of
3328         vswscanf.
3329         * conform/Makefile (test-xfail-UNIX98/wchar.h/linknamespace):
3330         Remove variable.
3332         [BZ #18540]
3333         * libio/iofflush.c [!_IO_MTSAFE_IO] (__fflush_unlocked): Define as
3334         strong alias of _IO_fflush.  Use libc_hidden_def.
3335         * libio/iofflush_u.c (fflush_unlocked): Rename to
3336         __fflush_unlocked and define as weak alias of __fflush_unlocked.
3337         Use libc_hidden_weak.
3338         * include/stdio.h (__fflush_unlocked): Declare.  Use
3339         libc_hidden_proto.
3340         * misc/getpass.c (getpass): Call __fflush_unlocked instead of
3341         fflush_unlocked.
3342         * conform/Makefile (test-xfail-UNIX98/unistd.h/linknamespace):
3343         Remove variable.
3345         [BZ #18539]
3346         * stdlib/fmtmsg.c (addseverity): Rename to __addseverity and
3347         define as weak alias of __addseverity.
3348         * conform/Makefile (test-xfail-XPG4/fmtmsg.h/linknamespace):
3349         Remove variable.
3350         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
3351         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
3352         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
3354         [BZ #18536]
3355         * misc/tsearch.c (__tsearch): Use libc_hidden_def.
3356         (__tfind): Likewise.
3357         (__tdelete): Likewise.
3358         (__twalk): Likewise.
3359         * misc/Versions (libc): Add __tdelete, __tfind, __tsearch and
3360         __twalk to GLIBC_PRIVATE.
3361         * include/search.h (__tsearch): Use libc_hidden_proto.
3362         (__tfind): Likewise.
3363         (__tdelete): Likewise.
3364         (__twalk): Likewise.
3365         * nptl/sem_close.c (sem_close): Call __twalk instead of twalk.
3366         Call __tdelete instead of tdelete.
3367         * nptl/sem_open.c (check_add_mapping): Call __tfind instead of
3368         tfind.  Call __tsearch instead of tsearch.
3369         * sysdeps/sparc/sparc32/sem_open.c (check_add_mapping): Likewise.
3370         * conform/Makefile (test-xfail-POSIX/semaphore.h/linknamespace):
3371         Remove variable.
3372         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
3374         [BZ #18534]
3375         * stdio-common/dprintf.c (__dprintf): Use libc_hidden_def.
3376         (dprintf): Define as a weak alias of __dprintf, not a strong
3377         alias.
3378         * include/stdio.h (__dprintf): Declare.  Use libc_hidden_proto.
3379         * misc/syslog.c (__vsyslog_chk): Call __dprintf instead of
3380         dprintf.
3381         * conform/Makefile (test-xfail-XPG4/syslog.h/linknamespace):
3382         Remove variable.
3383         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
3384         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
3386         [BZ #18533]
3387         * misc/syslog.c (vsyslog): Define as a weak alias of __vsyslog,
3388         not a strong alias.
3389         * conform/Makefile (test-xfail-XOPEN2K8/syslog.h/linknamespace):
3390         Remove variable.
3392         [BZ #18532]
3393         * inet/in6_addr.c (in6addr_any): Rename to __in6addr_any and
3394         define as weak alias of __in6addr_any.  Use libc_hidden_data_weak.
3395         (in6addr_loopback): Rename to __in6addr_loopback and define as
3396         weak alias of __in6addr_loopback.  Use libc_hidden_data_weak.
3397         * include/netinet/in.h (__in6addr_loopback): Declare.  Use
3398         libc_hidden_proto.
3399         (__in6addr_any): Likewise.
3400         * inet/gethstbyad_r.c (PREPROCESS): Use __in6addr_any instead of
3401         in6addr_any.
3402         * conform/Makefile (test-xfail-XPG4/netdb.h/linknamespace): Remove
3403         variable.
3404         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
3406 2015-06-17  Andrew Senkevich  <andrew.senkevich@intel.com>
3408         * bits/libm-simd-decl-stubs.h: Added stubs for pow.
3409         * math/bits/mathcalls.h: Added pow declaration with __MATHCALL_VEC.
3410         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
3411         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
3412         redirections for pow.
3413         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
3414         * sysdeps/x86_64/fpu/Versions: New versions added.
3415         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
3416         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
3417         build of SSE, AVX2 and AVX512 IFUNC versions.
3418         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added 2 argument wrappers.
3419         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: New file.
3420         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S: New file.
3421         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: New file.
3422         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S: New file.
3423         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: New file.
3424         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S: New file.
3425         * sysdeps/x86_64/fpu/svml_d_pow2_core.S: New file.
3426         * sysdeps/x86_64/fpu/svml_d_pow4_core.S: New file.
3427         * sysdeps/x86_64/fpu/svml_d_pow4_core_avx.S: New file.
3428         * sysdeps/x86_64/fpu/svml_d_pow8_core.S: New file.
3429         * sysdeps/x86_64/fpu/svml_d_pow_data.S: New file.
3430         * sysdeps/x86_64/fpu/svml_d_pow_data.h: New file.
3431         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector pow test.
3432         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
3433         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
3434         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
3435         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
3436         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
3437         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
3438         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
3439         * NEWS: Mention addition of x86_64 vector pow.
3441         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
3442         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
3443         redirections for expf.
3444         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
3445         * sysdeps/x86_64/fpu/Versions: New versions added.
3446         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
3447         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
3448         build of SSE, AVX2 and AVX512 IFUNC versions.
3449         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: New file.
3450         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: New file.
3451         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: New file.
3452         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S: New file.
3453         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: New file.
3454         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S: New file.
3455         * sysdeps/x86_64/fpu/svml_s_expf16_core.S: New file.
3456         * sysdeps/x86_64/fpu/svml_s_expf4_core.S: New file.
3457         * sysdeps/x86_64/fpu/svml_s_expf8_core.S: New file.
3458         * sysdeps/x86_64/fpu/svml_s_expf8_core_avx.S: New file.
3459         * sysdeps/x86_64/fpu/svml_s_expf_data.S: New file.
3460         * sysdeps/x86_64/fpu/svml_s_expf_data.h: New file.
3461         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector expf tests.
3462         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
3463         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
3464         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
3465         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
3466         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
3467         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
3468         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
3469         * NEWS: Mention addition of x86_64 vector expf.
3471         * bits/libm-simd-decl-stubs.h: Added stubs for exp.
3472         * math/bits/mathcalls.h: Added exp declaration with __MATHCALL_VEC.
3473         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
3474         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
3475         redirections for exp.
3476         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
3477         * sysdeps/x86_64/fpu/Versions: New versions added.
3478         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
3479         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
3480         build of SSE, AVX2 and AVX512 IFUNC versions.
3481         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: New file.
3482         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S: New file.
3483         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: New file.
3484         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S: New file.
3485         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: New file.
3486         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S: New file.
3487         * sysdeps/x86_64/fpu/svml_d_exp2_core.S: New file.
3488         * sysdeps/x86_64/fpu/svml_d_exp4_core.S: New file.
3489         * sysdeps/x86_64/fpu/svml_d_exp4_core_avx.S: New file.
3490         * sysdeps/x86_64/fpu/svml_d_exp8_core.S: New file.
3491         * sysdeps/x86_64/fpu/svml_d_exp_data.S: New file.
3492         * sysdeps/x86_64/fpu/svml_d_exp_data.h: New file.
3493         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector exp test.
3494         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
3495         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
3496         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
3497         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
3498         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
3499         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
3500         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
3501         * NEWS: Mention addition of x86_64 vector exp.
3503         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
3504         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
3505         redirections for logf.
3506         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
3507         * sysdeps/x86_64/fpu/Versions: New versions added.
3508         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
3509         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
3510         build of SSE, AVX2 and AVX512 IFUNC versions.
3511         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: New file.
3512         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S: New file.
3513         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: New file.
3514         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S: New file.
3515         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: New file.
3516         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S: New file.
3517         * sysdeps/x86_64/fpu/svml_s_logf16_core.S: New file.
3518         * sysdeps/x86_64/fpu/svml_s_logf4_core.S: New file.
3519         * sysdeps/x86_64/fpu/svml_s_logf8_core.S: New file.
3520         * sysdeps/x86_64/fpu/svml_s_logf8_core_avx.S: New file.
3521         * sysdeps/x86_64/fpu/svml_s_logf_data.S: New file.
3522         * sysdeps/x86_64/fpu/svml_s_logf_data.h: New file.
3523         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector logf tests.
3524         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
3525         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
3526         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
3527         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
3528         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
3529         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
3530         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
3531         * NEWS: Mention addition of x86_64 vector logf.
3533         * bits/libm-simd-decl-stubs.h: Added stubs for log.
3534         * math/bits/mathcalls.h: Added log declaration with __MATHCALL_VEC.
3535         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
3536         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
3537         redirections for log.
3538         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
3539         * sysdeps/x86_64/fpu/Versions: New versions added.
3540         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
3541         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
3542         build of SSE, AVX2 and AVX512 IFUNC versions.
3543         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: New file.
3544         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S: New file.
3545         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: New file.
3546         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S: New file.
3547         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: New file.
3548         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S: New file.
3549         * sysdeps/x86_64/fpu/svml_d_log2_core.S: New file.
3550         * sysdeps/x86_64/fpu/svml_d_log4_core.S: New file.
3551         * sysdeps/x86_64/fpu/svml_d_log4_core_avx.S: New file.
3552         * sysdeps/x86_64/fpu/svml_d_log8_core.S: New file.
3553         * sysdeps/x86_64/fpu/svml_d_log_data.S: New file.
3554         * sysdeps/x86_64/fpu/svml_d_log_data.h: New file.
3555         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector log
3556         test.
3557         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
3558         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
3559         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
3560         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
3561         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
3562         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
3563         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
3564         * NEWS: Mention addition of x86_64 vector log.
3566 2015-06-17  Szabolcs Nagy  <szabolcs.nagy@arm.com>
3568         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Fix
3569         cfi_adjust_cfa_offset argument.
3570         (_dl_tlsdesc_undefweak, _dl_tlsdesc_dynamic): Likewise.
3571         (_dl_tlsdesc_resolve_rela, _dl_tlsdesc_resolve_hold): Likewise.
3573         [BZ #18034]
3574         * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_return_lazy): Declare.
3575         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Define.
3576         (_dl_tlsdesc_undefweak): Guarantee TLSDESC entry and argument load-load
3577         ordering using ldar.
3578         (_dl_tlsdesc_dynamic): Likewise.
3579         (_dl_tlsdesc_return_lazy): Likewise.
3580         * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_resolve_rela_fixup): Use
3581         relaxed atomics instead of volatile and synchronize with release store.
3582         (_dl_tlsdesc_resolve_hold_fixup): Use relaxed atomics instead of
3583         volatile.
3584         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
3586 2015-06-15  Andrew Senkevich  <andrew.senkevich@intel.com>
3588         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
3589         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for sinf.
3590         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
3591         * sysdeps/x86_64/fpu/Versions: New versions added.
3592         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
3593         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
3594         build of SSE, AVX2 and AVX512 IFUNC versions.
3595         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: New file.
3596         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: New file.
3597         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: New file.
3598         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: New file.
3599         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: New file.
3600         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: New file.
3601         * sysdeps/x86_64/fpu/svml_s_sinf16_core.S: New file.
3602         * sysdeps/x86_64/fpu/svml_s_sinf4_core.S: New file.
3603         * sysdeps/x86_64/fpu/svml_s_sinf8_core.S: New file.
3604         * sysdeps/x86_64/fpu/svml_s_sinf8_core_avx.S: New file.
3605         * sysdeps/x86_64/fpu/svml_s_sinf_data.S: New file.
3606         * sysdeps/x86_64/fpu/svml_s_sinf_data.h: New file.
3607         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector sinf tests.
3608         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
3609         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
3610         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
3611         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
3612         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
3613         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
3614         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
3615         * NEWS: Mention addition of x86_64 vector sinf.
3617 2015-06-14  Joseph Myers  <joseph@codesourcery.com>
3619         * conform/list-header-symbols.pl (%extra_syms): Add in6addr_any
3620         and in6addr_loopback for XOPEN2K, XOPEN2K8 and POSIX2008.
3621         * conform/Makefile (test-xfail-XOPEN2K/netdb.h/linknamespace):
3622         Remove variable.
3623         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
3624         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
3626 2015-06-12  Joseph Myers  <joseph@codesourcery.com>
3628         [BZ #18530]
3629         * libio/iofputs.c [!_IO_MTSAFE_IO] (__fputs_unlocked): Define as
3630         strong alias of _IO_fputs.  Use libc_hidden_def.
3631         * libio/iofputs_u.c (fputs_unlocked): Rename to __fputs_unlocked
3632         and define as weak alias of __fputs_unlocked.  Use
3633         libc_hidden_weak.
3634         * include/stdio.h (__fputs_unlocked): Declare.  Use
3635         libc_hidden_proto.
3636         * misc/syslog.c (__vsyslog_chk): Call __fputs_unlocked instead of
3637         fputs_unlocked.
3639         [BZ #18529]
3640         * resolv/netdb.h [__USE_POSIX]: Change condition to
3641         [__USE_XOPEN2K].
3642         * conform/data/netdb.h-data [XPG4 || UNIX98] (struct addrinfo): Do
3643         not expect.
3644         [XPG4 || UNIX98] (AI_PASSIVE): Likewise.
3645         [XPG4 || UNIX98] (AI_CANONNAME): Likewise.
3646         [XPG4 || UNIX98] (AI_NUMERICHOST): Likewise.
3647         [XPG4 || UNIX98] (AI_V4MAPPED): Likewise.
3648         [XPG4 || UNIX98] (AI_ALL): Likewise.
3649         [XPG4 || UNIX98] (AI_ADDRCONFIG): Likewise.
3650         [XPG4 || UNIX98] (AI_NUMERICSERV): Likewise.
3651         [XPG4 || UNIX98] (NI_NOFQDN): Likewise.
3652         [XPG4 || UNIX98] (NI_NUMERICHOST): Likewise.
3653         [XPG4 || UNIX98] (NI_NAMEREQD): Likewise.
3654         [XPG4 || UNIX98] (NI_NUMERICSERV): Likewise.
3655         [XPG4 || UNIX98] (NI_DGRAM): Likewise.
3656         [XPG4 || UNIX98] (EAI_AGAIN): Likewise.
3657         [XPG4 || UNIX98] (EAI_BADFLAGS): Likewise.
3658         [XPG4 || UNIX98] (EAI_FAIL): Likewise.
3659         [XPG4 || UNIX98] (EAI_FAMILY): Likewise.
3660         [XPG4 || UNIX98] (EAI_MEMORY): Likewise.
3661         [XPG4 || UNIX98] (EAI_NONAME): Likewise.
3662         [XPG4 || UNIX98] (EAI_SERVICE): Likewise.
3663         [XPG4 || UNIX98] (EAI_SOCKTYPE): Likewise.
3664         [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
3665         [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
3666         [XPG4 || UNIX98] (freeaddrinfo): Likewise.
3667         [XPG4 || UNIX98] (gai_strerror): Likewise.
3668         [XPG4 || UNIX98] (getaddrinfo): Likewise.
3669         [XPG4 || UNIX98] (getnameinfo): Likewise.
3671         [BZ #18528]
3672         * grp/grp.h (endgrent): Condition on [__USE_MISC ||
3673         __USE_XOPEN_EXTENDED], not [__USE_XOPEN_EXTENDED ||
3674         __USE_XOPEN2K8].
3675         (getgrent): Likewise.
3676         * conform/data/grp.h-data [XPG3 || POSIX2008] (getgrent): Do not
3677         expect.
3678         [XPG3 || POSIX2008] (endgrent): Likewise.
3679         [XPG3] (setgrent): Likewise.
3680         * conform/Makefile (test-xfail-XPG3/grp.h/conform): Remove
3681         variable.
3682         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
3684         [BZ #18527]
3685         * login/getlogin_r.c (getlogin_r): Rename to __getlogin_r and
3686         define as weak alias of __getlogin_r.  Use libc_hidden_weak.
3687         * sysdeps/mach/hurd/getlogin_r.c (getlogin_r): Likewise.
3688         * sysdeps/unix/getlogin_r.c (getlogin_r): Likewise.
3689         * sysdeps/unix/sysv/linux/getlogin_r.c (getlogin_r): Likewise.
3690         * include/unistd.h (__getlogin_r): Declare.  Use
3691         libc_hidden_proto.
3692         * posix/glob.c (glob): Call __getlogin_r instead of getlogin_r.
3693         * conform/Makefile (test-xfail-XPG3/glob.h/linknamespace): Remove
3694         variable.
3695         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
3696         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
3697         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
3699 2015-06-12  Martin Sebor  <msebor@redhat.com>
3701         [BZ #18512]
3702         * Makerules (check-install-supported): New target.
3703         (install): Add check-install-supported as a dependency.
3704         * manual/install.texi (Installing the C Library): Document
3705         that overriding prefix and exec_prefix is not supported.
3706         Mention DESTDIR.
3707         * INSTALL: Regenerate from the above.
3709 2015-06-12  Joseph Myers  <joseph@codesourcery.com>
3711         [BZ #18519]
3712         * posix/Versions (libc): Export __libc_pread at version
3713         GLIBC_PRIVATE.
3714         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Call __libc_pread
3715         instead of pread.
3716         * conform/Makefile (test-xfail-POSIX/aio.h/linknamespace): Remove
3717         variable.
3719         [BZ #18522]
3720         * misc/efgcvt_r.c
3721         [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0) && !LONG_DOUBLE_CVT]
3722         (cvt_symbol): Use weak_alias instead of strong_alias.
3723         [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0)] (cvt_symbol): Likewise.
3724         * conform/Makefile (test-xfail-XPG4/stdlib.h/linknamespace):
3725         Remove variable.
3726         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
3727         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
3729         [BZ #18520]
3730         * inet/herrno.c (h_errno): Rename to __h_errno.
3731         (__libc_h_errno): Define as alias of __h_errno not h_errno.
3732         * include/netdb.h [IS_IN_LIB && !IS_IN (libc)] (h_errno): Define
3733         to __h_errno instead of h_errno.
3734         * nptl/herrno.c (h_errno): Rename to __h_errno.
3735         (__h_errno_location): Refer to __h_errno not h_errno.
3736         * resolv/Versions (h_errno): Rename to __h_errno.
3737         * conform/Makefile (test-xfail-XOPEN2K8/grp.h/linknamespace):
3738         Remove variable.
3739         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
3741 2015-06-11  Andrew Senkevich  <andrew.senkevich@intel.com>
3743         * configure.ac: More strict check for AVX512 assembler support.
3744         * configure: Regenerated.
3746         * bits/libm-simd-decl-stubs.h: Added stubs for sin.
3747         * math/bits/mathcalls.h: Added sin declaration with __MATHCALL_VEC.
3748         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
3749         * sysdeps/x86/fpu/bits/math-vector.h: SIMD declaration for sin.
3750         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
3751         * sysdeps/x86_64/fpu/Versions: New versions added.
3752         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
3753         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
3754         Added build of SSE, AVX2 and AVX512 IFUNC versions.
3755         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: New file.
3756         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: New file.
3757         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: New file.
3758         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: New file.
3759         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: New file.
3760         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: New file.
3761         * sysdeps/x86_64/fpu/svml_d_sin2_core.S: New file.
3762         * sysdeps/x86_64/fpu/svml_d_sin4_core.S: New file.
3763         * sysdeps/x86_64/fpu/svml_d_sin4_core_avx.S: New file.
3764         * sysdeps/x86_64/fpu/svml_d_sin8_core.S: New file.
3765         * sysdeps/x86_64/fpu/svml_d_sin_data.S: New file.
3766         * sysdeps/x86_64/fpu/svml_d_sin_data.h: New file.
3767         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector sin
3768         test.
3769         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
3770         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
3771         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
3772         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
3773         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
3774         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
3775         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
3776         * NEWS: Mention addition of x86_64 vector sin.
3778 2015-06-11  Florian Weimer  <fweimer@redhat.com>
3780         * nptl/pthread_key_create.c (__pthread_key_create): Fix typo in
3781         comment.
3783 2015-06-10  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
3785         [BZ #18479]
3786         * nptl/pt-interp.c: New file.
3787         * nptl/Makefile (libpthread-routines, libpthread-shared-only-routines):
3788         Add pt-interp.
3789         [[$(build-shared) = yes] ($(objpfx)pt-interp.os): Depend on
3790         $(common-objpfx)runtime-linker.h.
3792 2015-06-10  Dmitry V. Levin  <ldv@altlinux.org>
3794         * Makeconfig (+interp): Remove unused variable.
3795         * elf/Makefile ($(objpfx)interp.os): Define for [$(build-shared) = yes]
3796         only.  Depend on $(common-objpfx)runtime-linker.h instead of
3797         $(elf-objpfx)runtime-linker.h.
3798         ($(elf-objpfx)runtime-linker.h): Rename to
3799         $(common-objpfx)runtime-linker.h and move ...
3800         * Makerules [$(build-shared) = yes]: ... here.
3801         * elf/interp.c: Include <runtime-linker.h> instead of
3802         <elf/runtime-linker.h>.
3804 2015-06-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3806         * sysdeps/unix/sysv/linux/i386/gettimeofday.c
3807         (__gettimeofday_syscall): Remove vsyscall fallback.
3808         * sysdeps/unix/sysv/linux/i386/time.c (__time_syscall): Likewise.
3809         * sysdeps/unix/sysv/linux/x86/gettimeofday.c (__gettimeofday_syscall):
3810         Add syscall fallback function.
3811         (gettimeofday_ifunc): Use __gettimeofday_syscall as fallback mechanism
3812         if vDSO is not present.
3813         * sysdeps/unix/sysv/linux/x86/time.c (__time_syscall): Add syscall
3814         fallback function.
3815         (time_ifunc): Use __time_syscall as fallback mechanism if vDSO is not
3816         present.
3817         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Remove file.
3818         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
3820 2015-06-09  Joseph Myers  <joseph@codesourcery.com>
3822         [BZ #18497]
3823         * wcsmbs/wcscmp.c [!WCSCMP] (WCSCMP): Define as __wcscmp instead
3824         of wcscmp.
3825         (wcscmp): Define as weak alias of WCSCMP.
3826         * wcsmbs/wcscoll.c (STRCOLL): Define as __wcscoll instead of
3827         wcscoll.
3828         (USE_HIDDEN_DEF): Define.
3829         [!USE_IN_EXTENDED_LOCALE_MODEL] (wcscoll): Define as weak alias of
3830         __wcscoll.  Don't use libc_hidden_weak.
3831         * wcsmbs/wcscoll_l.c (STRCMP): Define as __wcscmp instead of
3832         wcscmp.
3833         * sysdeps/i386/i686/multiarch/wcscmp-c.c
3834         [SHARED] (libc_hidden_def): Define __GI___wcscmp instead of
3835         __GI_wcscmp.
3836         (weak_alias): Undefine and redefine.
3837         * sysdeps/i386/i686/multiarch/wcscmp.S (wcscmp): Rename to
3838         __wcscmp and define as weak alias of __wcscmp.
3839         * sysdeps/x86_64/wcscmp.S (wcscmp): Likewise.
3840         * include/wchar.h (__wcscmp): Declare.  Use libc_hidden_proto.
3841         (__wcscoll): Likewise.
3842         (wcscmp): Don't use libc_hidden_proto.
3843         (wcscoll): Likewise.
3844         * posix/regcomp.c (build_range_exp): Call __wcscoll instead of
3845         wcscoll.
3846         * posix/regexec.c (check_node_accept_bytes): Likewise.
3847         * conform/Makefile (test-xfail-XPG3/regex.h/linknamespace): Remove
3848         variable.
3849         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
3850         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
3852         [BZ #18507]
3853         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs): Rename to
3854         __fstatvfs and define as weak alias of __fstatvfs.  Use
3855         libc_hidden_weak.
3856         * sysdeps/unix/sysv/linux/statvfs.c (statvs): Rename to __statvfs
3857         and define as weak alias of __statvfs.  Use libc_hidden_weak.
3858         * sysdeps/unix/sysv/linux/wordsize-64/fstatvfs.c (__fstatvfs64):
3859         Define as alias of __fstatvfs, not fstatvfs.
3860         (fstatvfs64): Likewise.
3861         * sysdeps/unix/sysv/linux/wordsize-64/statvfs.c (__statvfs64):
3862         Define as alias of __statvfs, not statvfs.
3863         (statvfs64): Likewise.
3864         * conform/Makefile (test-xfail-POSIX/unistd.h/linknamespace):
3865         Remove variable.
3867 2015-06-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3869         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
3870         (HAVE_GETCPU_VSYSCALL): Define.
3871         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
3872         (HAVE_GETCPU_VSYSCALL): Likewise.
3873         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Remove file.
3874         * sysdeps/unix/sysv/linux/sched_getcpu.c
3875         (HAVE_VSYSCALL) [HAVE_GETCPU_VSYSCALL]: Define.
3876         (sched_getcpu): Use INLINE_VSYSCALL instead of INLINE_SYSCALL.
3877         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (getcpu): Add vDSO
3878         prototype.
3879         * sysdeps/unix/sysv/linux/x86_64/init-first.c
3880         (__vdso_platform_setup): Remove vsyscall getcpu fallback.
3881         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Remove file.
3882         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (HAVE_GETCPU_VSYSCALL):
3883         Define.
3884         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: Remove file.
3885         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
3886         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c: Likewise.
3887         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
3889 2015-06-09  Andrew Senkevich  <andrew.senkevich@intel.com>
3891         * sysdeps/x86_64/fpu/Makefile: New file.
3892         * sysdeps/x86_64/fpu/Versions: New file.
3893         * sysdeps/x86_64/fpu/svml_d_cos_data.S: New file.
3894         * sysdeps/x86_64/fpu/svml_d_cos_data.h: New file.
3895         * sysdeps/x86_64/fpu/svml_d_cos2_core.S: New file.
3896         * sysdeps/x86_64/fpu/svml_d_cos4_core.S: New file.
3897         * sysdeps/x86_64/fpu/svml_d_cos4_core_avx.S: New file.
3898         * sysdeps/x86_64/fpu/svml_d_cos8_core.S: New file.
3899         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: New file.
3900         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: New file.
3901         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: New file.
3902         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: New file.
3903         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: New file.
3904         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: New file.
3905         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: New file.
3906         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
3907         Added build of SSE, AVX2 and AVX512 IFUNC versions.
3908         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cos.
3909         * math/bits/mathcalls.h: Added cos declaration with __MATHCALL_VEC.
3910         * sysdeps/x86_64/configure.ac: Options for libmvec build.
3911         * sysdeps/x86_64/configure: Regenerated.
3912         * sysdeps/x86_64/sysdep.h (cfi_offset_rel_rsp): New macro.
3913         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New file.
3914         * manual/install.texi (Configuring and compiling): Document
3915         --disable-mathvec.
3916         * INSTALL: Regenerated.
3917         * NEWS: Mention addition of libmvec and x86_64 vector cos.
3919         * math/Makefile: Added rules for vector tests.
3920         * math/gen-libm-have-vector-test.sh: Added generation of wrapper
3921         declaration under condition.
3922         * math/test-double-vlen2.h: New file.
3923         * math/test-double-vlen4.h: New file.
3924         * math/test-double-vlen8.h: New file.
3925         * math/test-vec-loop.h: Added initialization macro.
3926         * sysdeps/x86_64/fpu/Makefile: Added variables for vector tests.
3927         * sysdeps/x86_64/fpu/libm-test-ulps: Regenarated.
3928         * sysdeps/x86_64/fpu/math-tests-arch.h: New file.
3929         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: New file.
3930         * sysdeps/x86_64/fpu/test-double-vlen2.c: New file.
3931         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: New file.
3932         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: New file.
3933         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: New file.
3934         * sysdeps/x86_64/fpu/test-double-vlen4.c: New file.
3935         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: New file.
3936         * sysdeps/x86_64/fpu/test-double-vlen8.c: New file.
3938         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
3939         * sysdeps/x86_64/fpu/Versions: New versions added.
3940         * sysdeps/x86_64/fpu/svml_s_cosf4_core.S: New file.
3941         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: New file.
3942         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: New file.
3943         * sysdeps/x86_64/fpu/svml_s_cosf8_core_avx.S: New file.
3944         * sysdeps/x86_64/fpu/svml_s_cosf8_core.S: New file.
3945         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: New file.
3946         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: New file.
3947         * sysdeps/x86_64/fpu/svml_s_cosf16_core.S: New file.
3948         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: New file.
3949         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: New file.
3950         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: New file.
3951         * sysdeps/x86_64/fpu/svml_s_cosf_data.S: New file.
3952         * sysdeps/x86_64/fpu/svml_s_cosf_data.h: New file.
3953         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
3954         Added build of SSE, AVX2 and AVX512 IFUNC versions.
3955         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
3956         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cosf.
3957         * NEWS: Mention addition of x86_64 vector cosf.
3959         * math/Makefile: Added CFLAGS for new tests.
3960         * math/test-float-vlen16.h: New file.
3961         * math/test-float-vlen4.h: New file.
3962         * math/test-float-vlen8.h: New file.
3963         * math/test-double-vlen2.h: Fixed 2 argument macro and comment.
3964         * sysdeps/x86_64/fpu/Makefile: Added new tests and variables.
3965         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
3966         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: New file.
3967         * sysdeps/x86_64/fpu/test-float-vlen16.c: New file.
3968         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: New file.
3969         * sysdeps/x86_64/fpu/test-float-vlen4.c: New file.
3970         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: New file.
3971         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: New file.
3972         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: New file.
3973         * sysdeps/x86_64/fpu/test-float-vlen8.c: New file.
3975 2015-06-09 Marko Myllynen  <myllynen@redhat.com>
3977         * locale/C-ctype.c (PREDEFINED_CLASSES): Remove.
3978         * locale/programs/ld-ctype.c: Likewise.
3980 2015-06-08  Andrew Senkevich  <andrew.senkevich@intel.com>
3982         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX512F_Usable,
3983         bit_AVX512DQ_Usable, bit_Opmask_state, bit_ZMM0_15_state,
3984         bit_ZMM16_31_state): New macro.
3985         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
3986         Check and set bit_AVX512F_Usable, bit_AVX512DQ_Usable.
3988 2015-06-08  Joseph Myers  <joseph@codesourcery.com>
3990         * include/stdio.h (__open_memstream): Say "C++ tests" in comment.
3992 2015-06-06  Justus Winter  <4winter@informatik.uni-hamburg.de>
3994         * mach/mach/mach_traps.h (thread_switch): Fix typo in comment.
3996 2015-06-05  Joseph Myers  <joseph@codesourcery.com>
3998         [BZ #18498]
3999         * libio/memstream.c (open_memstream): Rename to __open_memstream
4000         and define as weak alias of __open_memstream.
4001         * include/stdio.h (__open_memstream): Declare.  Use
4002         libc_hidden_proto.
4003         (open_memstream): Don't use libc_hidden_proto.
4004         * misc/syslog.c (__vsyslog_chk): Call __open_memstream instead of
4005         open_memstream.
4006         * posix/getopt.c (_getopt_internal_r): Likewise.
4007         * conform/Makefile (test-xfail-XPG3/stdio.h/linknamespace): Remove
4008         variable.
4009         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
4010         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
4011         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
4013         [BZ #18496]
4014         * posix/regex_internal.c (build_wcs_upper_buffer): Call __wcrtomb
4015         instead of wcrtomb.
4017         [BZ #18483]
4018         * signal/signal.h [__USE_XOPEN2K] (psignal): Change condition to
4019         [__USE_XOPEN2K8].  Remove redundant #endif.
4020         [__USE_XOPEN2K] (psiginfo): Change condition to [__USE_XOPEN2K8].
4021         Remove redundant #if.
4022         * conform/Makefile (test-xfail-XOPEN2K/signal.h/linknamespace):
4023         Remove variable.
4024         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
4025         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
4027         [BZ #18495]
4028         * wctype/wcfuncs.c (__iswalnum): Use libc_hidden_def.
4029         (__iswlower): Likewise.
4030         * include/wctype.h (__iswalnum): Declare.  Use libc_hidden_proto.
4031         (__iswlower): Likewise.
4032         * posix/regcomp.c (re_compile_fastmap_iter): Call __towlower
4033         instead of towlower.
4034         * posix/regex_internal.c (build_wcs_upper_buffer): Call __iswlower
4035         instead of iswlower.  Call __towupper instead of towupper.
4036         * posix/regex_internal.h (IS_WIDE_WORD_CHAR): Call __iswalnum
4037         instead of iswalnum.
4039 2015-06-05  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
4041         * malloc/tst-malloc-backtrace.c (do_test): Redirect libc fatal
4042         errors to stderr.
4044 2015-06-05  Florian Weimer  <fweimer@redhat.com>
4046         [BZ #15661]
4047         [BZ #17322]
4048         * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
4049         Check for overflow properly.  Check for O_APPEND.  Ignore large
4050         file system block sizes.  Add comments about problems.
4051         * sysdeps/posix/posix_fallocate.c (posix_fallocate): Likewise.
4052         * manual/filesys.texi (Storage Allocation): New node.
4054 2015-06-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4056         * sysdeps/unix/sysdep.h [SYSCALL_CANCEL]: New macro: define
4057         cancellable syscalls.
4058         (SYS_ify): Add guard to no redefine it.
4059         (INLINE_SYSCALL): Likewise.
4060         * sysdeps/unix/sysv/linux/accept4.c (accept4): Remove
4061         LIBC_CANCEL_ASYNC/INLINE_SYSCALL/LIBC_CANCEL_RESET and use
4062         SYSCALL_CANCEL instead.
4063         * sysdeps/unix/sysv/linux/alpha/fdatasync.c (__fdatasync): Likewise.
4064         * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
4065         * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
4066         * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
4067         * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
4068         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Likewise.
4069         * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Likewise.
4070         * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Likewise.
4071         * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
4072         * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
4073         * sysdeps/unix/sysv/linux/generic/pause.c (__libc_pause): Likewise.
4074         * sysdeps/unix/sysv/linux/generic/poll.c (__poll): Likewise.
4075         * sysdeps/unix/sysv/linux/generic/recv.c (__libc_recv): Likewise.
4076         * sysdeps/unix/sysv/linux/generic/select.c (__select): Likewise.
4077         * sysdeps/unix/sysv/linux/generic/send.c (__libc_send): Likewise.
4078         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
4079         Likewise.
4080         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
4081         (__libc_pread64): Likewise.
4082         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c
4083         (__libc_preadv): Likewise.
4084         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c
4085         (__libc_readv64): Likewise.
4086         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
4087         (__libc_pwrite): Likewise.
4088         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
4089         (__libc_pwrite64): Likewise.
4090         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c
4091         (__libc_pwritev): Likewise.
4092         * sysdeps/sysv/linux/generic/wordsize-32/pwritev64.c
4093         (__libc_pwritev64): Likewise.
4094         * sysdeps/unix/sysv/linux/i386/fcntl.c (__libc_fcntl): Likewise.
4095         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
4096         (sync_file_range): Likewise.
4097         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c (fallocate):
4098         Likewise.
4099         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c (fallocate64):
4100         Likewise.
4101         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
4102         * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
4103         * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
4104         * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
4105         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
4106         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
4107         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
4108         * sysdeps/unix/sysv/linux/openat.c (__libc_openat): Likewise.
4109         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
4110         Likewise.
4111         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
4112         (__libc_read64): Likewise.
4113         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_write):
4114         Likewise.
4115         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c (__libc_write64):
4116         Likewise.
4117         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fcntl.c (__libc_fcntl):
4118         Likewise.
4119         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c (__libc_pread):
4120         Likewise.
4121         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
4122         (__libc_pread64): Likewise.
4123         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c (__libc_pwrite):
4124         Likewise.
4125         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
4126         (__libc_pwrite64): Likewise.
4127         * sysdeps/sysv/linux/powerpc/powerpc64/sync_file_range.c
4128         (sync_file_range): Likewise.
4129         * sysdeps/unix/sysv/linux/ppoll.c (ppoll): Likewise.
4130         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
4131         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
4132         * sysdeps/unix/sysv/linux/preadv.c (__libc_preadv): Likewise.
4133         * sysdeps/unix/sysv/linux/pselect.c (__pselect): Likewise.
4134         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
4135         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
4136         * sysdeps/unix/sysv/linux/pwritev.c (PWRITEV): Likewise.
4137         * sysdeps/unix/sysv/linux/readv.c (__libc_readv): Likewise.
4138         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
4139         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
4140         * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
4141         * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
4142         * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
4143         * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_pwrite64): Likewise.
4144         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
4145         * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
4146         * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
4147         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
4148         Likewise.
4149         * sysdeps/unix/sysv/linux/sync_file_range.c (sync_file_range):
4150         Likewise.
4151         * sysdeps/unix/sysv/linux/tcdrain.c (__libc_tcdrain): Likewise.
4152         * sysdeps/unix/sysv/linux/timer_routines.c (timer_helper_thread):
4153         Likewise.
4154         * sysdeps/unix/sysv/linux/wait.c (__libc_wait): Likewise.
4155         * sysdeps/unix/sysv/linux/waitid.c (__waitid): Likewise.
4156         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Likewise.
4157         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c (fallocate):
4158         Likewise.
4159         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c (preadv): Likewise.
4160         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c (pwritev): Likewise.
4161         * sysdeps/unix/sysv/linux/writev.c (__libc_writev): Likewise.
4162         * sysdeps/unix/sysv/linux/x86_64/recv.c (__libc_recv): Likewise.
4163         * sysdeps/unix/sysv/linux/x86_64/send.c (__libc_send): Likewise.
4165 2015-06-04  Nathan Lynch  <nathan_lynch@codesourcery.com>
4167         * sysdeps/unix/sysv/linux/arm/Makefile: (sysdep_routines):
4168         Include dl-vdso.
4169         * sysdeps/unix/sysv/linux/arm/init-first.c: New file:
4170         Use VDSO routines for gettimeofday, clock_gettime if
4171         available.
4172         * sysdeps/unix/sysv/linux/arm/libc-vdso.h: New file:
4173         Declare VDSO symbols.
4174         * sysdeps/unix/sysv/linux/arm/sysdep.h:
4175         [HAVE_GETTIMEOFDAY_VSYSCALL]: Define.
4176         [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
4177         * sysdeps/unix/sysv/linux/arm/Versions: Add
4178         __vdso_clock_gettime.
4180 2015-06-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4182         * sysdeps/unix/sysv/linux/not-cancel.h (open_not_cancel): Rewrite to
4183         be an inline implementation regardless of library is built within.
4184         (open_not_cancel_2): Likewise.
4185         (__read_nocancel): Likewise.
4186         (__write_nocancel): Likewise.
4187         (openat_not_cancel): Likewise.
4188         (openat_not_cancel_3): Likewise.
4189         (openat64_not_cancel): Likewise.
4190         (openat64_not_cancel_3): Likewise.
4191         (__close_nocancel): Likewise.
4192         (pause_not_cancel): Likewise.
4193         (nanosleep_not_cancel): Likewise.
4194         (sigsuspend_not_cancel): Likewise.
4196 2015-06-04  Torvald Riegel  <triegel@redhat.com>
4198         [BZ #14958]
4199         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock): Add missing
4200         wake-up.
4201         (__pthread_rwlock_rdlock_slow): Likewise.
4202         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
4203         Likewise.
4204         * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
4205         Likewise.
4206         * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Add comments.
4207         * nptl/tst-rwlock16.c: New file.
4208         * nptl/Makefile (tests): Add new test.
4210 2015-06-04  Torvald Riegel  <triegel@redhat.com>
4212         [BZ #18324]
4213         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock): Add
4214         missing wake-up of readers.
4215         * nptl/tst-rwlock15.c: New file.
4216         * nptl/Makefile (tests): Add new test.
4218 2015-06-03  Roland McGrath  <roland@hack.frob.com>
4220         * sysdeps/nacl/nacl-interfaces.c (try_supply): New static function.
4221         (PASTE_NAME (__nacl_supply_interface_, MODULE_NAME)): New function.
4222         * sysdeps/nacl/nacl-interfaces.h: Declare __nacl_supply_interface_libc
4223         and __nacl_supply_interface_rtld.
4224         * sysdeps/nacl/nacl_interface_ext_supply.c: New file.
4225         * sysdeps/nacl/Makefile [$(subdir) = csu] (sysdep_routines): Add it.
4226         * sysdeps/nacl/Versions (ld: GLIBC_PRIVATE):
4227         Add __nacl_supply_interface_rtld.
4228         (libc: GLIBC_2.22): Add nacl_interface_ext_supply.
4230 2015-06-03  Wilco Dijkstra  <wdijkstr@arm.com>
4232         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Replace finite with
4233         isfinite.
4234         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
4235         * sysdeps/ieee754/ldbl-opt/nldbl-finite.c (__finitel): Likewise.
4237 2015-06-03  Wilco Dijkstra  <wdijkstr@arm.com>
4239         * math/e_exp10.c: Replace __isinf*, __isnan*, __finite* and
4240         __signbit* with standard C99 macros.
4241         * math/e_exp10l.c: Likewise.
4242         * math/e_exp2l.c: Likewise.
4243         * math/e_scalb.c: Likewise.
4244         * math/e_scalbf.c: Likewise.
4245         * math/e_scalbl.c: Likewise.
4246         * math/s_ldexp.c: Likewise.
4247         * math/s_ldexpf.c: Likewise.
4248         * math/s_ldexpl.c: Likewise.
4249         * math/w_atan2.c: Likewise.
4250         * math/w_atan2f.c: Likewise.
4251         * math/w_atan2l.c: Likewise.
4252         * math/w_cosh.c: Likewise.
4253         * math/w_coshf.c: Likewise.
4254         * math/w_coshl.c: Likewise.
4255         * math/w_exp10.c: Likewise.
4256         * math/w_exp10f.c: Likewise.
4257         * math/w_exp10l.c: Likewise.
4258         * math/w_exp2.c: Likewise.
4259         * math/w_exp2f.c: Likewise.
4260         * math/w_exp2l.c: Likewise.
4261         * math/w_fmod.c: Likewise.
4262         * math/w_fmodf.c: Likewise.
4263         * math/w_fmodl.c: Likewise.
4264         * math/w_hypot.c: Likewise.
4265         * math/w_hypotf.c: Likewise.
4266         * math/w_hypotl.c: Likewise.
4267         * math/w_jnl.c: Likewise.
4268         * math/w_lgamma.c: Likewise.
4269         * math/w_lgamma_r.c: Likewise.
4270         * math/w_lgammaf.c: Likewise.
4271         * math/w_lgammaf_r.c: Likewise.
4272         * math/w_lgammal.c: Likewise.
4273         * math/w_lgammal_r.c: Likewise.
4274         * math/w_pow.c: Likewise.
4275         * math/w_powf.c: Likewise.
4276         * math/w_powl.c: Likewise.
4277         * math/w_remainder.c: Likewise.
4278         * math/w_remainderf.c: Likewise.
4279         * math/w_remainderl.c: Likewise.
4280         * math/w_scalb.c: Likewise.
4281         * math/w_scalbf.c: Likewise.
4282         * math/w_scalbl.c: Likewise.
4283         * math/w_scalbln.c: Likewise.
4284         * math/w_scalblnf.c: Likewise.
4285         * math/w_scalblnl.c: Likewise.
4286         * math/w_sinh.c: Likewise.
4287         * math/w_sinhf.c: Likewise.
4288         * math/w_sinhl.c: Likewise.
4289         * math/w_tgamma.c: Likewise.
4290         * math/w_tgammaf.c: Likewise.
4291         * math/w_tgammal.c: Likewise.
4292         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
4293         * sysdeps/ieee754/dbl-64/e_exp10.c: Likewise.
4294         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
4295         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
4296         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
4297         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
4298         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
4299         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
4300         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
4301         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
4302         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
4303         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
4304         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
4305         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
4306         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
4307         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
4308         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
4309         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
4310         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
4311         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
4312         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
4313         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
4314         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
4315         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
4316         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
4317         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
4318         * sysdeps/ieee754/ldbl-128ibm/w_expl.c: Likewise.
4319         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
4320         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
4321         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
4322         * sysdeps/ieee754/ldbl-opt/nldbl-finite.c: Likewise.
4323         * sysdeps/ieee754/ldbl-opt/nldbl-isinf.c: Likewise.
4324         * sysdeps/ieee754/ldbl-opt/nldbl-isnan.c: Likewise.
4325         * sysdeps/ieee754/ldbl-opt/nldbl-signbit.c: Likewise.
4326         * stdio-common/printf_fp.c: Likewise.
4327         * stdio-common/printf_fphex.c: Likewise.
4328         * stdio-common/printf_size.c: Likewise.
4330 2015-06-03  Joseph Myers  <joseph@codesourcery.com>
4332         [BZ #18470]
4333         * posix/fnmatch.c (fnmatch) [_LIBC]: Call __strnlen instead of
4334         strnlen.
4335         * conform/Makefile (test-xfail-XPG3/fnmatch.h/linknamespace):
4336         Remove variable.
4337         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
4338         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
4339         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
4340         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
4341         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
4342         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
4343         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
4344         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
4345         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
4346         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
4348         [BZ #18468]
4349         * wcsmbs/wmemchr.c (wmemchr): Rename to __wmemchr and define as
4350         weak alias of __wmemchr.  Use libc_hidden_weak.
4351         * include/wchar.h (__wmemchr): Declare.  Use libc_hidden_proto.
4352         * posix/fnmatch.c [HANDLE_MULTIBYTE] (MEMCHR): Use __wmemchr
4353         instead of wmemchr.
4355 2015-06-02  Roland McGrath  <roland@hack.frob.com>
4357         [BZ #18383]
4358         * elf/tst-tlsalign-extern.c: New file.
4359         * elf/tst-tlsalign-extern-static.c: New file.
4360         * elf/tst-tlsalign-vars.c: New file.
4361         * elf/Makefile (tests-static): Add tst-tlsalign-extern-static.
4362         [$(build-shared) = yes] (tests): Add tst-tlsalign-extern.
4363         ($(objpfx)tst-tlsalign-extern): Depend on tst-tlsalign-vars.o.
4364         ($(objpfx)tst-tlsalign-extern-static): Likewise.
4365         (test-xfail-tst-tlsalign-extern-static): New variable.
4367 2015-06-02  Joseph Myers  <joseph@codesourcery.com>
4369         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h (INLINE_SYSCALL):
4370         Use variable name _sc_err instead of err.
4371         [__mips16] (INTERNAL_SYSCALL_NCS): Use variable name _sc_ret
4372         instead of ret.
4373         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h
4374         (INLINE_SYSCALL): Use variable name _sc_err instead of err.
4375         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h
4376         (INLINE_SYSCALL): Likewise.
4378         * string/strnlen.c [!STRNLEN] (__strnlen): Use libc_hidden_def.
4379         * include/string.h (__strnlen): Use libc_hidden_proto.
4380         * sysdeps/aarch64/strnlen.S (__strnlen): Use libc_hidden_def.
4381         * sysdeps/i386/i686/multiarch/strnlen-c.c [SHARED]
4382         (libc_hidden_def): Define __GI___strnlen as well as __GI_strnlen.
4383         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-power7.S
4384         (libc_hidden_def): Undefine and redefine.
4385         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c
4386         [SHARED] (libc_hidden_def): Define __GI___strnlen as well as
4387         __GI_strnlen.
4388         * sysdeps/powerpc/powerpc32/power7/strnlen.S (__strnlen): Use
4389         libc_hidden_def.
4390         * sysdeps/tile/tilegx/strnlen.c (__strnlen): Likewise.
4392         [BZ #18469]
4393         * wctype/wcfuncs.c (towlower): Rename to __towlower and define as
4394         weak alias of __towlower.  Use libc_hidden_weak.
4395         (towupper): Rename to __towupper and define as weak alias of
4396         __towupper.  Use libc_hidden_weak.
4397         * include/wctype.h (__towlower): Declare.  Use libc_hidden_proto.
4398         (__towupper): Likewise.
4399         * posix/fnmatch.c [HANDLE_MULTIBYTE && _LIBC] (FOLD): Use
4400         __towlower instead of towlower.
4402 2015-06-02  Roland McGrath  <roland@hack.frob.com>
4404         * stdlib/setenv.c [__GNUC__,__GNUC_MINOR__ < 4,7]: Use
4405         "-Wuninitialized" rather than "-Wmaybe-uninitialized" in pragma.
4407 2015-06-02  Szabolcs Nagy  <szabolcs.nagy@arm.com>
4409         * sysdeps/aarch64/libm-test-ulps: Update.
4411 2015-06-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4413         * sysdeps/unix/sysv/linux/i386/sysdep.h (HAVE_CLOCK_GETTIME_VSYSCALL):
4414         Define.
4415         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
4416         * sysdeps/unix/sysv/linux/x86_64/sysdep.h
4417         (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
4418         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
4419         * sysdeps/unix/sysv/linux/timespec_get.c: Include errno.h.
4420         * sysdeps/unix/sysv/linux/x86/clock_gettime.c: Remove file.
4421         * sysdeps/unix/sysv/linux/x86/timespec_get.c: Likewise.
4423 2015-06-01  Martin Sebor  <msebor@redhat.com>
4425         [BZ #18116]
4426         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
4427         (__setcontext): Use extended four-operand version of mtsf whenever
4428         possible.
4429         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
4430         (__novec_swapcontext): Likewise.
4432 2015-06-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
4434         * benchtests/scripts/compare_bench.py: New file.
4435         * benchtests/scripts/import_bench.py (mean): New function.
4436         (split_list): Likewise.
4437         (do_for_all_timings): Likewise.
4438         (compress_timings): Likewise.
4440         * benchtests/scripts/import_bench.py: New file.
4441         * benchtests/scripts/validate_benchout.py: Import import_bench
4442         instead of jsonschema.
4443         (validate_bench): Remove function.
4444         (main): Use import_bench.
4446 2015-06-01  Steve Ellcey  <sellcey@imgtec.com>
4448         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use a union to
4449         copy data from cur_ifr->ifr_addr and cur_ifr->ifr_netmask.
4451 2015-05-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4453         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4455 2015-05-28  Roland McGrath  <roland@hack.frob.com>
4457         * sysdeps/nacl/exit-thread.h (__exit_thread): If not detached,
4458         set THREAD_SELF->tid to a magic value and futex-wake it.
4459         Pass its address to the thread_exit system call.
4460         * sysdeps/nacl/pthread-pids.h (__nacl_get_tid): Assert that TID's low
4461         bit is clear.
4462         * sysdeps/nacl/lowlevellock.h: New file.
4463         * sysdeps/nacl/lll_timedwait_tid.c: New file.
4465         * sysdeps/nacl/lowlevellock-futex.h (lll_futex_timed_wait):
4466         Add TIMEOUT to current time, don't subtract it.
4468 2015-05-28  H.J. Lu  <hongjiu.lu@intel.com>
4470         [BZ #2981]
4471         [BZ #18422]
4472         * Makefile ($(objpfx)tst-audit2): Depend on $(libdl).
4473         ($(objpfx)tst-audit2.out): Also depend on
4474         $(objpfx)tst-auditmod9b.so.
4475         * elf/tst-audit2.c: Include <dlfcn.h>.
4476         (calloc_called): New.
4477         (calloc): Allow to be called more than once.
4478         (do_test): dllopen/dlclose $ORIGIN/tst-auditmod9b.so.
4480 2015-05-28  Wilco Dijkstra  <wdijkstr@arm.com>
4482         * sysdeps/ieee754/dbl-64/s_fabs.c: (__fabs): Call __builtin_fabs.
4483         * sysdeps/ieee754/flt-32/s_fabsf.c: (__fabsf): Likewise.
4485 2015-05-27  Marko Myllynen  <myllynen@redhat.com>
4487         * stdlib/monetary.h: Fix comment.
4489 2015-05-26  Chris Metcalf  <cmetcalf@ezchip.com>
4491         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_SYSCALL):
4492         Avoid using variables in #defines that might cause shadowing.
4493         (INTERNAL_VSYSCALL_CALL): Likewise.
4495 2015-05-26  Roland McGrath  <roland@hack.frob.com>
4497         * sysdeps/nacl/lll_timedlock_wait.c: New file.
4499         * nptl/lowlevellock.c (__lll_timedlock_wait): Moved ...
4500         * nptl/lll_timedlock_wait.c: ... to this new file.
4501         * nptl/Makefile (libpthread-routines): Add it.
4502         * nptl/lowlevellock.c (__lll_timedwait_tid): Moved ...
4503         * nptl/lll_timedwait_tid.c: ... to this new file.
4504         * nptl/Makefile (libpthread-routines): Add it.
4505         * sysdeps/sparc/sparc32/lll_timedlock_wait.c: New file.
4506         * sysdeps/sparc/sparc32/lll_timedwait_tid.c: New file.
4507         * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: New file.
4508         * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c: New file.
4509         * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c: New file.
4510         * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: New file.
4511         * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c: New file.
4512         * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c: New file.
4513         * sysdeps/unix/sysv/linux/x86_64/lll_timedlock_wait.c: New file.
4514         * sysdeps/unix/sysv/linux/x86_64/lll_timedwait_tid.c: New file.
4516 2015-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4518         * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c: Remove file.
4519         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
4520         * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
4521         * sysdeps/unix/sysv/linux/aarch64/sysdep.h
4522         (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
4523         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
4524         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
4525         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
4526         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
4527         * sysdeps/unix/sysv/linux/tile/sysdep.h
4528         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
4529         * sysdeps/unix/sysv/linux/gettimeofday.c: New file: gettimeofday
4530         using vDSO syscall macro.
4532 2015-05-26  Andriy Rysin  <arysin@gmail.com>
4534         [BZ #17293]
4535         * uk_UA: Fix sorting order for Ukrainian locale
4537 2015-05-26  Marko Myllynen  <myllynen@redhat.com>
4539         * stdlib/monetary.h: Fix comment.
4541 2015-05-26  Szabolcs Nagy  <szabolcs.nagy@arm.com>
4543         [BZ #18234]
4544         * conform/data/sys/stat.h-data (struct stat): Add tests for st_atim,
4545         st_mtim and st_ctim members.
4546         * sysdeps/nacl/bits/stat.h (struct stat, struct stat64): Make
4547         st_atim, st_ctim, st_mtim visible under __USE_XOPEN2K8 only.
4548         * sysdeps/unix/sysv/linux/generic/bits/stat.h (struct stat,):
4549         (struct stat64): Likewise.
4550         * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat,):
4551         (struct stat64): Likewise.
4552         * sysdeps/unix/sysv/linux/microblaze/bits/stat.h (struct stat,):
4553         (struct stat64): Likewise.
4555 2015-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4557         * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c (HAVE_VSYSCALL):
4558         Define and include sysdep-vdso.h.
4559         * sysdeps/unix/sysv/linux/s390/gettimeofday.c (HAVE_VSYSCALL):
4560         Likewise.
4561         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (HAVE_VSYSCALL):
4562         Likewise.
4563         * sysdeps/unix/sysv/linux/aarch64/init-first.c (__vdso_gettimeofday):
4564         Define with VDSO_SYMBOL and use PTR_MANGLE.
4565         (__vdso_clock_gettime): Likewise.
4566         (__vdso_clock_getres): Likewise.
4567         (_libc_vdso_platform_setup): Likewise.
4568         * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
4569         Likewise.
4570         (_libc_vdso_platform_setup): Likewise.
4571         * sysdeps/unix/sysv/linux/powerpc/init-first.c (__vdso_gettimeofday):
4572         Likewise.
4573         (__vdso_clock_gettime): Likewise.
4574         (__vdso_clock_getres): Likewise.
4575         (__vdso_get_tbfreq): Likewise.
4576         (__vdso_getcpu): Likewise.
4577         (__vdso_time): Likewise.
4578         (__vdso_sigtramp_rt64): Likewise.
4579         (__vdso_signtramp32): Likewise.
4580         (__vdso_sigtramp_rt32): Likewise.
4581         (_libc_vdso_platform_setup): Likewise.
4582         * sysdeps/unix/sysv/linux/s390/init-first.c (__vdso_gettimeofay):
4583         Likewise.
4584         (__vdso_clock_gettime): Likewise.
4585         (__vdso_clock_getres): Likewise.
4586         (_libc_vdso_platform_setup): Likewise.
4587         * sysdeps/unix/sysv/linux/tile/init-first.c (__vdso_gettimeofday):
4588         Likewise.
4589         (__vdso_clock_gettime): Likewise.
4590         (_libc_vdso_platform_setup): Likewise.
4591         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
4592         Likewise.
4593         (__vdso_getcpu): Likewise.
4594         * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h (__vdso_gettimeoday):
4595         Use VDSO_SYMBOL macro to define.
4596         (__vdso_clock_gettime): Likewise.
4597         (__vdso_clock_getres): Likewise.
4598         * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h (__vdso_gettimeofday):
4599         Likewise.
4600         (__vdso_clock_gettime): Likewise.
4601         (__vdso_clock_getres): Likewise.
4602         (__vdso_get_tbfreq): Likewise.
4603         (__vdso_getcpu): Likewise.
4604         (__vdso_time): Likewise.
4605         (__vdso_sigtramp_rt64): Likewise.
4606         (__vdso_signtramp32): Likewise.
4607         (__vdso_sigtramp_rt32): Likewise.
4608         * sysdeps/unix/sysv/linux/s390/libc-vdso.h (__vdso_gettimeofday):
4609         Likewise.
4610         (__vdso_clock_gettime): Likewise.
4611         (__vdso_clock_getres): Likewise.
4612         * sysdeps/unix/sysv/linux/tile/libc-vdso.h (__vdso_gettimeofday):
4613         Likewise.
4614         (__vdso_clock_gettime): Likewise.
4615         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
4616         Likewise.
4617         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INLINE_VSYSCALL):  Remove
4618         macro.
4619         (INTERNAL_VSYSCALL): Likewise.
4620         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h (INLINE_VSYSCALL):
4621         Remove macro.
4622         (INTERNAL_VSYSCALL): Likewise.
4623         (INTERNAL_VSYSCALL_NCS): Likewise.
4624         (INTERNAL_VSYSCALL_CALL): New macro.
4625         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
4626         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h (INLINE_VSYSCALL):
4627         Likewise.
4628         (INTERNAL_VSYSCALL): Likewise.
4629         (INTERNAL_VSYSCALL_NCS): Likewise.
4630         (INTERNAL_VSYSCALL_CALL): New macro.
4631         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
4632         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
4633         (INLINE_VSYSCALL): Remove macro.
4634         (INTERNAL_VSYSCALL): Remove macro.
4635         (INTERNAL_VSYSCALL_NCS): Remove macro.
4636         (INTERNAL_VSYSCALL_CALL): New macro.
4637         (INTERNAL_VSYSCALL_CALL_TYPE): New macro.
4638         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL.
4639         (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
4640         (HAVE_CLOCK_GETRES_VSYSCALL): New define.
4641         (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
4642         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
4643         (INLINE_VSYSCALL): Remove macro.
4644         (INTERNAL_VSYSCALL): Likewise.
4645         (INTERNAL_VSYSCALL_NCS): Likewise.
4646         (INTERNAL_VSYSCALL_CALL): New macro.
4647         (INTERNAL_VSYSCALL_CALL_TYPE): Likewise.
4648         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL and
4649         PTR_DEMANGLE on vDSO pointer.
4650         (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
4651         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Remove
4652         macro.
4653         (INTERNAL_SYSCALL): Likewise.
4654         (INTERNAL_VSYSCALL_NCS): Remove macro.
4655         (INTERNAL_VSYSCALL_CALL): New macro.
4656         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_VSYSCALL):
4657         Remove macro.
4658         (INTERNAL_VSYSCALL): Likewise.
4659         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Include
4660         sysdep-vdso.h instead of libc-vdso.h.
4661         * sysdeps/unix/sysv/linux/clock_getres.c (INTERNAL_VSYSCALL): Remove
4662         definition.
4663         (INLINE_VSYSCALL): Likewise.
4664         (HAVE_VSYSCALL) [HAVE_CLOCK_GETRES_VSYSCALL]: Define.
4665         * sysdeps/unix/sysv/linux/clock_gettime.c (INTERNAL_VSYSCALL): Remove
4666         definition.
4667         (INLINE_VSYSCALL): Likewise.
4668         (INTERNAL_VSYSCALL): Likewise.
4669         (HAVE_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
4670         * sysdeps/unix/sysv/linux/timespec_get.c
4671         (INTERNAL_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
4672         (timespec_get): Use ANSI prototype.
4673         * sysdeps/unix/sysv/linux/sysdep-vdso.h: New file: default vDSO macros
4674         and definition for Linux.
4676 2015-05-25  Andrew Senkevich  <andrew.senkevich@intel.com>
4678         * elf/Makefile (localplt-built-dso): libmvec added to localplt test.
4679         * include/libc-symbols.h: libmvec_hidden_* macro series added.
4681 2015-05-22  H.J. Lu  <hongjiu.lu@intel.com>
4683         [BZ #2981]
4684         [BZ #18410]
4685         * elf/dl-reloc.c (_dl_relocate_object): Don't issue an error
4686         for missing DT_PLTRELSZ.
4688 2015-05-22  Paul Eggert  <eggert@cs.ucla.edu>
4690         Remove obsolete aliases that broke 'locale -a'
4691         [BZ #18412]
4692         * intl/locale.alias: Remove obsolete aliases "bokmål" and "français"
4693         which caused 'locale -a' to output Latin-1 data in UTF-8 locales,
4694         breaking some applications that use 'locale -a' output.
4695         Change the encoding of this file from Latin-1 to ASCII to avoid
4696         other potential problems with people grepping this file.
4698 2015-05-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4700         * nptl/Makefile (CFLAGS-accept.c): Add -fexceptions and
4701         -fasynchronous-unwind-tables.
4702         (CFLAGS-sendto.c): Likewise.
4703         (CFLAGS-sendmsg.c): Likewise.
4704         (CFLAGS-connect.c): Likewise.
4705         (CFLAGS-recvmsg.c): Likewise.
4706         (CFLAGS-recvfrom.c): Likewise.
4707         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_invalid): Define.
4708         (SOCKETCALL): New macro: non-cancellable socketcall.
4709         (SOCKETCALL_CANCEL): New macro: cancellable socketcall.
4710         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = socket]: Remove
4711         internal_accept4, internal_recvmmsg, and internal_sendmmsg rules.
4712         * sysdeps/unix/sysv/linux/accept.c: New file.
4713         * sysdeps/unix/sysv/linux/bind.c: Likewise.
4714         * sysdeps/unix/sysv/linux/connect.c: Likewise.
4715         * sysdeps/unix/sysv/linux/getpeername.c: Likewise.
4716         * sysdeps/unix/sysv/linux/getsockname.c: Likewise.
4717         * sysdeps/unix/sysv/linux/getsockopt.c: Likewise.
4718         * sysdeps/unix/sysv/linux/listen.c: Likewise.
4719         * sysdeps/unix/sysv/linux/recv.c: Likewise.
4720         * sysdeps/unix/sysv/linux/recvfrom.c: Likewise.
4721         * sysdeps/unix/sysv/linux/recvmsg.c: Likewise.
4722         * sysdeps/unix/sysv/linux/send.c: Likewise.
4723         * sysdeps/unix/sysv/linux/sendmsg.c: Likewise.
4724         * sysdeps/unix/sysv/linux/sendto.c: Likewise.
4725         * sysdeps/unix/sysv/linux/setsockopt.c: Likewise.
4726         * sysdeps/unix/sysv/linux/shutdown.c: Likewise.
4727         * sysdeps/unix/sysv/linux/socket.c: Likewise.
4728         * sysdeps/unix/sysv/linux/socketpair.c: Likewise.
4729         * sysdeps/unix/sysv/linux/recvmmsg.c (__internal_recvmmsg): Remove
4730         prototype.
4731         (recvmmsg) [__ASSUME_RECVMMSG_SOCKETCALL]: Add C based implementation.
4732         (recvmmsg) [!__ASSUME_RECVMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
4733         instead of __internal_xxx function.
4734         * sysdeps/unix/sysv/linux/accept4.c (__internal_accept4): Remove
4735         prototype.
4736         (accept4) [__ASSUME_ACCEPT4_SOCKETCALL]: Add C based implementation.
4737         (accept4) [!__ASSUME_ACCEPT4_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
4738         instead of __internal_xxx function.
4739         * sysdeps/unix/sysv/linux/sendmmsg.c (__internal_sendmmsg): Remove
4740         prototype.
4741         (sendmmsg) [__ASSUME_SENDMMSG_SOCKETCALL]: Add C based implementation.
4742         (sendmmsg) [!__ASSUME_SENDMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
4743         instead of __internal_xxx function.
4744         * sysdeps/unix/sysv/linux/accept.S: Remove file.
4745         * sysdeps/unix/sysv/linux/bind.S: Likewise.
4746         * sysdeps/unix/sysv/linux/connect.S: Likewise.
4747         * sysdeps/unix/sysv/linux/getpeername.S: Likewise.
4748         * sysdeps/unix/sysv/linux/getsockname.S: Likewise.
4749         * sysdeps/unix/sysv/linux/getsockopt.S: Likewise.
4750         * sysdeps/unix/sysv/linux/arm/internal_accept4.S: Likewise.
4751         * sysdeps/unix/sysv/linux/arm/internal_recvmmsg.S: Likewise.
4752         * sysdeps/unix/sysv/linux/arm/internal_sendmmsg.S: Likewise.
4753         * sysdeps/unix/sysv/linux/i386/accept4.S: Likewise.
4754         * sysdeps/unix/sysv/linux/i386/internal_accept4.S: Likewise.
4755         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
4756         * sysdeps/unix/sysv/linux/internal_accept4.S: Likewise.
4757         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: Likewise.
4758         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: Likewise.
4759         * sysdeps/unix/sysv/linux/listen.S: Likewise.
4760         * sysdeps/unix/sysv/linux/microblaze/socket.S: Likewise.
4761         * sysdeps/unix/sysv/linux/mips/mips32/internal_accept4.S: Likewise.
4762         * sysdeps/unix/sysv/linux/mips/mips32/internal_recvmmsg.S: Likewise.
4763         * sysdeps/unix/sysv/linux/mips/mips32/internal_sendmmsg.S: Likewise.
4764         * sysdeps/unix/sysv/linux/powerpc/powerpc32/socket.S: Likewise.
4765         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S: Likewise.
4766         * sysdeps/unix/sysv/linux/recv.S: Likewise.
4767         * sysdeps/unix/sysv/linux/recvfrom.S: Likewise.
4768         * sysdeps/unix/sysv/linux/recvmsg.S: Likewise.
4769         * sysdeps/unix/sysv/linux/s390/s390-32/socket.S: Likewise.
4770         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
4771         * sysdeps/unix/sysv/linux/send.S: Likewise.
4772         * sysdeps/unix/sysv/linux/sendmsg.S: Likewise.
4773         * sysdeps/unix/sysv/linux/sendto.S: Likewise.
4774         * sysdeps/unix/sysv/linux/setsockopt.S: Likewise.
4775         * sysdeps/unix/sysv/linux/sh/socket.S: Likewise.
4776         * sysdeps/unix/sysv/linux/shutdown.S: Likewise.
4777         * sysdeps/unix/sysv/linux/socketpair.S: Likewise.
4778         * sysdeps/unix/sysv/linux/sparc/sparc32/socket.S: Likewise.
4779         * sysdeps/unix/sysv/linux/sparc/sparc64/socket.S: Likewise.
4780         * sysdeps/unix/sysv/linux/m68k/socket.S: Likewise.
4781         * sysdeps/unix/sysv/linux/hppa/socket.S: Likewise.
4782         * sysdeps/unix/sysv/linux/kernel-features.h: Adjust comment on how
4783         socketcall is implemented in GLIBC.
4785 2015-05-22  Joseph Myers  <joseph@codesourcery.com>
4787         * soft-fp/fmadf4.c: Include <libc-internal.h>.
4788         (__fma): Ignore uninitialized warnings around packing.
4789         * soft-fp/fmasf4.c: Include <libc-internal.h>.
4790         (__fmaf): Ignore uninitialized warnings around packing.
4791         * soft-fp/fmatf4.c: Include <libc-internal.h>.
4792         (__fmal): Ignore uninitialized warnings around packing.
4794         * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <libc-internal.h>.
4795         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
4796         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <libc-internal.h>.
4797         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
4799         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfcl): Make case 9 in
4800         switch statement into default case.
4801         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Likewise.
4803         * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Don't use
4804         a conditional in forcing "inexact".
4805         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
4806         Likewise.
4808 2015-05-22  Roland McGrath  <roland@hack.frob.com>
4810         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
4811         Use a separate INTERNAL_SYSCALL_DECL (err); in a local scope
4812         for each INTERNAL_SYSCALL use.
4814 2015-05-22  Joseph Myers  <joseph@codesourcery.com>
4816         [BZ #438]
4817         * posix/unistd.h (_POSIX2_C_VERSION): New macro.
4818         * conform/Makefile (test-xfail-POSIX/unistd.h/conform): Remove
4819         variable.
4821         [BZ #18444]
4822         * string/basename.c (basename): Rename to __basename and define as
4823         weak alias of __basename.  Use libc_hidden_weak.
4824         * include/string.h (__basename): Declare.  Use libc_hidden_proto.
4825         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): Call
4826         __basename instead of basename.
4827         * conform/Makefile (test-xfail-POSIX2008/unistd.h/linknamespace):
4828         Remove variable.
4829         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
4831 2015-05-18  Florian Weimer  <fweimer@redhat.com>
4833         * libio/libioP.h (_IO_MEMBER_TYPE, _IO_CAST_FIELD_ACCESS)
4834         (_IO_JUMPS_FILE_plus): New.
4835         (_IO_WIDE_JUMPS, _IO_CHECK_WIDE, _IO_JUMPS_FUNC): Use
4836         _IO_CAST_FIELD_ACCESS.
4837         * libio/fileops.c (libc_hidden_def, _IO_file_setbuf_mmap,
4838         mmap_remap_check, decide_maybe_mmap): Use _IO_JUMPS_FILE_plus.
4839         * libio/freopen.c (freopen): Likewise.
4840         * libio/freopen64.c (freopen64): Likewise.
4841         * libio/iofopen.c (__fopen_maybe_mmap): Likewise.
4842         * libio/iofopncook.c (_IO_old_fopencookie): Likewise.
4843         * libio/iofwide.c (_IO_fwide): Likewise.
4844         * libio/memstream.c (open_memstream): Likewise.
4845         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
4846         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
4847         * libio/oldiopopen.c (_IO_old_popen): Likewise.
4849 2015-05-21  Joseph Myers  <joseph@codesourcery.com>
4851         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Include <libc-internal.h>.
4852         (__ieee754_lgamma_r): Ignore uninitialized warnings around use of
4853         NADJ.
4854         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Include <libc-internal.h>.
4855         (__ieee754_lgammaf_r): Ignore uninitialized warnings around use of
4856         NADJ.
4857         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Include <libc-internal.h>.
4858         (__ieee754_lgammal_r): Ignore uninitialized warnings around use of
4859         NADJ.
4861         * sysdeps/ieee754/dbl-64/mpa.c (norm): Remove if condition on
4862         (p == 4) case.
4864         * conform/linknamespace.pl (@whitelist): Add re_syntax_options.
4865         * conform/Makefile (test-xfail-UNIX98/regex.h/linknamespace):
4866         Remove variable.
4867         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
4868         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
4869         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
4871 2015-05-21  Florian Weimer  <fweimer@redhat.com>
4873         * stdio-common/vfprintf.c (LABEL, JUMP_TABLE_BASE_LABEL, REF):
4874         Adjust jump table label generation macros.
4876 2015-05-21  Florian Weimer  <fweimer@redhat.com>
4878         * stdio-common/vfprintf.c (vfprintf): Move local variables
4879         args_malloced, specs, specs_malloced, and the code after
4880         do_positional to the printf_positional function.
4881         (printf_positional): New function.
4883 2015-05-21  Florian Weimer  <fweimer@redhat.com>
4885         * stdio-common/vfprintf.c (jump_table): Move out of the vfprintf
4886         function.
4887         (NOT_IN_JUMP_RANGE, CHAR_CLASS, LABEL, REF, JUMP, STEP0_3_TABLE,
4888         STEP4_TABLE, process_arg): Move macro definitions
4889         out of the vfprintf function.  (Cosmetic change only.)
4891 2015-05-21  Carlos O'Donell  <carlos@redhat.com>
4893         * benchtests/Makefile (stdio-common-bench): Define.
4894         (benchset): Add stdio-common-bench.
4895         * sprintf-inputs: New file.
4896         * sprintf-source.c: New file.
4898 2015-05-21  Andreas Schwab  <schwab@suse.de>
4900         [BZ #13028]
4901         [BZ #17053]
4902         * resolv/res_init.c (__res_vinit): Remove use of ext.nsmap member
4903         of struct __res_state.
4904         * resolv/res_send.c (__libc_res_nsend): Likewise.
4905         (get_nsaddr): New function.
4906         (res_ourserver_p, send_vc, reopen): Use it instead of accessing
4907         statp directly.
4909 2015-05-20  Joseph Myers  <joseph@codesourcery.com>
4911         * conform/GlibcConform.pm ($CFLAGS{"POSIX"}): Use
4912         -D_POSIX_C_SOURCE=199506L.
4914         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Require.
4916         * conform/data/unistd.h-data (_POSIX_VERSION): Require.
4917         (_POSIX2_C_VERSION): Require if [POSIX || XPG3 || XPG4 || UNIX98].
4918         Do not mention otherwise.
4919         [POSIX] (_XOPEN_VERSION): Do not expect.
4920         [POSIX] (_XOPEN_XCU_VERSION): Likewise.
4921         [POSIX] (_POSIX2_C_BIND): Likewise.
4922         [POSIX] (_POSIX2_VERSION): Likewise.
4923         [POSIX] (_XOPEN_XPG2): Likewise.
4924         [POSIX] (_XOPEN_XPG3): Likewise.
4925         [POSIX] (_XOPEN_XPG4): Likewise.
4926         [POSIX] (_XOPEN_UNIX): Likewise.
4927         [POSIX] (_POSIX_ADVISORY_INFO): Likewise.
4928         [POSIX] (_POSIX_BARRIERS): Likewise.
4929         [POSIX] (_POSIX_CLOCK_SELECTION): Likewise.
4930         [POSIX] (_POSIX_CPUTIME): Likewise.
4931         [POSIX] (_POSIX_MONOTONIC_CLOCK): Likewise.
4932         [POSIX] (_POSIX_READER_WRITER_LOCKS): Likewise.
4933         [POSIX] (_POSIX_SHELL): Likewise.
4934         [POSIX] (_POSIX_SPAWN): Likewise.
4935         [POSIX] (_POSIX_SPIN_LOCKS): Likewise.
4936         [POSIX] (_POSIX_SPORADIC_SERVER): Likewise.
4937         [POSIX] (_POSIX_THREAD_CPUTIME): Likewise.
4938         [POSIX] (_POSIX_TYPED_MEMORY_OBJECTS): Likewise.
4939         [POSIX] (_POSIX_THREAD_SPORADIC_SERVER): Likewise.
4940         [POSIX] (_XBS5_ILP32_OFF32): Likewise.
4941         [POSIX] (_XBS5_ILP32_OFBIG): Likewise.
4942         [POSIX] (_XBS5_LP64_OFF64): Likewise.
4943         [POSIX] (_XBS5_LPBIG_OFFBIG): Likewise.
4944         [POSIX] (_POSIX_TIMEOUTS): Likewise.
4945         [POSIX] (_POSIX2_PBS): Likewise.
4946         [POSIX] (_POSIX2_PBS_ACCOUNTING): Likewise.
4947         [POSIX] (_POSIX2_PBS_CHECKPOINT): Likewise.
4948         [POSIX] (_POSIX2_PBS_LOCATE): Likewise.
4949         [POSIX] (_POSIX2_PBS_MESSAGE): Likewise.
4950         [POSIX] (_POSIX2_PBS_TRACK): Likewise.
4951         [POSIX] (_POSIX_TIMESTAMP_RESOLUTION): Likewise.
4952         [POSIX] (_CS_XBS5_ILP32_OFF32_CFLAGS): Likewise.
4953         [POSIX] (_CS_XBS5_ILP32_OFF32_LDFLAGS): Likewise.
4954         [POSIX] (_CS_XBS5_ILP32_OFF32_LIBS): Likewise.
4955         [POSIX] (_CS_XBS5_ILP32_OFF32_LINTFLAGS): Likewise.
4956         [POSIX] (_CS_XBS5_ILP32_OFFBIG_CFLAGS): Likewise.
4957         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LDFLAGS): Likewise.
4958         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LIBS): Likewise.
4959         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LINTFLAGS): Likewise.
4960         [POSIX] (_CS_XBS5_LP64_OFF64_CFLAGS): Likewise.
4961         [POSIX] (_CS_XBS5_LP64_OFF64_LDFLAGS): Likewise.
4962         [POSIX] (_CS_XBS5_LP64_OFF64_LIBS): Likewise.
4963         [POSIX] (_CS_XBS5_LP64_OFF64_LINTFLAGS): Likewise.
4964         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_CFLAGS): Likewise.
4965         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LDFLAGS): Likewise.
4966         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LIBS): Likewise.
4967         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LINTFLAGS): Likewise.
4968         [POSIX] (_SC_2_C_BIND): Likewise.
4969         [POSIX] (_SC_2_C_VERSION): Likewise.
4970         [POSIX] (_SC_2_PBS): Likewise.
4971         [POSIX] (_SC_2_PBS_ACCOUNTING): Likewise.
4972         [POSIX] (_SC_2_PBS_CHECKPOINT): Likewise.
4973         [POSIX] (_SC_2_PBS_LOCATE): Likewise.
4974         [POSIX] (_SC_2_PBS_MESSAGE): Likewise.
4975         [POSIX] (_SC_2_PBS_TRACK): Likewise.
4976         [POSIX] (_SC_ATEXIT_MAX): Likewise.
4977         [POSIX] (_SC_BARRIERS): Likewise.
4978         [POSIX] (_SC_BASE): Likewise.
4979         [POSIX] (_SC_CLOCK_SELECTION): Likewise.
4980         [POSIX] (_SC_DEVICE_IO): Likewise.
4981         [POSIX] (_SC_DEVICE_SPECIFIC): Likewise.
4982         [POSIX] (_SC_DEVICE_SPECIFIC_R): Likewise.
4983         [POSIX] (_SC_FD_MGMT): Likewise.
4984         [POSIX] (_SC_FIFO): Likewise.
4985         [POSIX] (_SC_FILE_ATTRIBUTES): Likewise.
4986         [POSIX] (_SC_FILE_LOCKING): Likewise.
4987         [POSIX] (_SC_FILE_SYSTEM): Likewise.
4988         [POSIX] (_SC_IOV_MAX): Likewise.
4989         [POSIX] (_SC_MONOTONIC_CLOCK): Likewise.
4990         [POSIX] (_SC_NETWORKING): Likewise.
4991         [POSIX] (_SC_PAGE_SIZE): Likewise.
4992         [POSIX] (_SC_PASS_MAX): Likewise.
4993         [POSIX] (_SC_PIPE): Likewise.
4994         [POSIX] (_SC_READER_WRITER_LOCKS): Likewise.
4995         [POSIX] (_SC_REGEXP): Likewise.
4996         [POSIX] (_SC_SHELL): Likewise.
4997         [POSIX] (_SC_SIGNALS): Likewise.
4998         [POSIX] (_SC_SINGLE_PROCESS): Likewise.
4999         [POSIX] (_SC_SPIN_LOCKS): Likewise.
5000         [POSIX] (_SC_TYPED_MEMORY_OBJECTS): Likewise.
5001         [POSIX] (_SC_USER_GROUPS): Likewise.
5002         [POSIX] (_SC_USER_GROUPS_R): Likewise.
5003         [POSIX] (_SC_STREAMS): Likewise.
5004         [POSIX] (_SC_XBS5_ILP32_OFF32): Likewise.
5005         [POSIX] (_SC_XBS5_ILP32_OFFBIG): Likewise.
5006         [POSIX] (_SC_XBS5_LP64_OFF64): Likewise.
5007         [POSIX] (_SC_XBS5_LPBIG_OFFBIG): Likewise.
5008         [POSIX] (_SC_THREAD_ROBUST_PRIO_INHERIT): Likewise.
5009         [POSIX] (_SC_THREAD_ROBUST_PRIO_PROTECT): Likewise.
5010         [POSIX] (_PC_FILESIZEBITS): Likewise.
5011         [POSIX] (_PC_REC_INCR_XFER_SIZE): Likewise.
5012         [POSIX] (_PC_REC_MAX_XFER_SIZE): Likewise.
5013         [POSIX] (_PC_REC_MIN_XFER_SIZE): Likewise.
5014         [POSIX] (_PC_REC_XFER_ALIGN): Likewise.
5015         [POSIX] (uid_t): Likewise.
5016         [POSIX] (gid_t): Likewise.
5017         [POSIX] (off_t): Likewise.
5018         [POSIX] (pid_t): Likewise.
5019         [POSIX] (cuserid): Allow.
5020         (_SC_2_CHAR_TERM): Require constant.
5021         (_POSIX_ASYNCHRONOUS_IO): Remove duplicate optional-constant.
5022         * conform/Makefile (test-xfail-POSIX/unistd.h/conform): New
5023         variable.
5025 2015-05-20  Roland McGrath  <roland@hack.frob.com>
5027         * sysdeps/nacl/pthread-pids.h: New file.
5028         * sysdeps/nacl/createthread.c: Include <pthread-pids.h>.
5029         (create_thread): Use __nacl_get_tid to initialize PD->tid.
5031         * nptl/pthread-pids.h: New file.
5032         * sysdeps/unix/sysv/linux/pthread-pids.h: New file.
5033         * nptl/nptl-init.c: Include <pthread-pids.h>.
5034         (__pthread_initialize_minimal_internal):
5035         Call __pthread_initialize_pids instead of set_tid_address syscall.
5037         * sysdeps/unix/sysv/linux/usleep.c: Moved to ...
5038         * sysdeps/posix/usleep.c: ... here.
5040 2015-05-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5042         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = misc)]: Remove
5043         call_pselect6 object.
5044         [$(subdir) = io]: Remove call_sync_file_range object.
5045         * sysdeps/unix/sysv/linux/i386/call_pselect6.S: Remove file.
5046         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Remove file.
5047         * sysdeps/unix/sysv/linux/i386/pselect.c: Remove file.
5048         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: Remove file.
5050 2015-05-20  Wilco Dijkstra  <wdijkstr@arm.com>
5052         * math/s_cproj.c: Add include "math_private.h".
5053         * math/s_cprojf.c: Likewise.
5054         * math/s_cprojl.c: Likewise.
5056 2015-05-19  Joseph Myers  <joseph@codesourcery.com>
5058         [BZ #18244]
5059         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Ignore explicit
5060         high mantissa bit when testing whether P is a NaN.
5061         * math/libm-test.inc (remainder_test_data): Add more tests.
5062         (remquo_test_data): Likewise.
5064         [BZ #18049]
5065         * sysdeps/i386/fpu/e_atanhl.S (__ieee754_atanhl): For exponents
5066         below -32, return the argument, with underflow if subnormal.
5067         * math/auto-libm-test-in: Add more tests of atanh.
5068         * math/auto-libm-test-out: Regenerated.
5070 2015-05-19  Roland McGrath  <roland@hack.frob.com>
5072         [BZ #18434]
5073         * nptl/tst-sem15.c: New file.
5074         * nptl/Makefile (tests): Add it.
5075         * nptl/sem_post.c (__new_sem_post) [!__HAVE_64B_ATOMICS]:
5076         s/<</>>/ to fix typo in EOVERFLOW check.
5077         * sysdeps/sparc/sparc32/sem_post.c (__new_sem_post): Likewise.
5079 2015-05-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
5081         * manual/strings.texi (envz_remove): Fix typo in safety
5082         annotations.
5084 2015-05-19  Paul Eggert  <eggert@cs.ucla.edu>
5085             Steve Ellcey  <sellcey@imgtec.com>
5087         * inet/rcmd.c (rresvport_af): Change ss to anonymous union
5088         in order to avoid strict alias warnings.
5089         (iruserok_af): Ditto for ra.
5091 2015-05-19  James Lemke  <jwlemke@codesourcery.com>
5093         [BZ #17581]
5094         * malloc/hooks.c
5095         (magicbyte): Convert to a function and avoid returning 0x01.
5096         (mem2mem_check): Avoid using a length byte equal to the magic byte.
5097         (mem2chunk_check): Fix unsigned comparisons to zero.
5098         Hoist defs of sz and magic.
5100 2015-05-19  Richard Henderson  <rth@redhat.com>
5102         * soft-fp/op-common.h (_FP_FROM_INT): Don't write to R.
5104         * sysdeps/alpha/fpu/libm-test-ulps: Update.
5106 2015-05-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
5108         [BZ #16159]
5109         * malloc/Makefile (tests): New test case tst-malloc-backtrace.
5110         * malloc/arena.c (arena_lock): Check if arena is corrupt.
5111         (reused_arena): Find a non-corrupt arena.
5112         (heap_trim): Pass arena to unlink.
5113         * malloc/hooks.c (malloc_check_get_size): Pass arena to
5114         malloc_printerr.
5115         (top_check): Likewise.
5116         (free_check): Likewise.
5117         (realloc_check): Likewise.
5118         * malloc/malloc.c (malloc_printerr): Add arena argument.
5119         (unlink): Likewise.
5120         (munmap_chunk): Adjust.
5121         (ARENA_CORRUPTION_BIT): New macro.
5122         (arena_is_corrupt): Likewise.
5123         (set_arena_corrupt): Likewise.
5124         (sysmalloc): Use mmap if there are no usable arenas.
5125         (_int_malloc): Likewise.
5126         (__libc_malloc): Don't fail if arena_get returns NULL.
5127         (_mid_memalign): Likewise.
5128         (__libc_calloc): Likewise.
5129         (__libc_realloc): Adjust for additional argument to
5130         malloc_printerr.
5131         (_int_free): Likewise.
5132         (malloc_consolidate): Likewise.
5133         (_int_realloc): Likewise.
5134         (_int_memalign): Don't touch corrupt arenas.
5135         * malloc/tst-malloc-backtrace.c: New test case.
5137         * Makefile (summarize-tests): Fix return value on success.
5139         * manual/string.texi (Envz Functions): Add envz_remove.
5141 2015-05-18  Roland McGrath  <roland@hack.frob.com>
5143         * sysdeps/posix/opendir.c: Include <stdbool.h>.
5144         (invalid_name): New function, broken out of ...
5145         (__opendirat): ... here.  Call it.
5146         (need_isdir_precheck): New function, broken out of ...
5147         (__opendirat): ... here.  Call it.
5148         Use __fxstatat64, not __xstatat64.
5149         (opendir_oflags): New function, broken out of ...
5150         (__opendirat): ... here.  Call it.
5151         (opendir_tail): New function, broken out of ...
5152         (__opendirat): ... here.  Call it.
5153         (__opendir): Call invalid_name, need_isdir_precheck, __xstat64, and
5154         opendir_tail, rather than punting to __opendirat.
5155         (__opendirat): Conditionalize function definition on [IS_IN (libc)].
5157 2015-05-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
5159         * .gitignore: Ignore generated *.pyc.
5161 2015-05-18  Arjun Shankar  <arjun.is@lostca.se>
5163         * include/stdio.h: Define __need_wint_t.
5164         * test-skeleton.c: Avoid `for' loop initial declaration.
5165         * nptl/tst-initializers1.c: Use test-skeleton.c.
5167 2015-05-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5169         [BZ #18418]
5170         * stdlib/tst-setcontext3.sh: Remove non-portable array use.
5172 2015-05-15  Joseph Myers  <joseph@codesourcery.com>
5174         [BZ #16352]
5175         * sysdeps/i386/fpu/e_atanh.S (dbl_min): New object.
5176         (__ieee754_atanh): Force underflow exception for results with
5177         small absolute value.
5178         * sysdeps/i386/fpu/e_atanhf.S (flt_min): New object.
5179         (__ieee754_atanhf): Force underflow exception for results with
5180         small absolute value.
5181         * sysdeps/ieee754/dbl-64/e_atanh.c: Include <float.h>.
5182         (__ieee754_atanh): Force underflow exception for results with
5183         small absolute value.
5184         * sysdeps/ieee754/flt-32/e_atanhf.c: Include <float.h>.
5185         (__ieee754_atanhf): Force underflow exception for results with
5186         small absolute value.
5187         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Include <float.h>.
5188         (__ieee754_atanhl): Force underflow exception for results with
5189         small absolute value.
5190         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Include <float.h>.
5191         (__ieee754_atanhl): Force underflow exception for results with
5192         small absolute value.
5193         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Include <float.h>.
5194         (__ieee754_atanhl): Force underflow exception for results with
5195         small absolute value.
5196         * math/auto-libm-test-in: Do not allow missing underflow
5197         exceptions from atanh.
5198         * math/auto-libm-test-out: Regenerated.
5200         [BZ #18221]
5201         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use 2**-13 not
5202         2**-28 as threshold for returning x or +/- 1/x.
5203         * math/auto-libm-test-in: Add more tests of tan.
5204         * math/auto-libm-test-out: Regenerated.
5206         [BZ #18220]
5207         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
5208         2**26 not 2**58 as threshold for returning x * (log (x) - 1).
5209         * math/auto-libm-test-in: Add another test of lgamma.
5210         * math/auto-libm-test-out: Regenerated.
5212 2015-05-15  Wilco Dijkstra  <wdijkstr@arm.com>
5214         * stdio-common/printf_fp.c (___printf_fp): Use abs.
5215         * stdlib/gmp-impl.h (ABS): Remove define.  (ABSIZ): Remove.
5216         * sysdeps/ieee754/dbl-64/branred.c (__branred): Use fabs.
5217         * sysdeps/ieee754/dbl-64/dla.h (EADD): Use fabs.
5218         (ESUB): Use fabs.  (ADD2): Use fabs.  (SUB2): Use fabs.
5219         (ADD2A): Use fabs.  (SUB2A): Use fabs.
5220         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use fabs.
5221         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Use fabs.
5222         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use fabs.
5223         (log1): Use fabs.  (my_log2): Use fabs.
5224         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): Use fabs.
5225         * sysdeps/ieee754/dbl-64/mpa.h (ABS): Remove define.
5226         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use fabs.
5227         * sysdeps/ieee754/dbl-64/mydefs.h (ABS): Remove define.
5228         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use fabs.
5229         (__cos): Use fabs.  (slow): Use fabs.  (slow2): Use fabs.
5230         (sloww): Use fabs.  (sloww1): Use fabs.  (sloww2): Use fabs.
5231         (bslow1): Use fabs.  (bslow2): Use fabs.  (cslow2): Use fabs.
5232         (csloww): Use fabs.  (csloww1): Use fabs.  (csloww2): Use fabs.
5233         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Use fabs.
5234         * sysdeps/x86_64/fpu/multiarch/e_log.c: add math.h include.
5236 2015-05-15  Joseph Myers  <joseph@codesourcery.com>
5238         [BZ #18217]
5239         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Use 2**-26 not 2**-56
5240         as threshold for returning 1 - x.
5241         * math/auto-libm-test-in: Add more tests of erfc.
5242         * math/auto-libm-test-out: Regenerated.
5244 2015-05-14  Joseph Myers  <joseph@codesourcery.com>
5246         [BZ #18196]
5247         * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Use 2^25 not 2^34 as
5248         threshold for large arguments.
5249         * math/auto-libm-test-in: Add another test of atan.
5250         * math/auto-libm-test-out: Regenerated.
5252         [BZ #16339]
5253         * sysdeps/i386/fpu/s_log1p.S (dbl_min): New object.
5254         (__log1p): Force underflow exception for results with small
5255         absolute value.
5256         * sysdeps/i386/fpu/s_log1pf.S (flt_min): New object.
5257         (__log1pf): Force underflow exception for results with small
5258         absolute value.
5259         * sysdeps/ieee754/dbl-64/s_log1p.c: Include <float.h>.
5260         (__log1p): Force underflow exception for results with small
5261         absolute value.
5262         * sysdeps/ieee754/flt-32/s_log1pf.c: Include <float.h>.
5263         (__log1pf): Force underflow exception for results with small
5264         absolute value.
5265         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Include <float.h>.
5266         (__log1pl): Force underflow exception for results with small
5267         absolute value.
5268         * math/auto-libm-test-in: Do not allow missing underflow
5269         exceptions from log1p.
5270         * math/auto-libm-test-out: Regenerated.
5272 2015-05-14  Jakub Bogusz  <qboosh@pld-linux.org>
5273             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5275         [BZ #16704]
5276         * sysdeps/unix/make-syscalls.sh: Remove non-portable echo usage.
5278 2015-05-14  Andrew Senkevich  <andrew.senkevich@intel.com>
5280         * Makeconfig (rpath-dirs, all-subdirs): Added mathvec folder.
5281         (libmvec): New variable.
5282         * configure.ac: Added option for mathvec build.
5283         * configure: Regenerated.
5284         * mathvec/Depend: New file.
5285         * mathvec/Makefile: New file.
5286         * shlib-versions: Added libmvec.
5287         * math/Makefile: Added rule for libm.so installation.
5289         * bits/math-vector.h: New file.
5290         * bits/libm-simd-decl-stubs.h: New header.
5291         * math/Makefile (headers): Added new header
5292         libm-simd-decl-stubs.h.
5293         * math/math.h (__MATHCALL_VEC): New macro.
5295         * math/gen-libm-have-vector-test.sh: Script generates series of macros
5296         for conditions in testing functions.
5297         * math/Makefile: Added call of libm-have-vector-test.sh.
5298         * math/libm-test.inc (HAVE_VECTOR): New macros.
5300         * math/libm-test.inc: START refactored.
5301         * math/test-double.c (TEST_MATHVEC): Add define.
5302         * math/test-float.c: Likewise.
5303         * math/test-idouble.c: Likewise.
5304         * math/test-ifloat.c: Likewise.
5305         * math/test-ildoubl.c: Likewise.
5306         * math/test-ldouble.c: Likewise.
5307         * sysdeps/generic/math-tests-arch.h
5308         (INIT_ARCH_EXT, CHECK_ARCH_EXT): New helper macros for runtime
5309         architecture check.
5311         * math/test-double.c (FUNC_TEST): New macro.
5312         * math/test-float.c: Likewise.
5313         * math/test-idouble.c: Likewise.
5314         * math/test-ifloat.c: Likewise.
5315         * math/test-ildoubl.c: Likewise.
5316         * math/test-ldouble.c: Likewise.
5317         * math/libm-test.inc: Use FUNC_TEST for name of tested functions.
5319 2015-05-13  Roland McGrath  <roland@hack.frob.com>
5321         * sysdeps/nacl/fdopendir.c: New file.
5323         * dirent/scandir-tail.c: New file.
5324         * dirent/scandir64-tail.c: New file.
5325         * dirent/Makefile (routines): Add them.
5326         (CFLAGS-scandir-tail.c, CFLAGS-scandir64-tail.c): New variables.
5327         * include/dirent.h (__scandir_tail, __scandir64_tail): Declare them.
5328         * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Macro removed.
5329         [!SCANDIR] (SCANDIR_TAIL): New macro.
5330         (SCANDIR): Call __opendir and __scandir_tail, not __scandirat.
5331         * dirent/scandir64.c [!_DIRENT_MATCHES_DIRENT64]
5332         (SCANDIRAT): Macro removed.
5333         (SCANDIR_TAIL): New macro.
5334         * dirent/scandirat.c [!SCANDIRAT] (READDIR): Macro removed.
5335         [!SCANDIRAT] (SCANDIR_TAIL): New macro.
5336         (SCANDIRAT): Just call __opendirat and __scandir_tail.
5337         * dirent/scandirat64.c [!_DIRENT_MATCHES_DIRENT64]
5338         (READDIR): Macro removed.
5339         (SCANDIR_TAIL): New macro.
5340         * sysdeps/unix/sysv/linux/i386/scandir64.c (READDIR): Macro removed.
5341         (SCANDIR_TAIL): New macro.
5343         * dirent/scandirat.c (__scandir_cancel_handler): Function moved ...
5344         * dirent/scandir-cancel.c: ... to this new file.
5345         * dirent/Makefile (routines): Add it.
5346         * dirent/scandirat64.c (SKIP_SCANDIR_CANCEL): Macro removed.
5347         * sysdeps/unix/sysv/linux/i386/scandir64.c
5348         (SKIP_SCANDIR_CANCEL): Macro removed.
5349         * include/dirent.h (__scandir_cancel_handler): Add attribute_hidden.
5351         * dirent/tst-scandir.c: New file.
5352         * dirent/tst-scandir64.c: New file.
5353         * dirent/Makefile (tests): Add them.
5355 2015-05-13  H.J. Lu  <hongjiu.lu@intel.com>
5357         [BZ #18409]
5358         * sysdeps/unix/make-syscalls.sh: Remove a trailing `\'.
5360 2015-05-13  Szabolcs Nagy  <szabolcs.nagy@arm.com>
5362         * sysdeps/aarch64/tls-macros.h (TLS_GD): Add "cc" to the clobber
5363         list.
5365 2015-05-13  Leonhard Holz  <leonhard.holz@web.de>
5367         * benchtests/bench-strcoll.c: New benchmark.
5368         * benchtests/Makefile: Generate locales and run benchmark.
5369         * benchtests/strcoll-inputs/filelist#C: New benchmark input file.
5370         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Likewise.
5371         * benchtests/strcoll-inputs/lorem_ipsum#ar_SA.UTF-8: Likewise.
5372         * benchtests/strcoll-inputs/lorem_ipsum#cs_CZ.UTF-8: Likewise.
5373         * benchtests/strcoll-inputs/lorem_ipsum#da_DK.UTF-8: Likewise.
5374         * benchtests/strcoll-inputs/lorem_ipsum#el_GR.UTF-8: Likewise.
5375         * benchtests/strcoll-inputs/lorem_ipsum#en_GB.UTF-8: Likewise.
5376         * benchtests/strcoll-inputs/lorem_ipsum#en_US.UTF-8: Likewise.
5377         * benchtests/strcoll-inputs/lorem_ipsum#es_ES.UTF-8: Likewise.
5378         * benchtests/strcoll-inputs/lorem_ipsum#fr_FR.UTF-8: Likewise.
5379         * benchtests/strcoll-inputs/lorem_ipsum#hi_IN.UTF-8: Likewise.
5380         * benchtests/strcoll-inputs/lorem_ipsum#hu_HU.UTF-8: Likewise.
5381         * benchtests/strcoll-inputs/lorem_ipsum#is_IS.UTF-8: Likewise.
5382         * benchtests/strcoll-inputs/lorem_ipsum#it_IT.UTF-8: Likewise.
5383         * benchtests/strcoll-inputs/lorem_ipsum#iw_IL.UTF-8: Likewise.
5384         * benchtests/strcoll-inputs/lorem_ipsum#ja_JP.UTF-8: Likewise.
5385         * benchtests/strcoll-inputs/lorem_ipsum#pl_PL.UTF-8: Likewise.
5386         * benchtests/strcoll-inputs/lorem_ipsum#pt_PT.UTF-8: Likewise.
5387         * benchtests/strcoll-inputs/lorem_ipsum#ru_RU.UTF-8: Likewise.
5388         * benchtests/strcoll-inputs/lorem_ipsum#sr_RS.UTF-8: Likewise.
5389         * benchtests/strcoll-inputs/lorem_ipsum#sv_SE.UTF-8: Likewise.
5390         * benchtests/strcoll-inputs/lorem_ipsum#tr_TR.UTF-8: Likewise.
5391         * benchtests/strcoll-inputs/lorem_ipsum#vi_VN.UTF-8: Likewise.
5392         * benchtests/strcoll-inputs/lorem_ipsum#zh_CN.UTF-8: Likewise.
5394 2015-05-12  Ondřej Bílka  <neleai@seznam.cz>
5396         * sysdeps/x86_64/multiarch/strcspn.S: Remove plt indirection.
5397         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
5399 2015-05-12  Roland McGrath  <roland@hack.frob.com>
5401         * posix/uname-values.h: New file.
5402         * posix/uname.c: Include that instead of <config-name.h>.
5403         * sysdeps/nacl/uname-values.h: New file.
5404         * sysdeps/arm/nacl/uname-values.h: New file.
5406 2015-05-12  Joseph Myers  <joseph@codesourcery.com>
5408         * conform/linknamespace.pl (list_syms): Remove \[.*?\] before
5409         splitting into fields.
5411 2015-05-12  Leonhard Holz  <leonhard.holz@web.de>
5413         * locale/categories.def: Define _NL_COLLATE_ENCODING_TYPE.
5414         * locale/langinfo.h: Add _NL_COLLATE_ENCODING_TYPE to attribute list.
5415         * locale/localeinfo.h: Add enum collation_encoding_type.
5416         * locale/C-collate.c: Set _NL_COLLATE_ENCODING_TYPE to 8bit.
5417         * programs/ld-collate.c (collate_output): Add encoding type info.
5418         * string/strcoll_l.c (STRDIFF): New function.
5419         * (STRCOLL): Use STRDIFF to skip over equal prefix.
5420         * wcsmbs/wcscoll_l.c: Define STRDIFF.
5422 2015-05-11  Joseph Myers  <joseph@codesourcery.com>
5424         [BZ #18397]
5425         * sysdeps/mips/mips32/fpu/fpu_control.c: Move to ....
5426         * sysdeps/mips/mips32/fpu/fpucw-helpers.c: ... here.  Include
5427         <fpu_control.h> instead of <math/fpu_control.c>.
5428         * sysdeps/mips/mips32/fpu/Makefile: New file.
5430 2015-05-11  Andreas Schwab  <schwab@suse.de>
5432         [BZ #18007]
5433         * nis/nss_compat/compat-grp.c (internal_endgrent): Don't call
5434         nss_endgrent.
5435         (_nss_compat_endgrent): Call nss_endgrent.
5436         * nis/nss_compat/compat-pwd.c (internal_endpwent): Don't call
5437         nss_endpwent.
5438         (_nss_compat_endpwent): Call nss_endpwent.
5439         * nis/nss_compat/compat-spwd.c (internal_setspent): Add parameter
5440         needent, call nss_setspent only if non-zero.
5441         (_nss_compat_setspent, _nss_compat_getspent_r): Pass non-zero.
5442         (internal_endspent): Don't call nss_endspent.
5443         (_nss_compat_endspent): Call nss_endspent.
5444         * nss/nss_files/files-XXX.c (position, last_use, keep_stream):
5445         Remove.  All uses removed.
5446         (internal_setent): Remove parameter stayopen, add parameter
5447         stream.  Use it instead of global variable.
5448         (CONCAT(_nss_files_set,ENTNAME)): Pass global stream.
5449         (internal_endent, internal_getent): Add parameter stream.  Use it
5450         instead of global variable.
5451         (CONCAT(_nss_files_end,ENTNAME))
5452         (CONCAT(_nss_files_get,ENTNAME_r)): Pass global stream.
5453         (_nss_files_get##name##_r): Pass local stream.  Remove locking.
5454         * nss/nss_files/files-alias.c (position, last_use): Remove.  All
5455         uses removed.
5456         (internal_setent, internal_endent): Add parameter stream.  Use it
5457         instead of global variable.
5458         (_nss_files_setaliasent, _nss_files_endaliasent): Pass global
5459         stream.
5460         (get_next_alias): Add parameter stream.
5461         (_nss_files_getaliasent_r): Pass global stream.
5462         (_nss_files_getaliasbyname_r): Pass local stream.  Remove locking.
5463         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r)
5464         (_nss_files_gethostbyname4_r): Pass local stream to
5465         internal_setent, internal_getent and internal_endent.  Remove
5466         locking.
5468 2015-05-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
5470         * tst-strfmon1.c (tests): Update expected currency symbol.
5472 2015-05-08  Roland McGrath  <roland@hack.frob.com>
5474         * sysdeps/nacl/gethostname.c: New file.
5476 2015-05-08  Joseph Myers  <joseph@codesourcery.com>
5478         * math/auto-libm-test-in: Add more tests of csqrt, lgamma, log10
5479         and sinh.
5480         * math/auto-libm-test-out: Regenerated.
5481         * sysdeps/i386/fpu/libm-test-ulps: Update.
5482         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5484 2015-05-08  Carlos O'Donell  <carlos@redhat.com>
5486         [BZ #18125]
5487         * stdlib/tst-setcontext3.c: New file.
5488         * stdlib/tst-setcontext3.sh: New file.
5489         * stdlib/Makefile (tests): Add tst-setcontext3.
5490         (tst-setcontext3.out): Custom rule to run tst-setcontext3.sh
5491         to verify test program created output file.
5492         * sysdeps/unix/sysv/linux/aarch64/setcontext.S: Call exit.
5493         * sysdeps/unix/sysv/linux/arm/setcontext.S: Likewise.
5494         * sysdeps/unix/sysv/linux/hppa/setcontext.S: Likewise.
5495         * sysdeps/unix/sysv/linux/nios2/setcontext.S: Likewise.
5497 2015-05-06  Roland McGrath  <roland@hack.frob.com>
5499         [BZ #18383]
5500         * elf/tst-tlsalign.c: New file.
5501         * elf/tst-tlsalign-static.c: New file.
5502         * elf/tst-tlsalign-lib.c: New file.
5503         * elf/Makefile [$(build-shared) = yes] (tests): Add tst-tlsalign.
5504         (tests-static): Add tst-tlsalign-static.
5505         (modules-names): Add tst-tlsalign-lib.
5506         (test-xfail-tst-tlsalign): New variable.
5507         (test-xfail-tst-tlsalign-static): New variable.
5509         * sysdeps/nacl/nacl-test-wrapper.sh (NACL_LOADER):
5510         Use elf_loader_${arch}.nexe rather than loader_${arch}.nexe.
5512 2015-05-06  Joseph Myers  <joseph@codesourcery.com>
5514         * math/auto-libm-test-in: Add more tests of acosh, atanh, cos,
5515         csqrt, erfc, sin and sincos.
5516         * math/auto-libm-test-out: Regenerated.
5517         * sysdeps/i386/fpu/libm-test-ulps: Update.
5518         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5520 2015-05-06  Szabolcs Nagy  <szabolcs.nagy@arm.com>
5522         * sysdeps/aarch64/libm-test-ulps: Update.
5524 2015-05-05  Joseph Myers  <joseph@codesourcery.com>
5526         * math/auto-libm-test-in: Add more tests of acosh, atanh, clog,
5527         clog10, csqrt, erfc, exp2, expm1, log10, log2 and sinh.
5528         * math/auto-libm-test-out: Regenerated.
5529         * sysdeps/i386/fpu/libm-test-ulps: Update.
5530         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5532 2015-04-30  Daniel Marjamäki  <daniel.marjamaki@evidente.se>
5534         [BZ #18265]
5535         * wcsmbs/wchar.h (wcscpy): Add __nonnull attribute.
5536         (wcsncpy): Likewise.
5538 2015-05-05  Florian Weimer  <fweimer@redhat.com>
5540         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
5541         Assume __ASSUME_FALLOCATE is always true.
5542         * sysdeps/unix/sysv/linux/posix_fallocate64.c
5543         (__posix_fallocate64_l64): Likweise.
5544         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate.c
5545         (posix_fallocate): Likewise.
5546         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate64.c
5547         (__posix_fallocate64_l64): Likewise.
5548         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
5549         [!__ASSUME_FALLOCATE]: Add comment.
5551 2015-05-05  Florian Weimer  <fweimer@redhat.com>
5553         * sysdeps/unix/sysv/linux/i386/Makefile
5554         (sysdep_routines) [$(subdir) = misc]: Remove call_fallocate.
5555         (sysdep_routines) [$(subdir) = io]: Add libc-do-syscall.
5556         * sysdeps/unix/sysv/linux/i386/call_fallocate.S: Remove.
5557         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
5558         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
5559         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c: Likewise.
5560         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c: Likewise.
5562 2015-05-02  Joseph Myers  <joseph@codesourcery.com>
5564         * math/auto-libm-test-in: Add more tests of atan, clog, clog10,
5565         cos, csqrt, erf, erfc, exp2, lgamma, log1p, sin, sincos, tanh and
5566         tgamma.
5567         * math/auto-libm-test-out: Regenerated.
5568         * sysdeps/i386/fpu/libm-test-ulps: Update.
5569         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5571 2015-05-01  Joseph Myers  <joseph@codesourcery.com>
5573         * math/auto-libm-test-in: Add more tests of tgamma.
5574         * math/auto-libm-test-out: Regenerated.
5575         * sysdeps/i386/fpu/libm-test-ulps: Update.
5576         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5578         * math/auto-libm-test-in: Add more tests of tanh.
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 tan.
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         * math/auto-libm-test-in: Add more tests of cos, sin and sincos.
5589         * math/auto-libm-test-out: Regenerated.
5590         * sysdeps/i386/fpu/libm-test-ulps: Update.
5591         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5593         * math/auto-libm-test-in: Add another test of pow.
5594         * math/auto-libm-test-out: Regenerated.
5595         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5597         * math/auto-libm-test-in: Add more tests of lgamma.
5598         * math/auto-libm-test-out: Regenerated.
5599         * sysdeps/i386/fpu/libm-test-ulps: Update.
5600         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5602         * math/auto-libm-test-in: Add more tests of log, log10, log2 and
5603         log1p.
5604         * math/auto-libm-test-out: Regenerated.
5605         * sysdeps/i386/fpu/libm-test-ulps: Update.
5606         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5608 2015-05-01  Mark Wielaard  <mjw@redhat.com>
5610         * elf/elf.h: Add SHF_COMPRESSED section flag, Elf32_Chdr and
5611         Elf64_Chdr structs and ELFCOMPRESS constants.
5613 2015-05-01  Joseph Myers  <joseph@codesourcery.com>
5615         * math/auto-libm-test-in: Add more tests of exp, exp10, exp2 and
5616         expm1.
5617         * math/auto-libm-test-out: Regenerated.
5618         * sysdeps/i386/fpu/libm-test-ulps: Update.
5619         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5621         * math/auto-libm-test-in: Add more tests of erf and erfc.
5622         * math/auto-libm-test-out: Regenerated.
5623         * sysdeps/i386/fpu/libm-test-ulps: Update.
5624         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5626 2015-05-01  Szabolcs Nagy  <szabolcs.nagy@arm.com>
5628         * config.h.in (HAVE_AARCH64_BE): Add.
5630 2015-04-30  Joseph Myers  <joseph@codesourcery.com>
5632         * math/auto-libm-test-in: Add more tests of csqrt.
5633         * math/auto-libm-test-out: Regenerated.
5634         * sysdeps/i386/fpu/libm-test-ulps: Update.
5635         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5637         * math/auto-libm-test-in: Add more tests of cosh and sinh.
5638         * math/auto-libm-test-out: Regenerated.
5639         * sysdeps/i386/fpu/libm-test-ulps: Update.
5640         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5642         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: Remove file.
5644 2015-04-29  Roland McGrath  <roland@hack.frob.com>
5646         * sysdeps/nacl/bits/typesizes.h (__CLOCK_T_TYPE): Use __SLONGWORD_TYPE.
5647         * sysdeps/nacl/nacl-interfaces.h (nacl_abi_clock_t): Use clock_t.
5649         * sysdeps/nacl/euidaccess.c (euidaccess): Renamed to __euidaccess.
5650         (euidaccess, eaccess): Define as weak aliases.
5652         * sysdeps/nacl/bits/typesizes.h (__SUSECONDS_T_TYPE): Use
5653         __SLONGWORD_TYPE rather than __S32_TYPE.  They are the same size,
5654         but __suseconds_t is often 'long int' so some sources assume that
5655         type is being used (e.g. they use %ld to print tv_usec).
5657 2015-04-29  Florian Weimer  <fweimer@redhat.com>
5659         [BZ #18007]
5660         * nss/nss_files/files-XXX.c (CONCAT): Always enable stayopen.
5661         (CVE-2014-8121)
5662         * nss/tst-nss-getpwent.c: New file.
5663         * nss/Makefile (tests): Add new test.
5665 2015-04-28  Joseph Myers  <joseph@codesourcery.com>
5667         [BZ #18346]
5668         * sysdeps/ieee754/ldbl-128/s_roundl.c (__roundl): Handle all
5669         exponents less than 48 as cases where high part of mantissa needs
5670         examining to determine whether argument is integral.
5671         * math/libm-test.inc (round_test_data): Add more tests.
5673 2015-04-28  Mark Wielaard  <mjw@redhat.com>
5675         * elf/elf.h (SHF_EXCLUDE): Use unsigned 1 for shift.
5677 2015-04-27  David S. Miller  <davem@davemloft.net>
5679         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Remove
5680         __tls_get_addr.
5681         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
5683 2015-04-27  H.J. Lu  <hongjiu.lu@intel.com>
5685         [BZ#18333]
5686         * time/tzset.c (__tzfile_read): Check tzspec_len == 0.
5688 2015-04-27  Florian Weimer  <fweimer@redhat.com>
5690         [BZ#18333]
5691         * time/tzset.c (parse_tzname): Return error on memory allocation
5692         failure.
5693         * test-skeleton.c (struct temp_name_list): Change type of name
5694         member to non-const.
5695         (add_temp_file): Create a copy of the file name.
5696         (delete_temp_files): Deallocate memory.
5697         (create_temp_file): Add comment.
5699 2015-04-24  Florian Weimer  <fweimer@redhat.com>
5701         * io/posix_fallocate.c (posix_fallocate): Do not set errno.
5702         * io/posix_fallocate64.c (posix_fallocate64): Likewise.
5704 2015-04-24  Roland McGrath  <roland@hack.frob.com>
5706         * sysdeps/arm/configure.ac (PI_STATIC_AND_HIDDEN): Define it.
5707         * sysdeps/arm/configure: Regenerated.
5709 2015-04-24  Florian Weimer  <fweimer@redhat.com>
5711         [BZ #17715]
5712         * time/tzfile.c (__tzfile_read): Check for large values of
5713         tzh_ttisstdcnt and tzh_ttisgmtcnt.  Use malloc instead of alloca.
5714         * time/tzset.c (__tzstring_len): New function, based on the old
5715         __tzstring function.
5716         (__tzstring): Call __tzstring_len.
5717         (parse_tzname): New helper function extracted from
5718         __tzset_parse_tz.  Call __tzstring_len, without making a copy of
5719         the input string.
5720         (parse_offset): New helper function extracted from
5721         __tzset_parse_tz.  Replace switch with fallthrough with
5722         initialization before sscanf.
5723         (parse_rule): Likewise.
5724         (__tzset_parse_tz): Rewrite using the new helper functions.  Use
5725         new-style function definition.
5726         * timezone/Makefile (tests): Add tst-tzset.
5727         (tst-tzset.out): Dependencies on time zone files.
5728         (tst-tzset-ENV): Set TZDIR.
5729         (testdata/XT%): Copy crafted time zone files.
5730         * timezone/README: Mention crafted time zone files.
5731         * timezone/testdata/XT1, timezone/testdata/XT2,
5732         timezone/testdata/XT3, timezone/testdata/XT4: New time zone test
5733         files.
5734         * timezone/tst-tzset.c: New test.
5736 2015-04-24  Florian Weimer  <fweimer@redhat.com>
5738         * Makeconfig (+gccwarn): Remove -Winline.
5740 2015-04-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
5742         * sysdeps/s390/fpu/libm-test-upls: Regenerate.
5744 2015-04-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
5746         * NEWS: Mention sysconf() cache information support for s390.
5747         * sysdeps/unix/sysv/linux/s390/sysconf.c: New File.
5749 2015-04-22  Wilco Dijkstra  <wdijkstr@arm.com>
5751         * math/k_casinh.c (__kernel_casinh): Use __copysign.
5752         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c
5753         (__nearbyint): Likewise.
5754         * sysdeps/ieee754/ldbl-opt/nldbl-copysign.c
5755         (copysignl): Likewise.
5757 2015-04-21  Arjun Shankar  <arjun.is@lostca.se>
5759         [BZ #18287]
5760         * resolv/nss_dns/dns-host.c (getanswer_r): Adjust buffer length
5761         based on padding.  (CVE-2015-1781)
5763 2015-04-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5765         * nptl/pthread_cond_timedwait.c: Change include bits/libc-vdso.h to just
5766         libc-vdso.h.
5767         * sysdeps/powerpc/powerpc32/backtrace.c: Likewise.
5768         * sysdeps/powerpc/powerpc64/backtrace.c: Likewise.
5769         * sysdeps/unix/sysv/linux/aarch64/init-first.c: Likewise.
5770         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
5771         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
5772         * sysdeps/unix/sysv/linux/gettimeofday.c: Likewise.
5773         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Likewise.
5774         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
5775         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
5776         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Likewise.
5777         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
5778         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
5779         * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
5780         * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise.
5781         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
5782         * sysdeps/unix/sysv/linux/aarch64/bits/libc-vdso.h: Move to ...
5783         * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h: ... here.
5784         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Move to ...
5785         * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h: ... here.
5786         * sysdeps/unix/sysv/linux/s390/bits/libc-vdso.h: Move to ...
5787         * sysdeps/unix/sysv/linux/s390/libc-vdso.h: ... here.
5788         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Move to ...
5789         * sysdeps/unix/sysv/linux/tile/libc-vdso.h: ... here.
5791 2015-04-19  Paul Eggert  <eggert@cs.ucla.edu>
5793         * stdlib/setenv.c (__add_to_environ):
5794         Dump core quickly if setenv (..., NULL, ...) is called.
5795         This time, do it the right way, and pacify GCC with a pragma.
5797 2015-04-17  Roland McGrath  <roland@hack.frob.com>
5799         * elf/dl-close.c (_dl_close_worker) [DL_NNS == 1]: Just assert that
5800         IMAP->l_prev cannot be null, and #if out the code for the contrary
5801         case, avoiding 'assert (nsid != LM_ID_BASE)' making the compiler
5802         believe that NS (&_dl_ns[NSID]) could point outside the array.
5804         * elf/dl-open.c (_dl_open): Use __glibc_unlikely in invalid namespace
5805         check.  Reject NSID < 0 and NSID >= dl_nns, and check for DL_NNS==1,
5806         before using NSID as an index.
5808 2015-04-17  Il'ya Malakhov <ilmalakhov@yandex.ru>
5810         [BZ #17825]
5811         * sysdeps/sparc/sparc64/memchr.S: Fix signedness handling of length.
5812         * sysdeps/sparc/sparc64/memcmp.S: Likewise.
5813         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
5815 2015-04-17  Roland McGrath  <roland@hack.frob.com>
5817         Add preliminary port to Google Native Client on ARM.
5818         * abi-tags (.*-.*-nacl.*): New entry.
5819         * sysdeps/arm/nacl: New directory.
5820         * sysdeps/nacl: New directory.
5822 2015-04-16  David S. Miller  <davem@davemloft.net>
5824         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Make use of
5825         lowlevellock-futex.h
5827 2015-04-16  Chris Metcalf  <cmetcalf@ezchip.com>
5829         * sysdeps/tile/configure.ac: New file.
5830         * sysdeps/tile/configure: Regenerated.
5832 2015-04-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5834         * wcsmbs/wcschr.c [WCSCHR] (wcschr): Define as __wcschr.  Remove
5835         conditionals for weak_alias and libc_hidden_weak.
5836         * sysdeps/i386/i686/multiarch/wcschr-c.c [libc]: Undefine
5837         libc_hidden_weak and weak_alias.
5838         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c [libc]:
5839         Undefine libc_hidden_weak. Define libc_hidden_def for SHARED builds
5840         and weak_alias for static one.
5842 2015-04-15  David S. Miller  <davem@davemloft.net>
5844         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
5846 2015-04-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
5848         [BZ #18206]
5849         * wcsmbs/wcsncmp.c (wcsncmp): Compare as wchar_t, not wint_t.
5850           Use signed comparision instead of substraction to avoid
5851           overflow bug.
5852         * localedata/tests-mbwc/tst_wcsncmp.c (tst_wcsncmp):
5853           Take the sign of ret.
5854         * localedata/tests-mbwc/dat_wcsncmp.c (tst_wcsncmp_loc):
5855           Do not expect precise return values. Only the sign matters.
5856         * wcsmbs/Makefile (strop-tests): Add wcsncmp.
5857         * wcsmbs/test-wcsncmp.c: New File.
5858         * string/test-strncmp.c: Add wcsncmp support.
5860 2015-04-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
5862         [BZ #6792]
5863         * math/w_log1p.c: New file.
5864         * math/w_log1pf.c: Likewise.
5865         * math/w_log1pl.c: Likewise.
5866         * math/Makefile (libm-calls): Add w_log1p.
5867         * math/s_log1pl.c (log1pl): Remove weak_alias.
5868         * sysdeps/i386/fpu/s_log1p.S (log1p): Likewise.
5869         * sysdeps/i386/fpu/s_log1pf.S (log1pf): Likewise.
5870         * sysdeps/i386/fpu/s_log1pl.S (log1pl): Likewise.
5871         * sysdeps/x86_64/fpu/s_log1pl.S (log1pl): Likewise.
5872         * sysdeps/ieee754/dbl-64/s_log1p.c (log1p): Likewise.
5873         [NO_LONG_DOUBLE] (log1pl): Likewise.
5874         * sysdeps/ieee754/flt-32/s_log1pf.c (log1pf): Likewise.
5875         * sysdeps/ieee754/ldbl-128/s_log1pl.c (log1pl): Likewise.
5876         * sysdeps/ieee754/ldbl-64-128/s_log1pl.c
5877         (log1p): Remove long_double_symbol.
5878         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (log1pl): Likewise.
5879         * sysdeps/ieee754/ldbl-64-128/w_log1pl.c: New file.
5880         * sysdeps/ieee754/ldbl-128ibm/w_log1pl.c: Likewise.
5881         * sysdeps/m68k/m680x0/fpu/s_log1p.c: Define empty weak_alias to
5882         remove weak_alias for corresponding log1p function.
5883         * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Likewise.
5884         * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Likewise.
5885         * sysdeps/ia64/fpu/w_log1p.c: New file.
5886         * sysdeps/ia64/fpu/w_log1pf.c: Likewise.
5887         * sysdeps/ia64/fpu/w_log1pl.c: Likewise.
5888         * math/libm-test.inc (log1p_test_data): Add errno expectations.
5890 2015-04-10  Joseph Myers  <joseph@codesourcery.com>
5892         [BZ #18247]
5893         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Decrease minimum
5894         decimal exponent by 1.
5895         * stdlib/tst-strtod-round-data: Add more tests.
5896         * stdlib/tst-strtod-round.c (tests): Regenerated.
5898 2015-04-09  Joseph Myers  <joseph@codesourcery.com>
5900         * math/auto-libm-test-in: Add more tests of clog and clog10.
5901         * math/auto-libm-test-out: Regenerated.
5902         * sysdeps/i386/fpu/libm-test-ulps: Update.
5903         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5905 2015-04-09  Roland McGrath  <roland@hack.frob.com>
5907         * Makeconfig (module-cppflags): Exclude all .v.i files.
5908         (skip-module-cppflags): Variable removed.
5910         * configure.ac (libc_config_ok): Initialize before reading
5911         preconfigure scripts, not after.
5912         * configure: Regenerated.
5914         * test-skeleton.c (TIMEOUT): Move #define to top level.
5915         (main): Grok environment variable TEST_DIRECT.  If set, print
5916         test expectation details into that file and then behave as if
5917         given --direct.
5919 2015-04-09  Florian Weimer  <fweimer@redhat.com>
5921         * malloc/tst-scratch_buffer.c (do_test): Suppress truncation
5922         warning on 32-bit.
5924 2015-04-08  David S. Miller  <davem@davemloft.net>
5926         * sysdeps/sparc/fpu/libm-test-ulps: Update.
5928 2015-04-08  Joseph Myers  <joseph@codesourcery.com>
5930         * math/auto-libm-test-in: Add more tests of atanh.
5931         * math/auto-libm-test-out: Regenerated.
5932         * sysdeps/i386/fpu/libm-test-ulps: Update.
5933         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5935         * math/auto-libm-test-in: Add more tests of atan.
5936         * math/auto-libm-test-out: Regenerated.
5937         * sysdeps/i386/fpu/libm-test-ulps: Update.
5938         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5940 2015-04-08  Florian Weimer  <fweimer@redhat.com>
5942         * elf/pldd.c (main): Rewrite to use struct
5943         scratch_buffer instead of extend_alloca.
5944         * elf/pldd-xx.c (find_maps): Likewise.
5945         * grp/initgroups.c: Include <scratch_buffer.h> instead of
5946         <alloca.h>.
5947         * grp/compat-initgroups.c (compat_call): Rewrite to use struct
5948         scratch_buffer instead of extend_alloca.
5949         * nscd/initgrcache.c: Include <scratch_buffer.h>, now needed by
5950         grp/compat-initgroups.c.
5951         * nis/nss_compat/compat-initgroups.c (_nss_compat_initgroups_dyn):
5952         Rewrite to use struct scratch_buffer instead of extend_alloca.
5953         * inet/getnameinfo.c (nrl_domainname, getnameinfo): Likewise.
5954         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
5956 2015-04-08  Joseph Myers  <joseph@codesourcery.com>
5958         * math/auto-libm-test-in: Add more tests of cbrt.
5959         * math/auto-libm-test-out: Regenerated.
5960         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5962         * math/auto-libm-test-in: Add more tests of cabs.
5963         * math/auto-libm-test-out: Regenerated.
5964         * sysdeps/i386/fpu/libm-test-ulps: Update.
5965         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5967         [BZ #18210]
5968         [BZ #18211]
5969         * sysdeps/ieee754/dbl-64/e_atan2.c: Include <fenv.h>.
5970         (__ieee754_atan2): Set FE_TONEAREST mode for internal
5971         computations.
5972         * math/auto-libm-test-in: Add more tests of atan2, carg, clog and
5973         clog10.
5974         * math/auto-libm-test-out: Regenerated.
5975         * sysdeps/i386/fpu/libm-test-ulps: Update.
5976         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5978         [BZ #18197]
5979         * sysdeps/ieee754/dbl-64/s_atan.c: Include <fenv.h>.
5980         (atan): Set FE_TONEAREST mode for internal computations.
5981         * math/auto-libm-test-in: Add more tests of atan.
5982         * math/auto-libm-test-out: Regenerated.
5984 2015-04-07  James Cowgill  <james410@cowgill.org.uk>
5986         [BZ #17930]
5987         * sysdeps/unix/sysv/linux/mips/bits/shm.h (SHM_NORESERVE): Define.
5989 2015-04-07  Florian Weimer  <fweimer@redhat.com>
5991         * malloc/scratch_buffer_grow_preserve.c: Include <string.h>
5993 2015-04-07  Florian Weimer  <fweimer@redhat.com>
5995         * include/scratch_buffer.h: New file.
5996         * malloc/scratch_buffer_grow.c: Likewise.
5997         * malloc/scratch_buffer_grow_preserve.c: Likewise.
5998         * malloc/scratch_buffer_set_array_size.c: Likewise.
5999         * malloc/tst-scratch_buffer.c: Likewise.
6000         * malloc/Makefile (routines): Add scratch_buffer_grow.
6001         (tests): Add test case.
6002         * malloc/Versions (GLIBC_PRIVATE): Export
6003         __libc_scratch_buffer_grow, __libc_scratch_buffer_grow_preserve,
6004         __libc_scratch_buffer_set_array_size.
6006 2015-04-06  Richard Henderson  <rth@redhat.com>
6008         * sysdeps/unix/alpha/sysdep.h: Unconditionally include dl-sysdep.h.
6009         * sysdeps/alpha/fpu/libm-test-ulps: Update.
6011         * math/test-fenvinline.c (feenable_test): Cast fe_exc to
6012         unsigned int before printing.
6014 2015-04-03  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
6016         [BZ #17596]
6017         * wcsmbs/mbrtowc.c (__mbrtowc): Add check for n=0.
6018         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
6020 2015-04-02  Florian Weimer  <fweimer@redhat.com>
6022         * include/libc-internal.h (libc_max_align_t): Define.
6024 2015-04-02  Andreas Schwab  <schwab@suse.de>
6026         [BZ #16850]
6027         * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h: New file.
6029 2015-04-02  Mel Gorman  <mgorman@suse.de>
6031         [BZ #17195]
6032         * malloc/arena.c (free): Apply trim threshold to per-thread heaps
6033         as well as the main arena.
6035 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
6037         [BZ #18185]
6038         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo): Limit threads
6039         sharing L2 cache to 2 for Silvermont/Knights Landing.
6041 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
6043         [BZ #17711]
6044         * config.make.in (have-protected-data): New.
6045         * configure.ac: Check linker support for protected data symbol.
6046         * configure: Regenerated.
6047         * elf/Makefile (modules-names): Add tst-protected1moda and
6048         tst-protected1modb if $(have-protected-data) is yes.
6049         (tests): Add tst-protected1a and tst-protected1b if
6050         $(have-protected-data) is yes.
6051         ($(objpfx)tst-protected1a): New.
6052         ($(objpfx)tst-protected1b): Likewise.
6053         (tst-protected1modb.so-no-z-defs): Likewise.
6054         * elf/tst-protected1a.c: New file.
6055         * elf/tst-protected1b.c: Likewise.
6056         * elf/tst-protected1mod.h: Likewise.
6057         * elf/tst-protected1moda.c: Likewise.
6058         * elf/tst-protected1modb.c: Likewise.
6060 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
6062         [BZ #17711]
6063         * elf/dl-lookup.c (do_lookup_x): When UNDEF_MAP is NULL, which
6064         indicates it is called from do_lookup_x on relocation against
6065         protected data, skip the data definion in the executable from
6066         copy reloc.
6067         (_dl_lookup_symbol_x): Pass ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA,
6068         instead of ELF_RTYPE_CLASS_PLT, to do_lookup_x for
6069         EXTERN_PROTECTED_DATA relocation against STT_OBJECT symbol.
6070         * sysdeps/generic/ldsodefs.h * (ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA):
6071         New.  Defined to 4 if DL_EXTERN_PROTECTED_DATA is defined,
6072         otherwise to 0.
6073         * sysdeps/i386/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
6074         * sysdeps/i386/dl-machine.h (elf_machine_type_class): Set class
6075         to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_386_GLOB_DAT.
6076         * sysdeps/x86_64/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
6077         * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Set class
6078         to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_X86_64_GLOB_DAT.
6080 2015-03-28  Martin Galvan  <martin.galvan@tallertechnologies.com>
6082         * sysdeps/nptl/pthread.h: Remove duplicate definition of
6083         PTHREAD_ADAPTIVE_MUTEX_INITIALIZER_NP.
6085 2015-03-27  Martin Galvan  <martin.galvan@tallertechnologies.com>
6087         * sysdeps/i386/nptl/tls.h: Swap comments between THREAD_SETMEM and
6088         THREAD_SETMEM_NC.
6089         * sysdeps/x86_64/nptl/tls.h: Ditto.
6091 2015-03-27  Roland McGrath  <roland@hack.frob.com>
6093         * dlfcn/tststatic.c (main): Converted to ...
6094         (do_test): ... this.
6095         (TEST_FUNCTION): New macro.
6096         Include test-skeleton.c.
6098 2015-03-26  Alan Modra  <amodra@gmail.com>
6100         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_fixup_plt):
6101         Don't segfault if ifunc resolver returns a NULL.  Do set plt to
6102         zero for undefined weak.
6103         (elf_machine_plt_conflict): Similarly.
6105 2015-03-25  Joseph Myers  <joseph@codesourcery.com>
6107         * math/auto-libm-test-in: Add more tests of acosh, asinh and
6108         atanh.
6109         * math/auto-libm-test-out: Regenerated.
6110         * sysdeps/i386/fpu/libm-test-ulps: Update.
6111         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6113         * math/auto-libm-test-in: Add another test of asin.
6114         * math/auto-libm-test-out: Regenerated.
6115         * sysdeps/i386/fpu/libm-test-ulps: Update.
6116         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6118         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (LLL_EBX_LOAD):
6119         Remove macro.
6120         (LLL_EBX_REG): Likewise.
6121         (LLL_ENTER_KERNEL): Likewise.
6123         * math/auto-libm-test-in: Add more tests of asin.
6124         * math/auto-libm-test-out: Regenerated.
6125         * sysdeps/i386/fpu/libm-test-ulps: Update.
6126         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6128         [BZ #18138]
6129         * sysdeps/unix/sysv/linux/i386/sysdep.h (struct
6130         libc_do_syscall_args): New structure.
6131         (INTERNAL_SYSCALL_MAIN_0): New macro.
6132         (INTERNAL_SYSCALL_MAIN_1): Likewise.
6133         (INTERNAL_SYSCALL_MAIN_2): Likewise.
6134         (INTERNAL_SYSCALL_MAIN_3): Likewise.
6135         (INTERNAL_SYSCALL_MAIN_4): Likewise.
6136         (INTERNAL_SYSCALL_MAIN_5): Likewise.
6137         (INTERNAL_SYSCALL_MAIN_6): Likewise.  Call __libc_do_syscall.
6138         (INTERNAL_SYSCALL): Define to use INTERNAL_SYSCALL_MAIN_##nr.
6139         Replace conditional definitions by conditional definitions of ....
6140         (INTERNAL_SYSCALL_MAIN_INLINE): ... this.  New macro.
6141         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: New file.
6142         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = nptl]
6143         (libpthread-sysdep_routines): Add libc-do-syscall.
6144         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: Remove file.
6145         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (SYS_futex): Define
6146         to __NR_futex not 240.
6148 2015-03-25  Alan Modra  <amodra@gmail.com>
6150         * NEWS: Advertise TLS optimization.
6151         * elf/elf.h (R_PPC_TLSGD, R_PPC_TLSLD, DT_PPC_OPT, PPC_OPT_TLS): Define.
6152         (DT_PPC_NUM): Increment.
6153         * elf/dynamic-link.h (HAVE_STATIC_TLS): Define.
6154         (CHECK_STATIC_TLS): Use here.
6155         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Optimize
6156         TLS descriptors.
6157         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
6158         * sysdeps/powerpc/dl-tls.c: New file.
6159         * sysdeps/powerpc/Versions: Add __tls_get_addr_opt.
6160         * sysdeps/powerpc/tst-tlsopt-powerpc.c: New tls test.
6161         * sysdeps/unix/sysv/linux/powerpc/Makefile: Add new test.
6162         Build tst-tlsmod2.so with --no-tls-get-addr-optimize.
6163         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Update.
6164         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
6165         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
6167 2015-03-25  Alan Modra  <amodra@gmail.com>
6169         * sysdeps/powerpc/powerpc64/configure.ac: Correct "linker support
6170         for overlapping .opd entries" to "support...".
6171         * sysdeps/powerpc/powerpc64/configure: Regenerate
6173 2015-03-25  Joseph Myers  <joseph@codesourcery.com>
6175         * math/auto-libm-test-in: Add more tests of acos.
6176         * math/auto-libm-test-out: Regenerated.
6177         * sysdeps/i386/fpu/libm-test-ulps: Update.
6178         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6180         * math/auto-libm-test-in: Add more tests of expm1.
6181         * math/auto-libm-test-out: Regenerated.
6182         * sysdeps/i386/fpu/libm-test-ulps: Update.
6183         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6185 2015-03-24  Joseph Myers  <joseph@codesourcery.com>
6187         * math/auto-libm-test-in: Add more tests of cosh and sinh.
6188         * math/auto-libm-test-out: Regenerated.
6189         * sysdeps/i386/fpu/libm-test-ulps: Update.
6190         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6192         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
6193         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6195         * math/auto-libm-test-in: Add more tests of log2.
6196         * math/auto-libm-test-out: Regenerated.
6197         * sysdeps/i386/fpu/libm-test-ulps: Update.
6198         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6200 2015-03-23  Roland McGrath  <roland@hack.frob.com>
6202         * libio/iofdopen.c: Move FD_FLAGS declaration into its first use,
6203         inside [F_GETFL].  Remove POSIX_MODE local variable, just test the
6204         _IO_IS_APPENDING bit in READ_WRITE instead.
6206 2015-03-23  Florian Weimer  <fweimer@redhat.com>
6208         * sysdeps/unix/sysv/linux/pthread_setaffinity.c
6209         (__determine_cpumask_size): Replace extend_alloca with a
6210         variable-length array.  Do not treat res == 0 as an error.
6212 2015-03-23  Florian Weimer  <fweimer@redhat.com>
6214         [BZ #18100]
6215         * posix/wordexp.c (eval_expr_multdiv): Check for division by zero
6216         and integer overflow.
6217         * posix/wordexp-test.c (test_case): Add divide-by-zero test.
6218         (main): Add integer overflow tests.
6219         * manual/pattern.texi (Calling Wordexp): Document additional use
6220         for WRDE_SYNTAX.
6222 2015-03-23  Alan Modra  <amodra@gmail.com>
6224         * config.h.in: Remove HAVE_ASM_PPC_REL16.
6225         * sysdeps/powerpc/powerpc32/tls-macros.h: Remove HAVE_ASM_PPC_REL16
6226         and false branch of conditional.
6227         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
6228         Likewise.
6230 2015-03-21  Samuel Thibault  <samuel.thibault@ens-lyon.org
6232         * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Depend on
6233         libc-modules.h
6234         * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler): Remove
6235         unused declaration of _hurd_intr_rpc_msg_in_trap.
6236         * mach/mach_init.c (__mach_init): Test whether HAVE_HOST_PAGE_SIZE is
6237         defined instead of whether it is non-zero.
6238         * sysdeps/mach/hurd/i386/intr-msg.h (INTR_MSG_TRAP): Use "+m"
6239         input constraint instead of both input and output constraint.  Use ecx
6240         clobber instead of %ecx.
6241         * sysdeps/mach/hurd/malloc-machine.h (mutex_init, mutex_lock,
6242         mutex_unlock): Use a statement expression instead of an expression list.
6243         * sysdeps/mach/hurd/setitimer.c (_hurd_itimer_thread_stack_size): Set
6244         type to vm_size_t instead of vm_address_t.
6245         * sysdeps/mach/hurd/fork.c (__fork): Test whether STACK_GROWTH_UP is
6246         defined instead of whether it is non-zero.
6247         * hurd/hurd/ioctl.h (_hurd_locked_install_cttyid): New declaration.
6248         * sysdeps/mach/hurd/setsid.c: Include <hurd/ioctl.h>.
6249         * sysdeps/mach/hurd/mmap.c (__mmap): Use 0 instead of NULL for
6250         comparisons with mapaddr.
6251         * nscd/nscd-client.h: Include <time.h>.
6252         * sysdeps/mach/hurd/dl-sysdep.c (fmh): Pass vm_offset_t dummy
6253         9th parameter to __vm_region instead of int.
6254         * bits/termios.h [!__USE_MISC] (EXTPROC): Do not define.
6255         * scripts/check-local-headers.sh (exclude): Add device/,
6256         hurd/hurd_types.h, hurd/ioctl_types.h, hurd/paths.h, hurd/ioctls.defs,
6257         cthreads.h.
6259 2015-03-19  Roland McGrath  <roland@hack.frob.com>
6261         * sysdeps/arm/memcpy.S [ARM_ALWAYS_BX]: Fix computed-jump calculations
6262         to account for alignment padding.
6263         * sysdeps/arm/memmove.S: Likewise.
6265 2015-03-19  Chris Metcalf  <cmetcalf@ezchip.com>
6267         * sysdeps/unix/sysv/linux/generic/README: New file.
6269 2015-03-18  Joseph Myers  <joseph@codesourcery.com>
6271         [BZ #18138]
6272         * nptl/sem_waitcommon.c: Include <kernel-features.h>.
6273         (futex_abstimed_wait)
6274         [__ASSUME_FUTEX_CLOCK_REALTIME && lll_futex_timed_wait_bitset]:
6275         Use lll_futex_timed_wait_bitset with FUTEX_CLOCK_REALTIME instead
6276         of lll_futex_timed_wait.
6278 2015-03-18  Brad Hubbard  <bhubbard@redhat.com>
6280         [BZ #17542]
6281         * sunrpc/svc.c (xprt_register): Use calloc to allocate xports.
6283 2015-03-17  Alexandre Oliva <aoliva@redhat.com>
6285         [BZ #17090]
6286         [BZ #17620]
6287         [BZ #17621]
6288         [BZ #17628]
6289         * NEWS: Update.
6290         * elf/dl-tls.c (_dl_update_slotinfo): Clean up outdated DTV
6291         entries with Static TLS too.  Skip entries past the end of the
6292         allocated DTV, from Alan Modra.
6293         (tls_get_addr_tail): Update to glibc_likely/unlikely.  Move
6294         Static TLS DTV entry set up from...
6295         (_dl_allocate_tls_init): ... here (fix modid assertion), ...
6296         * elf/dl-reloc.c (_dl_nothread_init_static_tls): ... here...
6297         * nptl/allocatestack.c (init_one_static_tls): ... and here...
6298         * elf/dlopen.c (dl_open_worker): Drop l_tls_modid upper bound
6299         for Static TLS.
6300         * elf/tlsdeschtab.h (map_generation): Return size_t.  Check
6301         that the slot we find is associated with the given map before
6302         using its generation count.
6303         * nptl_db/db_info.c: Include ldsodefs.h.
6304         (rtld_global, dtv_slotinfo_list, dtv_slotinfo): New typedefs.
6305         * nptl_db/structs.def (DB_RTLD_VARIABLE): New macro.
6306         (DB_MAIN_VARIABLE, DB_RTLD_GLOBAL_FIELD): Likewise.
6307         (link_map::l_tls_offset): New struct field.
6308         (dtv_t::counter): Likewise.
6309         (rtld_global): New struct.
6310         (_rtld_global): New rtld variable.
6311         (dl_tls_dtv_slotinfo_list): New rtld global field.
6312         (dtv_slotinfo_list): New struct.
6313         (dtv_slotinfo): Likewise.
6314         * nptl_db/td_symbol_list.c: Drop gnu/lib-names.h include.
6315         (td_lookup): Rename to...
6316         (td_mod_lookup): ... this.  Use new mod parameter instead of
6317         LIBPTHREAD_SO.
6318         * nptl_db/td_thr_tlsbase.c: Include link.h.
6319         (dtv_slotinfo_list, dtv_slotinfo): New functions.
6320         (td_thr_tlsbase): Check DTV generation.  Compute Static TLS
6321         addresses even if the DTV is out of date or missing them.
6322         * nptl_db/fetch-value.c (_td_locate_field): Do not refuse to
6323         index zero-length arrays.
6324         * nptl_db/thread_dbP.h: Include gnu/lib-names.h.
6325         (td_lookup): Make it a macro implemented in terms of...
6326         (td_mod_lookup): ... this declaration.
6327         * nptl_db/db-symbols.awk (DB_RTLD_VARIABLE): Override.
6328         (DB_MAIN_VARIABLE): Likewise.
6330 2015-03-16  H.J. Lu  <hongjiu.lu@intel.com>
6332         [BZ #18134]
6333         * sysdeps/x86_64/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
6335 2015-03-15  Paul Eggert  <eggert@cs.ucla.edu>
6337         * stdlib/setenv.c (__add_to_environ): Revert previous change.
6339 2015-03-14  Andreas Schwab  <schwab@linux-m68k.org>
6341         [BZ #18128]
6342         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (atomic_exchange_and_add)
6343         (atomic_add, atomic_increment_and_test)
6344         (atomic_decrement_and_test): Fix 64-bit arithmetic.
6346 2015-03-13  Paul Eggert  <eggert@cs.ucla.edu>
6348         * stdlib/setenv.c (__add_to_environ):
6349         Dump core quickly if setenv (..., NULL, ...) is called.
6351 2015-03-13  Roland McGrath  <roland@hack.frob.com>
6353         * sysdeps/arm/tls-macros.h: Include <sysdep.h>.
6354         (GET_SPECIAL_RELOC, GET_SPECIAL_PCREL): New macros to encapsulate
6355         all the necessary asm magic in one place.
6356         (TLS_LE, TLS_IE, TLS_LD, TLS_GD): Rewritten as C expressions
6357         using those.
6359 2015-03-13  Carlos O'Donell  <carlos@redhat.com>
6361         [BZ #14906]
6362         * nscd/cache.c (prune_cache): Use TRACED_FILE. Compare and update
6363         traced file mtime. Use consistent log message.
6364         * nscd/connections.c [HAVE_INOTIFY] (install_watches): New function.
6365         (register_traced_file): Call install_watches. Always set mtime.
6366         (invalidate_cache): Iterate over all trace files. Call install_watches.
6367         (inotify_check_files): Don't inline. Handle watching parent
6368         directories and configuration file movement in and out.
6369         (handle_inotify_events): New function.
6370         (main_loop_poll): Call handle_inotify_events.
6371         (main_loop_epoll): Likewise.
6372         * nscd/nscd.h: Define TRACED_FILE, TRACED_DIR, and PATH_MAX.
6373         (struct traced_file): Use array of inotify fds. Add parent directory,
6374         and basename.
6375         (struct database_dyn): Remove unused file_mtime.
6376         (init_traced_file): New inline function.
6377         (define_traced_file): New macro.
6378         * nss/nss_db/db-init.c: Use define_traced_file.
6379         (_nss_db_init): Use init_traced_file.
6380         * nss/nss_files/files-init.c: Use define_traced_file.
6381         (_nss_files_init): Use init_traced_file.
6383 2015-03-12  Joseph Myers  <joseph@codesourcery.com>
6385         * soft-fp/soft-fp.h (_FP_STATIC_ASSERT): New macro.
6386         [_LIBC]: Do not include <stdlib.h>.
6387         [!_LIBC] (abort): Remove declaration.
6388         * soft-fp/op-2.h (_FP_MUL_MEAT_2_120_240_double): Use
6389         _FP_STATIC_ASSERT instead of conditionally calling abort.
6390         * soft-fp/op-common.h (_FP_FROM_INT): Likewise.
6391         (_FP_EXTEND_CNAN): Likewise.
6392         (FP_TRUNC): Likewise.
6393         (__FP_CLZ): Likewise.
6394         * sysdeps/powerpc/nofpu/flt-rounds.c: Include <stdlib.h>.
6396 2015-03-12  Yaakov Selkowitz  <yselkowi@redhat.com>
6398         * manual/string.texi (XPG basename): Fix prototype.
6400 2015-03-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
6402         [BZ #18080]
6403         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S
6404         (__setcontext): Use SIG_SETMASK instead of SIG_BLOCK.
6405         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S
6406         (__setcontext): Likewise.
6407         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S
6408         (__swapcontext): Use SIG_SETMASK instead of SIG_BLOCK.
6409         Call rt_sigprocmask syscall one time to set new signal mask
6410         and retrieve the current signal mask instead of two calls.
6411         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S
6412         (__swapcontext): Likewise.
6413         * stdlib/Makefile (tests): Add new testcase tst-setcontext2.
6414         * stdlib/tst-setcontext2.c: New file.
6416 2015-03-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
6418         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
6420 2015-03-11  Aurelien Jarno  <aurelien@aurel32.net>
6422         [BZ #18093]
6423         * elf/cache.c (load_aux_cache): Regenerate the cache if it has
6424         the wrong size.
6426 2015-03-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
6428         [BZ #18043]
6429         * posix/wordexp.c (parse_param): Don't call setenv(..., NULL, 1).
6431 2015-03-11  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
6433         * config.h.in [HAVE_ASM_GLOBAL_DOT_NAME]: Remove define.
6434         * include/libc-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (strong_alias):
6435         Remove define.
6436         [HAVE_ASM_GLOBAL_DOT_NAME] (strong_data_alias): Likewise.
6437         [HAVE_ASM_GLOBAL_DOT_NAME] (weak_alias): Likewise.
6438         [HAVE_ASM_GLOBAL_DOT_NAME] (_symbol_version): Likewise.
6439         [HAVE_ASM_GLOBAL_DOT_NAME] (_default_symbol_version): Likewise.
6440         [HAVE_ASM_GLOBAL_DOT_NAME] (HIDDEN_JUMPTARGET): Likewise.
6441         * nptl_db/db-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (DOT): Remove
6442         define.
6443         * nptl_db/td_symbol_list.c (td_lookup): Remove
6444         HAVE_ASM_GLOBAL_DOT_NAME code.
6445         * sysdeps/powerpc/powerpc64/configure.ac: Remove
6446         HAVE_ASM_GLOBAL_DOT_NAME check.
6447         * sysdeps/powerpc/powerpc64/configure: Regenerate.
6448         * sysdeps/powerpc/powerpc64/sysdep.h [HAVE_ASM_GLOBAL_DOT_NAME]
6449         (DOT_LABEL): Remove define.
6450         [HAVE_ASM_GLOBAL_DOT_NAME] (BODY_LABEL): Likewise.
6451         [HAVE_ASM_GLOBAL_DOT_NAME] (ENTRY_2): Likewise.
6452         [HAVE_ASM_GLOBAL_DOT_NAME] (END_2): Likewise.
6453         * sysdeps/powerpc/powerpc64/tls-macros.h [HAVE_ASM_GLOBAL_DOT_NAME]
6454         (__TLS_GET_ADDR): Likewise.
6455         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h
6456         [HAVE_ASM_GLOBAL_DOT_NAME] (DASHDASHPFX): Likewise.
6458 2015-03-11  Carlos O'Donell  <carlos@redhat.com>
6460         [BZ #18111]
6461         * sysdeps/hppa/fpu/fpu_control.h (_FPU_HPPA_SHIFT_FLAGS): Define.
6462         (_FPU_SETCW): Initialize cw from fpsr before storing.
6463         * sysdeps/hppa/fpu/fsetexcptflg.c: Include fpu_control.h
6464         (fesetexceptflag): Rewrite using fpu_control.h.
6465         * sysdeps/hppa/fpu/feupdateenv.c: Handle FE_DFL_ENV, and FE_NOMASK_ENV.
6467 2015-03-11  John David Anglin  <danglin@gcc.gnu.org>
6469         [BZ #18110]
6470         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Don't modify bufptr in
6471         asms.
6472         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
6474 2015-03-11  Joseph Myers  <joseph@codesourcery.com>
6476         * soft-fp/soft-fp.h (_FP_UNREACHABLE): New macro.
6477         * soft-fp/op-common.h (_FP_MUL): Use _FP_UNREACHABLE instead of
6478         abort.
6479         (_FP_FMA): Likewise.
6480         (_FP_DIV): Likewise.
6482 2015-03-10  Roland McGrath  <roland@hack.frob.com>
6484         * scripts/evaluate-test.sh: Grok exit code 77 as UNSUPPORTED and exit
6485         with 0 in that case.
6486         * Makefile (summarize-tests): New canned sequence, factored out of
6487         commands for targets tests and xtests.  Display summary lines that
6488         don't start with PASS: or XFAIL: rather than ones that do start with
6489         ERROR: or FAIL:.  Make the commands fail if any summary lines fail
6490         to start with X?PASS: or XFAIL: or UNSUPPORTED: rather than if any
6491         do start with ERROR: or FAIL:.
6492         * dlfcn/Makefile (tests): Add bug-atexit3 back here unconditionally
6493         (except for [$(build-shared) = yes]).
6494         (tests-unsupported) [$(CXX) empty]: Add bug-atexit3.
6495         (LDLIBS-bug-atexit3-lib.so): Conditionalize on [$(CXX) nonempty].
6496         ($(objpfx)bug-atexit3, $(objpfx)bug-atexit3.out): Likewise.
6497         * nptl/Makefile: Revert 2015-03-04 changes.
6498         [$(CXX) empty] (tests-unsupported): New variable.
6499         * debug/Makefile: Likewise.
6501         * posix/regcomp.c: Fix comment typos and formatting to harmonize with
6502         gnulib file.  Replace __attribute with __attribute__ throughout.
6504 2015-03-10  Carlos O'Donell  <carlos@redhat.com>
6506         * sysdeps/hppa/fpu/libm-test-ulps: Update.
6508 2015-03-10  Joseph Myers  <joseph@codesourcery.com>
6510         [BZ #18104]
6511         * math/auto-libm-test-in: Add another test of pow.
6512         * math/auto-libm-test-out: Regenerated.
6514 2015-03-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6516         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_pow.c): Add
6517         $(config-cflags-nofma).
6519 2015-03-10  Joseph Myers  <joseph@codesourcery.com>
6521         * soft-fp/double.h [SOFT_FP_DOUBLE_H]: New multiple-include guard.
6522         * soft-fp/extended.h [SOFT_FP_EXTENDED_H]: Likewise.
6523         * soft-fp/op-1.h [SOFT_FP_OP_1_H]: Likewise.
6524         * soft-fp/op-2.h [SOFT_FP_OP_2_H]: Likewise.
6525         * soft-fp/op-4.h [SOFT_FP_OP_4_H]: Likewise.
6526         * soft-fp/op-8.h [SOFT_FP_OP_8_H]: Likewise.
6527         * soft-fp/op-common.h [SOFT_FP_OP_COMMON_H]: Likewise.
6528         * soft-fp/quad.h [SOFT_FP_QUAD_H]: Likewise.
6529         * soft-fp/single.h [SOFT_FP_SINGLE_H]: Likewise.
6530         * soft-fp/soft-fp.h (SOFT_FP_H): Define to 1 rather than empty.
6531         Add comment on closing #endif.
6533 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
6535         * posix/wordexp.c (CHAR_IN_SET): New macro.
6536         (parse_param): Use it.
6538 2015-03-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6540         * sysdeps/powerpc/fpu/libm-test-ulps: update.
6542 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
6544         [BZ #18043]
6545         * posix/wordexp.c (parse_param): Fix buffer overflow.
6546         * posix/wordexp-test.c (test_case): Add test case.
6548 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
6550         [BZ #18042]
6551         * posix/wordexp.c (parse_backtick): Fix off-by-one.
6552         * posix/wordexp-test.c (test_case): Add test for BZ #18042.
6554 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
6556         [BZ #18043]
6557         * posix/wordexp-test.c (test_case): Add test for BZ #18043
6558         (do_bz18043): Delete.
6559         (at_page_end): New.
6560         (testit): Refactor to have words at the edge of unreadable page.
6562 2015-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
6564         [BZ #16734]
6565         * libio/genops.c (_IO_unbuffer_all): Renamed from _IO_unbuffer_write.
6566         Cleanup read-only streams as well.
6567         (_IO_cleanup): Call _IO_unbuffer_all instead of _IO_unbuffer_write.
6569 2015-03-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
6571         * sysdeps/mach/hurd/bits/libc-lock.h [_LIBC]: Include
6572         <bits/libc-lockP.h>
6574 2015-03-07  Joseph Myers  <joseph@codesourcery.com>
6576         * soft-fp/soft-fp.h (_FP_ZERO_INIT): New macro.  Define depending
6577         on [__KERNEL__].
6578         * soft-fp/op-1.h (_FP_FRAC_DECL_1): Use _FP_ZERO_INIT.
6579         * soft-fp/op-2.h (_FP_FRAC_DECL_2): Likewise.
6580         * soft-fp/op-common.h (_FP_DECL): Likewise.
6582 2015-03-06  H.J. Lu  <hongjiu.lu@intel.com>
6584         * elf/ifuncdep2.c (global): Replace
6585         __attribute__((visibility("protected"))) with
6586         asm (".protected global").
6587         * elf/ifuncmod1.c (global): Likewise.
6588         * elf/ifuncmod5.c (global): Likewise.
6590 2015-03-06  Joseph Myers  <joseph@codesourcery.com>
6592         * soft-fp/soft-fp.h [!_LIBC && __KERNEL__]: Include
6593         <asm/sfp-machine.h> instead of <sfp-machine.h>.
6595 2015-03-06  Roland McGrath  <roland@hack.frob.com>
6597         * manual/install.texi (Configuring and compiling):
6598         Document test-wrapper-env-only.
6599         * INSTALL: Regenerated.
6601 2015-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
6603         [BZ #18043]
6604         * posix/wordexp.c (parse_param): Fix buffer overflow.
6605         * posix/wordexp-test.c (do_bz18043): Add test case.
6607 2015-03-06  Vincent Bernat  <vincent@bernat.im>
6609         * time/tst-strptime2.c (do_test): Ensure failing tests are
6610         reported correctly.
6611         * time/tst-strptime3.c (do_test): Likewise.
6613 2015-03-06  Samuel Thibault  <samuel.thibault@inria.fr>
6615         Fix aio_error thread-safety.
6616         * sysdeps/pthread/aio_error.c: New file
6617         * sysdeps/pthread/aio_misc.c: Remove optimistic comment about
6618         synchronization.
6620 2015-03-06  Florian Weimer  <fweimer@redhat.com>
6622         * stdio-common/vfprintf.c (THOUSANDS_SEP_T): New typedef.
6623         (group_number, vfprintf): Use it.
6624         (JUMP_TABLE_BASE_LABEL): New preprocessor macro.
6625         (JUMP, REF): Use it.
6626         (WORK_BUFFER_SIZE): New enum constant.
6627         (process_arg, vfprintf): Use it.
6629 2015-03-06  Rical Jasan  <ricaljasan@pacific.net>
6631         * manual/errno.texi (Error Messages): Complete example function
6632         by adding missing #define.
6633         (program_invocation_name): Add statement indicating GNU
6634         extension and reference which header file declares the variable.
6635         (program_invocation_short_name): Likewise.
6637 2015-03-06  Mike Frysinger  <vapier@gentoo.org>
6639         * manual/errno.texi (Error Messages): Delete strerror ISO C89
6640         compatibility note.
6642 2015-03-05  Roland McGrath  <roland@hack.frob.com>
6644         * Makeconfig (test-wrapper-env-only): New variable.
6645         * Rules (make-test-out): If variable $*-ENV-only is nonempty,
6646         then use that with $(test-wrapper-env-only) rather than using
6647         $(test-wrapper-env) $(run-program-env) $($*-ENV).
6649 2015-03-05  H.J. Lu  <hongjiu.lu@intel.com>
6651         [BZ #18082]
6652         * sysdeps/alpha/dl-machine.h (elf_machine_type_class): Replace
6653         ELF_RTYPE_CLASS_NOCOPY with ELF_RTYPE_CLASS_COPY in comments.
6654         * sysdeps/arm/dl-machine.h (elf_machine_type_class): Likewise.
6655         * sysdeps/hppa/dl-machine.h (elf_machine_type_class): Likewise.
6656         * sysdeps/i386/dl-machine.h (elf_machine_type_class): Likewise.
6657         * sysdeps/ia64/dl-machine.h (elf_machine_type_class): Likewise.
6658         * sysdeps/m68k/dl-machine.h (elf_machine_type_class): Likewise.
6659         * sysdeps/microblaze/dl-machine.h (elf_machine_type_class):
6660         Likewise.
6661         * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Likewise.
6662         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_type_class):
6663         Likewise.
6664         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_type_class):
6665         Likewise.
6666         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_type_class):
6667         Likewise.
6668         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_type_class):
6669         Likewise.
6670         * sysdeps/sh/dl-machine.h (elf_machine_type_class): Likewise.
6671         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_type_class):
6672         Likewise.
6673         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_type_class):
6674         Likewise.
6675         * sysdeps/tile/dl-machine.h (elf_machine_type_class): Likewise.
6676         * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Likewise.
6678 2015-03-04  Roland McGrath  <roland@hack.frob.com>
6680         * sysdeps/generic/netinet/if_ether.h: Don't #include <features.h>.
6681         (ETH_ALEN): New macro.
6682         (struct ether_addr): Use it for length of ether_addr_octet.
6684         * nss/test-netdb.c: Don't #include <rpc/netdb.h>.
6685         (setdb): Don't call __nss_configure_lookup for "rpc".
6686         (do_test): Don't call test_rpc.
6687         (output_rpcent, test_rpc): Functions moved ...
6688         * sunrpc/test-rpcent.c: ... to this new file.
6689         * sunrpc/Makefile (tests): Add it.
6691         * nptl/tst-cancel4.c (tf_sigpause) [!SIGCANCEL]: Call pause instead of
6692         __xpg_sigpause.
6693         * nptl/tst-signal3.c: Conditionalize body on [SIGRTMIN].
6694         * nptl/tst-signal6.c: Likewise.
6695         * rt/tst-mqueue5.c: Conditionalize body on [SIGRTMIN && SA_SIGINFO].
6696         * rt/tst-timer4.c: Conditionalize body on [SA_SIGINFO].
6698         * configure.ac (libc_cv_cxx_link_ok): New check.
6699         Reset CXX to empty if it fails to link.
6700         * configure: Regenerated.
6701         * dlfcn/Makefile (tests, modules-names): Add bug-atexit3 and
6702         bug-atexit3-lib only if $(CXX) is nonempty.
6703         * nptl/Makefile (tests): Likewise for tst-cancel24.
6704         (tests, tests-static): Likewise for tst-cancel24-static.
6705         * debug/Makefile (tests): Likewise for tst-chk4, tst-chk5, tst-chk6,
6706         tst-lfschk4, tst-lfschk5, and tst-lfschk6.
6707         * elf/Makefile (tests, modules-names): Likewise for tst-unique3,
6708         tst-unique3lib, tst-unique3lib2, tst-unique4, and tst-unique4lib.
6710 2015-03-04  Andreas Schwab  <schwab@suse.de>
6712         [BZ #17631]
6713         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Don't define
6714         for non-GCC compilers.
6715         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
6716         Likewise.
6718 2015-03-03 Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
6720         [BZ #17776]
6721         * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Convert input to
6722         integer before bitwise and assembly operations.
6723         (feclearexcept): Likewise.
6724         * math/test-fenvinline.c: New file.
6725         * math/Makefile: Add test-fenvinline test.
6727 2015-03-03  Alan Modra  <amodra@gmail.com>
6729         [BZ #16512]
6730         * scripts/localplt.awk: Strip off symbol version.
6731         * NEWS: Mention bug fix.
6733 2015-03-02  Roland McGrath  <roland@hack.frob.com>
6735         * sysdeps/pthread/timer_routines.c
6736         (timer_free_list, thread_free_list, thread_active_list): Make static.
6738 2015-03-02  Joseph Myers  <joseph@codesourcery.com>
6740         [BZ #17779]
6741         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
6742         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
6743         Undefine.
6744         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
6745         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
6746         Likewise.
6747         * sysdeps/unix/sysv/linux/sh/kernel-features.h
6748         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
6749         Likewise.
6751 2015-03-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
6753         [BZ #18036]
6754         * posix/fnmatch_loop.c (END): Detect invalid pattern.
6755         * posix/tst-fnmatch3.c (do_bz18036): Add test case.
6757 2015-03-02  Andreas Schwab  <schwab@suse.de>
6759         * elf/Makefile ($(elf-objpfx)runtime-linker.st): Fix typo in
6760         variable name.
6762 2015-03-02  Florian Weimer  <fweimer@redhat.com>
6764         * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn):
6765         Return error status.
6767 2015-02-27  Alexandre Oliva <aoliva@redhat.com>
6769         [BZ #15969]
6770         * locale/findlocale.c (_nl_find_locale): Introduce const
6771         version of loc_name and drop unsafe type casts.
6773 2015-02-27  Roland McGrath  <roland@hack.frob.com>
6775         * dlfcn/tststatic2.c (main): Converted to ...
6776         (do_test): ... this.
6777         (TEST_FUNCTION): New macro.
6778         Include test-skeleton.c.
6780 2015-02-27  H.J. Lu  <hongjiu.lu@intel.com>
6782         [BZ #17711]
6783         * elf/Makefile (tests): Add vismain only if PIE is enabled.
6784         (tests-pie): Add vismain.
6785         (CFLAGS-vismain.c): New.
6786         * elf/vismain.c: Add comments for PIE requirement.
6788 2015-02-27  Joseph Myers  <joseph@codesourcery.com>
6790         [BZ #18046]
6791         [BZ #18047]
6792         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Use
6793         0x1p-56L as threshold for just returning the argument.
6794         * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Use
6795         0x1p-32L as threshold for just returning the argument.
6796         * math/auto-libm-test-in: Add more tests of atanh.
6797         * math/auto-libm-test-out: Regenerated.
6798         * sysdeps/i386/fpu/libm-test-ulps: Update.
6799         * sysdeps/x86_64/fpu/libm-test-ulp: Likewise.
6801 2015-02-27  Wilco Dijkstra  wdijkstr@arm.com
6803         * string/bcopy.c (bcopy): Call memmove for performance.
6805 2015-02-27  Wilco Dijkstra  wdijkstr@arm.com
6807         * string/bzero.c (__bzero): Call memset for performance.
6809 2015-02-27  John David Anglin  <dave.anglin@bell.net>
6811         [BZ #18068]
6812         * sysdeps/unix/sysv/linux/hppa/bits/fcntl.h (__O_SYNC): Change
6813         to 00100000.
6815 2015-02-27  Joseph Myers  <joseph@codesourcery.com>
6817         * sysdeps/ieee754/k_standard.c (CSTR): Add comment.
6819 2015-02-26  Joseph Myers  <joseph@codesourcery.com>
6821         * sysdeps/ieee754/k_standard.c (CSTR): New macro.
6822         (__kernel_standard): Use CSTR macro when setting exc.name.
6823         * sysdeps/ieee754/Makefile [$(subdir) = math]
6824         (CFLAGS-k_standard.c): Remove variable.
6826         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Change last case for
6827         setting p and q from "else if" to "else".
6828         (qzero): Likewise.
6829         * sysdeps/ieee754/dbl-64/e_j1.c (pone): Likewise.
6830         (qone): Likewise.
6831         * sysdeps/ieee754/flt-32/e_j0f.c (pzerof): Likewise.
6832         (qzerof): Likewise.
6833         * sysdeps/ieee754/flt-32/e_j1f.c (ponef): Likewise.
6834         (qonef): Likewise.
6835         * sysdeps/ieee754/ldbl-96/e_j0l.c (pzero): Likewise.
6836         (qzero): Likewise.
6837         * sysdeps/ieee754/ldbl-96/e_j1l.c (pone): Likewise.
6838         (qone): Likewise.
6840         [BZ #18038]
6841         [BZ #18039]
6842         * sysdeps/ieee754/ldbl-128/e_acosl.c (__ieee754_acosl): Only
6843         return pi/2 for arguments below 0x1p-113L.
6844         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Only
6845         return pi/2 for arguments below 0x1p-106L.
6846         * math/auto-libm-test-in: Add more tests of acos.
6847         * math/auto-libm-test-out: Regenerated.
6849         [BZ #16351]
6850         * sysdeps/i386/fpu/e_asin.S (dbl_min): New object.
6851         (MO): New macro.
6852         (__ieee754_asin): Force underflow exception for results with small
6853         absolute value.
6854         * sysdeps/i386/fpu/e_asinf.S (flt_min): New object.
6855         (MO): New macro.
6856         (__ieee754_asinf): Force underflow exception for results with
6857         small absolute value.
6858         * sysdeps/ieee754/dbl-64/e_asin.c: Include <float.h> and <math.h>.
6859         (__ieee754_asin): Force underflow exception for results with small
6860         absolute value.
6861         * sysdeps/ieee754/flt-32/e_asinf.c: Include <float.h>.
6862         (__ieee754_asinf): Force underflow exception for results with
6863         small absolute value.
6864         * sysdeps/ieee754/ldbl-128/e_asinl.c: Include <float.h>.
6865         (__ieee754_asinl): Force underflow exception for results with
6866         small absolute value.
6867         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Include <float.h>.
6868         (__ieee754_asinl): Force underflow exception for results with
6869         small absolute value.
6870         * sysdeps/ieee754/ldbl-96/e_asinl.c: Include <float.h>.
6871         (__ieee754_asinl): Force underflow exception for results with
6872         small absolute value.
6873         * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
6874         Include <math.h>.
6875         * math/auto-libm-test-in: Do not mark underflow exceptions as
6876         possibly missing for bug 16351.
6877         * math/auto-libm-test-out: Regenerated.
6879         [BZ #18030]
6880         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Adjust exponent
6881         of power of 2 down when low part has opposite sign.
6882         * math/libm-test.inc (logb_test_data): Add more tests.
6884 2015-02-26  Andreas Schwab  <schwab@suse.de>
6886         [BZ #18032]
6887         * posix/fnmatch_loop.c (FCT): Remove extra increment when skipping
6888         over collating symbol inside a bracket expression.  Minor cleanup.
6889         * posix/tst-fnmatch3.c (do_test): Add test case.
6891 2015-02-26  Joseph Myers  <joseph@codesourcery.com>
6893         [BZ #18029]
6894         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl):
6895         Adjust exponent of power of 2 down when low part has opposite
6896         sign.
6897         * math/libm-test.inc (ilogb_test_data): Add more tests.
6899 2015-02-26  Alexandre Oliva  <aoliva@redhat.com>
6901         [BZ #15969]
6902         * locale/findlocale.c (_nl_find_locale): Fix constness error in
6903         the previous change.
6905         [BZ #15969]
6906         * locale/findlocale.c (_nl_find_locale): Retry archive search
6907         after alias expansion.
6909 2015-02-25  Roland McGrath  <roland@hack.frob.com>
6911         * iconv/tst-iconv3.c (main): Converted to ...
6912         (do_test): ... this.
6913         (TEST_FUNCTION): New macro.
6914         Include test-skeleton.c.
6916         * iconv/tst-iconv5.c (testcode, number): Make variables static const.
6917         (convert): Make function static.
6918         (test_unalign): Likewise.  Add const to argument pointee types.
6919         (main): Replace with static function do_test.
6920         Print "Succeeded." only if RET is zero.
6921         (TEST_FUNCTION): New macro.
6922         Include test-skeleton.c.
6924         * iconv/gconv_conf.c (__gconv_get_path): Don't crash if __getcwd
6925         returns a null pointer.
6927 2015-02-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6929         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Define memcpy
6930         to __memcpy_ppc only for static builds.
6932 2015-02-25  Joseph Myers  <joseph@codesourcery.com>
6934         [BZ #18020]
6935         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use 2**56 and
6936         2**-56 not 2**28 and 2**-29 as thresholds for simpler formulas.
6937         * math/auto-libm-test-in: Add more tests of asinh.
6938         * math/auto-libm-test-out: Regenerated.
6939         * sysdeps/i386/fpu/libm-test-ulps: Update.
6940         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6942 2015-02-25  Cong Wang  <xiyou.wangcong@gmail.com>
6944         [BZ #15850]
6945         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Put in6_pktinfo
6946         and ip6_mtuinfo definitions here.
6947         * sysdeps/unix/sysv/linux/bits/in.h [_UAPI_IPV6_H]: Wrap code
6948         in this define too.  Update comment.
6950 2015-02-24  Benno Schulenberg  <bensberg@justemail.net>
6952         * elf/sprof.c (load_shobj): Tweak error message to match others.
6954 2015-02-24  Kevin Easton  <kevin@guarana.org>
6956         [BZ #16145] (partial fix)
6957         * time/tzset.c (__tz_convert): Unlock tzset_lock earlier
6958         to reduce lock contention.
6960 2015-02-24  Miroslav Lichvar  <mlichvar@redhat.com>
6962         * sysdeps/unix/sysv/linux/bits/timex.h: Update version.
6963         (struct timex): Update time comment.
6964         (ADJ_SETOFFSET): Define.
6966 2015-02-24  Joseph Myers  <joseph@codesourcery.com>
6968         [BZ #18019]
6969         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
6970         2**56 not 2**28 as threshold for log (2x) formula.
6971         * math/auto-libm-test-in: Add more tests of acosh.
6972         * math/auto-libm-test-out: Regenerated.
6973         * sysdeps/i386/fpu/libm-test-ulps: Update.
6974         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6976 2015-02-24  Mike Frysinger  <vapier@gentoo.org>
6978         * include/alloca.h [_STACK_GROWS_DOWN] (extend_alloca): Add
6979         parenthesis around the buf assignment.
6980         [_STACK_GROWS_UP] (extend_alloca): Add a char* cast.
6982 2015-02-24  Joseph Myers  <joseph@codesourcery.com>
6984         [BZ #16783]
6985         * sysdeps/i386/fpu/e_scalb.S (__ieee754_scalb): Do not handle
6986         arguments (NaN, -Inf) the same as (+/-Inf, -Inf).
6987         * sysdeps/i386/fpu/e_scalbf.S (__ieee754_scalbf): Likewise.
6988         * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
6989         * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
6990         * math/libm-test.inc (scalb_test_data): Add more tests.
6992 2015-02-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
6994         [BZ #17916]
6995         * libio/fileops.c (_IO_new_file_fopen): Limit stack use
6996         * libio/tst-fopenloc.c (do_test, do_bz17916): Add a large ccs= test
6998 2015-02-24  Eric Rannaud  <e@nanocritical.com>
7000         [BZ #17523]
7001         * io/fcntl.h (__OPEN_NEEDS_MODE): New macro.
7002         * io/bits/fcntl2.h (open): Use it.
7003         (openat): Likewise.
7004         * io/open.c (__libc_open): Likewise.
7005         * io/open64.c (__libc_open64): Likewise.
7006         * io/open64_2.c (__open64_2): Likewise.
7007         * io/open_2.c (__open_2): Likewise.
7008         * io/openat.c (__openat): Likewise.
7009         * io/openat64.c (__openat64): Likewise.
7010         * io/openat64_2.c (__openat64_2): Likewise.
7011         * io/openat_2.c (__openat_2): Likewise.
7012         * sysdeps/mach/hurd/open.c (__libc_open): Likewise.
7013         * sysdeps/mach/hurd/openat.c (__openat): Likewise.
7014         * sysdeps/posix/open64.c (__libc_open64): Likewise.
7015         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
7016         * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
7017         (__open_nocancel): Likewise.
7018         * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
7019         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
7020         * sysdeps/unix/sysv/linux/openat.c (__OPENAT): Likewise.
7022 2015-02-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
7024         [BZ #14841]
7025         * resolv/gethnamaddr.c (getanswer): Skip logging if
7026         RES_USE_DNSSEC is set.
7027         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
7029 2015-02-24  Mike Frysinger  <vapier@gentoo.org>
7031         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Include dl-sysdep.h.
7033 2015-02-23  Alexandre Oliva <aoliva@redhat.com>
7035         * include/stdc-predef.h (__STDC_ISO_10646__): Update to
7036         201304L, for Unicode 7.
7038 2015-02-23  H.J. Lu  <hongjiu.lu@intel.com>
7040         [BZ #17836]
7041         * csu/Makefile (extra-objs): Add gmon-start.o if not builing
7042         shared library.  Add gmon-start.os otherwise.
7043         ($(objpfx)g$(start-installed-name)): Use $(objpfx)S%
7044         $(objpfx)gmon-start.os if builing shared library.
7045         ($(objpfx)g$(static-start-installed-name)): Likewise.
7047 2015-02-23  Andreas Schwab  <schwab@suse.de>
7049         * elf/Makefile (CFLAGS-tst-audit2.c): Define.
7051 2015-02-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
7053         [BZ #17269]
7054         * libio/wstrops.c (_IO_wstr_overflow): Guard against integer overflow
7055         (enlarge_userbuf): Likewise.
7057 2015-02-22  Chung-Lin Tang  <cltang@codesourcery.com>
7059         * libio/tst-memstream2.c (TIMEOUT): Define as 100.
7060         * math/atest-exp.c (TIMEOUT): Adjust to 200.
7061         * math/atest-exp2.c (TIMEOUT): Adjust to 300.
7062         * math/atest-sincos.c (TIMEOUT): Adjust to 600.
7064 2015-02-20  Joseph Myers  <joseph@codesourcery.com>
7066         * soft-fp/op-common.h (_FP_FROM_INT): Wrap call to abort in
7067         expression inside statement expression.
7069 2015-02-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
7071         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Include
7072         <sysdeps/nptl/lowlevellock.h> and remove macros and
7073         functions that are now defined there.
7074         (SYS_futex): Remove.
7075         (lll_compare_and_swap): Remove.
7076         * sysdeps/s390/bits/atomic.h (atomic_exchange_acq): Define.
7078 2015-02-19  Joseph Myers  <joseph@codesourcery.com>
7080         [BZ #17999]
7081         * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Define to __scandirat
7082         instead of scandirat.
7083         * dirent/scandirat.c [!SCANDIRAT] (SCANDIRAT): Likewise.
7084         [!SCANDIRAT] (SCANDIRAT_WEAK_ALIAS): Define.
7085         [SCANDIRAT_WEAK_ALIAS] (scandirat): Define as weak alias of
7086         __scandirat.
7087         * include/dirent.h (scandirat): Do not use libc_hidden_proto.
7088         (__scandirat): Declare.  Use libc_hidden_proto.
7089         * conform/Makefile (test-xfail-POSIX2008/dirent.h/linknamespace):
7090         Remove variable.
7091         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
7093 2015-02-18  Joseph Myers  <joseph@codesourcery.com>
7095         [BZ #15319]
7096         * sysdeps/i386/fpu/e_atan2.S (dbl_min): New object.
7097         (MO): New macro.
7098         (__ieee754_atan2): For results with small absolute value, force
7099         underflow exception and remove excess range and precision from
7100         return value.
7101         * sysdeps/i386/fpu/e_atan2f.S (flt_min): New object.
7102         (MO): New macro.
7103         (__ieee754_atan2f): For results with small absolute value, force
7104         underflow exception and remove excess range and precision from
7105         return value.
7106         * sysdeps/i386/fpu/s_atan.S (dbl_min): New object.
7107         (MO): New macro.
7108         (__atan): For results with small absolute value, force underflow
7109         exception and remove excess range and precision from return value.
7110         * sysdeps/i386/fpu/s_atanf.S (flt_min): New object.
7111         (MO): New macro.
7112         (__atanf): For results with small absolute value, force underflow
7113         exception and remove excess range and precision from return value.
7114         * sysdeps/ieee754/dbl-64/e_atan2.c: Include <float.h> and
7115         <math.h>.
7116         (__ieee754_atan2): Force underflow exception for results with
7117         small absolute value.
7118         * sysdeps/ieee754/dbl-64/s_atan.c: Include <float.h> and
7119         <math_private.h>.
7120         (atan): Force underflow exception for results with small absolute
7121         value.
7122         * sysdeps/ieee754/flt-32/s_atanf.c: Include <float.h>.
7123         (__atanf): Force underflow exception for results with small
7124         absolute value.
7125         * sysdeps/ieee754/ldbl-128/s_atanl.c: Include <float.h> and
7126         <math.h>.
7127         (__atanl): Force underflow exception for results with small
7128         absolute value.
7129         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <float.h>.
7130         (__atanl): Force underflow exception for results with small
7131         absolute value.
7132         * sysdeps/x86/fpu/bits/mathinline.h
7133         [!__SSE2_MATH__ && !__x86_64__ && __LIBC_INTERNAL_MATH_INLINES]
7134         (__ieee754_atan2): Only define inline for long double.
7135         * sysdeps/x86_64/fpu/multiarch/e_atan2.c
7136         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Include <math.h>.
7137         * math/auto-libm-test-in: Do not mark underflow exceptions as
7138         possibly missing for bug 15319.  Add more tests of atan2.
7139         * math/auto-libm-test-out: Regenerated.
7140         * math/libm-test.inc (casin_test_data): Do not mark underflow
7141         exceptions as possibly missing for bug 15319.
7142         (casinh_test_data): Likewise.
7143         * sysdeps/i386/fpu/libm-test-ulps: Update.
7145 2015-02-18  Steve Ellcey  <sellcey@imgtec.com>
7147         * sysdeps/unix/sysv/linux/mips/bits/endian.h: Remove.
7148         * sysdeps/mips/bits/endian.h: Fix comments.
7150 2015-02-18  Joseph Myers  <joseph@codesourcery.com>
7152         [BZ #17996]
7153         * include/search.h (hcreate_r): Don't use libc_hidden_proto.
7154         (hdestroy_r): Likewise.
7155         (hsearch_r): Likewise.
7156         (__hcreate_r): Declare and use libc_hidden_proto.
7157         (__hdestroy_r): Likewise.
7158         (__hsearch_r): Likewise.
7159         * misc/hsearch.c (hsearch): Call __hsearch_r instead of hsearch_r.
7160         (hcreate): Call __hcreate_r instead of hcreate_r.
7161         (__hdestroy): Call __hdestroy_r instead of hdestroy_r.
7162         * misc/hsearch_r.c (hcreate_r): Rename to __hcreate_r and define
7163         as weak alias of __hcreate_r.
7164         (hdestroy_r): Rename to __hdestroy_r and define as weak alias of
7165         __hdestroy_r.
7166         (hsearch_r): Rename to __hsearch_r and define as weak alias of
7167         __hsearch_r.
7168         * conform/Makefile (test-xfail-XPG3/search.h/linknamespace):
7169         Remove variable.
7170         (test-xfail-XPG4/search.h/linknamespace): Likewise.
7171         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
7172         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
7173         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
7175 2015-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
7177         * malloc/malloc.c (__libc_malloc): Consolidate arena_lookup and
7178         arena_lock into a single arena_get.
7180 2015-02-17  Carlos O'Donell  <carlos@redhat.com>
7182         * dl-reloc.c: Inlucde libc-internal.h.
7183         (_dl_try_allocate_static_tls): Call ALIGN_UP.
7184         (_dl_relocate_object): Call ALIGN_UP, ALIGN_DOWN, and PTR_ALIGN_DOWN.
7185         (_dl_protect_relro): Call ALIGN_UP and ALIGN_DOWN.
7186         * malloc/arena.c (new_heap): Use pagesize. Call ALIGN_UP.
7187         (grow_heap): Likewise.
7188         * malloc/malloc.c: Include libc-internal.h.
7189         (do_check_malloc): Call powerof2.
7190         (sysmalloc): Use pagesize. Call ALIGN_UP.
7191         (systrim): Use pagesize.
7192         (mremap_chunk): Use pagesize. Call ALIGN_UP.
7193         (__libc_valloc): Use pagesize.
7194         (__libc_pvalloc): Use pagesize. Call ALIGN_UP.
7196 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
7198         [BZ #17991]
7199         * include/sys/resource.h (__getrlimit64): Declare.  Use
7200         libc_hidden_proto.
7201         * resource/getrlimit64.c (getrlimit64): Rename to __getrlimit64
7202         and define as weak alias of __getrlimit64.  Use libc_hidden_weak.
7203         * sysdeps/posix/spawni.c (__spawni): Call __getrlimit64 instead of
7204         getrlimit64.
7205         * sysdeps/unix/sysv/linux/getrlimit64.c (getrlimit64): Rename to
7206         __getrlimit64.
7207         [!getrlimit64] (getrlimit64): Define as weak alias of
7208         __getrlimit64.  Use libc_hidden_weak.
7209         * sysdeps/unix/sysv/linux/i386/getrlimit64.c (getrlimit64): Define
7210         using __getrlimit64 not __new_getrlimit64.
7211         (__GI_getrlimit64): Likewise.
7212         * sysdeps/unix/sysv/linux/mips/getrlimit64.c (getrlimit64):
7213         Likewise.
7214         (__GI_getrlimit64): Likewise.
7215         (__old_getrlimit64): Use __getrlimit64 not __new_getrlimit64.
7216         * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list
7217         (getrlimit): Add __getrlimit64 alias.
7218         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (getrlimit):
7219         Likewise.
7220         * conform/Makefile (test-xfail-XOPEN2K/spawn.h/linknamespace):
7221         Remove variable.
7222         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
7223         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
7225 2015-02-17  Paul Pluzhnikov  <ppluzhnikov@google.com>
7227         * libio/fileops.c: Add missing sys/mman.h
7228         * libio/iopopen.c: Add missing fcntl.h, remove redundant unistd.h
7230 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
7232         * manual/math.texi (Errors in Math Functions): Clarify goals
7233         regarding inexact and underflow exceptions.
7235 2015-02-17  Steve Ellcey  <sellcey@imgtec.com>
7237         * sysdeps/mips/memcpy.S: Move R6 PREFETCH_STORE_HINT check.
7238         * sysdeps/mips/memset.S: Ditto.
7240 2015-02-17  Steve Ellcey  <sellcey@imgtec.com>
7242         * sysdeps/mips/bits/endian.h (__MIPSEL): Use #ifdef instead of #if.
7244 2015-02-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
7246         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c
7247         (__v1longjmp): Remove versioned symbol.
7248         (__v1siglongjmp): Remove alias and versioned symbol.
7249         (__v2longjmp): Use DEFINE_LONGJMP instead of alias.
7250         (__v2siglongjmp): Likewise.
7252 2015-02-16  Torvald Riegel  <triegel@redhat.com>
7254         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Remove file.
7256 2015-02-16  Mike Frysinger  <vapier@gentoo.org>
7258         * sysdeps/unix/sysv/linux/ia64/getpagesize.c: Delete.
7260 2015-02-16  Joseph Myers  <joseph@codesourcery.com>
7262         [BZ #17987]
7263         * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Ensure sign of
7264         zero result does not depend on the sign resulting from
7265         subtraction.
7266         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
7267         Likewise.
7268         * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
7269         * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
7270         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
7271         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
7272         * math/libm-test.inc (remquo_test_data): Add more tests.
7274 2015-02-16  Paul Eggert  <eggert@cs.ucla.edu>
7276         * manual/time.texi (TZ Variable): glibc no longer comes with tzdata.
7277         Problem reported by J William Piggott.
7279 2015-02-16  Joseph Myers  <joseph@codesourcery.com>
7281         [BZ #17978]
7282         * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Do not form
7283         products 4 * y and 2 * y where those would overflow.
7284         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
7285         Likewise.
7286         * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
7287         * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
7288         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
7289         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
7290         * math/libm-test.inc (remquo_test_data): Add more tests.
7292         * sysdeps/mips/sgidefs.h [!_ABIO64] (_ABIO64): New macro.
7294         * sysdeps/mips/memcpy.S [_COMPILING_NEWLIB]: Change condition to
7295         [defined _COMPILING_NEWLIB].
7296         * sysdeps/mips/memset.S [_COMPILING_NEWLIB]: Likewise.
7297         * sysdeps/mips/strcmp.S [_COMPILING_NEWLIB]: Likewise.
7299         * sysdeps/mips/sys/asm.h [__mips_isa_rev < 6]: Change condition to
7300         [!defined __mips_isa_rev || __mips_isa_rev < 6].
7302 2015-02-16  Torvald Riegel  <triegel@redhat.com>
7304         * nptl/tst-cond25.c (cleanup): Explicitly check that the mutex is
7305         acquired.
7307 2015-02-15  Matthew Fortune <Matthew.Fortune@imgtec.com>
7309         [BZ #17792]
7310         * sysdeps/unix/sysv/linux/ia64/sys/user.h (NBPG): Remove.
7311         (UPAGES, HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR,
7312         HOST_STACK_END_ADDR): Likewise.
7314 2015-02-13  Steve Ellcey  <sellcey@imgtec.com>
7316         * sysdeps/mips/bits/endian.h (__MIPSEB): Use #ifdef instead of #if.
7317         * sysdeps/mips/memcpy.S (__MIPSEB): Ditto.
7318         * sysdeps/mips/memset.S (__MIPSEB): Ditto.
7320 2015-02-13  Roland McGrath  <roland@hack.frob.com>
7322         * sysdeps/generic/c++-types.data: New file.
7323         * sysdeps/generic/ld.abilist: New file.
7324         * sysdeps/generic/libBrokenLocale.abilist: New file.
7325         * sysdeps/generic/libanl.abilist: New file.
7326         * sysdeps/generic/libc.abilist: New file.
7327         * sysdeps/generic/libcrypt.abilist: New file.
7328         * sysdeps/generic/libdl.abilist: New file.
7329         * sysdeps/generic/libm.abilist: New file.
7330         * sysdeps/generic/libpthread.abilist: New file.
7331         * sysdeps/generic/libresolv.abilist: New file.
7332         * sysdeps/generic/librt.abilist: New file.
7334 2015-02-13  Joseph Myers  <joseph@codesourcery.com>
7336         [BZ #17569]
7337         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
7338         Compute absolute value of x as modified by fmod, not original
7339         value of x.
7340         * math/libm-test.inc (RUN_TEST_ffI_f1): Rename to
7341         RUN_TEST_ffI_f1_mod8.  Check extra return value mod 8.
7342         (RUN_TEST_LOOP_ffI_f1): Rename to RUN_TEST_LOOP_ffI_f1_mod8.  Call
7343         RUN_TEST_ffI_f1_mod8.
7344         (remquo_test_data): Add more tests.
7346 2015-02-13  Roland McGrath  <roland@hack.frob.com>
7348         * sysdeps/init_array/pt-crti.S: New file.
7350 2015-02-13  Joseph Myers  <joseph@codesourcery.com>
7352         [BZ #17967]
7353         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Use
7354         __builtin_fmaf instead of relying on contraction of a * b + c.
7356 2015-02-12  J William Piggott  <elseifthen@gmx.com>
7358         [BZ #17969]
7359         * manual/time.texi: correct the zoneinfo path in the TZ Variable
7360         node.
7362 2015-02-12  Joseph Myers  <joseph@codesourcery.com>
7364         [BZ #17964]
7365         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Use
7366         __builtin_fma instead of relying on contraction of a * b + c.
7368 2015-02-12  Roland McGrath  <roland@hack.frob.com>
7370         * Makeconfig (ASFLAGS): Add -Werror=undef.
7371         * sysdeps/arm/Versions (libc: GLIBC_2.19): New (empty) version set.
7372         * sysdeps/unix/make-syscalls.sh: Always emit #define's for
7373         SYSCALL_CANCELLABLE, SYSCALL_NOERRNO, SYSCALL_ERRVAL, to 1 or 0.
7375         * Makeconfig (after-link): New variable.
7376         (+link-pie, +link-pie-tests): Use it.
7377         (+link-static, +link-static-tests): Likewise.
7378         (+link, +link-tests): Likewise.
7379         * Makerules (build-module, build-module-asneeded): Likewise.
7380         (lib%.so, $(common-objpfx)libc.so, $(common-objpfx)linkobj/libc.so):
7381         Likewise.
7382         * elf/Makefile ($(objpfx)ld.so): Likewise.
7384 2015-02-12  Rüdiger Sonderfeld  <ruediger@c-plusplus.net>
7386         [BZ #17965]
7387         * manual/time.texi (Elapsed Time): tv_sec is of type time_t in
7388         both struct timeval and struct timespec.
7390 2015-02-12  Joseph Myers  <joseph@codesourcery.com>
7392         [BZ #16560]
7393         * math/e_exp2l.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
7394         and redefine.
7395         (__ieee754_exp2l): Do not multiply small fractional parts by
7396         M_LN2l.
7397         * sysdeps/i386/fpu/e_exp2l.S (__ieee754_exp2l): Just add 1 to
7398         small argument.
7399         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
7400         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
7401         * sysdeps/x86_64/fpu/e_exp2l.S (__ieee754_exp2l): Likewise.
7402         * math/auto-libm-test-in: Add more tests of exp2.
7403         * math/auto-libm-test-out: Regenerated.
7405 2015-02-12  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
7407         * sysdeps/powerpc/powerpc64/power7/strncpy.S (strncpy): Optimize
7408         unaligned path.
7410 2015-02-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7412         * sysdeps/unix/sysv/linux/powerpc/htm.h [TABORT]: Fix encoding for
7413         little endian.
7415 2015-02-12  Andreas Schwab  <schwab@suse.de>
7417         [BZ #15790]
7418         * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
7419         Filter out elision flags from value returned in kind.
7420         * nptl/Makefile (tests): Add tst-pthread-mutexattr.
7421         * nptl/tst-pthread-mutexattr.c: New file.
7423 2015-02-11  Samuel Thibault  <samuel.thibault@ens-lyon.org>
7425         * abi-tags: Revert ae20c9a: rename back gnu into gnu-gnu.
7426         * configure.ac, configure: Revert ba90e05: modify gnu-* host_os back
7427         into gnu-gnu, and update comment to refer to abi-tags.
7429 2015-02-11  Joseph Myers  <joseph@codesourcery.com>
7431         [BZ #15467]
7432         * sysdeps/ieee754/dbl-64/s_sincos.c: Include <errno.h>.
7433         (__sincos): Set errno to EDOM for infinite argument.
7434         * sysdeps/ieee754/flt-32/s_sincosf.c: Include <errno.h>.
7435         (SINCOSF_FUNC): Set errno to EDOM for infinite argument.
7436         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include <errno.h>.
7437         (__sincosl): Set errno to EDOM for infinite argument.
7438         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Include <errno.h>.
7439         (__sincosl): Set errno to EDOM for infinite argument.
7440         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include <errno.h>.
7441         (__sincosl): Set errno to EDOM for infinite argument.
7442         * math/libm-test.inc (sincos_test_data): Test errno setting.
7444 2015-02-11  Leonhard Holz  <leonhard.holz@web.de>
7446         * string/strxfrm_l.c: Remove #define STRCMP.
7447         * string/strcoll_l.c: Remove #define STRLEN.
7448         * wcsmbs/wcsxfrm_l.c: Remove #define STRCMP.
7449         * wcsmbs/wcscoll_l.c: Remove #define STRLEN.
7451 2015-02-10  Joseph Myers  <joseph@codesourcery.com>
7453         * sysdeps/mips/soft-fp/sfp-machine.h: Move to ....
7454         * sysdeps/mips/mips32/sfp-machine.h: ... here.
7455         * sysdeps/mips/mips64/soft-fp/Makefile: Move to ....
7456         * sysdeps/mips/mips64/Makefile: ... here.
7457         * sysdeps/mips/mips64/soft-fp/e_sqrtl.c: Move to ....
7458         * sysdeps/mips/mips64/e_sqrtl.c: ... here.
7459         * sysdeps/mips/mips64/soft-fp/sfp-machine.h: Move to ....
7460         * sysdeps/mips/mips64/sfp-machine.h: ... here.
7461         * sysdeps/mips/mips32/Implies: Remove mips/soft-fp.
7462         * sysdeps/mips/mips64/n32/Implies: Remove mips/mips64/soft-fp.
7463         * sysdeps/mips/mips64/n64/Implies: Likewise.
7465 2015-02-10  Roland McGrath  <roland@hack.frob.com>
7467         * math/test-snan.c: Drop unnecessary #include's of <stdlib.h>,
7468         <sys/time.h>, <string.h>, and <errno.h>.
7469         (dest_offset, dest_address, value, zero): Remove unused variables.
7470         (ldouble): Remove typedef.
7471         (myFPsighandler): Use simple handler signature, not SA_SIGINFO
7472         signature.  Pass 1 to siglongjmp rather than 0 (which is converted to
7473         1).  Fix code style.
7474         (set_sigaction_FP, remove_sigaction_FP): Functions removed.
7475         (check): Function removed.
7476         (CHECK): New macro.
7477         (TEST_FUNC): Fix code style.  Use CHECK macro rather than repeating
7478         boilerplate feclearexcept + feenableexcept + sigsetjmp code.
7479         Don't call set_sigaction_FP and remove_sigaction_FP here.
7480         (ldouble_test): Just use 'long double' as macro argument, no need for
7481         the 'ldouble' typedef.
7482         (do_test): Set up SIGFPE handler at start, using plain signal rather
7483         than sigaction.  Fix code style.
7485 2015-02-10  Evangelos Foutras  <evangelos@foutrelis.com>
7487         [BZ #17949]
7488         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Fix position of
7489         jump label.
7491 2015-02-09  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
7493         * sysdeps/powerpc/powerpc32/configure.ac: Remove R_PPC_REL16 check.
7494         * sysdeps/powerpc/powerpc32/configure: Regenerated.
7496         * sysdeps/powerpc/configure.ac: Remove file.
7497         * sysdeps/powerpc/configure: Likewise.
7499         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
7500         [sysdep_routines]: Remove wordcopy-power6 object.
7501         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
7502         (__memmove_power7): Use local call for wordcopy and memcpy symbols.
7503         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c
7504         (__memmove_ppc32): Likewise.
7505         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: Remove
7506         file.
7507         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Remove file.
7508         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c [IS_IN (libc)]:
7509         Remove preprocessor.
7511         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
7512         [sysdep_routines]: Remove wide chars objects.
7513         [wcsmbs]: New rule for wide char objects.
7515         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
7516         Remove wordcopy-power6 obejct.
7517         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c (__memmove_ppc):
7518         Use local call for wordcopy and memcpy symbols.
7519         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: Remove file.
7520         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: Add default
7521         implementation for loader.
7522         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Remove file.
7524         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
7525         Remove wordcopy-power7 object.
7526         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: Remove file.
7527         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c
7528         (_wordcopy_fwd_aligned): Remove POWER7 specialization.
7529         (_wordcopy_fwd_dest_aligned): Likewise.
7530         (_wordcopy_bwd_aligned): Likewise.
7531         (_wordcopy_bwd_dest_aligned): Likewise.
7533         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c (__bcopy_ppc):
7534         Rewrite to call __memmove_ppc instead of include default
7535         implementation.
7537         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
7538         Remove wide chars objects.
7539         [wcsmbs]: New rule for wide char objects.
7541 2015-02-09  Andreas Schwab  <schwab@suse.de>
7543         [BZ #17912]
7544         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
7545         in terms of __O_DIRECTORY.
7547 2015-02-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
7549         * time/getdate.c: Include <stdbool.h>.
7550         * sysdeps/gnu/unwind-resume.c [!PTR_MANGLE] (__libgcc_s_init): Do not
7551         call PTR_MANGLE.
7552         [!PTR_DEMANGLE] (_Unwind_Resume, __gcc_personality_v0): Do not call
7553         PTR_DEMANGLE.
7555 2015-02-07  Paul Eggert  <eggert@cs.ucla.edu>
7557         Add ersatz _Static_assert on older C hosts
7558         * misc/sys/cdefs.h (_Static_assert): Define a substitute, if on a
7559         pre-C11 C platform that is not known to support _Static_assert.
7561 2015-02-07  Richard Braun  <rbraun@sceen.net>
7563         * hurd/hurd/signal.h (_hurd_critical_section_lock): Don't unlock
7564         sigstate.
7565         * sysdeps/mach/hurd/mmap.c (__mmap): Also handle PROT_NONE case.
7567 2015-02-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
7569         * sysdeps/pthread/aio_misc.c [!AIO_PRIO_DELTA_MAX]: Do not check
7570         priority against unexistent AIO_PRIO_DELTA_MAX.
7571         * misc/chflags.c (chflags): Set flags parameter type to unsigned long
7572         instead of int.
7573         * misc/fchflags.c (fchflags): Likewise.
7574         * sysdeps/mach/hurd/chflags.c (chflags): Likewise.
7575         * sysdeps/mach/hurd/fchflags.c (fchflags): Likewise.
7576         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC] (UF_SETTABLE, UF_NODUMP,
7577         UF_IMMUTABLE, UF_APPEND, UF_OPAQUE, UF_NOUNLINK, SF_SETTABLE,
7578         SF_ARCHIVED, SF_IMMUTABLE, SF_APPEND, SF_NOUNLINK, SF_SNAPSHOT):
7579         Declare macros.
7580         [__USE_MISC] (chflags, fchflags): Declare functions.
7581         * hurd/hurdselect.c (_hurd_select): In the poll case, do not return
7582         EINVAL when nfds is greater than FD_SETSIZE.
7583         * hurd/hurd/resource.h (MACH_PRIORITY_TO_NICE,
7584         NICE_TO_MACH_PRIORITY): Align nice levels on Mach priorities from 5 to
7585         45.
7586         * hurd/hurdselect.c (_hurd_select): Pass MACH_RCV_INTERRUPT to
7587         __mach_msg.  If that returns MACH_RCV_INTERRUPTED, set ERR to EINTR.
7588         * hurd/hurdselect.c (_hurd_select): Remove unreachable check for
7589         MACH_RCV_TIMED_OUT.
7590         * hurd/hurd/signal.h (_hurd_self_sigstate,
7591         _hurd_critical_section_lock, _hurd_critical_section_unlock):
7592         Explicit casts from void *.
7593         * sysdeps/mach/hurd/tls.h: Include <stdint.h> and <sysdep.h>.
7594         * abi-tags: Rename gnu-gnu os into gnu.
7596         [BZ #4719]
7597         * sysdeps/mach/hurd/bits/ioctls.h (_IOT__IOTBASE_long, _IOT_char,
7598         _IOT_short, _IOT_int, _IOT_long, _IOT__IOTBASE_int8_t,
7599         _IOT__IOTBASE_uint8_t, _IOT__IOTBASE_int16_t, _IOT__IOTBASE_uint16_t,
7600         _IOT__IOTBASE_int32_t, _IOT__IOTBASE_uint32_t, _IOT__IOTBASE_int64_t,
7601         _IOT__IOTBASE_uint64_t, _IOT__IOTBASE_size_t, _IOT__IOTBASE_ssize_t,
7602         _IOTBASE_unsigned, _IOTBASE_signed): Define macros.
7604         [BZ #17944]
7605         * hurd/hurdsocket.h: New file, defines _hurd_sun_path_dupa which
7606         duplicates ADDR->sun_path with sockaddr LEN limitation.
7607         * sysdeps/mach/hurd/connect.c: Include <string.h>
7608         (__connect): Give result of _hurd_sun_path_dupa to name lookup.
7609         * sysdeps/mach/hurd/sendmsg.c: Likewise.
7610         * sysdeps/mach/hurd/sendto.c: Likewise.
7611         * sysdeps/mach/hurd/bind.c: Call _hurd_sun_path_dupa instead of
7612         implementing it by hand.
7614 2015-02-06  Roland McGrath  <roland@hack.frob.com>
7616         * sysdeps/arm/sysdep.h [!PROF] [ARCH_HAS_T2 && !PIC] (LDR_GLOBAL):
7617         Use sfi_breg on ldr.
7618         [!PROF] [ARCH_HAS_T2 && PIC && ARM_PCREL_MOVW_OK] (LDR_GLOBAL):
7619         Likewise.
7621         * nptl/tst-cancel25.c (tf2): Test for SIGCANCEL being blocked only if
7622         it's defined.
7623         * nptl/tst-signal7.c (do_test): Test SIGCANCEL only if it's defined.
7624         Test SIGSETXID only if it's defined.
7626         * nptl/tst-locale1.c (useless): Use SIGRTMIN only if it's defined.
7628         * rt/tst-timer2.c (do_test): Don't initialize SIGEV.sigev_signo, which
7629         will not be used.  Use NULL rather than 0 for .sigev_notify_attributes.
7631         * nptl/tst-align2.c: Moved ...
7632         * sysdeps/unix/sysv/linux/tst-align-clone.c: ... here.
7633         * nptl/Makefile (tests): Remove tst-align2.
7634         * sysdeps/unix/sysv/linux/Makefile
7635         [$(subdir) = nptl] (tests): Add tst-align-clone.
7636         * nptl/tst-getpid1.c: Moved ...
7637         * sysdeps/unix/sysv/linux/tst-getpid1.c: ... here.
7638         * nptl/tst-getpid2.c: Moved ...
7639         * sysdeps/unix/sysv/linux/tst-getpid2.c: ... here.
7640         * nptl/Makefile (tests): Move tst-getpid1 and tst-getpid2 ...
7641         * sysdeps/unix/sysv/linux/Makefile
7642         [$(subdir) = nptl] (tests): ... here.
7643         * nptl/Makefile (tst-getpid2-ENV): Move variable ...
7644         * sysdeps/unix/sysv/linux/Makefile
7645         [$(subdir) = nptl] (tst-getpid2-ENV): ... here.
7647         * nptl/tst-cleanup2.c (do_test): Use signal rather than sigaction.
7648         Drop trailing \n from perror argument.  Use return rather than exit.
7650         * nptl/tst-cancel20.c (do_test): Conditionalize SA_SIGINFO-using tests
7651         on [SA_SIGINFO].
7652         * nptl/tst-cancel21.c (do_test): Likewise.
7653         * debug/tst-backtrace6.c: Include <signal.h> first thing.
7654         Conditionalize inclusion of tst-backtrace5.c on [SA_SIGINFO].
7655         [!SA_SIGINFO]: Make it a stub test.
7657         * misc/tst-pselect.c (do_test): Don't set SA_NOCLDWAIT in sa_flags for
7658         SIGCHLD; it's redundant with SIG_IGN as sa_handler.
7660         * posix/tst-getlogin.c: Move to ...
7661         * login/tst-getlogin.c: ... here.
7662         * posix/Makefile (tests): Move tst-getlogin to ...
7663         * login/Makefile (tests): ... here.
7665         * libio/tst-atime.c (do_test): Move local variables SV and E
7666         inside [ST_NOATIME] conditional.
7668         * dirent/tst-fdopendir.c (O_NOATIME): If not defined, #define to 0.
7670         * nptl/tst-kill5.c (do_test): Use INT_MAX rather than SIGRTMAX + 10.
7672         * nptl/tst-join5.c: Drop #include <sys/syscall.h>.
7673         (wait_code): New function replaces macro.
7674         Call nanosleep rather than syscall.
7676         * nptl/pt-system.c: Rewritten.  Put everything under
7677         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
7678         Use IFUNC to redirect when possible.
7680         * nptl/pt-longjmp.c: Rewritten.  Put everything under
7681         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
7682         Use IFUNC to redirect when possible.
7684         * nptl/pt-fork.c: Rewritten.  Put everything under
7685         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
7686         Use IFUNC to redirect when possible.
7687         * nptl/Versions (libpthread: GLIBC_2.22): New (empty) version set.
7689         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: Remove all
7690         code under [!__ASSUME_FUTEX_CLOCK_REALTIME], since that is defined
7691         unconditionally nowadays.  This included the only reference to
7692         __vdso_clock_gettime that appears outside libc proper.
7693         * sysdeps/unix/sysv/linux/x86_64/Versions (libc: GLIBC_PRIVATE):
7694         Remove version set (containing only __vdso_clock_gettime).
7695         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
7696         Add attribute_hidden.
7697         * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
7698         Likewise.  Drop __attribute__ ((nocommon)), libc_hidden_proto, and
7699         libc_hidden_data_def.
7700         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
7701         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
7703         * inet/Versions (libc: GLIBC_2.0): Move getrpcbyname, getrpcbyname_r,
7704         getrpcbynumber, getrpcbynumber_r, getrpcent, getrpcent_r, endrpcent,
7705         setrpcent, and getrpcport to ...
7706         * sunrpc/Versions (libc: GLIBC_2.0): ... here.
7707         * inet/Versions (libc: GLIBC_2.1.2): Move getrpcbyname_r,
7708         getrpcbynumber_r, and getrpcent_r to ...
7709         * sunrpc/Versions (libc: GLIBC_2.1.2): ... this new set.
7710         * inet/getrpcbyname.c: Moved ...
7711         * sunrpc/getrpcbyname.c: ... here.
7712         * inet/getrpcbyname_r.c: Moved ...
7713         * sunrpc/getrpcbyname_r.c: ... here.
7714         * inet/getrpcbynumber.c: Moved ...
7715         * sunrpc/getrpcbynumber.c: ... here.
7716         * inet/getrpcbynumber_r.c: Moved ...
7717         * sunrpc/getrpcbynumber_r.c: ... here.
7718         * inet/getrpcent.c: Moved ...
7719         * sunrpc/getrpcent.c: ... here.
7720         * inet/getrpcent_r.c: Moved ...
7721         * sunrpc/getrpcent_r.c: ... here.
7722         * inet/Makefile (routines): Move those to ...
7723         * sunrpc/Makefile (routines): ... here.
7724         * nss/Makefile (databases): Add key and rpc only if sunrpc appears in
7725         the $(subdirs) list.
7726         (CPPFLAGS-getent.c): New variable.  Pass -D option to set HAVE_SUNRPC
7727         to 0 or 1, indicating whether sunrpc appears in the $(subdirs) list.
7728         * nss/getent.c (print_rpc, rpc_keys): Conditionalize on [HAVE_SUNRPC].
7729         (databases): Conditionalize rpc entry on [HAVE_SUNRPC].
7731         * elf/Makefile (routines): Include $(all-dl-routines), not just
7732         $(dl-routines).
7733         (rtld-routines): Likewise.  Use = rather than :=.
7734         * sysdeps/aarch64/Makefile [$(subdir) = elf]
7735         (sysdep_routines, sysdep-rtld-routines): Don't add tlsdesc and
7736         dl-tlsdesc to these; sysdep-dl-routines alone is enough.
7737         * sysdeps/arm/Makefile: Likewise.
7738         * sysdeps/i386/Makefile: Likewise.
7739         * sysdeps/x86_64/Makefile: Likewise.
7740         * sysdeps/hppa/Makefile [$(subdir) = elf]
7741         (sysdep_routines, sysdep-rtld-routines): Don't add
7742         $(sysdep-dl-routines) to these.
7743         * sysdeps/ia64/Makefile: Likewise.
7744         * sysdeps/unix/sysv/linux/ia64/Makefile: Likewise.
7745         * sysdeps/unix/sysv/linux/aarch64/Makefile [$(subdir) = elf]
7746         [$(build-shared) = yes] (sysdep_routines, sysdep-rtld-routines):
7747         Don't add dl-static to these; sysdep-dl-routines alone is enough.
7748         * sysdeps/unix/sysv/linux/m68k/Makefile: Likewise.
7749         * sysdeps/unix/sysv/linux/mips/Makefile: Likewise.
7750         * sysdeps/unix/sysv/linux/powerpc/Makefile: Likewise.
7751         * sysdeps/unix/sysv/linux/tile/Makefile: Likewise.
7752         * sysdeps/powerpc/Makefile [$(subdir) = elf]
7753         (sysdep_routines, sysdep-rtld-routines): Don't add dl-machine to
7754         these; sysdep-dl-routines alone is enough.
7756 2015-02-06  Joseph Myers  <joseph@codesourcery.com>
7758         [BZ #17932]
7759         * soft-fp/op-common.h (_FP_FMA): Set exponent of result in case
7760         where multiplication results in zero and third argument is finite
7761         and nonzero.
7762         * math/auto-libm-test-in: Add more tests of fma.
7763         * math/auto-libm-test-out: Regenerated.
7765         * soft-fp/op-common.h (_FP_CMP_CHECK_DENORM): New macro.
7766         (_FP_CMP_CHECK_FLUSH_ZERO): Likewise.
7767         (_FP_CMP): Use_FP_CMP_CHECK_DENORM and _FP_CMP_CHECK_FLUSH_ZERO.
7768         (_FP_CMP_EQ): Likewise.
7769         (_FP_CMP_UNORD): Use _FP_CMP_CHECK_DENORM.
7771         * soft-fp/op-common.h (FP_EXTEND): Rename to _FP_EXTEND_CNAN with
7772         extra argument CHECK_NAN.  Redefine as wrapper around
7773         _FP_EXTEND_CNAN.
7775 2015-02-06  Carlos O'Donell  <carlos@systemhalted.org>
7777         * version.h (RELEASE): Set to "stable".
7778         (VERSION): Set to "2.21"
7779         * include/features.h (__GLIBC_MINOR__): Set to 21.
7781         * sysdeps/unix/sysv/linux/hppa/pthread.h: Sync with pthread.h.
7783 2015-02-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
7784             Paul Eggert  <eggert@cs.ucla.edu>
7786         [BZ #16618]
7787         * stdio-common/tst-sscanf.c (main): Test for buffer overflow.
7788         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Compute needed
7789         size in bytes. Store needed elements in wpmax. Use needed size
7790         in bytes for extend_alloca.
7792 2015-02-05  Carlos O'Donell  <carlos@systemhalted.org>
7794         * manual/install.texi: Latest tested versions are GCC 4.9.2,
7795         binutls 2.25, and texinfo 5.2.
7796         * INSTALL: Regenerate.
7797         * sysdeps/nios2/configure: Regenerate.
7798         * sysdeps/unix/sysv/linux/nios2/configure: Regenerate.
7799         * manual/contrib.texi: Update.
7800         * po/be.po: Update.
7801         * po/bg.po: Update.
7802         * po/ca.po: Update.
7803         * po/cs.po: Update.
7804         * po/da.po: Update.
7805         * po/de.po: Update.
7806         * po/el.po: Update.
7807         * po/eo.po: Update.
7808         * po/es.po: Update.
7809         * po/fi.po: Update.
7810         * po/fr.po: Update.
7811         * po/gl.po: Update.
7812         * po/hr.po: Update.
7813         * po/hu.po: Update.
7814         * po/ia.po: Update.
7815         * po/id.po: Update.
7816         * po/it.po: Update.
7817         * po/ja.po: Update.
7818         * po/ko.po: Update.
7819         * po/lt.po: Update.
7820         * po/nb.po: Update.
7821         * po/nl.po: Update.
7822         * po/pl.po: Update.
7823         * po/pt_BR.po: Update.
7824         * po/ru.po: Update.
7825         * po/rw.po: Update.
7826         * po/sk.po: Update.
7827         * po/sl.po: Update.
7828         * po/sv.po: Update.
7829         * po/tr.po: Update.
7830         * po/uk.po: Update.
7831         * po/vi.po: Update.
7832         * po/zh_CN.po: Update.
7833         * po/zh_TW.po: Update.
7835         * sysdeps/hppa/Makefile (CFLAGS-dl-fptr.c): Add -Wno-error.
7836         * sysdeps/hppa/bits/setjmp.h: Union is named __jmp_buf_internal_tag.
7837         * sysdeps/hppa/dl-irel.h: Remove #warning.
7838         * sysdeps/hppa/entry.h: Provide prototype for
7839         __canonicalize_funcptr_for_compare and cast argument.
7840         * sysdeps/hppa/fpu/fegetexcept.c (fegetexcept): Add semicolon.
7841         * sysdeps/hppa/fpu/ftestexcept.c (fetestexcept): Likewise.
7842         * sysdeps/hppa/sotruss-lib.c: New file.
7843         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h
7844         (atomic_compare_and_exchange_val_acq): Use __typeof__.
7845         (atomic_compare_and_exchange_bool_acq): Likewise.
7846         * sysdeps/unix/sysv/linux/hppa/mmap.c: Use weak alias.
7847         * sysdeps/unix/sysv/linux/hppa/pthread.h: Include pthread.h.
7849         * sysdeps/unix/sysv/linux/hppa/syscall.S: Delete file.
7850         * sysdeps/unix/sysv/linux/hppa/sysdep.c: Move syscall from here...
7851         * sysdeps/unix/sysv/linux/hppa/syscall.c: ... to here.
7853 2015-02-05  Chung-Lin Tang  <cltang@codesourcery.com>
7855         * sysdeps/nios2/machine-gmon.h (NIOS2_MCOUNT_CALL): Correct name of
7856         called function in non-PIC case.
7858 2015-01-31  David S. Miller  <davem@davemloft.net>
7860         * sysdeps/sparc/sparc32/bits/atomic.h
7861         (__sparc32_atomic_do_unlock24): Put the memory barrier before the
7862         unlock not after it.
7863         (__v9_compare_and_exchange_val_32_acq): Use unions to avoid getting
7864         volatile register usage warnings from the compiler.
7866         * sysdeps/sparc/nptl/sem_init.c: Delete.
7867         * sysdeps/sparc/nptl/sem_post.c: Delete.
7868         * sysdeps/sparc/nptl/sem_timedwait.c: Delete.
7869         * sysdeps/sparc/nptl/sem_wait.c: Delete.
7870         * sysdeps/sparc/sparc32/sem_init.c: New file.
7871         * sysdeps/sparc/sparc32/sem_waitcommon.c: New file.
7872         * sysdeps/sparc/sparc32/sem_open.c: Generic nptl version with
7873         padding explicitly initialized.
7874         * sysdeps/sparc/sparc32/sem_post.c: Generic nptl version using
7875         padding for in-semaphore spinlock.
7876         * sysdeps/sparc/sparc32/sem_wait.c: Likewise.
7877         * sysdeps/sparc/sparc32/sem_trywait.c: Delete.
7878         * sysdeps/sparc/sparc32/sem_timedwait.c: Delete.
7879         * sysdeps/sparc/sparc32/sparcv9/sem_init.c: New file.
7880         * sysdeps/sparc/sparc32/sparcv9/sem_open.c: New file.
7881         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: New file.
7882         * sysdeps/sparc/sparc32/sparcv9/sem_waitcommon.c: New file.
7883         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Redirect to nptl
7884         version.
7885         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: Delete.
7886         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Delete.
7888 2015-01-30  H.J. Lu  <hongjiu.lu@intel.com>
7890         [BZ #17801]
7891         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
7892         Set the bit_AVX_Fast_Unaligned_Load bit for AVX2.
7893         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX_Fast_Unaligned_Load):
7894         New.
7895         (index_AVX_Fast_Unaligned_Load): Likewise.
7896         (HAS_AVX_FAST_UNALIGNED_LOAD): Likewise.
7897         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check the
7898         bit_AVX_Fast_Unaligned_Load bit instead of the bit_AVX_Usable bit.
7899         * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Likewise.
7900         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Likewise.
7901         * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Likewise.
7902         * sysdeps/x86_64/multiarch/memmove.c (__libc_memmove): Replace
7903         HAS_AVX with HAS_AVX_FAST_UNALIGNED_LOAD.
7904         * sysdeps/x86_64/multiarch/memmove_chk.c (__memmove_chk): Likewise.
7906 2015-01-29  Andreas Schwab  <schwab@suse.de>
7908         * sysdeps/nptl/allocrtsig.c: Include <signal.h>.
7910 2015-01-29  Siddhesh Poyarekar <siddhesh@redhat.com>
7912         [BZ #17892]
7913         * nscd/nscd_stat.c (send_stats): Initialize DATA.
7915 2015-01-28  Martin Sebor  <msebor@redhat.com>
7917         * math/README.libm-test: Clarify. Add "How to read the test output."
7919 2015-01-28  Chris Metcalf  <cmetcalf@ezchip.com>
7921         * sysdeps/tile/tilegx/bits/atomic.h [!_LP64] (__HAVE_64B_ATOMICS):
7922         Define to 0.
7924 2015-01-28  Joseph Myers  <joseph@codesourcery.com>
7926         * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIN32]
7927         (__HAVE_64B_ATOMICS): Define to 0.
7929 2015-01-28  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
7931         [BZ #17885]
7932         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Fix correct
7933         value to set as new flag.
7935         [BZ #16576]
7936         * sysdeps/powerpc/fpu/math_private.h [__CPU_HAS_FSQRT]: Remove define
7937         and use _ARCH_PPCSQ instead.
7938         (__ieee754_sqrt): Likewise.
7939         (__ieee754_sqrtf): Likewise.
7940         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Build only if
7941         _ARCH_PPCSQ is defined.
7942         (__ieee754_sqrt): Use _ARCH_PPCSQ to select wheter to use hardware
7943         fsqrt instruction.
7944         * sysdeps/powerpc/fpu/e_sqrtf.c (__ieee754_sqrtf): Build only if
7945         _ARCH_PPCSQ is defined.
7946         (__ieee754_sqrtf): Use _ARCH_PPCSQ to select wheter to use hardware
7947         fsqrts instruction.
7948         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Remove file.
7950 2015-01-27  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
7952         * iconv/loop.c: Suppress array out of bound warning caused by GCC
7953         bug (GCC BZ #64739).
7955 2015-01-25  Andreas Schwab  <schwab@linux-m68k.org>
7957         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h (lll_futex_requeue):
7958         Mark _retval as used.
7959         (lll_futex_wake_unlock): Likewise.
7960         (lll_futex_timed_wait_requeue_pi): Likewise.
7962         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
7963         (atomic_compare_and_exchange_val_acq): Use uint32_t for the
7964         register variables.
7966         * sysdeps/m68k/m680x0/fpu/fraiseexcpt.c (__feraiseexcept): Use
7967         libm_hidden_def.
7969         * sysdeps/m68k/bits/byteswap.h (__bswap_16, __bswap_32)
7970         (__bswap_64): Mark as __always_inline.
7972 2015-01-25  Bram  <bug_rh@spam.wizbit.be>
7974         [BZ #15378]
7975         * elf/dl-load.c (open_path): Avoid writing to 'env_path_list'
7976         when none of the search directories exist.
7978 2015-01-24  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
7980         [BZ #17869]
7981         * sysdeps/powerpc/powerpc64/power8/memset.S: Use power7 instead of
7982         power8 in .machine directive.
7984         [BZ #17868]
7985         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Force value
7986         set dependency from opd value.
7988 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
7990         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
7991         Treat model numbers 0x4a/0x4d/0x5a/0x5d as Intel Silvermont
7992         architecture.
7994 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
7996         [BZ #17870]
7997         * nptl/sem_post.c (__new_sem_post): Replace unsigned long int
7998         with uint64_t.
7999         * nptl/sem_waitcommon.c (__sem_wait_cleanup): Replace 1UL with
8000         (uint64_t) 1.
8001         (__new_sem_wait_fast): Replace unsigned long with uint64_t.
8002         (__new_sem_wait_slow): Replace unsigned long int with uint64_t.
8003         Replace 1UL with (uint64_t) 1.
8004         * sysdeps/nptl/internaltypes.h (new_sem): Replace unsigned long
8005         int with uint64_t.
8007 2015-01-23  Roland McGrath  <roland@hack.frob.com>
8009         * inet/if_index.c (if_nameindex): Add missing libc_hidden_weak.
8010         (if_freenameindex): Likewise.
8012         * resource/getrlimit64.c: Add missing libc_hidden_def.
8014 2015-01-22  Joseph Myers  <joseph@codesourcery.com>
8016         * soft-fp/op-common.h (_FP_ADD_INTERNAL): Declare labels with
8017         __label__.
8018         (_FP_FMA): Likewise.
8019         (_FP_TO_INT_ROUND): Likewise.
8020         (_FP_FROM_INT): Likewise.
8022 2015-01-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8024         [BZ #16418]
8025         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
8026         Make code racy and cancel safe.
8028 2015-01-21  Carlos O'Donell  <carlos@redhat.com>
8030         * sysdeps/arm/unwind-resume.h: Fix copyright year.
8031         * dlfcn/tst-rec-dlopen.c: Fix incorrect copyright year and
8032         attribution.
8034         * pwd/tst-getpw.c: Rewrite.
8036         [BZ #17702]
8037         * dlfcn/Makefile (tests): Add tst-rec-dlopen.
8038         (modules-names): Add moddummy1 and moddummy2.
8039         ($(objpfx)tst-rec-dlopen): Define.
8040         * dlfcn/moddummy1.c: New file.
8041         * dlfcn/moddummy2.c: New file.
8042         * dlfcn/tst-rec-dlopen.c: New file.
8043         * elf/dl-cache.c (_dl_load_cache_lookup):
8044         Return char*. Copy result with alloca/strcpy/strdup.
8045         * elf/dl-load.c (_dl_map_object): _dl_load_cached_lookup
8046         returns char*. Free cached. If not saving realname
8047         free cached.
8048         * elf/dl-open.c (dl_open_worker): Do not assert that
8049         _r_debug->r_state is RT_CONSISTENT.
8050         * sysdeps/generic/ldsodefs.h: _dl_load_cache_lookup
8051         returns char*.
8053 2015-01-21  Torvald Riegel  <triegel@redhat.com>
8054             Carlos O'Donell  <carlos@redhat.com>
8056         [BZ #12674]
8057         * nptl/sem_waitcommon.c: New file.
8058         * nptl/sem_wait.c: Include sem_waitcommon.c.
8059         (__sem_wait_cleanup, do_futex_wait): Remove.
8060         (__new_sem_wait): Adapt.
8061         (__new_sem_trywait): New function.
8062         (__old_sem_trywait): Moved here from nptl/sem_trywait.c.
8063         * nptl/sem_timedwait.c: Include sem_waitcommon.c.
8064         (__sem_wait_cleanup, do_futex_timed_wait): Remove.
8065         (sem_timedwait): Adapt.
8066         * nptl/sem_post.c (__new_sem_post): Adapt.
8067         (futex_wake): New function.
8068         (__old_sem_post): Add release MO fence.
8069         * nptl/sem_open.c (sem_open): Adapt.
8070         * nptl/sem_init.c (__new_sem_init): Adapt.
8071         (futex_private_if_supported): New function.
8072         * nptl/sem_getvalue.c (__new_sem_getvalue): Adapt.
8073         (__old_sem_getvalue): Add using previous code.
8074         * sysdeps/nptl/internaltypes.h: Adapt.
8075         * nptl/tst-sem13.c (do_test): Adapt.
8076         * nptl/tst-sem11.c (main): Adapt.
8077         * nptl/sem_trywait.c: Remove.
8078         * nptl/DESIGN-sem.txt: Remove.
8079         * nptl/Makefile (libpthread-routines): Remove sem_trywait.
8080         (gen-as-const-headers): Remove structsem.sym.
8081         * nptl/structsem.sym: Remove.
8082         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Remove.
8083         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Remove.
8084         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Remove.
8085         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Remove.
8086         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Remove.
8087         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Remove.
8088         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Remove.
8089         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Remove.
8090         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Remove.
8091         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Remove.
8092         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Remove.
8093         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Remove.
8094         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Remove.
8095         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: Remove.
8096         * sysdeps/unix/sysv/linux/sh/sem_post.S: Remove.
8097         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Remove.
8098         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Remove.
8099         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Remove.
8100         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: Remove.
8101         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Remove.
8102         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Remove.
8103         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Remove.
8105 2015-01-20  Carlos O'Donell  <carlos@redhat.com>
8107         * INSTALL: Regenerated.
8109         * po/libc.pot: Regenerated.
8111 2015-01-18  Chung-Lin Tang  <cltang@codesourcery.com>
8112             Sandra Loosemore  <sandra@codesourcery.com>
8113             Andrew Jenner  <andrew@codesourcery.com>
8114             Joseph Myers  <joseph@codesourcery.com>
8115             Nathan Sidwell  <nathan@codesourcery.com>
8117         * NEWS: Mention new Nios II port.
8118         * sysdeps/nios2/Implies: New file.
8119         * sysdeps/nios2/Makefile: New file.
8120         * sysdeps/nios2/Subdirs: New file.
8121         * sysdeps/nios2/Versions: New file.
8122         * sysdeps/nios2/__longjmp.S: New file.
8123         * sysdeps/nios2/abort-instr.h: New file.
8124         * sysdeps/nios2/backtrace.c: New file.
8125         * sysdeps/nios2/bits/endian.h: New file.
8126         * sysdeps/nios2/bits/fenv.h: New file.
8127         * sysdeps/nios2/bits/link.h: New file.
8128         * sysdeps/nios2/bits/setjmp.h: New file.
8129         * sysdeps/nios2/bsd-_setjmp.S: New file.
8130         * sysdeps/nios2/bsd-setjmp.S: New file.
8131         * sysdeps/nios2/configure: New generated file.
8132         * sysdeps/nios2/configure.ac: New file.
8133         * sysdeps/nios2/crti.S: New file.
8134         * sysdeps/nios2/crtn.S: New file.
8135         * sysdeps/nios2/dl-init.c: New file.
8136         * sysdeps/nios2/dl-machine.h: New file.
8137         * sysdeps/nios2/dl-sysdep.h: New file.
8138         * sysdeps/nios2/dl-tls.h: New file.
8139         * sysdeps/nios2/dl-trampoline.S: New file.
8140         * sysdeps/nios2/gccframe.h: New file.
8141         * sysdeps/nios2/gmp-mparam.h: New file.
8142         * sysdeps/nios2/jmpbuf-offsets.h: New file.
8143         * sysdeps/nios2/jmpbuf-unwind.h: New file.
8144         * sysdeps/nios2/ldsodefs.h: New file.
8145         * sysdeps/nios2/libc-tls.c: New file.
8146         * sysdeps/nios2/libm-test-ulps: New file.
8147         * sysdeps/nios2/machine-gmon.h: New file.
8148         * sysdeps/nios2/math-tests.h: New file.
8149         * sysdeps/nios2/math_private.h: New file.
8150         * sysdeps/nios2/memusage.h: New file.
8151         * sysdeps/nios2/nptl/Makefile: New file.
8152         * sysdeps/nios2/nptl/bits/pthreadtypes.h: New file.
8153         * sysdeps/nios2/nptl/bits/semaphore.h: New file.
8154         * sysdeps/nios2/nptl/pthread_spin_lock.c: New file.
8155         * sysdeps/nios2/nptl/pthreaddef.h: New file.
8156         * sysdeps/nios2/nptl/tcb-offsets.sym: New file.
8157         * sysdeps/nios2/nptl/tls.h: New file.
8158         * sysdeps/nios2/preconfigure: New file.
8159         * sysdeps/nios2/s_fma.c: New file.
8160         * sysdeps/nios2/s_fmaf.c: New file.
8161         * sysdeps/nios2/setjmp.S: New file.
8162         * sysdeps/nios2/sfp-machine.h: New file.
8163         * sysdeps/nios2/sotruss-lib.c: New file.
8164         * sysdeps/nios2/stackguard-macros.h: New file.
8165         * sysdeps/nios2/stackinfo.h: New file.
8166         * sysdeps/nios2/start.S: New file.
8167         * sysdeps/nios2/sysdep.h: New file.
8168         * sysdeps/nios2/tls-macros.h: New file.
8169         * sysdeps/nios2/tst-audit.h: New file.
8170         * sysdeps/unix/sysv/linux/nios2/Implies: New file.
8171         * sysdeps/unix/sysv/linux/nios2/Makefile: New file.
8172         * sysdeps/unix/sysv/linux/nios2/Versions: New file.
8173         * sysdeps/unix/sysv/linux/nios2/arch-fork.h: New file.
8174         * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: New file.
8175         * sysdeps/unix/sysv/linux/nios2/bits/mman.h: New file.
8176         * sysdeps/unix/sysv/linux/nios2/cacheflush.c: New file.
8177         * sysdeps/unix/sysv/linux/nios2/clone.S: New file.
8178         * sysdeps/unix/sysv/linux/nios2/configure: New generated file.
8179         * sysdeps/unix/sysv/linux/nios2/configure.ac: New file.
8180         * sysdeps/unix/sysv/linux/nios2/getcontext.S: New file.
8181         * sysdeps/unix/sysv/linux/nios2/kernel-features.h: New file.
8182         * sysdeps/unix/sysv/linux/nios2/kernel_rt_sigframe.h: New file.
8183         * sysdeps/unix/sysv/linux/nios2/makecontext.c: New file.
8184         * sysdeps/unix/sysv/linux/nios2/profil-counter.h: New file.
8185         * sysdeps/unix/sysv/linux/nios2/setcontext.S: New file.
8186         * sysdeps/unix/sysv/linux/nios2/shlib-versions: New file.
8187         * sysdeps/unix/sysv/linux/nios2/sigcontextinfo.h: New file.
8188         * sysdeps/unix/sysv/linux/nios2/swapcontext.S: New file.
8189         * sysdeps/unix/sysv/linux/nios2/sys/cachectl.h: New file.
8190         * sysdeps/unix/sysv/linux/nios2/sys/procfs.h: New file.
8191         * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: New file.
8192         * sysdeps/unix/sysv/linux/nios2/sys/user.h: New file.
8193         * sysdeps/unix/sysv/linux/nios2/syscall.S: New file.
8194         * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: New file.
8195         * sysdeps/unix/sysv/linux/nios2/sysdep.S: New file.
8196         * sysdeps/unix/sysv/linux/nios2/sysdep.h: New file.
8197         * sysdeps/unix/sysv/linux/nios2/ucontext_i.sym: New file.
8198         * sysdeps/unix/sysv/linux/nios2/vfork.S: New file.
8199         * sysdeps/unix/sysv/linux/nios2/c++-types.data: New file.
8200         * sysdeps/unix/sysv/linux/nios2/ld.abilist: New file.
8201         * sysdeps/unix/sysv/linux/nios2/libBrokenLocale.abilist: New file.
8202         * sysdeps/unix/sysv/linux/nios2/libanl.abilist: New file.
8203         * sysdeps/unix/sysv/linux/nios2/libc.abilist: New file.
8204         * sysdeps/unix/sysv/linux/nios2/libcrypt.abilist: New file.
8205         * sysdeps/unix/sysv/linux/nios2/libdl.abilist: New file.
8206         * sysdeps/unix/sysv/linux/nios2/libm.abilist: New file.
8207         * sysdeps/unix/sysv/linux/nios2/libnsl.abilist: New file.
8208         * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: New file.
8209         * sysdeps/unix/sysv/linux/nios2/libresolv.abilist: New file.
8210         * sysdeps/unix/sysv/linux/nios2/librt.abilist: New file.
8211         * sysdeps/unix/sysv/linux/nios2/libthread_db.abilist: New file.
8212         * sysdeps/unix/sysv/linux/nios2/libutil.abilist: New file.
8213         * sysdeps/unix/sysv/linux/nios2/localplt.data: New file.
8215 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
8217         [BZ #17844]
8218         * sysdeps/unix/sysv/linux/s390/s390-32/getutent.c
8219         (getutent): Use weak_alias in non SHARED case
8220         and default_symbol_version in SHARED case.
8221         * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c
8222         (getutent_r, pututline): Likewise.
8223         * sysdeps/unix/sysv/linux/s390/s390-32/getutid.c
8224         (getutid): Likewise.
8225         * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c
8226         (getutid_r): Likewise.
8227         * sysdeps/unix/sysv/linux/s390/s390-32/getutline.c
8228         (getutline): Likewise.
8229         * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c
8230         (getutline_r): Likewise.
8231         * sysdeps/unix/sysv/linux/s390/s390-32/updwtmp.c
8232         (updwtmp): Likewise.
8234 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
8236         [BZ #17848]
8237         * sysdeps/s390/s390-32/memcmp.S
8238         (memcmp_g5): Rename to __memcmp_g5.
8239         * sysdeps/s390/s390-32/memcpy.S
8240         (memcpy_g5): Rename to __memcpy_g5.
8241         Jump to __memcpy_mvcle instead of memcpy_mvcle.
8242         (memcpy_mvcle) Rename to __memcpy_mvcle.
8243         * sysdeps/s390/s390-32/memset.S
8244         (memset_g5): Rename to __memset_g5.
8245         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
8246         (IFUNC_RESOLVE): Prefix ifunc-resolve function
8247         and use prefixed functions.
8248         * sysdeps/s390/s390-32/multiarch/memcmp.S
8249         (memcmp_z196): Rename to __memcmp_z196.
8250         (memcmp_z10): Rename to __memcmp_z10.
8251         (memcmp): Set alias to __memcmp_g5.
8252         (bcmp): Set alias to __memcmp_g5.
8253         * sysdeps/s390/s390-32/multiarch/memcpy.S
8254         (memcpy_z196): Rename to __memcpy_z196.
8255         Jump to __memcpy_mvcle instead of memcpy_mvcle.
8256         (memcpy_z10): Rename to __memcpy_z10.
8257         Jump to __memcpy_mvcle instead of memcpy_mvcle.
8258         (memcpy): Set alias to __memcpy_g5.
8259         * sysdeps/s390/s390-32/multiarch/memset.S
8260         (memset_z196): Rename to __memset_z196.
8261         Jump to __memset_mvcle instead of memset_mvcle.
8262         (memset_z10): Rename to __memset_z10.
8263         Jump to __memset_mvcle instead of memset_mvcle.
8264         (memset_mvcle) Rename to __memset_mvcle.
8265         (memset): Set alias to __memset_g5.
8266         * sysdeps/s390/s390-64/memcmp.S
8267         (memcmp_z900): Rename to __memcmp_z900.
8268         * sysdeps/s390/s390-64/memcpy.S
8269         (memcpy_z900): Rename to __memcpy_z900.
8270         Jump to __memcpy_mvcle instead of memcpy_mvcle.
8271         (memcpy_mvcle) Rename to __memcpy_mvcle.
8272         * sysdeps/s390/s390-64/memset.S
8273         (memset_z900): Rename to __memset_z900.
8274         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c
8275         (IFUNC_RESOLVE): Prefix ifunc-resolve function
8276         and use prefixed functions.
8277         * sysdeps/s390/s390-64/multiarch/memcmp.S
8278         (memcmp_z196): Rename to __memcmp_z196.
8279         (memcmp_z10): Rename to __memcmp_z10.
8280         (memcmp): Set alias to __memcmp_z900.
8281         (bcmp): Set alias to __memcmp_z900.
8282         * sysdeps/s390/s390-64/multiarch/memcpy.S
8283         (memcpy_z196): Rename to __memcpy_z196.
8284         Jump to __memcpy_mvcle instead of memcpy_mvcle.
8285         (memcpy_z10): Rename to __memcpy_z10.
8286         Jump to __memcpy_mvcle instead of memcpy_mvcle.
8287         (memcpy): Set alias to __memcpy_z900.
8288         * sysdeps/s390/s390-64/multiarch/memset.S
8289         (memset_z196): Rename to __memset_z196.
8290         Jump to __memset_mvcle instead of memset_mvcle.
8291         (memset_z10): Rename to __memset_z10.
8292         Jump to __memset_mvcle instead of memset_mvcle.
8293         (memset_mvcle) Rename to __memset_mvcle.
8294         (memset): Set alias to __memset_z900.
8296 2015-01-14  Joseph Myers  <joseph@codesourcery.com>
8298         [BZ #17748]
8299         * sysdeps/powerpc/nofpu/feholdexcpt.c (__feholdexcept): Call
8300         __fesetenv instead of fesetenv.
8302 2015-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
8304         * sysdeps/s390/dl-tls.h [IS_IN (rtld)]: Define __tls_get_addr
8305         macro.
8307 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8309         * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Fix performance
8310         regression on LE.
8312         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: New file.
8313         * sysdeps/powerpc/powerpc64/power8/strncmp.S: New file.
8314         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
8315         strncmp-power8 object.
8316         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8317         (__libc_ifunc_impl_list): Add __strncmp_power8 implementation.
8318         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c (strncmp): Likewise.
8319         * NEWS: Update.
8321 2015-01-13  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
8322             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8324         * sysdeps/powerpc/powerpc64/power7/strcmp.S (strcmp): Optimize
8325         trailing byte check.
8327 2015-01-13  David S. Miller  <davem@davemloft.net>
8329         * include/signal.h (__sigreturn): Guard with __USE_MISC.
8331 2015-01-13  Roland McGrath  <roland@hack.frob.com>
8333         * login/logout.c (logout): Use memset rather than bzero.
8334         * nis/nss_compat/compat-pwd.c (getpwent_next_file): Likewise.
8335         * nis/nss_compat/compat-spwd.c (getspent_next_file): Likewise.
8336         * resolv/gethnamaddr.c (gethostbyaddr): Use memcmp rather than bcmp.
8337         (_gethtbyaddr): Likewise.
8338         * locale/programs/simple-hash.c (bcopy): Macro removed.
8340 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8342         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
8343         Add strcmp-power8 object.
8344         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8345         (__libc_ifunc_impl_list): Add __strcmp_power8 implementation.
8346         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: New file.
8347         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c (strcmp): Add
8348         __strcmp_power8 implementation.
8349         * sysdeps/powerpc/powerpc64/power8/strcmp.S: New file.
8350         * NEWS: Update.
8352         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
8353         Add strncpy-power8 and stpncpy-power8 objects.
8354         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8355         (__libc_ifunc_impl_list): Add __strncpy_power8 and stpncpy_power8
8356         implementations.
8357         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: New file.
8358         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c (__stpncpy): Add
8359         __stpncpy_power8 implementation.
8360         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: New file.
8361         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c (strncpy): Add
8362         __strncpy_power8 implementation.
8363         * sysdeps/powerpc/powerpc64/power8/stpncpy.S: New file.
8364         * sysdeps/powerpc/powerpc64/power8/strncpy.S: New file.
8365         * NEWS: Update.
8367         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.c: New file.
8368         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: Remove file.
8369         * sysdeps/powerpc/powerpc64/power7/strncat.S: Likewise.
8371         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
8372         strncat-power8 object.
8373         * sysdeps/powerpc/powerpc64/multiarch/strcat.c (strcat): Add
8374         __strcat_power8 implementation.
8375         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8376         (__libc_ifunc_impl_list): Add __strcat_power8 implementation.
8377         * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: New file:
8378         optimized strcat for power8.
8380         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
8381         strcpy-power8 and stpcpy-power8 objects.
8382         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8383         (__libc_ifunc_impl_list): Add __strcpy_power8 and __stpcpy_power8
8384         implementations.
8385         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: New file:
8386         multiarch stpcpy implementation for POWER8.
8387         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: New file;
8388         multiarch strcpy implementation for POWER8.
8389         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c (strcpy): Add
8390         __strcpy_power8 function.
8391         * sysdeps/powerpc/powerpc64/power8/stpcpy.S: New file: optimized
8392         stpcpy for POWER8.
8393         * sysdeps/powerpc/powerpc64/power8/strcpy.S: New file: optimized
8394         strcpy for POWER8.
8395         * NEWS: Update.
8397 2015-01-13  Leonhard Holz  <leonhard.holz@web.de>
8399         [BZ #16009]
8400         * string/strxfrm_l.c (STRXFRM): Allocate fixed size cache for
8401         weights and rules. Use do_xfrm_cached if data fits in cache,
8402         do_xfrm otherwise.  Moved former main loop to...
8403         * (do_xfrm_cached): New function.
8404         * (do_xfrm): Non-caching version of do_xfrm_cached. Uses
8405         find_idx, find_position and stack_push.
8406         * (find_idx): New function.
8407         * (find_position): Likewise.
8408         * localedata/sort-test.sh: Added test run for do_xfrm.
8409         * localedata/xfrm-test.c (main): Added command line option
8410         -nocache to run the test with strings that are too large for
8411         the STRXFRM cache.
8413 2015-01-13  Torvald Riegel  <triegel@redhat.com>
8415         * sysdeps/nptl/fork.c (__libc_fork): Provide address of futex
8416         variable to lll_futex_wake call, not the value itself.
8418 2015-01-12  Joseph Myers  <joseph@codesourcery.com>
8420         [BZ #17803]
8421         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (twom63): Rename to
8422         twom64.  Adjust value to 0x1p-64L.
8423         (__scalblnl): Only return standard underflowing result for K <=
8424         -64 not K <= -63; adjust exponent for underflowing result by 64
8425         not 63.
8426         * math/libm-test.inc (scalbn_test_data): Add more tests.
8427         (scalbln_test_data): Likewise.
8429         [BZ #17834]
8430         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (two63): Change value to
8431         0x1p63L.
8432         (__scalblnl): Get new exponent of adjusted subnormal value from ES
8433         not HX.
8434         * math/libm-test.inc (scalbn_test_data): Add more tests.
8435         (scalbln_test_data): Likewise.
8437 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8438             Stefani Seibold  <stefani@seibold.net>
8440         * sysdeps/unix/sysv/linux/x86_64/Makefile [$(subdir) = elf]
8441         (sysdep_routines): Add dl-vdso here, ...
8442         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = elf]
8443         (sysdep_routines): ... not here.
8444         * sysdeps/unix/sysv/linux/i386/gettimeofday.c: New file: set syscall
8445         fallback when vDSO is not presented.
8446         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
8447         Define with libc_hidden_proto/libc_hidden_data_def definitions.
8448         (_libc_vdso_platform_setup): Rename to __vdso_platform_setup.
8449         * sysdeps/unix/sysv/linux/i386/init-first.c: New file: likewise.
8450         * sysdeps/unix/sysv/linux/i386/time.c: New file: likewise.
8451         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Moved to ...
8452         * sysdeps/unix/sysv/linux/x86/libc-vdso.h: ... here.
8453         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: Move to ...
8454         * sysdeps/unix/sysv/linux/x86/clock_gettime.c: ... here.
8455         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Move to ...
8456         * sysdeps/unix/sysv/linux/x86/gettimeofday.c: ... here.  Also added
8457         fallback configurable symbol when vDSO is not available.
8458         * sysdeps/unix/sysv/linux/x86_64/time.c: Move to ...
8459         * sysdeps/unix/sysv/linux/x86/time.c: ... here.  Also refactored to
8460         be able to redefine fallback symbol when vDSO is not available.
8461         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: Move to ...
8462         * sysdeps/unix/sysv/linux/x86/timespec_get.c: ... here.
8464 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8466         * sysdeps/powerpc/nptl/tls.h (tcbhead_t): Add tm_capable field.
8467         (TLS_INIT_TP): Add tm_capable initialization.
8468         (TLS_DEFINE_INIT_TP): Likewise.
8469         (THREAD_GET_TM_CAPABLE): New file: get tm_capable field value from
8470         TCB.
8471         (THREAD_SET_TM_CAPABLE): New file: set tm_capable field value in TCB.
8472         * sysdeps/powerpc/nptl/tcb-offsets.sym (TM_CAPABLE): Add field offset
8473         calculation.
8474         * sysdeps/powerpc/powerpc32/sysdep.h (DO_CALL): Abort hardware
8475         transactoion is lock elision is built and TCB tm_capable is set.
8476         * sysdeps/powerpc/powerpc64/sysdep.h (DO_CALL): Likewise.
8477         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
8478         (INTERNAL_SYSCALL_NCS): Likewise.
8479         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
8480         (INTERNAL_SYSCALL_NCS): Likewise.
8481         * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): New define.
8483         * sysdeps/powerpc/nptl/elide.h: New file: generic lock elision support
8484         for powerpc.
8485         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
8486         [pthread_rwlock_t] (__pad1): Change size to 7 bytes in 64 bits case
8487         and remove it for 32 bits case.
8488         [pthread_rwlock_t] (__rwelision): New field for lock elision.
8489         (__PTHREAD_RWLOCK_ELISION_EXTRA): Adjust for new lock elision field
8490         initialization.
8491         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c (elision_init):
8492         Disable lock elision with rdlocks if elision is not available.
8494         * sysdeps/unix/sysv/linux/powerpc/Makefile [nptl]
8495         (sysdep_routines): Add lock elision objects.
8496         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
8497         [pthread_mutex_t] (__spins): Rework to add lock elision field.
8498         [pthread_mutex_t] (__elision): Add field.
8499         [__PTHREAD_SPINS]: Adjust to init lock elision field.
8500         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c: New file: lock
8501         elision definitions for powerpc.
8502         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: New file:
8503         implementation of lock elision for powerpc.
8504         * sysdeps/unix/sysv/linux/powerpc/elision-timed.c: New file:
8505         implementation of timed lock elision for powerpc.
8506         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: New file:
8507         implementation of trylock with lock elision for powerpc.
8508         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: New file:
8509         implementaion of unlock for lock elision for powerpc.
8510         * sysdeps/unix/sysv/linux/powerpc/force-elision.h: New file:
8511         automatic enable lock elision for mutexes.
8512         * sysdeps/unix/sysv/linux/powerpc/htm.h: New file: hardware
8513         transaction execution definitions for powerpc.
8514         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: New file: add TLE
8515         definitions.
8516         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_cond_lock.c: New file.
8517         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_lock.c: Likewise.
8518         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_timedlock.c: Likewise.
8519         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_trylock.c: Likewise.
8520         * NEWS: Update.
8522 2015-01-09  Roland McGrath  <roland@hack.frob.com>
8524         * sysdeps/posix/shm-directory.c: Use <> rather than ""
8525         for #include of <shm-directory.h>.
8527 2015-01-09  Chung-Lin Tang  <cltang@codesourcery.com>
8529         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Remove MIN() and
8530         assign raw DT_REL[A]COUNT value to ranges[0].nrelative.
8532 2015-01-09  Matthew Fortune <matthew.fortune@imgtec.com>
8534         [BZ #17791]
8535         * NEWS: Mention bug fix.
8536         * sysdepsysdeps/unix/sysv/linux/microblaze/sys/user.h
8537         (PAGE_SHIFT, PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Remove.
8538         (HOST_TEXT_START_ADDR, HOST_STACK_END_ADDR): Remove.
8540 2015-01-09  Torvald Riegel <triegel@redhat.com>
8542         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Delete file.
8544 2015-01-09  Torvald Riegel <triegel@redhat.com>
8546         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: Delete file.
8548 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
8550         * sysdeps/microblaze/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as void
8551         pointer and cast to uintptr_t.
8553 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
8555         * sysdeps/microblaze/nptl/tls.h (__microblaze_get_thread_area): Function
8556         removed.
8557         (READ_THREAD_POINTER): Use __microblaze_thread_area instead.
8559 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
8561         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Use NULL instead
8562         of 0.
8564 2015-01-08  Roland McGrath  <roland@hack.frob.com>
8566         * sysdeps/pthread/timer_routines.c: Fix <pthreadP.h> include to use
8567         <nptl/pthreadP.h> instead.
8568         * sysdeps/pthread/aio_notify.c: Include <signal.h> for raise decl.
8570         * signal/allocrtsig.c (RESERVED_SIGRT): New macro, defined to 0 if not
8571         already defined.
8572         [__SIGRTMIN] (init): Function removed.
8573         [__SIGRTMIN] (initialized): Variable removed.
8574         [!__SIGRTMIN] (current_rtmin, current_rtmax): Variables removed.
8575         [__SIGRTMIN] (current_rtmin, current_rtmax): Initialize to
8576         __SIGRTMIN + RESERVED_SIGRT and __SIGRTMAX, respectively.
8577         (__libc_current_sigrtmin) [__SIGRTMIN]: Don't call init.
8578         (__libc_current_sigrtmin) [!__SIGRTMIN]: Just return -1.
8579         (__libc_current_sigrtmin): Add __libc_current_sigrtmin_private alias.
8580         (__libc_current_sigrtmax) [__SIGRTMIN]: Don't call init.
8581         (__libc_current_sigrtmax) [!__SIGRTMIN]: Just return -1.
8582         (__libc_current_sigrtmax): Add __libc_current_sigrtmax_private alias.
8583         (__libc_allocate_rtsig) [__SIGRTMIN]: Don't call init.
8584         (__libc_allocate_rtsig): Add __libc_allocate_rtsig_private alias.
8585         * sysdeps/nptl/allocrtsig.c: New file.
8586         * sysdeps/unix/sysv/linux/allocrtsig.c: File removed.
8587         * sysdeps/unix/sysv/linux/testrtsig.h: File removed.
8588         * sysdeps/generic/testrtsig.h: File removed.
8590         * nptl/pthread_sigmask.c [SIGCANCEL || SIGTIMER || SIGSETXID]: #error.
8591         (pthread_sigmask): Call sigprocmask, not __sigprocmask.
8593         * nptl/nptl-init.c (pthread_functions): Conditionalize
8594         .ptr__nptl_setxid initialization on [SIGSETXID].
8596         * sysdeps/nptl/sys/procfs.h: New file.
8597         * nptl_db/Makefile (headers): Add it.
8598         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Don't add it.
8600         * nptl/pthreadP.h (check_cpuset_attr): Moved ...
8601         * sysdeps/unix/sysv/linux/check-cpuset.h: ... to this new file.
8602         * nptl/pthread_attr_setaffinity.c: Include it.
8603         * nptl/pthread_setattr_default_np.c: Likewise.
8604         * nptl/check-cpuset.h: New file.
8606 2015-01-08  Richard Henderson  <rth@redhat.com>
8608         * elf/Makefile (CFLAGS-tst-execstack-mod.c): Add -Wno-trampolines
8609         (CFLAGS-tst-execstack-prog.c): Likewise.
8610         * nptl/Makefile (CFLAGS-tst-execstack-mod.c): Likewise.
8612 2015-01-08  Chung-Lin Tang  <cltang@codesourcery.com>
8613             Sandra Loosemore  <sandra@codesourcery.com>
8614             Andrew Jenner  <andrew@codesourcery.com>
8615             Joseph Myers  <joseph@codesourcery.com>
8616             Nathan Sidwell  <nathan@codesourcery.com>
8618         * elf/elf.h (EM_ALTERA_NIOS2): New machine number for Altera Nios II.
8619         (DT_NIOS2_GP): New dynamic entry type for Nios II _gp address.
8620         (R_NIOS2_NONE,R_NIOS2_S16,R_NIOS2_U16): Define Nios II relocations.
8621         (R_NIOS2_PCREL16,R_NIOS2_CALL26,R_NIOS2_IMM5): Likewise.
8622         (R_NIOS2_CACHE_OPX,R_NIOS2_IMM6,R_NIOS2_IMM8,R_NIOS2_HI16): Likewise.
8623         (R_NIOS2_LO16,R_NIOS2_HIADJ16,R_NIOS2_BFD_RELOC_32): Likewise.
8624         (R_NIOS2_BFD_RELOC_16,R_NIOS2_BFD_RELOC_8,R_NIOS2_GPREL): Likewise.
8625         (R_NIOS2_GNU_VTINHERIT,R_NIOS2_GNU_VTENTRY,R_NIOS2_UJMP): Likewise.
8626         (R_NIOS2_CJMP,R_NIOS2_CALLR,R_NIOS2_ALIGN,R_NIOS2_GOT16): Likewise.
8627         (R_NIOS2_CALL16,R_NIOS2_GOTOFF_LO,R_NIOS2_GOTOFF_HA): Likewise.
8628         (R_NIOS2_PCREL_LO,R_NIOS2_PCREL_HA,R_NIOS2_TLS_GD16): Likewise.
8629         (R_NIOS2_TLS_LDM16,R_NIOS2_TLS_LDO16,R_NIOS2_TLS_IE16): Likewise.
8630         (R_NIOS2_TLS_LE16,R_NIOS2_TLS_DTPMOD,R_NIOS2_TLS_DTPREL): Likewise.
8631         (R_NIOS2_TLS_TPREL,R_NIOS2_COPY,R_NIOS2_GLOB_DAT): Likewise.
8632         (R_NIOS2_JUMP_SLOT,R_NIOS2_RELATIVE,R_NIOS2_GOTOFF): Likewise.
8633         (R_NIOS2_CALL26_NOAT,R_NIOS2_GOT_LO,R_NIOS2_GOT_HA): Likewise.
8634         (R_NIOS2_CALL_LO,R_NIOS2_CALL_HA): Likewise.
8636 2015-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8638         * sysdeps/unix/sysv/linux/futimens.c (futimens): Use address of first
8639         timespec struct member in syscall macro.
8640         * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
8641         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Use address of
8642         first timeval struct member in syscall macro.
8643         * sysdeps/unix/sysv/linux/utimes.c (__utimeS): Likewise.
8645 2015-01-07  Joseph Myers  <joseph@codesourcery.com>
8647         [BZ #17748]
8648         * include/fenv.h (__feupdateenv): Use libm_hidden_proto.
8649         * math/feupdateenv.c (__feupdateenv): Use libm_hidden_def.
8650         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Rename to
8651         __feupdateenv and define as weak alias of __feupdateenv.  Use
8652         libm_hidden_weak.
8653         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Use
8654         libm_hidden_def.
8655         * sysdeps/arm/feupdateenv.c (feupdateenv): Rename to __feupdateenv
8656         and define as weak alias of __feupdateenv.  Use libm_hidden_weak.
8657         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
8658         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Use
8659         libm_hidden_def.
8660         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Rename to
8661         __feupdateenv and define as weak alias of __feupdateenv.  Use
8662         libm_hidden_weak.
8663         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Use
8664         libm_hidden_def.
8665         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Rename to
8666         __feupdateenv and define as weak alias of __feupdateenv.  Use
8667         libm_hidden_weak.
8668         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Use
8669         libm_hidden_def.
8670         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
8671         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
8672         (__feupdateenv): Likewise.
8673         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Rename to
8674         __feupdateenv and define as weak alias of __feupdateenv.  Use
8675         libm_hidden_weak.
8676         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
8677         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Use
8678         libm_hidden_def.
8679         * sysdeps/tile/math_private.h (__feupdateenv): New inline
8680         function.
8681         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Use
8682         libm_hidden_def.
8683         * sysdeps/generic/math_private.h (default_libc_feupdateenv): Call
8684         __feupdateenv instead of feupdateenv.
8685         (default_libc_feupdateenv_test): Likewise.
8686         (libc_feresetround_ctx): Likewise.
8688 2015-01-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8690         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Fix function
8691         prototype.
8693 2015-01-07  Chris Metcalf  <cmetcalf@ezchip.com>
8695         * posix/regcomp.c (parse_bracket_exp): Initialize type to
8696         COLL_SYM in a couple of places to avoid uninitialized variable
8697         wanings on tilegx gcc 4.8.2.
8699 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
8701         * sysdeps/aarch64/strcpy.S: New file.
8702         * sysdeps/aarch64/stpcpy.S: New file.
8703         * NEWS: Updated.
8705 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
8707         * sysdeps/aarch64/strrchr.S: New file.
8708         * NEWS: Updated.
8710 2015-01-07  Eric Biggers  <ebiggers3@gmail.com>
8712         [BZ #17658]
8713         * stdlib/setenv.c: Fix memory leak when setting large,
8714         duplicate string.
8716 2015-01-06  Vladimir A. Nazarenko  <naszar@ya.ru>
8718         [BZ #17273]
8719         * misc/mntent_r.c (__getmntent_r): Cut off trailing spaces
8720         and tabs from buffer before parsing fstab entry.
8721         * misc/tst-mntent.c (main): Add test for mount entry with
8722         trailing spaces and tabs.
8724 2015-01-06  Joseph Myers  <joseph@codesourcery.com>
8726         [BZ #17748]
8727         * include/fenv.h (__fesetround): Declare.  Use libm_hidden_proto.
8728         * math/fesetround.c (fesetround): Rename to __fesetround and
8729         define as weak alias of __fesetround.  Use libm_hidden_weak.
8730         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Likewise.
8731         * sysdeps/alpha/fpu/fesetround.c (fesetround): Likewise.
8732         * sysdeps/arm/fesetround.c (fesetround): Likewise.
8733         * sysdeps/hppa/fpu/fesetround.c (fesetround): Likewise.
8734         * sysdeps/i386/fpu/fesetround.c (fesetround): Likewise.
8735         * sysdeps/ia64/fpu/fesetround.c (fesetround): Likewise.
8736         * sysdeps/m68k/fpu/fesetround.c (fesetround): Likewise.
8737         * sysdeps/mips/fpu/fesetround.c (fesetround): Likewise.
8738         * sysdeps/powerpc/fpu/fenv_libc.h (__fesetround): Rename to
8739         __fesetround_inline.
8740         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetround_ppc): Call
8741         __fesetround_inline instead of __fesetround.
8742         * sysdeps/powerpc/fpu/fesetround.c (fesetround): Rename to
8743         __fesetround and define as weak alias of __fesetround.  Use
8744         libm_hidden_weak.  Call __fesetround_inline instead of
8745         __fesetround.
8746         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Rename to
8747         __fesetround and define as weak alias of __fesetround.  Use
8748         libm_hidden_weak.
8749         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c (fesetround):
8750         Likewise.
8751         * sysdeps/s390/fpu/fesetround.c (fesetround): Likewise.
8752         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
8753         * sysdeps/sparc/fpu/fesetround.c (fesetround): Likewise.
8754         * sysdeps/tile/math_private.h (__fesetround): New inline function.
8755         * sysdeps/x86_64/fpu/fesetround.c (fesetround): Rename to
8756         __fesetround and define as weak alias of __fesetround.  Use
8757         libm_hidden_weak.
8758         * sysdeps/generic/math_private.h (default_libc_fesetround): Call
8759         __fesetround instead of fesetround.
8760         (default_libc_feholdexcept_setround): Likewise.
8761         (libc_feholdsetround_ctx): Likewise.
8762         (libc_feholdsetround_noex_ctx): Likewise.
8764         [BZ #17748]
8765         * include/fenv.h (__fesetenv): Use libm_hidden_proto.
8766         * math/fesetenv.c (__fesetenv): Use libm_hidden_def.
8767         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
8768         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
8769         * sysdeps/alpha/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
8770         * sysdeps/arm/fesetenv.c (fesetenv): Rename to __fesetenv and
8771         define as weak alias of __fesetenv.  Use libm_hidden_weak.
8772         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
8773         * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
8774         * sysdeps/ia64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
8775         define as weak alias of __fesetenv.  Use libm_hidden_weak.
8776         * sysdeps/m68k/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
8777         * sysdeps/mips/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
8778         define as weak alias of __fesetenv.  Use libm_hidden_weak.
8779         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Use
8780         libm_hidden_def.
8781         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Likewise.
8782         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c (__fesetenv):
8783         Likewise.
8784         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
8785         define as weak alias of __fesetenv.  Use libm_hidden_weak.
8786         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
8787         * sysdeps/sparc/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
8788         * sysdeps/tile/math_private.h (__fesetenv): New inline function.
8789         * sysdeps/x86_64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
8790         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
8791         * sysdeps/generic/math_private.h (default_libc_fesetenv): Use
8792         __fesetenv instead of fesetenv.
8793         (libc_feresetround_noex_ctx): Likewise.
8794         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
8795         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
8796         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Likewise.
8797         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
8798         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
8799         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
8800         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
8801         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
8802         (__feupdateenv): Likewise.
8803         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
8804         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
8805         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
8806         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Likewise.
8808 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
8810         [BZ #17806]
8811         * resolv/res_init.c (__res_iclose): Only clear nsinit if the
8812         addresses have been freed.
8814 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
8816         * resolv/res_init.c (__res_vinit): Improve comments about nserv
8817         and nservall.
8819 2015-01-06  Ondřej Bílka  <neleai@seznam.cz>
8821         * sysdeps/unix/sysv/linux/check_pf.c (make_request):
8822         Clean up check_pf allocation pattern. addresses
8824 2015-01-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8826         * nptl/pthread_cancel.c (pthread_cancel): Use ANSI prototype.
8827         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Likewise.
8828         * nptl/pthread_cond_wait.c (__pthread_cond_wait): Likewise.
8829         * nptl/pthread_exit.c (__pthread_exit): Likewise.
8830         * nptl/pthread_join.c (pthread_join): Likewise.
8831         * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
8832         * sysdeps/posix/waitid.c (__waitid): Likewise.
8833         * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
8834         * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
8835         * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
8836         * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
8837         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
8838         Likewise.
8839         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
8840         (__libc_pread64): Likewise.
8841         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
8842         (__libc_pwrite): Likewise.
8843         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
8844         (__libc_pwrite64): Likewsie.
8845         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
8846         * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
8847         * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
8848         * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
8849         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
8850         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
8851         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
8852         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
8853         Likewise.
8854         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
8855         (__libc_pread64): Likewise.
8856         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_pwrite):
8857         Likewise.
8858         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
8859         (__libc_pwrite64): Likewise.
8860         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
8861         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
8862         * sysdeps/unix/sysv/linux/preadv.c (PREADV): Likewise.
8863         * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
8864         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
8865         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
8866         * sysdeps/unix/sysv/linux/pwritev.c (__libc_pwritev): Likewise.
8867         * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
8868         * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
8869         * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
8870         * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_write64): Likewise.
8871         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
8872         * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
8873         * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Likewise.
8874         * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
8875         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
8876         Likewise.
8878 2015-01-06  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
8880         * math/Makefile (CFLAGS-test-float.c): Remove -frounding-math.
8881         (CFLAGS-test-double.c): Likewise.
8882         (CFLAGS-test-ldouble.c): Likewise.
8883         (CPPFLAGS-test-ifloat.c): Likewise.
8884         (CPPFLAGS-test-idouble.c): Likewise.
8885         (CPPFLAGS-test-ildoubl.c): Likewise.
8886         (CFLAGS-test-test-fenv.c): Remove variable.
8887         (CFLAGS-test-misc.c): Likewise.
8889 2015-01-06  H.J. Lu  <hongjiu.lu@intel.com>
8891         [BZ #17797]
8892         * bits/time.h (CLOCKS_PER_SEC): Changed to ((clock_t) 1000000).
8893         * sysdeps/unix/sysv/linux/bits/time.h (CLOCKS_PER_SEC): Likewise.
8894         * sysdeps/unix/sysv/linux/clock.c (clock): _Static_assert
8895         CLOCKS_PER_SEC == 1000000.
8896         * time/clocktest.c (main): Replace %ld with %jd and cast to
8897         intmax_t.
8899 2015-01-05  Roland McGrath  <roland@hack.frob.com>
8901         * sysdeps/generic/unwind-resume.h: New file.
8902         * sysdeps/gnu/unwind-resume.c: Include it.
8903         (libgcc_s_personality): Use PERSONALITY_PROTO macro for the prototype.
8904         (__gcc_personality_v0): Likewise, and PERSONALITY_ARGS for the callee
8905         argument list.
8906         (libgcc_s_resume): Variable renamed to __libgcc_s_resume, made hidden
8907         global rather than static.
8908         (_Unwind_Resume): Update user.
8909         Conditionalize definition on [!HAVE_ARCH_UNWIND_RESUME].
8910         (init): Likewise.  Renamed to __libgcc_s_init, made hidden global
8911         rather than static.  Add __attribute__ ((cold)).
8912         (_Unwind_Resume, __gcc_personality_v0): Update callers.
8913         * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
8914         * sysdeps/arm/arm-unwind-resume.S: New file.
8915         * sysdeps/arm/rt-arm-unwind-resume.S: New file.
8916         * sysdeps/arm/pt-arm-unwind-resume.S: New file.
8917         * sysdeps/arm/Makefile [$(subdir) = csu]
8918         (sysdep_routines, shared-only-routines): Add arm-unwind-resume.
8919         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
8920         Add rt-arm-unwind-resume.
8921         [$(subdir) = nptl]
8922         (libpthread-sysdep_routines, libpthread-shared-only-routines):
8923         Add pt-arm-unwind-resume.
8924         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: File removed.
8925         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: File removed.
8927 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
8929         [BZ #17748]
8930         * include/fenv.h (__feholdexcept): Declare.  Use
8931         libm_hidden_proto.
8932         * math/feholdexcpt.c (feholdexcept): Rename to __feholdexcept and
8933         define as weak alias of __feholdexcept.  Use libm_hidden_weak.
8934         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Likewise.
8935         * sysdeps/alpha/fpu/feholdexcpt.c (feholdexcept): Likewise.
8936         * sysdeps/arm/feholdexcpt.c (feholdexcept): Likewise.
8937         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Likewise.
8938         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Likewise.
8939         * sysdeps/ia64/fpu/feholdexcpt.c (feholdexcept): Likewise.
8940         * sysdeps/m68k/fpu/feholdexcpt.c (feholdexcept): Likewise.
8941         * sysdeps/mips/fpu/feholdexcpt.c (feholdexcept): Likewise.
8942         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
8943         * sysdeps/powerpc/nofpu/feholdexcpt.c (feholdexcept): Likewise.
8944         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c
8945         (feholdexcept): Likewise.
8946         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
8947         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
8948         * sysdeps/sparc/fpu/feholdexcpt.c (feholdexcept): Likewise.
8949         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
8950         * sysdeps/generic/math_private.h (default_libc_feholdexcept): Use
8951         __feholdexcept instead of feholdexcept.
8952         (default_libc_feholdexcept_setround): Likewise.
8954 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
8956         * sysdeps/mips/memset.S (memset): Modify for mips32r6/mips64r6
8957         to avoid using stl/str to align destination.
8959 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
8961         * sysdeps/mips/memcpy.S: Add support for mips32r6/mips64r6.
8963 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
8965         [BZ #17796]
8966         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c
8967         [!SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)] (posix_fadvise64):
8968         Define as weak alias not strong alias.
8970 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
8972         * sysdeps/mips/dl-machine.h (elf_machine_load_address): Replace
8973         bltzal with addiupc.
8974         (RTLD_START): Ditto.
8976 2015-01-05  Chris Metcalf  <cmetcalf@ezchip.com>
8978         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Fix return type
8979         for __vdso_* functions in declarations.
8980         * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise for
8981         definitions.
8982         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL,
8983         INTERNAL_VSYSCALL): Use struct return types to check for error.
8985         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c [!defined _LP64
8986         && REGISTER_CAST_INT32_TO_INT64]: Provide explicit lround()
8987         function with cast from llround().
8988         * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Define.
8989         * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
8990         Define.
8992 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
8994         [BZ #17793]
8995         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c (posix_fadvise64):
8996         Define as weak alias not strong alias.
8998         [BZ #17635]
8999         * ctype/ctype-c99.c: New file.  isblank implementation moved from
9000         ...
9001         * ctype/ctype-extn.c: ... here.
9002         (__isblank_l): Move to ...
9003         * ctype/ctype-c99_l.c: ... here.  New file.
9004         * ctype/Makefile (routines): Add ctype-c99 and ctype-c99_l.
9005         * conform/Makefile (test-xfail-ISO99/ctype.h/linknamespace):
9006         Remove variable.
9007         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
9008         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
9009         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
9010         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
9011         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
9013         [BZ #17777]
9014         * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c
9015         (posix_fadvise64): Define as weak alias not strong alias.
9016         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
9017         (posix_fallocate64): Likewise.
9018         * conform/Makefile (test-xfail-XOPEN2K/fcntl.h/linknamespace):
9019         Remove variable.
9020         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
9021         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
9022         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
9023         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
9024         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
9026 2015-01-05  Matthew Fortune  <matthew.fortune@imgtec.com>
9028         [BZ #16191]
9029         * NEWS: Mention bug fix.
9030         * sysdeps/unix/sysv/linux/mips/sys/user.h (PAGE_SHIFT): Remove.
9031         (PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Likewise.
9032         (HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR): Likewise.
9033         (HOST_STACK_END_ADDR): Likewise.
9035 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
9037         [BZ #17748]
9038         * include/fenv.h (__fegetround): Declare.  Use libm_hidden_proto.
9039         * math/fegetround.c (fegetround): Rename to __fegetround and
9040         define as weak alias of __fegetround.  Use libm_hidden_weak.
9041         * sysdeps/aarch64/fpu/fegetround.c (fegetround): Likewise.
9042         * sysdeps/alpha/fpu/fegetround.c (fegetround): Likewise.
9043         * sysdeps/arm/fegetround.c (fegetround): Likewise.
9044         * sysdeps/hppa/fpu/fegetround.c (fegetround): Likewise.
9045         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
9046         * sysdeps/ia64/fpu/fegetround.c (fegetround): Likewise.
9047         * sysdeps/m68k/fpu/fegetround.c (fegetround): Likewise.
9048         * sysdeps/mips/fpu/fegetround.c (fegetround): Likewise.
9049         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
9050         Undefine after rather than before function definition; use
9051         parentheses around function name in definition.
9052         (__fegetround): Also undefine macro after function definition.
9053         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Rename to
9054         __fegetround and define as weak alias of __fegetround.  Use
9055         libm_hidden_weak.  Do not undefine as macro.
9056         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
9057         Likewise.
9058         * sysdeps/s390/fpu/fegetround.c (fegetround): Rename to
9059         __fegetround and define as weak alias of __fegetround.  Use
9060         libm_hidden_weak.
9061         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
9062         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
9063         * sysdeps/tile/math_private.h (__fegetround): New inline function.
9064         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Rename to
9065         __fegetround and define as weak alias of __fegetround.  Use
9066         libm_hidden_weak.
9067         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Use
9068         __fegetround instead of fegetround.
9070         [BZ #17782]
9071         * sysdeps/unix/sysv/linux/mips/bits/termios.h (TIOCSER_TEMT):
9072         Condition macro definition on [__USE_MISC].
9074         [BZ #17781]
9075         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
9076         (struct sigaction): Change type of sa_flags field to int.
9078         [BZ #17780]
9079         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (struct flock)
9080         [!__USE_FILE_OFFSET64 && _MIPS_SIM != _ABI64]: Rename pad field to
9081         __glibc_reserved0.
9083         * nptl/version.c (banner): Use single year in copyright notice.
9085         * NEWS: Update copyright dates.
9086         * catgets/gencat.c (print_version): Likewise.
9087         * csu/version.c (banner): Likewise.
9088         * debug/catchsegv.sh: Likewise.
9089         * debug/pcprofiledump.c (print_version): Likewise.
9090         * debug/xtrace.sh (do_version): Likewise.
9091         * elf/ldconfig.c (print_version): Likewise.
9092         * elf/ldd.bash.in: Likewise.
9093         * elf/pldd.c (print_version): Likewise.
9094         * elf/sotruss.sh: Likewise.
9095         * elf/sprof.c (print_version): Likewise.
9096         * iconv/iconv_prog.c (print_version): Likewise.
9097         * iconv/iconvconfig.c (print_version): Likewise.
9098         * locale/programs/locale.c (print_version): Likewise.
9099         * locale/programs/localedef.c (print_version): Likewise.
9100         * login/programs/pt_chown.c (print_version): Likewise.
9101         * malloc/memusage.sh (do_version): Likewise.
9102         * malloc/memusagestat.c (print_version): Likewise.
9103         * malloc/mtrace.pl: Likewise.
9104         * manual/libc.texinfo: Likewise.
9105         * nptl/version.c (banner): Likewise.
9106         * nscd/nscd.c (print_version): Likewise.
9107         * nss/getent.c (print_version): Likewise.
9108         * nss/makedb.c (print_version): Likewise.
9109         * posix/getconf.c (main): Likewise.
9110         * scripts/test-installation.pl: Likewise.
9111         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
9113 2015-01-02  Will Newton  <will.newton@linaro.org>
9115         * sysdeps/arm/armv7/configure: Removed.
9116         * sysdeps/arm/armv7/configure.ac: Likewise.
9118 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
9120         * All files with FSF copyright notices: Update copyright dates
9121         using scripts/update-copyrights.
9122         * intl/plural.c: Regenerated.
9123         * locale/programs/charmap-kw.h: Likewise.
9124         * locale/programs/locfile-kw.h: Likewise.
9126 2015-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
9128         * scripts/gen-posix-conf-vars.awk (END): Don't use sprintf.
9130 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
9132         [BZ #17748]
9133         * include/fenv.h (__fegetenv): Use libm_hidden_proto.
9134         * math/fegetenv.c (__fegetenv): Use libm_hidden_def.
9135         * sysdeps/aarch64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
9136         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
9137         * sysdeps/alpha/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
9138         * sysdeps/arm/fegetenv.c (fegetenv): Rename to __fegetenv and
9139         define as weak alias of __fegetenv.  Use libm_hidden_weak.
9140         * sysdeps/hppa/fpu/fegetenv.c (fegetenv): Likewise.
9141         * sysdeps/i386/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
9142         * sysdeps/ia64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
9143         define as weak alias of __fegetenv.  Use libm_hidden_weak.
9144         * sysdeps/m68k/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
9145         * sysdeps/mips/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
9146         define as weak alias of __fegetenv.  Use libm_hidden_weak.
9147         * sysdeps/powerpc/fpu/fegetenv.c (__fegetenv): Use
9148         libm_hidden_def.
9149         * sysdeps/powerpc/nofpu/fegetenv.c (__fegetenv): Likewise.
9150         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (__fegetenv):
9151         Likewise.
9152         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
9153         define as weak alias of __fegetenv.  Use libm_hidden_weak.
9154         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
9155         * sysdeps/sparc/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
9156         * sysdeps/tile/math_private.h (__fegetenv): New inline function.
9157         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
9158         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
9159         * sysdeps/generic/math_private.h (libc_feholdsetround_ctx): Use
9160         __fegetenv instead of fegetenv.
9161         (libc_feholdsetround_noex_ctx): Likewise.
9163 2014-12-31  Matthew Fortune  <matthew.fortune@imgtec.com>
9165         * elf/elf.h (PT_MIPS_ABIFLAGS): Define.
9166         (Elf_MIPS_ABIFlags_v0): New structure.
9167         (EF_MIPS_FP64): Define.
9168         (MIPS_AFL_REG_NONE, MIPS_AFL_REG_32, MIPS_AFL_REG_64): Likewise.
9169         (MIPS_AFL_REG_128, MIPS_AFL_ASE_DSP, MIPS_AFL_ASE_DSP64): Likewise.
9170         (MIPS_AFL_ASE_DSPR2, MIPS_AFL_ASE_EVA, MIPS_AFL_ASE_MCU): Likewise.
9171         (MIPS_AFL_ASE_MDMX, MIPS_AFL_ASE_MIPS3D, MIPS_AFL_ASE_MT): Likewise.
9172         (MIPS_AFL_ASE_SMARTMIPS, MIPS_AFL_ASE_VIRT): Likewise.
9173         (MIPS_AFL_ASE_VIRT64, MIPS_AFL_ASE_MSA, MIPS_AFL_ASE_MSA64): Likewise.
9174         (MIPS_AFL_ASE_MIPS16, MIPS_AFL_ASE_MICROMIPS): Likewise.
9175         (MIPS_AFL_ASE_XPA, MIPS_AFL_EXT_XLR, MIPS_AFL_EXT_OCTEON2): Likewise.
9176         (MIPS_AFL_EXT_OCTEONP, MIPS_AFL_EXT_LOONGSON_3A): Likewise.
9177         (MIPS_AFL_EXT_OCTEON, MIPS_AFL_EXT_5900, MIPS_AFL_EXT_4010): Likewise.
9178         (MIPS_AFL_EXT_4100, MIPS_AFL_EXT_3900, MIPS_AFL_EXT_10000): Likewise.
9179         (MIPS_AFL_EXT_SB1, MIPS_AFL_EXT_4111, MIPS_AFL_EXT_4120): Likewise.
9180         (MIPS_AFL_EXT_5400, MIPS_AFL_EXT_5500): Likewise.
9181         (MIPS_AFL_EXT_LOONGSON_2E, MIPS_AFL_EXT_LOONGSON_2F): Likewise.
9182         (Val_GNU_MIPS_ABI_FP_ANY, Val_GNU_MIPS_ABI_FP_DOUBLE): New enum values.
9183         (Val_GNU_MIPS_ABI_FP_SINGLE, Val_GNU_MIPS_ABI_FP_SOFT): Likewise.
9184         (Val_GNU_MIPS_ABI_FP_OLD_64, Val_GNU_MIPS_ABI_FP_XX): Likewise.
9185         (Val_GNU_MIPS_ABI_FP_64, Val_GNU_MIPS_ABI_FP_64A): Likewise.
9186         (Val_GNU_MIPS_ABI_FP_MAX): Likewise.
9187         * sysdeps/mips/Makefile [subdir=elf]: Add tst-abi-interlink,
9188         tst-mode-switch-1, tst-mode-switch-2, tst-mode-switch-3 tests.
9189         * sysdeps/mips/bits/linkmap.h (struct link_map_machine): Add fpmode
9190         field.
9191         * sysdeps/mips/dl-machine.h (elf_machine_matches_host): Reject
9192         EF_MIPS_FP64.
9193         * sysdeps/mips/dl-machine-reject-phdr.h: New file.
9194         * sysdeps/mips/tst-abi-fp32mod.c: Likewise.
9195         * sysdeps/mips/tst-abi-fpxxmod.c: Likewise.
9196         * sysdeps/mips/tst-abi-fpxxomod.c: Likewise.
9197         * sysdeps/mips/tst-abi-fp64mod.c: Likewise.
9198         * sysdeps/mips/tst-abi-fp64amod.c: Likewise.
9199         * sysdeps/mips/tst-abi-interlink.c: Likewise.
9200         * sysdeps/mips/tst-mode-switch-1.c: Likewise.
9201         * sysdeps/mips/tst-mode-switch-2.c: Likewise.
9202         * sysdeps/mips/tst-mode-switch-3.c: Likewise.
9203         * sysdeps/unix/sysv/linux/mips/configure.ac (o32-fpabi): Define to
9204         record the current FP ABI extension.
9205         (mips-mode-switch): Define to show if kernel headers support mode
9206         switching.
9207         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
9208         * sysdeps/unix/sysv/linux/mips/ldsodefs.h: Increase maximum
9209         supported SYSV ABI version to 3.
9210         * sysdeps/unix/sysv/linux/mips/libc-abis: Add new MIPS_O32_FP64
9211         feature.
9213 2014-12-31  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
9214             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9216         * sysdeps/powerpc/powerpc64/power7/strcpy.S (strcpy): Optimize unaligned
9217         path.
9218         * benchtests/bench-strcpy.c (test_main): Add more unaligned inputs.
9220 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
9222         * sysdeps/powerpc/bits/fenvinline.h (fegetround): Rename macro to
9223         __fegetround and redefine to call __fegetround.  Remove condition
9224         on [!__NO_MATH_INLINES].
9225         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove inline
9226         function.
9227         * sysdeps/powerpc/nofpu/fenv_libc.h: Remove file.
9228         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
9229         Remove macro.
9230         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Include <fenv.h>
9231         instead of <fenv_libc.h>.
9232         (__llrintl): Call fegetround instead of __fegetround.
9233         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Include <fenv.h>
9234         instead of <fenv_libc.h>.
9235         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
9236         (__lrintl): Call fegetround instead of __fegetround.
9237         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Include <fenv.h>
9238         instead of <fenv_libc.h>.
9239         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
9240         (__rintl): Call fegetround instead of __fegetround.
9242 2014-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
9244         * scripts/gen-posix-conf-vars.awk: Don't use multi-dimensional
9245         arrays.
9247 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
9249         [BZ #17775]
9250         * sysdeps/i386/dl-machine.h (PI_STATIC_AND_HIDDEN): Removed.
9251         (elf_machine_dynamic) [!PI_STATIC_AND_HIDDEN]: Likewise.
9252         (elf_machine_load_address) [!PI_STATIC_AND_HIDDEN]: Likewise.
9254 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
9256         * sysdeps/i386/tls-macros.h: Include <features.h>.
9257         (TLS_LE): Use non-PIC version for GCC >= 5.0.
9258         (TLS_IE): Likewise.
9259         (TLS_LD): Likewise.
9260         (TLS_GD): Likewise.
9261         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Don't
9262         define for GCC >= 5.0.
9264 2014-12-30  Chris Metcalf  <cmetcalf@ezchip.com>
9266         * math/test-fenv.c (test_single_exception, set_single_exc,
9267         feenv_nomask_test, feenv_mask_test, feexcp_nomask_test,
9268         feexcp_mask_test, feenable_test, fe_single_test): Add
9269         [!FE_ALL_EXCEPT] test so these routines are not compiled in the
9270         case where they are not used.
9271         * math/libm-test.inc: Likewise.
9272         * setjmp/test-setjmp-fp.c: Mark attribute ((unused)) on variable
9273         unused in the absence of FP rounding/exception support.
9274         * stdio-common/tst-printf-round.c: Likewise.
9275         * stdlib/tst-strtod-round.c: Likewise.
9276         * stdlib/tst-strtod-underflow.c: Likewise.
9278 2014-12-30  Joseph Myers  <joseph@codesourcery.com>
9280         [BZ #17723]
9281         * include/fenv.h (__feraiseexcept): Use libm_hidden_proto.
9282         * math/fraiseexcpt.c (__feraiseexcept): Use libm_hidden_def.
9283         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
9284         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
9285         libm_hidden_weak.
9286         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Likewise.
9287         * sysdeps/hppa/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
9288         * sysdeps/i386/fpu/fraiseexcpt.c (__feraiseexcept): Use
9289         libm_hidden_def.
9290         * sysdeps/ia64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
9291         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
9292         libm_hidden_weak.
9293         * sysdeps/m68k/coldfire/fpu/fraiseexcpt.c (feraiseexcept):
9294         Likewise.
9295         * sysdeps/microblaze/math_private.h (__feraiseexcept): New macro.
9296         * sysdeps/mips/fpu/fraiseexcpt.c (feraiseexcept): Rename to
9297         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
9298         libm_hidden_weak.
9299         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Use
9300         libm_hidden_def.
9301         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
9302         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c
9303         (__feraiseexcept): Likewise.
9304         * sysdeps/s390/fpu/fraiseexcpt.c (feraiseexcept): Rename to
9305         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
9306         libm_hidden_weak.
9307         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
9308         * sysdeps/sparc/fpu/fraiseexcpt.c (__feraiseexcept): Use
9309         libm_hidden_def.
9310         * sysdeps/tile/math_private.h (__feraiseexcept): New macro.
9311         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (__feraiseexcept):
9312         Use libm_hidden_def.
9313         * sysdeps/x86_64/fpu/fraiseexcpt.c (__feraiseexcept): Use
9314         libm_hidden_def.
9315         (feraiseexcept): Define as weak not strong alias.  Use
9316         libm_hidden_weak.
9317         * sysdeps/x86/fpu/bits/fenv.h (__feraiseexcept_invalid_divbyzero):
9318         New inline function.  Factored out of ...
9319         (feraiseexcept): ... here.  Use __feraiseexcept_invalid_divbyzero.
9320         * sysdeps/x86/fpu/include/bits/fenv.h: New file.
9321         * math/e_scalb.c (invalid_fn): Call __feraiseexcept instead of
9322         feraiseexcept.
9323         * math/w_acos.c (__acos): Likewise.
9324         * math/w_asin.c (__asin): Likewise.
9325         * math/w_ilogb.c (__ilogb): Likewise.
9326         * math/w_j0.c (y0): Likewise.
9327         * math/w_j1.c (y1): Likewise.
9328         * math/w_jn.c (yn): Likewise.
9329         * math/w_log.c (__log): Likewise.
9330         * math/w_log10.c (__log10): Likewise.
9331         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Likewise.
9332         * sysdeps/aarch64/fpu/math_private.h
9333         (libc_feupdateenv_test_aarch64): Likewise.
9334         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
9335         * sysdeps/arm/fenv_private.h (libc_feupdateenv_test_vfp): Likewise.
9336         * sysdeps/arm/feupdateenv.c (feupdateenv): Likewise.
9337         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
9338         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
9339         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
9340         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Likewise.
9341         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
9342         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
9343         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
9345 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
9347         [BZ #17732]
9348         * io/test-utime.c (main): Replace %ld with %jd and cast to
9349         intmax_t.
9350         * libio/tst-ftell-active-handler.c (do_append_test): Likewise.
9351         * nptl/tst-mutex5.c: Include <stdint.h>.
9352         (do_test): Replace %ld with %jd and cast to intmax_t.
9353         * posix/tst-regex.c (run_test): Likewise.
9354         (run_test_backwards): Likewise.
9355         * rt/tst-clock.c: Include <stdint.h>.
9356         (clock_test): Replace %ld with %jd and cast to intmax_t.
9357         * rt/tst-cpuclock1.c: Include <stdint.h>.
9358         (do_test): Replace %lu with %ju and cast to uintmax_t.
9359         * rt/tst-cpuclock2.c: Include <stdint.h>.
9360         (do_test): Replace %lu with %ju and cast to uintmax_t.
9361         * rt/tst-mqueue1.c: Include <stdint.h>.
9362         (check_attrs): Replace %ld with %jd and cast to intmax_t.
9363         * rt/tst-mqueue3.c (fct): Replace %ld with %jd and cast to
9364         intmax_t.
9365         * rt/tst-mqueue4.c (do_test): Likewise.
9366         * rt/tst-timer4.c: Include <stdint.h>.
9367         (check_ts): Replace %ld with %jd and cast to intmax_t.
9368         (do_test): Likewise.
9369         * stdio-common/tst-fmemopen2.c (do_test): Replace %ld with %jd
9370         and cast to intmax_t.
9371         * sysdeps/pthread/tst-timer.c (main): Likewise.
9372         * time/clocktest.c (main): Likewise.
9373         * time/tst-posixtz.c (do_test): Likewise.
9374         * timezone/tst-timezone.c (main): Likewise.
9376 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
9377             H.J. Lu  <hongjiu.lu@intel.com>
9379         * sysdeps/i386/i686/multiarch/bcopy-sse2-unaligned.S: New file.
9380         * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
9381         * sysdeps/i386/i686/multiarch/memmove-sse2-unaligned.S: Likewise.
9382         * sysdeps/i386/i686/multiarch/mempcpy-sse2-unaligned.S: Likewise.
9383         * sysdeps/i386/i686/multiarch/bcopy.S: Select the sse2_unaligned
9384         version if bit_Fast_Unaligned_Load is set.
9385         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
9386         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
9387         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
9388         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
9389         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
9390         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
9391         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
9392         bcopy-sse2-unaligned, memcpy-sse2-unaligned,
9393         memmove-sse2-unaligned and mempcpy-sse2-unaligned.
9394         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c (MAX_IFUNC): Set
9395         to 4.
9396         (__libc_ifunc_impl_list): Test __bcopy_sse2_unaligned,
9397         __memmove_chk_sse2_unaligned, __memmove_sse2_unaligned,
9398         __memcpy_chk_sse2_unaligned, __memcpy_sse2_unaligned,
9399         __mempcpy_chk_sse2_unaligned, and __mempcpy_sse2_unaligned.
9401 2014-12-29  Chris Metcalf  <cmetcalf@ezchip.com>
9403         * sysdeps/unix/sysv/linux/tst-setgetname.c (do_test): Use #ifndef
9404         instead of #if to avoid a Wundef warning.
9405         * stdlib/tst-limits.c (do_test): Likewise.
9407         * sysdeps/tile/math_private.h (fetestexcept): Add macro to
9408         parallel other exception macros.
9409         (fegetenv): Convert from macro to extern inline so that it applies
9410         retroactively to inline functions already seen by the compiler.
9411         (fesetenv, feupdateenv, fegetround, fesetround): Likewise.
9413         * posix/Makefile (before-compile): Use $(objpfx) for
9414         posix-conf-vars-def.h.
9416 2014-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
9418         * posix/getconf.c (main): Use size_t for type of I.
9419         * scripts-gen-posix-conf-vars.awk (END): Use size_t for type of
9420         NSPEC.
9422         * posix/posix-conf-vars.list (SPEC:XBS5): Add sysconf prefix.
9423         * posix/confstr.c: Define NEED_SPEC_ARRAY to 0.
9424         * posix/posix-envs.def: Likewise.
9425         * sysdeps/posix/sysconf.c: Likewise.
9426         * posix/getconf.c: Define NEED_SPEC_ARRAY to 1.
9427         (specs): Remove array.
9428         * scripts/gen-posix-conf-vars.awk: Support generation of specs
9429         array.
9431         * posix/posix-conf-vars.list: Add _POSIX sysconf namespace.
9432         * sysdeps/posix/sysconf.c: Include posix-conf-vars.h.
9433         (__sysconf): Use CONF_IS_* macros.
9435         * posix/Makefile (before-compile): Add posix-conf-vars-def.h.
9436         ($(objpfx)posix-conf-vars-def.h): New target.
9437         * posix/posix-conf-vars.list: New file.
9438         * posix/posix-conf-vars.h: New file.
9439         * posix/confstr.c: Include posix-conf-vars.h.
9440         (confstr): Use CONF_IS_* macros.
9441         * posix/posix-envs.def: Include posix-conf-vars.h.  Use
9442         CONF_IS_* macros.
9443         * scripts/gen-posix-conf-vars.awk: New file.
9445 2014-12-26  Chris Metcalf  <cmetcalf@ezchip.com>
9447         * sysdeps/tile/math_private.h (fegetenv, fesetenv, feupdateenv,
9448         fegetround): Add no-op macros to avoid linknamespace issues.
9450         * sysdeps/unix/sysv/linux/clock_settime.c (SYSDEP_SETTIME): Remove
9451         definitions of INTERNAL_VSYSCALL and INLINE_VSYSCALL.
9453         * sysdeps/unix/sysv/linux/tile/sysdep.h
9454         (HAVE_CLOCK_GETTIME_VSYSCALL): Move definition out of
9455         assembly-specific section to avoid a redefinition warning.
9457         * sysdeps/tile/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast to
9458         long before casting to pointer to avoid a cast warning.
9460 2014-12-23  Chris Metcalf  <cmetcalf@ezchip.com>
9462         * sysdeps/tile/tilegx/Implies: New file.
9464 2014-12-23  Richard Earnshaw  <rearnsha@arm.com>
9466         * string/stpcpy.c (__stpcpy): Rewrite using strlen and memcpy.
9468 2014-12-23  Florian Weimer  <fweimer@redhat.com>
9470         * iconvdata/run-iconv-test.sh: Actually test iconv modules.
9472 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
9474         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES): Do
9475         not define.
9476         * sysdeps/unix/sysv/linux/utimes.c: Do not include
9477         <kernel-features.h>.
9478         (__utimes) [__NR_utimes]: Make code unconditional.
9479         (__utimes) [!__ASSUME_UTIMES]: Remove conditional code.
9480         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
9481         (__ASSUME_UTIMES): Do not undefine.
9482         * sysdeps/unix/sysv/linux/tile/kernel-features.h
9483         (__ASSUME_UTIMES): Likewise.
9484         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
9485         (__ASSUME_UTIMES): Define for [__LINUX_KERNEL_VERSION >= 0x030e00]
9486         instead of undefining for [__LINUX_KERNEL_VERSION < 0x030e00].
9487         * sysdeps/unix/sysv/linux/hppa/utimes.c: New file.
9489 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
9491         * sysdeps/mips/memcpy.S: Fix preprocessor indentation.
9493 2014-12-22  Chris Metcalf  <cmetcalf@ezchip.com>
9495         [BZ #17747]
9496         * math/w_j0.c [defined NO_LONG_DOUBLE] (j0, y0): Convert strong
9497         alias to weak alias for j0l, y0l.
9498         * math/w_j1.c [defined NO_LONG_DOUBLE] (j1, y1): Likewise.
9499         * math/w_jn.c [defined NO_LONG_DOUBLE] (jn, yn): Likewise.
9501         [BZ #17746]
9502         * sysdeps/tile/tilegx/strstr.c (STRSTR2): Remove implicit boolean
9503         conversion.
9505 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
9507         * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Set
9508         to zero if not already defined.
9510 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
9512         [BZ #17724]
9513         * sysdeps/ieee754/k_standard.c: Don't include <float.h>.
9514         (__kernel_standard_f): Remove.  Moved to k_standardf.c.
9515         (__kernel_standard_l): Remove.  Moved to k_standardl.c with
9516         (char *) casts added.
9517         * sysdeps/ieee754/k_standardf.c: New file.
9518         * sysdeps/ieee754/k_standardl.c: Likewise.
9519         * math/Makefile (libm-support): Remove k_standard.
9520         (libm-calls): Add k_standard.
9522 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
9524         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
9525         Optimize to avoid an unnecessary FPCR read.
9527 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
9529         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
9530         Optimize to reduce FPCR/FPSR accesses.
9532 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
9534         * sysdeps/aarch64/fpu/ftestexcept.c (fetestexcept):
9535         Call libc_fetestexcept_aarch64.
9537 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
9539         * sysdeps/aarch64/fpu/fesetround.c (fesetround):
9540         Call libc_fesetround_aarch64.
9542 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
9544         [BZ #17733]
9545         * sysdeps/unix/sysv/linux/bind.S (NO_WEAK_ALIAS): Do not define.
9546         (__bind): Do not define as weak alias.
9547         * sysdeps/unix/sysv/linux/getsockname.S (NO_WEAK_ALIAS): Do not
9548         define.
9549         (__getsockname): Do not define as weak alias.
9551 2014-12-22  Will Newton  <will.newton@linaro.org>
9553         * manual/install.texi: Document that we require bison 2.7
9554         or above.
9555         * INSTALL: Regenerate.
9556         * configure.ac: Use AC_CHECK_PROG_VER instead of
9557         AC_PATH_PROG when checking for bison and check for
9558         version 2.7 or above.
9559         * configure: Regenerate.
9561 2014-12-21  Chris Metcalf  <cmetcalf@ezchip.com>
9563         [BZ #17745]
9564         * sysdeps/tile/ffs.c (__ffs): Moved ffsll definition...
9565         * sysdeps/tile/ffsll.c (ffsll): To here.
9567         * sysdeps/unix/sysv/linux/tile/localplt.data: Removed.
9569 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
9571         * elf/dl-tls.c (__tls_get_addr): Provide the hidden definition
9572         if not defined.
9573         * sysdeps/i386/dl-tls.h (___tls_get_addr): Provide the hidden
9574         definition.
9575         * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
9576         hidden ___tls_get_addr.
9577         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
9578         hidden __tls_get_addr.
9579         * sysdeps/generic/localplt.data (__tls_get_addr): Removed.
9580         * sysdeps/unix/sysv/linux/i386/localplt.data (___tls_get_addr):
9581         Likewise.
9583 2014-12-21  Andreas Schwab  <schwab@linux-m68k.org>
9585         * sysdeps/m68k/dl-machine.h (RTLD_START): Remove @PLTPC from
9586         _dl_init call.
9588 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
9590         * sysdeps/i386/dl-machine.h (_dl_start_user): Remove @PLT
9591         from "call _dl_init@PLT".
9592         * sysdeps/x86_64/dl-machine.h (_dl_start_user): Likewise.
9594 2014-12-21  Anders Kaseorg  <andersk@mit.edu>
9596         * manual/search.texi: (Array Sort Function): Clarify stable sorting
9597         guarantees.
9599 2014-12-20  Chris Metcalf  <cmetcalf@ezchip.com>
9601         * sysdeps/unix/sysv/linux/tile/localplt.data: New file.
9603 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
9605         [BZ #17744]
9606         * sysdeps/tile/tilegx/strstr.c (STRSTR): Call __strnlen, not
9607         strnlen.
9609 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
9611         * sysdeps/mips/addmul_1.S (__mpn_addmul_1): Use mulu/muhu instead
9612         of multu on MIPSr6.
9613         * sysdeps/mips/mul_1.S (__mpn_mul_1): Ditto.
9614         * sysdeps/mips/submul_1.S (__mpn_submul_1): Ditto.
9615         * sysdeps/mips/mips64/addmul_1.S (__mpn_addmul_1): Ditto.
9616         * sysdeps/mips/mips64/mul_1.S (__mpn_mul_1): Ditto.
9617         * sysdeps/mips/mips64/submul_1.S (__mpn_submul_1): Ditto.
9619 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
9621         * sysdeps/mips/sys/asm.h (PTR_ADDU): Use addu on mips32r6/mips64r6.
9622         (PTR_ADDIU): Use addiu for mips32r6/mips64r6.
9623         (PTR_SUBU): Use subu for mips32r6/mips64r6.
9624         (PTR_SUBIU): Use subu for mips32r6/mips64r6 (subiu does not exist).
9625         * sysdeps/mips/machine-gmon.h (PTR_ADDU_STRING) Use addu for
9626         mips32r6/mips64r6.
9627         (PTR_SUBU_STRING) Use subu for mips32r6/mips64r6.
9629 2014-12-19  Ondřej Bílka  <neleai@seznam.cz>
9631         * string/strncat.c (STRNCAT): Simplify implementation.
9633 2014-12-19  David S. Miller  <davem@davemloft.net>
9635         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Use a union to
9636         access the quad as both a long double and as a series of 4 words.
9638         * get-dynamic-info.h (elf_get_dynamic_info): Ignore -Warray-bounds for a
9639         link_map->l_info array access.
9641 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
9643         * iconvdata/tst-loading.c (TIMEOUT): Increase timeout 10 sec.
9645         * math/atest-exp.c (TIMEOUT): Increase timeout to 10 sec.
9646         * math/atest-exp2.c (TIMEOUT): Likewise.
9647         * math/atest-sincos.c (TIMEOUT): Likewise.
9649 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
9651         * sysdeps/x86_64/x32/Makefile (CFLAGS-s_llround.c): Replace
9652         -Wno-error with -fno-builtin-lround.
9654 2014-12-19  Torvald Riegel  <triegel@redhat.com>
9656         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: New file.
9657         Contains futex constants and functions moved over from ...
9658         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.  Include
9659         <lowlevellock-futex.h>.
9660         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
9661         (lll_timedwait_tid): Add comments and parentheses around macro
9662         arguments.
9664 2014-12-19  Torvald Riegel  <triegel@redhat.com>
9666         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Include
9667         <lowlevellock-futex.h>.  Remove FUTEX_* constants defined there.
9668         (__lll_private_flag): Remove.
9669         (lll_futex_wait): Likewise.
9670         (lll_futex_timed_wait): Likewise.
9671         (lll_futex_wake): Likewise.
9672         (lll_futex_requeue): Likewise.
9673         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
9674         (__lll_timedwait_tid): Spell out argument names.
9675         (lll_timedwait_tid): Add comments and parentheses around macro
9676         arguments.
9677         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Make FUTEX_* constants,
9678         LLL_SHARED and LLL_PRIVATE usable from assembly code.
9680 2014-12-19  Torvald Riegel  <triegel@redhat.com>
9682         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Remove file.
9683         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
9684         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
9685         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Likewise.
9686         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Likewise.
9687         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Likewise.
9688         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Likewise.
9689         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Likewise.
9690         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Likewise.
9691         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: Likewise.
9692         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: Likewise.
9693         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Likewise.
9694         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Likewise.
9695         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Likewise.
9696         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Likewise.
9697         * sysdeps/unix/sysv/linux/sh/sem_post.S: Likewise.
9698         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Likewise.
9699         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Likewise.
9700         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Likewise.
9702 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
9704         * sysdeps/x86_64/x32/Makefile: New file.
9706 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
9708         * sysdeps/i386/ldbl2mpn.c (__mpn_extract_long_double): Replace
9709         1L with (mp_limb_t) 1.
9711 2014-12-17  Roland McGrath  <roland@hack.frob.com>
9713         * sysdeps/nptl/fork.c (__fork_generation_pointer): Variable moved ...
9714         * nptl/libc_pthread_init.c: ... here.
9715         * sysdeps/nptl/fork.c (__fork_handlers): Variable moved ...
9716         * nptl/register-atfork.c: ... here.
9718         * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread):
9719         Use pthread_sigmask rather than INTERNAL_SYSCALL.
9720         Use assert_perror to check its return value.
9721         (__gai_create_helper_thread): Likewise.
9723         * inet/if_index.c (__if_freenameindex): Add libc_hidden_def.
9725         * malloc/malloc.c (alloc_perturb, free_perturb): Remove inline keyword.
9727 2014-12-17  Joseph Myers  <joseph@codesourcery.com>
9729         [BZ #17725]
9730         * sysdeps/generic/profil-counter.h (profil_counter): Rename to
9731         __profil_counter.
9732         * sysdeps/unix/sysv/linux/hppa/profil-counter.h (profil_counter):
9733         Likewise.
9734         * sysdeps/unix/sysv/linux/i386/profil-counter.h (profil_counter):
9735         Likewise.
9736         * sysdeps/unix/sysv/linux/ia64/profil-counter.h (profil_counter):
9737         Likewise.
9738         * sysdeps/unix/sysv/linux/s390/s390-32/profil-counter.h
9739         (profil_counter): Likewise.
9740         * sysdeps/unix/sysv/linux/s390/s390-64/profil-counter.h
9741         (profil_counter): Likewise.
9742         * sysdeps/unix/sysv/linux/sh/profil-counter.h (profil_counter):
9743         Likewise.
9744         * sysdeps/unix/sysv/linux/tile/profil-counter.h (profil_counter):
9745         Likewise.
9746         * sysdeps/unix/sysv/linux/x86_64/profil-counter.h
9747         (profil_counter): Likewise.
9748         * sysdeps/unix/sysv/linux/arm/profil-counter.h (profil_counter):
9749         Likewise.
9750         [!__profil_counter] (profil_counter): Define as weak alias of
9751         __profil_counter.
9752         * sysdeps/unix/sysv/linux/sparc/sparc32/profil-counter.h
9753         (profil_counter): Rename to __profil_counter.
9754         [!__profil_counter] (profil_counter): Define as weak alias of
9755         __profil_counter.
9756         * sysdeps/unix/sysv/linux/sparc/sparc64/profil-counter.h
9757         (profil_counter): Rename to __profil_counter.
9758         [!__profil_counter] (profil_counter): Define as weak alias of
9759         __profil_counter.
9760         * sysdeps/posix/profil.c: Update comment referring to
9761         profil_counter.
9762         (__profil): Use __profil_counter instead of profil_counter.
9763         * sysdeps/posix/sprofil.c (profil_counter): Rename to
9764         __profil_counter.  Use __profil_counter_ushort and
9765         __profil_counter_uint in definitions.
9766         (__sprofil): Use __profil_counter_uint and __profil_counter_ushort
9767         instead of profil_counter_uint and profil_counter_ushort.
9769         [BZ #17722]
9770         * inet/inet_mkadr.c (inet_makeaddr): Rename to __inet_makeaddr and
9771         define as weak alias of __inet_makeaddr.
9772         * resolv/inet_addr.c (inet_addr): Rename to __inet_addr and define
9773         as weak alias of __inet_addr.
9774         * resolv/inet_pton.c (inet_pton): Rename to __inet_pton and define
9775         as weak alias of __inet_pton.  Use libc_hidden_weak.
9776         * include/arpa/inet.h (__inet_pton): Declare.  Use
9777         libc_hidden_proto.
9778         (inet_makeaddr): Don't use libc_hidden_proto.
9779         (__inet_makeaddr): Declare.  Use libc_hidden_proto.
9780         * resolv/res_init.c (__res_vinit): Use __inet_pton instead of
9781         inet_pton.  Use __inet_makeaddr instead of inet_makeaddr.
9782         * conform/Makefile (test-xfail-POSIX/pthread.h/linknamespace):
9783         Remove variable.
9784         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
9785         (test-xfail-POSIX/time.h/linknamespace): Likewise.
9787 2014-12-17  Steve Ellcey  <sellcey@imgtec.com>
9789         * inet/getnetgrent_r.c: Move while loop to be inside if statement.
9791 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
9793         * stdio-common/bug-vfprintf-nargs.c (do_test):
9794         Cast value to intptr_t to avoid format warning
9795         for usage with PRIdPTR printing macro.
9797 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
9799         * libio/tst-widetext.c (do_test):
9800         Use format type %td instead of %Zd for ptrdiff_t
9801         in order to avoid format warning.
9803 2014-12-17  Andreas Schwab  <schwab@suse.de>
9805         * nscd/mem.c (gc): Add size_t cast to match printf format.
9807 2014-12-16  Roland McGrath  <roland@hack.frob.com>
9809         * sysdeps/gnu/unwind-resume.c: #include <sysdep.h>.
9810         (init): Apply PTR_MANGLE to pointers before storing them.
9811         (_Unwind_Resume, __gcc_personality_v0): Apply PTR_DEMANGLE to pointers
9812         before using them.
9814 2014-12-16  Joseph Myers  <joseph@codesourcery.com>
9816         [BZ #17719]
9817         * sysdeps/x86_64/memrchr.S (memrchr): Rename to __memrchr and
9818         define as weak alias of __memrchr.
9819         (__memrchr): Do not define as strong alias of memrchr.
9820         * conform/Makefile (test-xfail-XPG4/libgen.h/linknamespace):
9821         Remove variable.
9822         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
9823         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
9824         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
9826         [BZ #17717]
9827         * inet/if_index.c (if_nametoindex): Rename to __if_nametoindex and
9828         define as weak alias of __if_nametoindex.  Use libc_hidden_weak.
9829         (if_indextoname): Rename to __if_indextoname and define as weak
9830         alias of __if_indextoname.  Use libc_hidden_weak.
9831         (if_freenameindex): Rename to __if_freenameindex and define as
9832         weak alias of __if_freenameindex.
9833         (if_nameindex): Rename to __if_nameindex and define as weak alias
9834         of __if_nameindex.
9835         * sysdeps/mach/hurd/if_index.c (if_nametoindex): Rename to
9836         __if_nametoindex and define as weak alias of __if_nametoindex.
9837         Use libc_hidden_weak.
9838         (if_freenameindex): Rename to __if_freenameindex and define as
9839         weak alias of __if_freenameindex.
9840         (if_nameindex): Rename to __if_nameindex and define as weak alias
9841         of __if_nameindex.
9842         (if_indextoname): Rename to __if_indextoname and define as weak
9843         alias of __if_indextoname.  Use libc_hidden_weak.
9844         * sysdeps/unix/sysv/linux/if_index.c (if_nametoindex): Rename to
9845         __if_nametoindex and define as weak alias of __if_nametoindex.
9846         Use libc_hidden_weak.
9847         (if_freenameindex): Rename to __if_freenameindex and define as
9848         weak alias of __if_freenameindex.  Use libc_hidden_weak.
9849         (if_nameindex_netlink): Use __if_freenameindex instead of
9850         if_freenameindex.
9851         (if_nameindex): Rename to __if_nameindex and define as weak alias
9852         of __if_nameindex.  Use libc_hidden_weak.
9853         (if_indextoname): Rename to __if_indextoname and define as weak
9854         alias of __if_indextoname.  Use libc_hidden_weak.
9855         * include/net/if.h [!_ISOMAC] (__if_nametoindex): Declare and use
9856         libc_hidden_proto.
9857         [!_ISOMAC] (__if_freenameindex): Likewise.
9858         * resolv/res_init.c (__res_vinit): Use __if_nametoindex instead of
9859         if_nametoindex.
9860         * conform/Makefile (test-xfail-XPG4/grp.h/linknamespace): Remove
9861         variable.
9862         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
9863         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
9864         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
9865         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
9866         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
9867         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
9868         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
9870         * conform/Makefile (test-xfail-UNIX98/semaphore.h/linknamespace):
9871         Remove variable.
9872         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
9873         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
9875 2014-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
9877         * resolv/res_send.c (__libc_res_nsend): Disable warning 'array
9878         subscript above bounds'
9880         * resolv/res_send.c (__libc_res_nsend): Fix check for nsmap
9881         bounds.
9883 2014-12-16  Arjun Shankar  <arjun.is@lostca.se>
9885         * libio/tst-fopenloc.c: Use test-skeleton.c.
9887         * stdlib/tst-bsearch.c: Use test-skeleton.c.
9888         (entry): Rename to ITEM.
9889         (do_test, comp): Adjust.
9891         * stdio-common/tst-fseek.c: Use test-skeleton.c.
9893 2014-12-16  Torvald Riegel  <triegel@redhat.com>
9895         * string/tester.c: Include <libc-internal.h>.
9896         (test_memset): Ignore -Wmemset-transposed-args.
9898 2014-12-16  Torvald Riegel  <triegel@redhat.com>
9900         * misc/tst-mntent2.c (do_test): Fix warning.
9902 2014-12-16  Torvald Riegel  <triegel@redhat.com>
9904         * elf/tst-unique4lib.cc(a): Mark as used.
9906 2014-12-16  Florian Weimer  <fweimer@redhat.com>
9908         [BZ #17630]
9909         * resolv/nss_dns/dns-network.c (getanswer_r): Iterate over alias
9910         names.
9912 2014-12-16  Allan McRae  <allan@archlinux.org>
9914         * stdio-common/Makefile (tests): Re-add bug26.
9916 2014-12-15  Ondřej Bílka  <neleai@seznam.cz>
9918         [BZ #17657]
9919         * locale/programs/ld-ctype.c (find_translit2, read_widestring): Return
9920         static array.
9922 2014-12-15  Bernard Ogden  <bernie.ogden@linaro.org>
9924         * nptl/lowlevellock.c (__lll_lock_wait_private): Add comments.
9925         (__lll_lock_wait): Likewise.
9926         (__lll_timedlock_wait): Likewise.
9927         (__lll_timedwait_tid): Likewise.
9928         * nptl/lowlevelrobustlock.c (__lll_robust_lock_wait): Likewise.
9929         (__lll_robust_timedlock_wait): Likewise.
9930         * sysdeps/nptl/lowlevellock.h (lll_trylock): Likewise.
9931         (lll_cond_trylock): Likewise.
9932         (__lll_lock): Likewise.
9933         (__lll_robust_lock): Likewise.
9934         (__lll_cond_lock): Likewise.
9935         (lll_robust_cond_lock): Likewise.
9936         (__lll_timedlock): Likewise.
9937         (__lll_robust_timedlock): Likewise.
9938         (__lll_unlock): Likewise.
9939         (__lll_robust_unlock): Likewise.
9940         (lll_wait_tid): Likewise.
9941         (lll_timedwait_tid): Likewise.
9943 2014-12-15  Torvald Riegel  <triegel@redhat.com>
9945         * nptl/tst-sem4.c (do_test): Start with a fresh semaphore state.
9947 2014-12-15  Torvald Riegel  <triegel@redhat.com>
9949         * nptl/tst-mutex5.c (do_test): Do not skip tests if elision is enabled.
9951 2014-12-15  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
9953         * stdio-common/test-vfprintf.c: Include <libc-internal.h>.
9954         * stdio-common/tst-sprintf.c: Likewise.
9956 2014-12-15  Torvald Riegel  <triegel@redhat.com>
9958         * sysdeps/unix/sysv/linux/s390/pthread_once.c: Remove file.
9960 2014-12-15  Jeff Law  <law@redhat.com>
9962         [BZ #16617]
9963         * stdio-common/vfprintf.c (vfprintf): Allocate large specs array
9964         on the heap.  (CVE-2012-3406)
9965         * stdio-common/bug23-2.c, stdio-common/bug23-3.c: New file.
9966         * stdio-common/bug23-4.c: New file.  Test case by Joseph Myers.
9967         * stdio-common/Makefile (tests): Add bug23-2, bug23-3, bug23-4.
9969 2014-12-15  Will Newton  <will.newton@linaro.org>
9971         * manual/install.texi: Bump required version of texinfo
9972         to 4.7 from 4.5.
9973         * INSTALL: Regenerated.
9974         * configure.ac: Check for makeinfo version 4.7 and above.
9975         * configure: Regenerated.
9977 2014-12-12  Roland McGrath  <roland@hack.frob.com>
9979         * sysdeps/posix/shm-directory.h (SHM_GET_NAME): Take new argument
9980         PREFIX, string constant to insert between directory and name.
9981         * sysdeps/posix/shm_open.c: Update caller.
9982         * sysdeps/posix/shm_unlink.c: Likewise.
9983         * nptl/semaphoreP.h (struct mountpoint_info): Type removed.
9984         (__where_is_shmfs, mountpoint, __namedsem_once): Declarations removed.
9985         (SEM_SHM_PREFIX): New macro.
9986         * sysdeps/posix/Makefile (librt-routines): Add shm-directory only if
9987         [$(have-thread-library) = no].
9988         * nptl/Makefile (libpthread-routines): Add shm-directory.
9989         * nptl/Versions (GLIBC_PRIVATE): Add __shm_directory.
9990         * sysdeps/nptl/shm-directory.h: New file.
9991         * sysdeps/posix/shm-directory.c
9992         [IS_IN (libpthread)] (__shm_directory): Add hidden_def.
9993         * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
9994         * nptl/sem_open.c (check_add_mapping): Use munmap function rather than
9995         INTERNAL_SYSCALL.
9996         (__where_is_shmfs): Function removed.
9997         (mountpoint, defaultmount, defaultdir, __namedsem_once):
9998         Variables removed.
9999         (sem_open): Use __libc_close function rather than INTERNAL_SYSCALL.
10000         Use SHM_GET_NAME.
10001         * nptl/sem_unlink.c: Prototypify.  Use SHM_GET_NAME.
10003         * sysdeps/nptl/bits/libc-lockP.h [IS_IN (libpthread)]
10004         (PTFAVAIL, __libc_ptf_call, __libc_ptf_call_always): Define as
10005         unconditional for use inside libpthread.
10006         [IS_IN (libpthread)]: Include <nptl/pthreadP.h>.
10008 2014-12-12  Roland McGrath  <roland@hack.frob.com>
10010         * nptl/pthread_getaffinity.c: New file.
10011         * nptl/pthread_setaffinity.c: New file.
10012         * nptl/pthread_getname.c: New file.
10013         * nptl/pthread_setname.c: New file.
10015         * nptl/pthread_create.c (START_THREAD_DEFN)
10016         [! __ASSUME_SET_ROBUST_LIST]: Add missing & in lll_futex_wake argument.
10018 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
10019             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10021         * resolv/res_send.c (send_vc): Disable warning resplen may
10022         be used uninitialized.
10024 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
10026         * nptl/tst-mutex6.c
10027         (ATTR_NULL): New define checks ATTR against NULL.
10028         (do_test): Use !ATTR_NULL instead of ATTR != NULL.
10029         * nptl/tst-mutexpp6.c (ATTR_NULL): New define.
10031 2014-12-11  James Lemke  <jwlemke@codesourcery.com>
10033         [BZ #17581]
10034         * malloc/hooks.c
10035         (mem2mem_check): Revert my previous change.
10036         (malloc_check_get_size): Revert my previous change.
10037         (mem2chunk_check): Revert my previous change.
10039 2014-12-11  Roland McGrath  <roland@hack.frob.com>
10041         * sysdeps/posix/shm-directory.c: New file.
10042         * sysdeps/posix/shm-directory.h: New file.
10043         * sysdeps/posix/Makefile [($(subdir) = rt] (librt-routines): Add it.
10044         * sysdeps/posix/shm_open.c: Use SHM_GET_NAME.
10045         Use O_NOFOLLOW and O_CLOEXEC if available.  Transmute EISDIR to EINVAL.
10046         * sysdeps/posix/shm_unlink.c: Use SHM_GET_NAME.
10047         Transmute EPERM to EACCES.
10048         * sysdeps/unix/sysv/linux/shm-directory.c: New file, most code taken
10049         from ...
10050         * sysdeps/unix/sysv/linux/shm_open.c: ... here.  File removed.
10051         * sysdeps/unix/sysv/linux/shm_unlink.c: File removed.
10053 2014-12-11  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
10055         * sysdeps/sh/jmpbuf_unwind.h (_jmpbuf_sp): Declare SP as void
10056         pointer and cast to uintptr_t.
10057         * sysdeps/sh/nptl/tls.h (TLS_INIT_TP): Use NULL instead of 0.
10058         * sysdeps/unix/sysv/linux/sh/lowlevellock.h (lll_futex_timed_wait):
10059         Add cast to avoid warning.
10060         * sysdeps/unix/sysv/linux/sh/register-dump.h: Use 0 instead of NULL.
10062 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
10064         * nptl/semaphore.h: Move to ...
10065         * sysdeps/pthread/semaphore.h: ... here.
10066         * Makefile (installed-headers): Change nptl/semaphore.h to
10067         sysdeps/pthread/semaphore.h.
10069 2014-12-11  Roland McGrath  <roland@hack.frob.com>
10071         * misc/tst-error1.c (do_test): Ignore -Wformat-security for
10072         generated error format strings.
10074         * stdio-common/tstdiomisc.c (t2): Ignore -Wformat and
10075         -Wformat-extra-args warnings for scanf formats.
10076         * stdio-common/scanf4.c (main): Ignore -Wformat-zero-length around
10077         test of zero-length format (duh).
10078         * stdio-common/scanf7.c (main): Ignore -Wformat warnings for
10079         corner-case scanf format test.
10080         * stdio-common/test-vfprintf.c (do_test): Ignore -Wformat-security for
10081         generated fprintf format string.
10082         * stdio-common/tst-sprintf.c (do_test): Ignore -Wformat warnings for
10083         corner-case sprintf format tests.
10084         * stdio-common/tst-printf.c: Ignore -Wformat throughout.
10085         * stdio-common/tst-printfsz.c (main): Ignore -Wformat and
10086         -Wformat-extra-args warnings throughout.
10087         * stdio-common/Makefile (CFLAGS-tstdiomisc.c): Variable removed.
10088         (CFLAGS-scanf4.c): Likewise.
10089         (CFLAGS-scanf7.c): Likewise.
10090         (CFLAGS-tst-sprintf.c): Likewise.
10091         (CFLAGS-tst-printf.c): Likewise.
10092         (CFLAGS-tst-printfsz.c): Likewise.
10094 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
10096         * include/cpio.h: New file.
10097         * include/fmtmsg.h: Likewise.
10099         * tst-mbswcs1.c (show): Use %zu format instead of %Zd.  Cast
10100         corresponding format argument to size_t.
10101         * tst-mbswcs2.c (show): Likewise.  Use %td format for ptrdiff_t
10102         arguments.
10103         * tst-mbswcs3.c (show): Use %zu format instead of %Zd.  Cast
10104         corresponding format argument to size_t.
10105         * tst-mbswcs4.c (show): Likewise.  Use %td format for ptrdiff_t
10106         arguments.
10107         * tst-mbswcs5.c (show): Use %zu format instead of %Zd.  Cast
10108         corresponding format argument to size_t.
10109         * tst-trans.c (do_test): Use %lc format for wint_t arguments.
10110         * Makefile (CFLAGS-tst-mbswcs1.c): Remove variable.
10111         (CFLAGS-tst-mbswcs2.c): Likewise.
10112         (CFLAGS-tst-mbswcs3.c): Likewise.
10113         (CFLAGS-tst-mbswcs4.c): Likewise.
10114         (CFLAGS-tst-mbswcs5.c): Likewise.
10115         (CFLAGS-tst-trans.c): Likewise
10117 2014-12-11  Roland McGrath  <roland@hack.frob.com>
10119         * posix/regexbug1.c (main): Use "%s" format with regerror results,
10120         rather than assuming they won't contain any '%'s.
10122 2014-12-11  Chris Metcalf  <cmetcalf@ezchip.com>
10124         * sysdeps/tile/tilegx/memset.c (__memcpy): Add
10125         inhibit_loop_to_libcall to avoid recursive calls.
10126         * sysdeps/tile/tilegx/memcpy.c (__memcpy): Likewise.
10127         * sysdeps/tile/tilepro/memcpy.c (__memcpy): Likewise.
10129 2014-12-11  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
10131         * include/sys/socket.h (__sendmmsg): Add __USE_GNU guards on function
10132         prototype.
10134 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
10136         * sysdeps/mips/dl-trampoline.c: Modify switch expression to have
10137         integer value instead of boolean.
10139 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
10141         * malloc/malloc.c: Fix powerof2 check.
10143 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
10145         * locale/programs/locfile.h (maybe_swap_uint32):
10146         Remove inline and add unused attribute.
10148 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
10150         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
10151         Truncating assembler expression to a .long expression.
10153 2014-12-11  Andreas Schwab  <schwab@suse.de>
10155         * elf/rtld.c (struct map_args): Constify str member.
10156         (do_preload): Constify fname argument.
10158 2014-12-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10160         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Remove overflow warnings for
10161         constants definition.
10163 2014-12-11  Andreas Schwab  <schwab@suse.de>
10165         [BZ #16657]
10166         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Use
10167         FORCE_ELISION instead of DO_ELISION.
10168         * sysdeps/unix/sysv/linux/x86/force-elision.h (DO_ELISION):
10169         Remove.
10170         * sysdeps/unix/sysv/linux/s390/force-elision.h (DO_ELISION):
10171         Likewise.
10173         * iconvdata/gconv-modules: Remove duplicate entry.
10175 2014-12-11  Will Newton  <will.newton@linaro.org>
10177         Merge gettext 0.19.3 into intl/.
10179         This involves a number of cosmetic changes to comments
10180         and ANSI function definitions and prototypes throughout
10181         all the files. The gettext copyright header is used but
10182         with the date ranges taken from the glibc copy.
10184         * NEWS: Add gettext merge to 2.21.
10185         * intl/bindtextdom.c: Switch to gettext copyright.
10186         Use ANSI definitions and prototypes.
10187         Use gl_* locking primitives rather than __libc_* ones.
10188         Use __builtin_expect rather than __glibc_likely/unlikely.
10189         * intl/dcgettext.c: Switch to gettext copyright.
10190         Use ANSI definitions and prototypes.
10191         * intl/dcigettext.c: Switch to gettext copyright.
10192         Use ANSI definitions and prototypes.
10193         (INTDIV0_RAISES_SIGFPE): New define.
10194         Use gl_* locking primitives rather than __libc_* ones.
10195         Include eval-plural.h instead of plural-eval.c.
10196         Use __builtin_expect rather than __glibc_likely/unlikely.
10197         * intl/dcngettext.c: Switch to gettext copyright.
10198         Use ANSI definitions and prototypes.
10199         * intl/dgettext.c: Likewise.
10200         * intl/dngettext.c: Likewise.
10201         * intl/plural-eval.c: Renamed to...
10202         * intl/eval-plural.h: ...this.
10203         * intl/explodename.c: Switch to gettext copyright.
10204         Use ANSI definitions and prototypes.
10205         (_nl_explode_name): Use strchr instead of __rawmemchr.
10206         * intl/finddomain.c: Switch to gettext copyright.
10207         Use ANSI definitions and prototypes.
10208         Use gl_* locking primitives rather than __libc_* ones.
10209         (_nl_find_domain): Use malloc rather than alloca for
10210         allocation of temporary locale name.
10211         * intl/gettext.c: Switch to gettext copyright.
10212         Use ANSI definitions and prototypes.
10213         * intl/gettextP.h: Switch to gettext copyright.
10214         Use ANSI definitions and prototypes.
10215         Use gl_* locking primitives rather than __libc_* ones.
10216         * intl/gmo.h: Switch to gettext copyright.
10217         (struct sysdep_string): Move struct segment_pair outside of
10218         struct definition.
10219         * intl/hash-string.c: Use ANSI definitions and prototypes.
10220         * intl/hash-string.h: Switch to gettext copyright.
10221         Use ANSI definitions and prototypes.
10222         * intl/l10nflist.c: Switch to gettext copyright.
10223         Use ANSI definitions and prototypes.
10224         (_nl_normalize_codeset): Avoid integer overflow.
10225         * intl/loadinfo.h: Switch to gettext copyright.
10226         Use ANSI definitions and prototypes.
10227         (LIBINTL_DLL_EXPORTED): New define.
10228         (PATH_SEPARATOR): New define.
10229         * intl/loadmsgcat.c: Switch to gettext copyright.
10230         * intl/localealias.c: Switch to gettext copyright.
10231         Use ANSI definitions and prototypes.
10232         (_nl_expand_alias): Use PATH_SEPARATOR.
10233         * intl/ngettext.c: Switch to gettext copyright.
10234         Use ANSI definitions and prototypes.
10235         * intl/plural-exp.c: Likewise.
10236         * intl/plural-exp.h: Switch to gettext copyright.
10237         Use ANSI definitions and prototypes.
10238         (struct expression): Move definition of enum operator outside
10239         of struct definition.
10240         * intl/plural.c: Regenerate.
10241         * intl/plural.y: Switch to gettext copyright.
10242         Use ANSI definitions and prototypes.
10243         Port to bison 3.0.
10244         * intl/textdomain.c: Switch to gettext copyright.
10245         Use ANSI definitions and prototypes.
10246         Use gl_* locking primitives rather than __libc_* ones.
10248 2014-12-10  Steve Ellcey  <sellcey@imgtec.com>
10250         * debug/warning-nop.c: Add used atrribute.
10252 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
10254         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: New file.
10256         * sysdeps/unix/sysv/linux/mips/mips64/Makefile
10257         [$(subdir) == signal] (CFLAGS-sigaction.c): New variable.
10258         [$(subdir) == nptl] (CFLAGS-sigaction.c): Likewise.
10260 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
10261             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10263         [BZ #17634]
10264         * wcsmbs/wcschr.c [!WCSCHR] (wcschr): Define as __wcschr.
10265         Undefine after defining function.  Define as weak alias of
10266         __wcschr.  Use libc_hidden_weak.
10267         * include/wchar.h (__wcschr): Declare.  Use libc_hidden_proto.
10268         * sysdeps/i386/i686/multiarch/wcschr-c.c [IS_IN (libc) && SHARED]
10269         (libc_hidden_def): Also define __GI___wcschr alias.
10270         * sysdeps/i386/i686/multiarch/wcschr.S (wcschr): Rename to
10271         __wcschr and define as weak alias of __wcschr.
10272         * sysdeps/powerpc/power6/wcschr.c [!WCSCHR] (WCSCHR): Define as
10273         __wcschr.
10274         [!WCSCHR] (DEFAULT_WCSCHR): Define.
10275         [DEFAULT_WCSCHR] (__wcschr): Use libc_hidden_def.
10276         [DEFAULT_WCSCHR] (wcschr): Define as weak alias of __wcschr.  Use
10277         libc_hidden_weak.  Do not use libc_hidden_def.
10278         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c
10279         [IS_IN (libc) && SHARED] (libc_hidden_def): Also define
10280         __GI___wcschr alias.
10281         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c
10282         [IS_IN (libc)] (wcschr): Define as macro expanding to
10283         __redirect_wcschr.
10284         [IS_IN (libc)] (__wcschr_ppc): Use __redirect_wcschr in typeof.
10285         [IS_IN (libc)] (__wcschr_power6): Likewise.
10286         [IS_IN (libc)] (__wcschr_power7): Likewise.
10287         [IS_IN (libc)] (__libc_wcschr): New.  Define with libc_ifunc
10288         instead of wcschr.
10289         [IS_IN (libc)] (wcschr): Undefine and define as weak alias of
10290         __libc_wcschr.
10291         [!IS_IN (libc)] (libc_hidden_def): Do not undefine and redefine.
10292         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c (wcschr): Rename to
10293         __wcschr and define as weak alias of __wcschr.  Use
10294         libc_hidden_builtin_def.
10295         * sysdeps/x86_64/wcschr.S (wcschr): Rename to __wcschr and define
10296         as weak alias of __wcschr.  Use libc_hidden_weak.
10297         * time/alt_digit.c (_nl_get_walt_digit): Use __wcschr instead of
10298         wcschr.
10299         * time/era.c (_nl_init_era_entries): Likewise.
10300         * conform/Makefile (test-xfail-ISO/time.h/linknamespace): Remove
10301         variable.
10302         (test-xfail-XPG3/time.h/linknamespace): Likewise.
10303         (test-xfail-XPG4/time.h/linknamespace): Likewise.
10305 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
10307         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Use %ld
10308         format for long int variable.
10310 2014-12-10  Anders Kaseorg  <andersk@MIT.EDU>
10312         [BZ #10672]
10313         * manual/search.texi: (Array Sort Function): Remove claim how to make
10314         qsort stable.
10316 2014-12-10  Andreas Schwab  <schwab@suse.de>
10318         [BZ #12847]
10319         * sysdeps/nptl/fork.c (fresetlockfiles): Skip files with
10320         user-controlled locks.
10322 2014-12-10  Richard Earnshaw  <rearnsha@arm.com>
10324         * sysdeps/aarch64/strchrnul.S (vrepmask): Use a call-clobbered
10325         register.
10327 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
10329         * configure.ac (--disable-werror): New configure option.
10330         (enable_werror): New AC_SUBST.
10331         * configure: Regenerated.
10332         * config.make.in (enable-werror): New variable.
10333         * Makeconfig [$(enable-werror) = yes] (+gccwarn): Add -Werror
10334         -Wno-error=undef.
10335         (+gccwarn-c): Do not use -Werror=implicit-function-declaration.
10336         * manual/install.texi (Configuring and compiling): Document
10337         --disable-werror.
10338         * INSTALL: Regenerated.
10339         * debug/Makefile (CFLAGS-tst-chk1.c): Add -Wno-error.
10340         (CFLAGS-tst-chk2.c): Likewise.
10341         (CFLAGS-tst-chk3.c): Likewise.
10342         (CFLAGS-tst-chk4.cc): Likewise.
10343         (CFLAGS-tst-chk5.cc): Likewise.
10344         (CFLAGS-tst-chk6.cc): Likewise.
10345         (CFLAGS-tst-lfschk1.c): Likewise.
10346         (CFLAGS-tst-lfschk2.c): Likewise.
10347         (CFLAGS-tst-lfschk3.c): Likewise.
10348         (CFLAGS-tst-lfschk4.cc): Likewise.
10349         (CFLAGS-tst-lfschk5.cc): Likewise.
10350         (CFLAGS-tst-lfschk6.cc): Likewise.
10352         * stdio-common/tst-printfsz.c: Include <libc-internal.h>.
10353         (main): Disable -Wdeprecated-declarations around calls to
10354         register_printf_function.
10356         * stdio-common/tst-unlockedio.c: Include <libc-internal.h>.
10357         (do_test): Disable -Wdiv-by-zero around some calls to
10358         fwrite_unlocked and fread_unlocked.
10360         * include/libc-internal.h (DIAG_PUSH_NEEDS_COMMENT): New macro.
10361         (DIAG_POP_NEEDS_COMMENT): Likewise.
10362         (_DIAG_STR1): Likewise.
10363         (_DIAG_STR): Likewise.
10364         (DIAG_IGNORE_NEEDS_COMMENT): Likewise.
10365         * stdio-common/bug21.c: Include <libc-internal.h>.
10366         (do_test): Disable -Wformat around call to sscanf.
10367         * stdio-common/scanf14.c: Include <libc-internal.h>.
10368         (main): Disable -Wformat around some calls to scanf functions.
10370 2014-12-09  Torvald Riegel  <triegel@redhat.com>
10372         * sysdeps/unix/sysv/linux/sh/pthread_once.S: Remove file.
10374 2014-12-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10376         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix wide-character
10377         stack variable alignment.
10379 2014-12-06  Joseph Myers  <joseph@codesourcery.com>
10381         [BZ #17682]
10382         * resource/Versions (libc): Add __getrlimit at GLIBC_PRIVATE.
10383         * resource/getrlimit.c (__getrlimit): Use libc_hidden_def.
10384         * sysdeps/mach/hurd/getrlimit.c (__getrlimit): Likewise.
10385         * include/sys/resource.h (__getrlimit): Use libc_hidden_proto.
10386         * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Use
10387         __getrlimit instead of getrlimit.
10388         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Use
10389         __gettimeofday instead of gettimeofday.
10390         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
10391         Likewise.
10392         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
10393         Likewise.
10394         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
10395         * conform/Makefile (test-xfail-POSIX2008/aio.h/linknamespace):
10396         Remove variable.
10397         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
10398         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
10400 2014-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10402         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix buffer overrun
10403         for wide-character tests.
10405 2014-12-04  Roland McGrath  <roland@hack.frob.com>
10407         * io/openat64.c: #include <libc-internal.h>
10408         (__openat64): Prototypify.  Use ignore_value on MODE.
10409         * io/openat.c: Likewise.
10410         * misc/reboot.c: #include <libc-internal.h>
10411         (reboot): Prototypify.  Use ignore_value on HOWTO.
10412         * misc/ptrace.c: #include <libc-internal.h>
10413         (ptrace): Prototypify.  Use ignore_value for va_arg'd parameters.
10415 2014-12-04  Joseph Myers  <joseph@codesourcery.com>
10417         * conform/list-header-symbols.pl (%extra_syms): Add h_errno for
10418         XPG4, UNIX98 and XOPEN2K.
10419         * conform/Makefile (test-xfail-XOPEN2K/grp.h/linknamespace):
10420         Remove variable.
10421         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
10423 2014-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
10425         * libio/fileops.c: Use ISO C style for function definitions.
10426         * libio/iofopen.c: Likewise.
10427         * libio/wfileops.c: Likewise.
10429         [BZ #17653]
10430         * libio/fileops.c (_IO_new_file_underflow): Unset cached
10431         offset on EOF.
10432         * libio/wfileops.c (_IO_wfile_underflow): Likewise.
10433         * libio/tst-ftell-active-handler.c (fgets_func_t): New type.
10434         (fgets_func): Function pointer to fgets and fgetws.
10435         (do_ftell_test): Add test to verify ftell value after read
10436         EOF.
10437         (do_test): Set fgets_func.
10439         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Add
10440         O_TRUNC flag for w and w+ modes.
10441         (do_rewind_test): Likewise.
10442         (do_ftell_test): Likewise.
10443         (do_write_test): Likewise.
10445         [BZ #17647]
10446         * libio/fileops.c (do_ftell): Seek only when there are
10447         unflushed writes.
10448         * libio/wfileops.c (do_ftell_wide): Likewise.
10449         * libio/tst-ftell-active-handler.c (do_ftruncate_test): New
10450         test case.
10451         (do_one_test): Call it.
10453 2014-12-03  Joseph Myers  <joseph@codesourcery.com>
10455         * conform/list-header-symbols.pl (%extra_syms): Add getdate_err
10456         for XPG4, UNIX98, XOPEN2K and XOPEN2K8.
10457         * conform/Makefile (test-xfail-XOPEN2K/pthread.h/linknamespace):
10458         Remove variable.
10459         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
10460         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
10461         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
10463 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
10465         * conform/Makefile (test-xfail-XOPEN2K/aio.h/linknamespace):
10466         Remove variable.
10467         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
10469         [BZ #17668]
10470         * inet/ifaddrs.c (getifaddrs): Rename to __getifaddrs and define
10471         as weak alias of __getifaddrs.  Use libc_hidden_weak.
10472         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
10473         __freeifaddrs.  Use libc_hidden_weak.
10474         * sysdeps/gnu/ifaddrs.c (getifaddrs): Rename to __getifaddrs and
10475         define as weak alias of __getifaddrs.  Use libc_hidden_weak.
10476         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
10477         __freeifaddrs.  Use libc_hidden_weak.
10478         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs): Rename to
10479         __getifaddrs and define as weak alias of __getifaddrs.  Use
10480         libc_hidden_weak.
10481         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
10482         __freeifaddrs.  Use libc_hidden_weak.
10483         * conform/Makefile (test-xfail-XOPEN2K/net/if.h/linknamespace):
10484         Remove variable.
10485         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
10486         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
10488 2014-12-02  Petar Jovanovic  <petar.jovanovic@rt-rk.com>
10490         [BZ #17601]
10491         * sysdeps/mips/start.S (__start): Use indirect jump to call
10492         __libc_start_main.
10494 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
10496         * nptl/tst-stack4.c (dso_process): Use int not uintptr_t for t.
10498         * nptl/tst-mutex1.c: Include <stdbool.h>.
10499         [!ATTR] (ATTR_NULL): New macro.
10500         (do_test): Test !ATTR_NULL instead of ATTR != NULL.
10501         * nptl/tst-mutexpi1.c (ATTR_NULL): New macro.
10502         * nptl/tst-mutexpp1.c (ATTR_NULL): New macro.
10504         * posix/tst-getopt_long1.c (do_test): Cast elements of argv array
10505         to char *.
10507         [BZ #17665]
10508         * posix/unistd.h [__USE_MISC || (__USE_XOPEN && !__USE_UNIX98)]:
10509         Change conditional to [__USE_MISC].
10511         [BZ #17664]
10512         * misc/mntent_r.c (__getmntent_r): Use __fgets_unlocked instead of
10513         fgets_unlocked.
10514         * resolv/res_hconf.c [IS_IN (libc)] (fgets_unlocked): Define to
10515         __fgets_unlocked.
10516         * resolv/res_init.c (__res_vinit): Use __fgets_unlocked instead of
10517         fgets_unlocked.
10518         * conform/Makefile (test-xfail-XPG4/sys/statvfs.h/linknamespace):
10519         Remove variable.
10520         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
10521         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
10522         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
10523         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
10524         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
10525         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
10526         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
10527         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
10528         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
10530         * elf/tst-unique4lib.cc (b): Mark with __attribute__ ((used)).
10532 2014-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10534         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
10535         Remove strpbrk objects.
10536         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10537         (__libc_ifunc_impl_list): Remove strpbrk implementation.
10538         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: Remove file.
10539         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Remove file.
10540         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: Remove file.
10541         * sysdeps/powerpc/powerpc64/strpbrk.S: New file.
10543         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
10544         Remove strcspn objects.
10545         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10546         (__libc_ifunc_impl_list): Remove strcspn implementation.
10547         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: Remove file.
10548         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Remove file.
10549         * sysdeps/powerpc/powerpc64/power7/strcspn.S: Remove file.
10550         * sysdeps/powerpc/powerpc64/strcspn.S: New file.
10552         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
10553         Remove strspn objetcs.
10554         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10555         (__libc_ifunc_impl_list): Remove strspn implementation.
10556         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: Remove file.
10557         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
10558         * sysdeps/powerpc/powerpc64/power7/strspn.S: Remove file.
10559         * sysdeps/powerpc/powerpc64/strspn.S: New file.
10561 2014-12-01  James Lemke  <jwlemke@codesourcery.com>
10563         [BZ #17581]
10564         * malloc/hooks.c
10565         (mem2mem_check): Add a terminator to the chain of checking blocks.
10566         (malloc_check_get_size): Use it here.
10567         (mem2chunk_check): Ditto.
10569 2014-12-01  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
10571         * sysdeps/powerpc/powerpc64/strtok.S: New file.
10572         * sysdeps/powerpc/powerpc64/strtok_r.S: New file.
10574 2014-11-29  Carlos O'Donell  <carlos@redhat.com>
10576         * bits/ioctl-types.h: Indent preprocessor directives correctly.
10578         * nptl/nptl-init.c: Include libc-internal.h.
10579         (__pthread_initialize_minimal_internal): Use ROUND_UP.
10581         * elf/ldconfig.c (search_dir): Expand comment.
10583 2014-11-29  Joseph Myers  <joseph@codesourcery.com>
10585         * conform/Makefile (linknamespace-symlist-stdlibs-base): New
10586         variable.
10587         (linknamespace-symlist-stdlibs-tests): Likewise.
10588         (tests-special): Append $(linknamespace-symlist-stdlibs-tests)
10589         instead of $(objpfx)symlist-stdlibs.
10590         (linknamespace-libs-isoc): New variable.
10591         (linknamespace-libs): Use $(linknamespace-libs-isoc).
10592         (linknamespace-libs-ISO): New variable.
10593         (linknamespace-libs-ISO99): Likewise.
10594         (linknamespace-libs-ISO11): Likewise.
10595         (linknamespace-libs-XPG3): Likewise.
10596         (linknamespace-libs-XPG4): Likewise.
10597         (linknamespace-libs-POSIX): Likewise.
10598         (linknamespace-libs-UNIX98): Likewise.
10599         (linknamespace-libs-XOPEN2K): Likewise.
10600         (linknamespace-libs-POSIX2008): Likewise.
10601         (linknamespace-libs-XOPEN2K8): Likewise.
10602         ($(objpfx)symlist-stdlibs): Replace by
10603         $(linknamespace-symlist-stdlibs-tests).  Use
10604         $(linknamespace-libs-$*) as set of libraries.
10605         ($(linknamespace-header-tests)): Update dependencies.  Use
10606         $(objpfx)symlist-stdlibs-$$std for --libsyms argument.
10607         (test-xfail-XPG4/sys/mman.h/linknamespace): Remove.
10608         * conform/linknamespace.pl: Remove comment about considering
10609         definitions of symbols from irrelevant libraries.
10611 2014-11-28  H.J. Lu  <hongjiu.lu@intel.com>
10613         [BZ #13862]
10614         * elf/dl-tls.c: Include <atomic.h>.
10615         (oom): Remove #ifdef SHARED/#endif.
10616         (_dl_static_dtv, _dl_initial_dtv): Moved before ...
10617         (_dl_resize_dtv): This.  Extracted from _dl_update_slotinfo.
10618         (_dl_allocate_tls_init): Resize DTV if the current DTV isn't
10619         big enough.
10620         (_dl_update_slotinfo): Call _dl_resize_dtv to resize DTV.
10621         * nptl/Makefile (tests): Add tst-stack4.
10622         (modules-names): Add tst-stack4mod.
10623         ($(objpfx)tst-stack4): New.
10624         (tst-stack4mod.sos): Likewise.
10625         ($(objpfx)tst-stack4.out): Likewise.
10626         ($(tst-stack4mod.sos)): Likewise.
10627         (clean): Likewise.
10628         * nptl/tst-stack4.c: New file.
10629         * nptl/tst-stack4mod.c: Likewise.
10631 2014-11-27  J. Brown  <jb999@gmx.de>
10633         * sysdeps/x86/bits/string.h: Add recent CPUs.
10635 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
10637         * misc/tst-pselect.c (do_test): Use sigprocmask instead of
10638         sigblock.
10640         * libio/bug-ungetwc1.c (do_test): Verify results of getwc and
10641         feof.
10643         * dlfcn/failtestmod.c (constr): Do not store result of dlsym in a
10644         variable.
10646 2014-11-27  Stefan Liebler  <stli@linux.vnet.ibm.com>
10648         * nscd/connections.c: Include libc-internal.h because of macro
10649         usage ignore_value.
10651 2014-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
10653         * string/bits/string3.h (__warn_memset_zero_len): Don't
10654         declare for gcc newer than 5.0.
10655         (memset): Don't test for zero-length __LEN for gcc newer than
10656         5.0.
10658 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
10660         * stdio-common/tst-fmemopen.c (do_test): Cast st_size values to
10661         size_t for %zu format.
10663         * nss/tst-nss-test1.c (do_test): Use %td printf format for pointer
10664         difference, not %ju.
10666 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
10668         * include/libc-internal.h (ignore_value): New macro.
10669         * nscd/connections.c (restart): Wrap calls to setuid and setgid
10670         with ignore_value.
10672         * sysdeps/mips/__longjmp.c (____longjmp): Use prototype
10673         definition.
10675         * nptl/tst-cancel-self-cancelstate.c (do_test): Cast argument of
10676         pthread_cleanup_push to void *.
10678         * sysdeps/unix/sysv/linux/arm/libc-do-syscall.S (_FORTIFY_SOURCE):
10679         Undefine.
10681         [BZ #16619]
10682         [BZ #16740]
10683         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Use 1LL << 52
10684         instead of 1L << 52.
10686         * libio/bug-rewind.c (do_test): Check fwscanf return values.
10687         * libio/bug-rewind2.c (do_test): Likewise.
10689         * debug/test-stpcpy_chk-ifunc.c: Remove file.
10690         * debug/test-strcpy_chk-ifunc.c: Likewise.
10691         * wcsmbs/test-wcschr-ifunc.c: Likewise.
10692         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
10693         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
10694         * wcsmbs/test-wcslen-ifunc.c: Likewise.
10695         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
10696         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
10697         * Rules [$(multi-arch) = no] (tests): Do not filter out
10698         $(tests-ifunc).
10699         [$(multi-arch) = no] (xtests): Do not filter out $(xtests-ifunc).
10700         * debug/Makefile (tests-ifunc): Remove variable.
10701         (tests): Do not add $(tests-ifunc).
10702         * wcsmbs/Makefile (tests-ifunc): Remove variable.
10703         (tests): Do not add $(tests-ifunc).
10704         * benchtests/bench-string.h (TEST_IFUNC): Remove macro.
10705         [TEST_IFUNC]: Remove conditionals.
10706         * string/test-string.h (TEST_IFUNC): Remove macro.
10707         [TEST_IFUNC]: Remove conditionals.
10709         * string/test-strchr.c [!WIDE] (L): New macro.
10710         [WIDE] (L): Likewise.
10711         (check1): Use CHAR instead of char.  Use L on string and character
10712         constants.
10714 2014-11-26  Adhemerval Zanella  <azanella@linux.ibm.com>
10716         * csu/tst-atomic.c (do_test): Add atomic_exchange_and_add_{acq,rel}
10717         tests.
10718         * sysdeps/powerpc/bits/atomic.h
10719         (__arch_atomic_exchange_and_add_32_acq): Add definition.
10720         (__arch_atomic_exchange_and_add_32_rel): Likewise.
10721         (atomic_exchange_and_add_acq): Likewise.
10722         (atomic_exchange_and_add_rel): Likewise.
10723         * sysdeps/powerpc/powerpc32/bits/atomic.h
10724         (__arch_atomic_exchange_and_add_64_acq): Add definition.
10725         (__arch_atomic_exchange_and_add_64_rel): Likewise.
10726         * sysdeps/powerpc/powerpc64/bits/atomic.h
10727         (__arch_atomic_exchange_and_add_64_acq): Add definition.
10728         (__arch_atomic_exchange_and_add_64_rel): Likewise.
10730 2014-11-26  Torvald Riegel  <triegel@redhat.com>
10732         * nptl/tpp.c (__init_sched_fifo_prio, __pthread_tpp_change_priority):
10733         Change synchronization of __sched_fifo_min_prio and
10734         __sched_fifo_max_prio.
10735         * nptl/pthread_mutexattr_getprioceiling.c
10736         (pthread_mutexattr_getprioceiling): Likewise.
10737         * nptl/pthread_mutexattr_setprioceiling.c
10738         (pthread_mutexattr_setprioceiling): Likewise.
10739         * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
10740         * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
10741         Likewise.
10743 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
10745         * setjmp/jmpbug.c (test): Make foo volatile and cast it to
10746         void.
10748 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
10750         * stdio-common/tst-printf-round.c (test_hex_in_one_mode): Make
10751         third argument const.
10753 2014-11-25  Paul Eggert  <eggert@cs.ucla.edu>
10755         fnmatch: work around GCC compiler warning bug with uninit var
10756         * posix/fnmatch_loop.c (FCT): Use a scalar not a one-item array.
10757         This works around a bug with x86-64 GCC 4.9.2 and earlier
10758         where 'gcc -O2 -Wmaybe-uninitialized' incorrectly complains
10759         "../locale/weightwc.h:93:7: warning: '*((void *)&str+4)' may be
10760         used uninitialized in this function [-Wmaybe-uninitialized]".
10762 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
10764         * posix/bug-regex31.c (main): Return RES not 0.
10766 2014-11-25  Anton Blanchard <anton@samba.org>
10768         * sysdeps/powerpc/bits/atomic.h
10769         (__arch_compare_and_exchange_bool_64_rel): Load from mem.
10771 2014-11-24  Sterling Augustine  <saugustine@google.com>
10773         * sysdeps/x86_64/start.S (_start): Use ENTRY and END macros.
10775 2014-11-24  Ryan Cumming  <etaoins@gmail.com>
10777         [BZ #17608]
10778         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_TAI.
10780 2014-11-24  Joseph Myers  <joseph@codesourcery.com>
10782         [BZ #17633]
10783         * stdio-common/perror.c (perror): Call __fileno instead of fileno.
10784         * conform/Makefile (test-xfail-ISO/stdio.h/linknamespace): Remove
10785         variable.
10786         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
10787         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
10789 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
10791         * string/strncpy.c (strncpy): Improve performance by using memset.
10793 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
10795         * string/strcpy.c (strcpy):
10796         Improve performance by using strlen and memcpy.
10798 2014-11-24  Leonhard Holz  <leonhard.holz@web.de>
10800         * string/strcoll_l.c (get_next_seq): __always_inline.
10801         * string/strcoll_l.c (do_compare): __always_inline.
10803 2014-11-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
10805         * include/bits/stdlib-float.h: Use IS_IN only if _ISOMAC is
10806         defined.
10807         * include/mqueue.h: Likewise.
10808         * include/stdlib.h: Likewise.
10810         * stdlib/isomac.c (fmt): Replace NOT_IN_libc with IN_MODULE.
10811         (get_null_defines): Adjust.
10812         * sunrpc/Makefile: Adjust comment.
10813         * Makerules (CPPFLAGS-nonlib): Remove NOT_IN_libc.
10814         * elf/Makefile (CPPFLAGS-sotruss-lib): Likewise.
10815         (CFLAGS-interp.c): Likewise.
10816         (CFLAGS-ldconfig.c): Likewise.
10817         (CPPFLAGS-.os): Likewise.
10818         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
10819         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
10820         * extra-modules.mk (extra-modules.mk): Likewise.
10821         * iconv/Makefile (CPPFLAGS-iconvprogs): Likewise.
10822         * locale/Makefile (CPPFLAGS-locale_programs): Likewise.
10823         * malloc/Makefile (CPPFLAGS-memusagestat): Likewise.
10824         * nscd/Makefile (CPPFLAGS-nscd): Likewise.
10825         * nss/Makefile (CPPFLAGS-nss_test1): Likewise.
10826         * stdlib/Makefile (CFLAGS-tst-putenvmod.c): Likewise.
10827         * sysdeps/gnu/Makefile ($(objpfx)errlist-compat.c): Likewise.
10828         * sysdeps/unix/sysv/linux/Makefile (CPPFLAGS-lddlibc4): Likewise.
10829         * iconvdata/Makefile (CPPFLAGS): Likewise.
10830         (cpp-srcs-left): Add libof for all iconvdata routines.
10831         * bits/stdio-lock.h: Replace NOT_IN_libc with IS_IN.
10832         * include/assert.h: Likewise.
10833         * include/ctype.h: Likewise.
10834         * include/errno.h: Likewise.
10835         * include/libc-symbols.h: Likewise.
10836         * include/math.h: Likewise.
10837         * include/netdb.h: Likewise.
10838         * include/resolv.h: Likewise.
10839         * include/stdio.h: Likewise.
10840         * include/stdlib.h: Likewise.
10841         * include/string.h: Likewise.
10842         * include/sys/stat.h: Likewise.
10843         * include/wctype.h: Likewise.
10844         * intl/l10nflist.c: Likewise.
10845         * libidn/idn-stub.c: Likewise.
10846         * libio/libioP.h: Likewise.
10847         * nptl/libc_multiple_threads.c: Likewise.
10848         * nptl/pthreadP.h: Likewise.
10849         * posix/regex_internal.h: Likewise.
10850         * resolv/res_hconf.c: Likewise.
10851         * sysdeps/arm/armv7/multiarch/memcpy.S: Likewise.
10852         * sysdeps/arm/memmove.S: Likewise.
10853         * sysdeps/arm/sysdep.h: Likewise.
10854         * sysdeps/generic/_itoa.h: Likewise.
10855         * sysdeps/generic/symbol-hacks.h: Likewise.
10856         * sysdeps/gnu/errlist.awk: Likewise.
10857         * sysdeps/gnu/errlist.c: Likewise.
10858         * sysdeps/i386/i586/memcpy.S: Likewise.
10859         * sysdeps/i386/i586/memset.S: Likewise.
10860         * sysdeps/i386/i686/memcpy.S: Likewise.
10861         * sysdeps/i386/i686/memmove.S: Likewise.
10862         * sysdeps/i386/i686/mempcpy.S: Likewise.
10863         * sysdeps/i386/i686/memset.S: Likewise.
10864         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
10865         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
10866         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: Likewise.
10867         * sysdeps/i386/i686/multiarch/memchr-sse2.S: Likewise.
10868         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
10869         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
10870         * sysdeps/i386/i686/multiarch/memcmp-ssse3.S: Likewise.
10871         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
10872         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
10873         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
10874         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
10875         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
10876         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
10877         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
10878         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
10879         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
10880         * sysdeps/i386/i686/multiarch/memrchr-c.c: Likewise.
10881         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: Likewise.
10882         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: Likewise.
10883         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
10884         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
10885         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
10886         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
10887         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
10888         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
10889         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
10890         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: Likewise.
10891         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
10892         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Likewise.
10893         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
10894         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
10895         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
10896         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
10897         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
10898         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
10899         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
10900         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
10901         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
10902         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
10903         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
10904         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
10905         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
10906         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
10907         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
10908         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
10909         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
10910         * sysdeps/i386/i686/multiarch/wcschr-c.c: Likewise.
10911         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: Likewise.
10912         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
10913         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
10914         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
10915         * sysdeps/i386/i686/multiarch/wcscpy-c.c: Likewise.
10916         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Likewise.
10917         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
10918         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
10919         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: Likewise.
10920         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
10921         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: Likewise.
10922         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: Likewise.
10923         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
10924         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
10925         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
10926         * sysdeps/ia64/fpu/libm-symbols.h: Likewise.
10927         * sysdeps/nptl/bits/libc-lock.h: Likewise.
10928         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
10929         * sysdeps/nptl/bits/stdio-lock.h: Likewise.
10930         * sysdeps/posix/closedir.c: Likewise.
10931         * sysdeps/posix/opendir.c: Likewise.
10932         * sysdeps/posix/readdir.c: Likewise.
10933         * sysdeps/posix/rewinddir.c: Likewise.
10934         * sysdeps/powerpc/novmx-sigjmp.c: Likewise.
10935         * sysdeps/powerpc/powerpc32/__longjmp.S: Likewise.
10936         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
10937         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
10938         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
10939         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Likewise.
10940         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Likewise.
10941         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: Likewise.
10942         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
10943         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: Likewise.
10944         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
10945         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
10946         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
10947         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: Likewise.
10948         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: Likewise.
10949         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: Likewise.
10950         * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
10951         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
10952         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: Likewise.
10953         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: Likewise.
10954         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
10955         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: Likewise.
10956         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: Likewise.
10957         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
10958         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: Likewise.
10959         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: Likewise.
10960         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: Likewise.
10961         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
10962         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
10963         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: Likewise.
10964         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
10965         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: Likewise.
10966         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
10967         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: Likewise.
10968         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
10969         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Likewise.
10970         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
10971         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
10972         * sysdeps/powerpc/powerpc64/__longjmp.S: Likewise.
10973         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: Likewise.
10974         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: Likewise.
10975         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: Likewise.
10976         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
10977         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
10978         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
10979         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Likewise.
10980         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: Likewise.
10981         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
10982         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: Likewise.
10983         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: Likewise.
10984         * sysdeps/powerpc/powerpc64/multiarch/memset.c: Likewise.
10985         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
10986         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
10987         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
10988         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
10989         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Likewise.
10990         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: Likewise.
10991         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
10992         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
10993         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: Likewise.
10994         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
10995         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
10996         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
10997         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
10998         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Likewise.
10999         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
11000         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Likewise.
11001         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Likewise.
11002         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: Likewise.
11003         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: Likewise.
11004         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
11005         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
11006         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: Likewise.
11007         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
11008         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
11009         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Likewise.
11010         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: Likewise.
11011         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
11012         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
11013         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: Likewise.
11014         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
11015         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
11016         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
11017         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Likewise.
11018         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
11019         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Likewise.
11020         * sysdeps/s390/s390-32/multiarch/memcmp.S: Likewise.
11021         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
11022         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
11023         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
11024         * sysdeps/s390/s390-64/multiarch/memcmp.S: Likewise.
11025         * sysdeps/s390/s390-64/multiarch/memcpy.S: Likewise.
11026         * sysdeps/s390/s390-64/multiarch/memset.S: Likewise.
11027         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
11028         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
11029         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: Likewise.
11030         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
11031         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
11032         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Likewise.
11033         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: Likewise.
11034         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
11035         * sysdeps/unix/alpha/sysdep.S: Likewise.
11036         * sysdeps/unix/alpha/sysdep.h: Likewise.
11037         * sysdeps/unix/make-syscalls.sh: Likewise.
11038         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
11039         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
11040         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
11041         * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
11042         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
11043         * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
11044         * sysdeps/unix/sysv/linux/getpid.c: Likewise.
11045         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
11046         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
11047         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Likewise.
11048         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
11049         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
11050         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
11051         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
11052         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
11053         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
11054         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
11055         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
11056         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
11057         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
11058         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
11059         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
11060         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
11061         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
11062         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
11063         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
11064         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
11065         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
11066         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
11067         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: Likewise.
11068         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
11069         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
11070         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
11071         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
11072         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
11073         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
11074         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
11075         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
11076         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
11077         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
11078         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
11079         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
11080         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
11081         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
11082         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
11083         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
11084         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
11085         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
11086         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
11087         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
11088         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
11089         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
11090         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
11091         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
11092         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
11093         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
11094         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
11095         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
11096         * sysdeps/wordsize-32/symbol-hacks.h: Likewise.
11097         * sysdeps/x86_64/memcpy.S: Likewise.
11098         * sysdeps/x86_64/memmove.c: Likewise.
11099         * sysdeps/x86_64/memset.S: Likewise.
11100         * sysdeps/x86_64/multiarch/init-arch.h: Likewise.
11101         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
11102         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
11103         * sysdeps/x86_64/multiarch/memcmp.S: Likewise.
11104         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
11105         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
11106         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
11107         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
11108         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
11109         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
11110         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
11111         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
11112         * sysdeps/x86_64/multiarch/memset-avx2.S: Likewise.
11113         * sysdeps/x86_64/multiarch/memset.S: Likewise.
11114         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
11115         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Likewise.
11116         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
11117         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
11118         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
11119         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
11120         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Likewise.
11121         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
11122         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
11123         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
11124         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
11125         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
11126         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
11127         * sysdeps/x86_64/multiarch/wcscpy-c.c: Likewise.
11128         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
11129         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
11130         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Likewise.
11131         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
11132         * sysdeps/x86_64/strcmp.S: Likewise.
11134         * extra-lib.mk (CPPFLAGS-$(lib)): Remove IS_IN_$(lib).
11136         * elf/Makefile (CPPFLAGS-.os): Remove IS_IN_rtld.
11137         * elf/dl-open.c: Use IS_IN (rtld) instead if IS_IN_rtld.
11138         * elf/rtld-Rules: Likewise.
11139         * elf/setup-vdso.h: Likewise.
11140         * include/assert.h: Likewise.
11141         * include/bits/stdlib-float.h: Likewise.
11142         * include/errno.h: Likewise.
11143         * include/sys/stat.h: Likewise.
11144         * include/unistd.h: Likewise.
11145         * sysdeps/aarch64/setjmp.S: Likewise.
11146         * sysdeps/alpha/setjmp.S: Likewise.
11147         * sysdeps/arm/__longjmp.S: Likewise.
11148         * sysdeps/arm/aeabi_unwind_cpp_pr1.c: Likewise.
11149         * sysdeps/arm/setjmp.S: Likewise.
11150         * sysdeps/arm/sysdep.h: Likewise.
11151         * sysdeps/generic/_itoa.h: Likewise.
11152         * sysdeps/generic/dl-sysdep.h: Likewise.
11153         * sysdeps/generic/ldsodefs.h: Likewise.
11154         * sysdeps/i386/dl-tls.h: Likewise.
11155         * sysdeps/i386/setjmp.S: Likewise.
11156         * sysdeps/m68k/setjmp.c: Likewise.
11157         * sysdeps/mach/hurd/dl-execstack.c: Likewise.
11158         * sysdeps/mach/hurd/opendir.c: Likewise.
11159         * sysdeps/posix/getcwd.c: Likewise.
11160         * sysdeps/posix/opendir.c: Likewise.
11161         * sysdeps/posix/profil.c: Likewise.
11162         * sysdeps/powerpc/dl-procinfo.h: Likewise.
11163         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
11164         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
11165         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
11166         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
11167         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Likewise.
11168         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
11169         * sysdeps/s390/dl-tls.h: Likewise.
11170         * sysdeps/s390/s390-32/setjmp.S: Likewise.
11171         * sysdeps/s390/s390-64/setjmp.S: Likewise.
11172         * sysdeps/sh/sh3/setjmp.S: Likewise.
11173         * sysdeps/sh/sh4/setjmp.S: Likewise.
11174         * sysdeps/unix/alpha/sysdep.h: Likewise.
11175         * sysdeps/unix/arm/sysdep.S: Likewise.
11176         * sysdeps/unix/i386/sysdep.S: Likewise.
11177         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
11178         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
11179         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
11180         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
11181         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
11182         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
11183         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
11184         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
11185         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
11186         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
11187         * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
11188         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
11189         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
11190         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
11191         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
11192         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
11193         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
11194         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
11195         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
11196         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
11197         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
11198         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
11199         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
11200         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
11201         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
11202         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
11203         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
11204         * sysdeps/unix/x86_64/sysdep.S: Likewise.
11205         * sysdeps/x86_64/setjmp.S: Likewise.
11207         * include/math.h: Use IS_IN instead of IS_IN_libm.
11208         * sysdeps/alpha/fpu/s_copysign.c: Likewise.
11209         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
11210         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
11211         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
11212         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
11213         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
11214         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
11215         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
11216         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
11217         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
11218         * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Likewise.
11219         * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
11220         * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Likewise.
11221         * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
11222         * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
11223         * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Likewise.
11224         * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
11225         * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
11226         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
11227         * sysdeps/ieee754/ldbl-opt/s_copysign.c: Likewise.
11228         * sysdeps/ieee754/ldbl-opt/s_finite.c: Likewise.
11229         * sysdeps/ieee754/ldbl-opt/s_frexp.c: Likewise.
11230         * sysdeps/ieee754/ldbl-opt/s_isinf.c: Likewise.
11231         * sysdeps/ieee754/ldbl-opt/s_isnan.c: Likewise.
11232         * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Likewise.
11233         * sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
11234         * sysdeps/ieee754/ldbl-opt/s_modf.c: Likewise.
11235         * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
11236         * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
11237         * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
11238         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Likewise.
11239         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
11240         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
11241         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
11242         Likewise.
11243         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
11244         Likewise.
11245         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c:
11246         Likewise.
11247         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c:
11248         Likewise.
11249         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c:
11250         Likewise.
11251         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
11252         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Likewise.
11253         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
11254         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
11255         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
11256         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
11257         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
11258         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
11259         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
11260         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
11261         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Likewise.
11262         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
11263         * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S: Likewise.
11264         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
11265         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
11266         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
11267         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
11268         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
11269         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
11270         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
11271         * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
11272         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
11273         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
11274         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
11275         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: Likewise.
11276         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
11277         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S: Likewise.
11279         * nptl/lowlevellock.c: Use IS_IN instead of IS_IN_libpthread.
11280         * nptl/pthreadP.h: Likewise.
11281         * nptl_db/structs.def: Likewise.
11282         * sysdeps/arm/sysdep.h: Likewise.
11283         * sysdeps/nptl/bits/libc-lock.h: Likewise.
11284         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
11285         * sysdeps/sparc/sparc32/lowlevellock.c: Likewise.
11286         * sysdeps/unix/alpha/sysdep.h: Likewise.
11287         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
11288         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
11289         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
11290         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
11291         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
11292         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
11293         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
11294         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
11295         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
11296         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
11297         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
11298         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
11299         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
11300         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
11301         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
11302         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
11303         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
11304         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
11305         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
11306         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
11307         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
11308         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
11309         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
11310         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
11311         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
11312         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
11314         * include/mqueue.h: Use IS_IN instead of IS_IN_librt.
11315         * nptl/pthreadP.h: Likewise.
11316         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
11317         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
11318         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
11319         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
11320         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
11321         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
11322         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
11323         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
11324         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
11325         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
11326         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
11327         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
11328         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
11329         Likewise.
11330         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
11331         Likewise.
11332         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
11333         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
11334         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
11335         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
11336         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
11337         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
11338         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
11339         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
11341         * dlfcn/dladdr.c: Use IS_IN.
11342         * dlfcn/dladdr1.c: Likewise.
11343         * dlfcn/dlclose.c: Likewise.
11344         * dlfcn/dlerror.c: Likewise.
11345         * dlfcn/dlinfo.c: Likewise.
11346         * dlfcn/dlmopen.c: Likewise.
11347         * dlfcn/dlopen.c: Likewise.
11348         * dlfcn/dlsym.c: Likewise.
11349         * dlfcn/dlvsym.c: Likewise.
11351         * include/ifaddrs.h: Use IS_IN.
11352         * inet/check_pf.c: Likewise.
11353         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
11354         * nscd/Makefile (CPPFLAGS-nscd): Remove IS_IN_nscd.
11356         * elf/Makefile (CFLAGS-ldconfig.c): Remove definition of
11357         IS_IN_ldconfig.
11358         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Use IS_IN.
11359         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h: Likewise.
11361         * include/shlib-compat.h [!NOT_IN_libc]: Remove.
11362         * nss/nss_files/files-parse.c (IS_IN_libc): Replace with
11363         IS_IN (libc).
11365         * elf/Makefile (libof-sotruss-lib): Set as extramodules.
11367         * elf/Makefile (CPPFLAGS-.os): Remove IN_LIB.
11368         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
11369         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
11370         * include/libc-symbols.h (IS_IN_LIB): New macro.
11371         * include/errno.h: Use IS_IN_LIB instead of IN_LIB.
11372         * include/netdb.h: Likewise.
11373         * include/stap-probe.h: Remove all uses of IN_LIB.
11375         * Makeconfig (module-cppflags-real): Define MODULE_NAME
11376         instead of IN_MODULE.
11377         * include/libc-symbols.h (IN_MODULE): Define using
11378         MODULE_NAME.
11379         (PASTE_NAME, PASTE_NAME1): New macros.
11380         * include/stap-probe.h (LIBC_PROBE_1): Use MODULE_NAME instead
11381         of IN_LIB.
11382         (STAP_PROBE_ASM): Likewise.
11384 2014-11-23  Samuel Thibault  <samuel.thibault@ens-lyon.org>
11386         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Call
11387         __mach_init in dlopened libc.
11389 2014-11-22  Mike Frysinger  <vapier@gentoo.org>
11391         * sysdeps/arm/preconfigure.ac: Delete EABI check.
11392         * sysdeps/arm/preconfigure: Regenerate.
11394 2014-11-21  Roland McGrath  <roland@hack.frob.com>
11396         * nptl/pthread_create.c (__pthread_create_2_1): Set
11397         ATTR_FLAG_POLICY_SET and/or ATTR_FLAG_SCHED_SET in PD->flags
11398         when copying values from IATTR into PD.
11400 2014-11-21  Will Newton  <will.newton@linaro.org>
11401             Andrew Pinski  <andrew.pinski@caviumnetworks.com>
11403         * sysdeps/aarch64/dl-machine.h (elf_machine_load_address):
11404         Refactor inline-asm.  Also add comment.
11406         * sysdeps/aarch64/bits/link.h (la_aarch64_gnu_pltenter): Use
11407         ElfW macro instead of hardcoded Elf64 types.
11408         (la_aarch64_gnu_pltenter): Likewise.
11409         * sysdeps/aarch64/dl-machine.h
11410         (elf_machine_runtime_setup): Use ElfW(Addr).
11412         * elf/elf.h (R_AARCH64_P32_ABS32, R_AARCH64_P32_COPY,
11413         R_AARCH64_P32_GLOB_DAT, R_AARCH64_P32_JUMP_SLOT,
11414         R_AARCH64_P32_RELATIVE, R_AARCH64_P32_TLS_DTPMOD,
11415         R_AARCH64_P32_TLS_DTPREL, R_AARCH64_P32_TLS_TPREL,
11416         R_AARCH64_P32_TLSDESC, R_AARCH64_P32_IRELATIVE): Define.
11417         (R_AARCH64_TLS_DTPMOD64): Rename to ..
11418         (R_AARCH64_TLS_DTPMOD): This.
11419         (R_AARCH64_TLS_DTPREL64): Rename to ...
11420         (R_AARCH64_TLS_DTPREL): This.
11421         (R_AARCH64_TLS_TPREL64): Rename to ...
11422         (R_AARCH64_TLS_TPREL): This.
11423         * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Update
11424         R_AARCH64_TLS_DTPMOD64, R_AARCH64_TLS_DTPREL64, and
11425         R_AARCH64_TLS_TPREL64.
11426         (elf_machine_rela): Likewise.
11428 2014-11-21  Torvald Riegel  <triegel@redhat.com>
11430         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS): Fix value
11431         by setting it to 0.  64b atomics are not supported currently.
11433 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
11435         [BZ #16469]
11436         * resolv/res_query.c (__libc_res_nsearch): Skip leading dot in
11437         search domain names.
11439 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
11441         [BZ #16469]
11442         * NEWS: Update.
11443         * resolv/res_query.c (__libc_res_nquerydomain): Retain
11444         trailing dot.
11445         * posix/tst-getaddrinfo5.c: New.
11446         * posix/Makefile (tests): Add it.
11448 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
11450         [BZ #14498]
11451         * NEWS: Fixed.
11452         * nss/nss_db/db-XXX.c (_nss_db_get##name##_r): Update hidx
11453         after parsing line but before break_if_match.
11454         * nss/nss_files/files-service (DB_LOOKUP): Don't "continue;"
11455         if there is a protocol mismatch.
11457 2014-11-21  Ma Shimiao <mashimiao.fnst@cn.fujitsu.com>
11459         * manual/sysinfo.texi (addmntent): It is actually MT-Safe,
11460         because the potential race is on the user-supplied stream.
11462 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
11464         * sysdeps/posix/ctermid.c (ctermid): Return a pointer to a
11465         string literal if not passed a buffer.
11466         * manual/job.texi (ctermid): Update reasoning, note deviation
11467         from posix, suggest mtasurace when not passed a buffer, for
11468         future non-preliminary safety notes.
11470 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
11472         * manual/users.texi (cuserid): Fix MT-Safety note for the case
11473         of not passing it a buffer.
11474         Reported by Peng Haitao.
11476 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
11478         * manual/Makefile ($(objpfx)stamp-summary): Require
11479         check-safety.sh to pass.
11480         * manual/check-safety.sh: Wish for verification that every
11481         @deftypefn and @deftypefun is followed by a @safety remark.
11483 2014-11-20  Roland McGrath  <roland@hack.frob.com>
11485         * nptl/unwind.c (unwind_cleanup): Use __libc_fatal.
11487         * nptl/pthread_setcanceltype.c [!SIGCANCEL]: Return ENOTSUP early for
11488         PTHREAD_CANCEL_ASYNCHRONOUS.
11489         * nptl/pthread_cancel.c [!SIGCANCEL]: Just abort rather than trying to
11490         send SIGCANCEL.
11492         * nptl/default-sched.h: New file.
11493         * sysdeps/unix/sysv/linux/default-sched.h: New file.
11494         * nptl/pthread_create.c: Include it.
11495         (__pthread_create_2_1): Use collect_default_sched instead of making
11496         Linux syscalls here directly.
11498 2014-11-20  Torvald Riegel  <triegel@redhat.com>
11500         * nptl/pthread_once.c (clear_once_control, __pthread_once_slow,
11501         __pthread_once): Use C11 atomics.
11503 2014-11-20  Torvald Riegel  <triegel@redhat.com>
11505         * csu/tst-atomic.c (do_test): Add tests for C11-like atomics.
11507 2014-11-20  Torvald Riegel  <triegel@redhat.com>
11509         * include/atomic.h (__atomic_link_error, __atomic_check_size,
11510         atomic_thread_fence_acquire, atomic_thread_fence_release,
11511         atomic_thread_fence_seq_cst, atomic_load_relaxed,
11512         atomic_load_acquire, atomic_store_relaxed, atomic_store_release,
11513         atomic_compare_exchange_weak_relaxed,
11514         atomic_compare_exchange_weak_acquire,
11515         atomic_compare_exchange_weak_release,
11516         atomic_exchange_acquire, atomic_exchange_release,
11517         atomic_fetch_add_relaxed, atomic_fetch_add_acquire,
11518         atomic_fetch_add_release, atomic_fetch_add_acq_rel,
11519         atomic_fetch_and_acquire,
11520         atomic_fetch_or_relaxed, atomic_fetch_or_acquire): New.
11522 2014-11-20  Torvald Riegel  <triegel@redhat.com>
11524         * sysdeps/aarch64/bits/atomic.h (__HAVE_64B_ATOMICS,
11525         USE_ATOMIC_COMPILER_BUILTINS): Define.
11526         * sysdeps/alpha/bits/atomic.h (__HAVE_64B_ATOMICS,
11527         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
11528         * sysdeps/arm/bits/atomic.h (__HAVE_64B_ATOMICS,
11529         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
11530         * sysdeps/i386/i486/bits/atomic.h (__HAVE_64B_ATOMICS,
11531         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
11532         * sysdeps/ia64/bits/atomic.h (__HAVE_64B_ATOMICS,
11533         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
11534         * sysdeps/m68k/coldfire/bits/atomic.h (__HAVE_64B_ATOMICS,
11535         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
11536         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (__HAVE_64B_ATOMICS,
11537         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
11538         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS,
11539         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
11540         * sysdeps/mips/bits/atomic.h (__HAVE_64B_ATOMICS,
11541         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
11542         * sysdeps/powerpc/powerpc32/bits/atomic.h (__HAVE_64B_ATOMICS,
11543         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
11544         * sysdeps/powerpc/powerpc64/bits/atomic.h (__HAVE_64B_ATOMICS,
11545         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
11546         * sysdeps/s390/bits/atomic.h (__HAVE_64B_ATOMICS,
11547         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
11548         * sysdeps/sparc/sparc32/bits/atomic.h (__HAVE_64B_ATOMICS,
11549         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
11550         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (__HAVE_64B_ATOMICS,
11551         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
11552         * sysdeps/sparc/sparc64/bits/atomic.h (__HAVE_64B_ATOMICS,
11553         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
11554         * sysdeps/tile/tilegx/bits/atomic.h (__HAVE_64B_ATOMICS,
11555         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
11556         * sysdeps/tile/tilepro/bits/atomic.h (__HAVE_64B_ATOMICS,
11557         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
11558         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (__HAVE_64B_ATOMICS,
11559         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
11560         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
11561         (__HAVE_64B_ATOMICS, USE_ATOMIC_COMPILER_BUILTINS): Likewise.
11562         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (__HAVE_64B_ATOMICS,
11563         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
11564         * sysdeps/x86_64/bits/atomic.h (__HAVE_64B_ATOMICS,
11565         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
11567 2014-11-19  Roland McGrath  <roland@hack.frob.com>
11569         * nptl/pthread_create.c (__pthread_create_2_1): Don't try to validate
11570         the sched_priority value here.  It was already checked when the user
11571         called pthread_attr_setschedparam.
11573         * nptl/tst-bad-schedattr.c: New file.
11574         * nptl/Makefile (tests): Add it.
11576 2014-11-19  Carlos O'Donell  <carlos@redhat.com>
11577             Florian Weimer  <fweimer@redhat.com>
11578             Joseph Myers  <joseph@codesourcery.com>
11579             Adam Conrad  <adconrad@0c3.net>
11580             Andreas Schwab  <schwab@suse.de>
11581             Brooks  <bmoses@google.com>
11583         [BZ #17625]
11584         * wordexp-test.c (__dso_handle): Add prototype.
11585         (__register_atfork): Likewise.
11586         (__app_register_atfork): New function.
11587         (registered_forks): New global.
11588         (register_fork): New function.
11589         (test_case): Add 3 new tests for WRDE_CMDSUB.
11590         (main): Call __app_register_atfork.
11591         (testit): If WRDE_NOCMD set registered_forks to zero, run test, and if
11592         fork count is non-zero fail the test.
11593         * posix/wordexp.c (exec_comm): Return WRDE_CMDSUB if WRDE_NOCMD flag
11594         is set.
11595         (parse_dollars): Remove check for WRDE_NOCMD.
11596         (parse_dquote): Likewise.
11598 2014-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
11600         * Makeconfig (built-modules): List non-library modules to be
11601         built.
11602         (module-cppflags): Include libc-modules.h for
11603         everything except shlib-versions.v.i.
11604         (CPPFLAGS): Use it.
11605         (before-compile): Add libc-modules.h.
11606         ($(common-objpfx)libc-modules.h,
11607         $(common-objpfx)libc-modules.stmp): New targets.
11608         (common-generated): Add libc-modules.h and libc-modules.stmp.
11609         ($(common-objpfx)Versions.v.i): Depend on libc-modules.h.
11610         * include/libc-symbols.h: Don't include libc-modules.h.
11611         * include/libc-modules.h: Remove file.
11612         * scripts/gen-libc-modules.awk: New script to generate
11613         libc-modules.h.
11614         * sysdeps/unix/Makefile ($(common-objpfx)sysd-syscalls):
11615         Depend on libc-modules.stmp.
11617         * include/shlib-compat.h (_SHLIB_COMPAT): Use IS_IN.
11619         * Makeconfig (in-module): Get value of libof set for the
11620         translation unit.
11621         (CPPFLAGS): Use $(in-module).
11622         * Makerules: Don't suffix routine names for nonlib.
11623         * include/libc-modules.h: New file.
11624         * include/libc-symbols.h: Include libc-modules.h
11625         (IS_IN): New macro to replace IS_IN_* macros.
11626         * elf/Makefile: Set libof-* for each routine.
11627         * elf/rtld-Rules: Likewise.
11628         * extra-modules.mk: Likewise.
11629         * iconv/Makefile: Likewise.
11630         * iconvdata/Makefile: Likewise.
11631         * locale/Makefile: Likewise.
11632         * malloc/Makefile: Likewise.
11633         * nss/Makefile: Likewise.
11634         * sysdeps/gnu/Makefile: Likewise.
11635         * sysdeps/ieee754/ldbl-opt/Makefile: Likewise.
11636         * sysdeps/unix/sysv/linux/Makefile: Likewise.
11637         * sysdeps/s390/s390-64/Makefile: Likewise.
11638         * nscd/Makefile: Set libof-* for each routine.  Set CFLAGS and
11639         CPPFLAGS for nscd instead of nonlib.
11641 2014-11-18  Roland McGrath  <roland@hack.frob.com>
11643         * nptl/createthread.c: New file.
11645         * nptl/createthread.c: Moved ...
11646         * sysdeps/unix/sysv/linux/createthread.c: ... here.
11648         * nptl/createthread.c: Add proper top-line comment.
11649         (do_clone): Folded into ...
11650         (create_thread): ... here.  Take new arguments STOPPED_START and
11651         THREAD_RAN.  Always set PD->stopped_start to something here.  Don't
11652         increment __nptl_threads, do event-reporting logic, do
11653         CHECK_THREAD_SYSINFO, or set THREAD_SELF->header.multiple_threads
11654         here.  Set *THREAD_RAN after ARCH_CLONE call succeeds.  Don't do any
11655         resource cleanup if sched_setaffinity or sched_setscheduler fails,
11656         just send SIGCANCEL.
11657         * nptl/pthread_create.c: Forward-declare create_thread before
11658         including createthread.c.
11659         (start_thread): Use new macro START_THREAD_DEFN to replace defining
11660         declaration, and new macro START_THREAD_SELF to replace argument.
11661         Remove return statement.
11662         (report_thread_creation): New function.
11663         (__pthread_create_2_1): Use it.  Do TD_CREATE reporting,
11664         synchronization logic, and __nptl_nthreads increment here, around
11665         calling create_thread.  Do CHECK_THREAD_SYSINFO and initialize
11666         PD->parent_cancelhandling here, before create_thread.  When
11667         create_thread fails, do __nptl_nthreads decrement, setxid_futex wake,
11668         __deallocate_stack, and ENOMEM translation here.
11670 2014-11-18  Joseph Myers  <joseph@codesourcery.com>
11672         [BZ #17616]
11673         * sysdeps/ieee754/dbl-64/mpa.c (mpone): Rename to __mpone.
11674         (mptwo): Rename to __mptwo.
11675         (__inv): Use __mptwo instead of mptwo.
11676         * sysdeps/ieee754/dbl-64/mpa.h (mpone): Rename to __mpone.
11677         (mptwo): Rename to __mptwo.
11678         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __mpone instead
11679         of mpone and __mptwo instead of mptwo.
11680         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Use __mpone
11681         instead of mpone.
11682         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
11683         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Likewise.
11684         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use __mpone instead
11685         of mpone and __mptwo instead of mptwo.
11686         (__mpranred): Use __mpone instead of mpone.
11687         * conform/Makefile (test-xfail-ISO/math.h/linknamespace): Remove
11688         variable.
11689         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
11690         (test-xfail-ISO99/math.h/linknamespace): Likewise.
11691         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
11692         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
11693         (test-xfail-ISO11/math.h/linknamespace): Likewise.
11694         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
11695         (test-xfail-XPG3/math.h/linknamespace): Likewise.
11696         (test-xfail-XPG4/math.h/linknamespace): Likewise.
11697         (test-xfail-POSIX/math.h/linknamespace): Likewise.
11698         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
11699         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
11700         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
11701         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
11702         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
11703         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
11704         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
11705         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
11706         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
11707         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
11709 2014-11-18  Tom de Vries  <tom@codesoucery.com>
11711         * manual/signal.texi (Primitives Interrupted by Signals): In section,
11712         replace BSD Handler xref with BSD Signal Handling.
11714 2014-11-17  Richard Henderson  <rth@redhat.com>
11716         * sysdeps/alpha/soft-fp/local-soft-fp.h (_FP_UNPACK_RAW_2): Remove.
11717         (_FP_PACK_RAW_2): Remove.
11718         (AXP_DECL_RETURN_Q): Rename from FP_DECL_RETURN, use _FP_UNION_Q.
11719         (AXP_RETURN_Q): Rename from FP_RETURN, use _FP_UNION_Q.
11720         (AXP_UNPACK_RAW_Q, AXP_UNPACK_SEMIRAW_Q, AXP_UNPACK_Q): New.
11721         (AXP_PACK_RAW_Q, AXP_PACK_SEMIRAW_Q, AXP_PACK_Q): New.
11722         * sysdeps/alpha/soft-fp/ots_add.c (_OtsAddX): Update to match.
11723         * sysdeps/alpha/soft-fp/ots_cmp.c (internal_equality): Likewise.
11724         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Likewise.
11725         * sysdeps/alpha/soft-fp/ots_cvtqux.c (_OtsCvtQUX): Likewise.
11726         * sysdeps/alpha/soft-fp/ots_cvtqx.c (_OtsCvtQX): Likewise.
11727         * sysdeps/alpha/soft-fp/ots_cvttx.c (_OtsConvertFloatTX): Likewise.
11728         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Likewise.
11729         * sysdeps/alpha/soft-fp/ots_cvtxt.c (_OtsConvertFloatXT): Likewise.
11730         * sysdeps/alpha/soft-fp/ots_div.c (_OtsDivX): Likewise.
11731         * sysdeps/alpha/soft-fp/ots_mul.c (_OtsMulX): Likewise.
11732         * sysdeps/alpha/soft-fp/ots_nintxq.c (_OtsNintXQ): Likewise.
11733         * sysdeps/alpha/soft-fp/ots_sub.c (_OtsSubX): Likewise.
11735 2014-11-14  Roland McGrath  <roland@hack.frob.com>
11737         * signal/signal.h [__USE_MISC]
11738         (struct sigvec): Remove type.
11739         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): Remove macros.
11740         (sigvec): Remove declaration.
11741         * sysdeps/posix/sigvec.c: Moved ...
11742         * signal/sigvec.c: ... here, replacing old file.
11743         (struct sigvec): New type, copied from old signal.h definition.
11744         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): New macros, likewise copied.
11745         (__sigvec): Convert definition to prototype.
11746         (sigvec): Replace weak_alias with compat_symbol.
11747         * signal/Versions (libc: GLIBC_2.21): New version set.
11748         * include/signal.h: Remove __sigvec declaration.
11749         * sysdeps/unix/bsd/sigvec.c: Remove file.
11750         * sysdeps/unix/bsd/syscalls.list: Remove sigvec.
11751         * manual/signal.texi (BSD Handler): Remove subsection.
11752         Move siginterrupt up to ...
11753         (BSD Signal Handling): ... here.  Mark it as XPG rather than BSD.
11754         (Blocking in BSD): Fold subsection into its parent.
11755         * NEWS: Mention sigvec removal.
11757 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
11759         * sysdeps/x86_64/fpu/dla.h [__FMA4__ && __GNUC_PREREQ (4, 6)]
11760         (DLA_FMS): Make definition conditional only on [__FMA4__].
11761         [__FMA4__ && !__GNUC_PREREQ (4, 6)] (DLA_FMS): Remove conditional
11762         definition.
11764         * sysdeps/arm/sysdep.h [PROF && __GNUC_PREREQ(4,4)] (CALL_MCOUNT):
11765         Make definition conditional only on [PROF].
11766         [PROF && !__GNUC_PREREQ(4,4)] (CALL_MCOUNT): Remove conditional
11767         definition.
11768         [__GNUC_PREREQ(4,4)] (mcount): Make definition unconditional.
11769         [!__GNUC_PREREQ(4,4)] (mcount): Remove conditional definition.
11771         * signal/signal.h (__sigpause): Only declare if [__USE_XOPEN &&
11772         !__GNUC__].
11773         * include/signal.h (__sigpause): Move declaration above call to
11774         libc_hidden_proto.
11775         * conform/Makefile (test-xfail-ISO/signal.h/linknamespace): Remove
11776         variable.
11777         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
11778         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
11780 2014-11-14  David S. Miller  <davem@davemloft.net>
11782         * sysdeps/sparc/sparc64/rtld-memcpy.c (NO_MEMPCPY_STPCPY_REDIRECT):
11783         Define before including <string/memcpy.c> and <string/mempcpy.c>.
11785 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
11787         * configure.ac (libc_cv_compiler_ok): Require GCC 4.6 or later.
11788         * configure: Regenerated.
11789         * manual/install.texi (Tools for Compilation): Document a
11790         requirement of GCC 4.6 or later and that GCC 4.9 is the newest
11791         compiler verified to work.
11792         * INSTALL: Regenerated.
11794         * include/string.h [NO_MEMPCPY_STPCPY_REDIRECT] (mempcpy): Do not
11795         redeclare with asm name.
11796         [NO_MEMPCPY_STPCPY_REDIRECT] (stpcpy): Likewise.
11797         * string/mempcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Define before
11798         including <string.h>.
11799         * string/stpcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
11800         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c
11801         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
11802         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c
11803         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
11804         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
11805         [SHARED && !NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
11807 2014-11-13  Joseph Myers  <joseph@codesourcery.com>
11809         * stdlib/strtol.c (__strtol): Use prototype definition.
11811         [BZ #17594]
11812         * stdlib/strtol.c (SYM__): New macro.
11813         (SYM__1): Likewise.
11814         (__strtol): Likewise.
11815         (strtol): Rename to __strtol and define as weak alias of
11816         __strtol.  Use libc_hidden_weak.
11818 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
11820         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START):
11821         Use numbered labels in inline assembly.
11823 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
11825         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp):
11826         Add setjmp LIBC_PROBE.
11827         * sysdeps/s390/s390-64/setjmp.S (__sigsetjmp):
11828         Likewise.
11829         * sysdeps/s390/s390-32/__longjmp.c (__longjmp):
11830         Add longjmp, longjmp_target LIBC_PROBE.
11831         * sysdeps/s390/s390-64/__longjmp.c (__longjmp):
11832         Likewise.
11834 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
11836         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
11837         Gate the definition of refsym additionally with !RTLD_BOOTSTRAP
11838         to get rid of unused variable warning.
11840 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
11842         * sysdeps/s390/s390-32/backtrace.c (__backtrace):
11843         Check for unwind_backtrace ==  NULL only in SHARED case.
11844         (__backchain_backtrace): Compile only in SHARED case.
11845         * sysdeps/s390/s390-64/backtrace.c (__backtrace):
11846         Likewise.
11847         (__backchain_backtrace): Declare as static.
11849 2014-11-12  Roland McGrath  <roland@hack.frob.com>
11851         * nptl/createthread.c [!TLS_MULTIPLE_THREADS_IN_TCB]
11852         (__libc_multiple_threads_ptr): Variable moved ...
11853         * nptl/nptl-init.c [!TLS_MULTIPLE_THREADS_IN_TCB]: ... here.
11855 2014-11-12  Joseph Myers  <joseph@codesourcery.com>
11857         * conform/GlibcConform.pm: New file.
11858         * conform/conformtest.pl: Use GlibcConform module.
11859         * conform/linknamespace.pl: New file.
11860         * conform/list-header-symbols.pl: Likewise.
11861         * conform/Makefile (linknamespace-symlists-base): New variable.
11862         (linknamespace-symlists-tests): Likewise.
11863         (linknamespace-header-base): Likewise.
11864         (linknamespace-header-tests): Likewise.
11865         (tests-special): Add new tests.
11866         ($(linknamespace-symlists-tests)): New rule.
11867         (linknamespace-libs): New variable.
11868         ($(objpfx)symlist-stdlibs): New rule.
11869         ($(linknamespace-header-tests)): Likewise.
11870         (test-xfail-XPG3/varargs.h/linknamespace): New variable.
11871         (test-xfail-XPG4/varargs.h/linknamespace): Likewise.
11872         (test-xfail-UNIX98/varargs.h/linknamespace): Likewise.
11873         (test-xfail-XPG4/ndbm.h/linknamespace): Likewise.
11874         (test-xfail-UNIX98/ndbm.h/linknamespace): Likewise.
11875         (test-xfail-XOPEN2K/ndbm.h/linknamespace): Likewise.
11876         (test-xfail-XOPEN2K8/ndbm.h/linknamespace): Likewise.
11877         (test-xfail-ISO/math.h/linknamespace): Likewise.
11878         (test-xfail-ISO/signal.h/linknamespace): Likewise.
11879         (test-xfail-ISO/stdio.h/linknamespace): Likewise.
11880         (test-xfail-ISO/time.h/linknamespace): Likewise.
11881         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
11882         (test-xfail-ISO99/ctype.h/linknamespace): Likewise.
11883         (test-xfail-ISO99/math.h/linknamespace): Likewise.
11884         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
11885         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
11886         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
11887         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
11888         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
11889         (test-xfail-ISO11/math.h/linknamespace): Likewise.
11890         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
11891         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
11892         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
11893         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
11894         (test-xfail-XPG3/fnmatch.h/linknamespace): Likewise.
11895         (test-xfail-XPG3/glob.h/linknamespace): Likewise.
11896         (test-xfail-XPG3/math.h/linknamespace): Likewise.
11897         (test-xfail-XPG3/regex.h/linknamespace): Likewise.
11898         (test-xfail-XPG3/search.h/linknamespace): Likewise.
11899         (test-xfail-XPG3/stdio.h/linknamespace): Likewise.
11900         (test-xfail-XPG3/time.h/linknamespace): Likewise.
11901         (test-xfail-XPG3/unistd.h/linknamespace): Likewise.
11902         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
11903         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
11904         (test-xfail-XPG4/fmtmsg.h/linknamespace): Likewise.
11905         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
11906         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
11907         (test-xfail-XPG4/grp.h/linknamespace): Likewise.
11908         (test-xfail-XPG4/libgen.h/linknamespace): Likewise.
11909         (test-xfail-XPG4/math.h/linknamespace): Likewise.
11910         (test-xfail-XPG4/netdb.h/linknamespace): Likewise.
11911         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
11912         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
11913         (test-xfail-XPG4/search.h/linknamespace): Likewise.
11914         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
11915         (test-xfail-XPG4/stdlib.h/linknamespace): Likewise.
11916         (test-xfail-XPG4/sys/mman.h/linknamespace): Likewise.
11917         (test-xfail-XPG4/sys/statvfs.h/linknamespace): Likewise.
11918         (test-xfail-XPG4/syslog.h/linknamespace): Likewise.
11919         (test-xfail-XPG4/time.h/linknamespace): Likewise.
11920         (test-xfail-XPG4/unistd.h/linknamespace): Likewise.
11921         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
11922         (test-xfail-POSIX/aio.h/linknamespace): Likewise.
11923         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
11924         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
11925         (test-xfail-POSIX/math.h/linknamespace): Likewise.
11926         (test-xfail-POSIX/mqueue.h/linknamespace): Likewise.
11927         (test-xfail-POSIX/pthread.h/linknamespace): Likewise.
11928         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
11929         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
11930         (test-xfail-POSIX/semaphore.h/linknamespace): Likewise.
11931         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
11932         (test-xfail-POSIX/time.h/linknamespace): Likewise.
11933         (test-xfail-POSIX/unistd.h/linknamespace): Likewise.
11934         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
11935         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
11936         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
11937         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
11938         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
11939         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
11940         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
11941         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
11942         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
11943         (test-xfail-UNIX98/mqueue.h/linknamespace): Likewise.
11944         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
11945         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
11946         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
11947         (test-xfail-UNIX98/regex.h/linknamespace): Likewise.
11948         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
11949         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
11950         (test-xfail-UNIX98/semaphore.h/linknamespace): Likewise.
11951         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
11952         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
11953         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
11954         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
11955         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
11956         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
11957         (test-xfail-UNIX98/unistd.h/linknamespace): Likewise.
11958         (test-xfail-UNIX98/wchar.h/linknamespace): Likewise.
11959         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
11960         (test-xfail-XOPEN2K/aio.h/linknamespace): Likewise.
11961         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
11962         (test-xfail-XOPEN2K/fcntl.h/linknamespace): Likewise.
11963         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
11964         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
11965         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
11966         (test-xfail-XOPEN2K/grp.h/linknamespace): Likewise.
11967         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
11968         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
11969         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
11970         (test-xfail-XOPEN2K/net/if.h/linknamespace): Likewise.
11971         (test-xfail-XOPEN2K/netdb.h/linknamespace): Likewise.
11972         (test-xfail-XOPEN2K/pthread.h/linknamespace): Likewise.
11973         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
11974         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
11975         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
11976         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
11977         (test-xfail-XOPEN2K/signal.h/linknamespace): Likewise.
11978         (test-xfail-XOPEN2K/spawn.h/linknamespace): Likewise.
11979         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
11980         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
11981         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
11982         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
11983         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
11984         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
11985         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
11986         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
11987         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
11988         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
11989         (test-xfail-POSIX2008/aio.h/linknamespace): Likewise.
11990         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
11991         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
11992         (test-xfail-POSIX2008/dirent.h/linknamespace): Likewise.
11993         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
11994         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
11995         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
11996         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
11997         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
11998         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
11999         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
12000         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
12001         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
12002         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
12003         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
12004         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
12005         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
12006         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
12007         (test-xfail-POSIX2008/unistd.h/linknamespace): Likewise.
12008         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
12009         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
12010         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
12011         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
12012         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
12013         (test-xfail-XOPEN2K8/grp.h/linknamespace): Likewise.
12014         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
12015         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
12016         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
12017         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
12018         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
12019         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
12020         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
12021         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
12022         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
12023         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
12024         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
12025         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
12026         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
12027         (test-xfail-XOPEN2K8/syslog.h/linknamespace): Likewise.
12028         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
12029         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
12030         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
12032         [BZ #17589]
12033         * intl/localealias.c [_LIBC] (FGETS): Use __fgets_unlocked instead
12034         of fgets_unlocked.
12036         [BZ #17585]
12037         * string/memmem.c [!_LIBC] (__memmem): Define to memmem.
12038         (memmem): Rename to __memmem and define as weak alias of
12039         __memmem.  Use libc_hidden_weak.
12040         (__memmem): Use libc_hidden_def.
12041         * include/string.h (__memmem): Declare.  Use libc_hidden_proto.
12042         * locale/findlocale.c (valid_locale_name): Use __memmem instead of
12043         memmem.
12045         [BZ #17582]
12046         * libio/iofgets.c [weak_alias && !_IO_MTSAFE_IO]
12047         (__fgets_unlocked): Add alias of _IO_fgets.  Use libc_hidden_def.
12048         * libio/iofgets_u.c (fgets_unlocked): Rename to __fgets_unlocked
12049         and define as weak alias of __fgets_unlocked.  Use
12050         libc_hidden_weak.
12051         (__fgets_unlocked): Use libc_hidden_def.
12052         * include/stdio.h (__fgets_unlocked): Declare.  Use
12053         libc_hidden_proto.
12054         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Use
12055         __fgets_unlocked instead of fgets_unlocked.
12056         * sysdeps/unix/sysv/linux/alpha/getsysstats.c
12057         (GET_NPROCS_CONF_PARSER): Likewise.
12058         * sysdeps/unix/sysv/linux/sparc/getsysstats.c
12059         (GET_NPROCS_CONF_PARSER): Likewise.
12061         [BZ #17574]
12062         * wcsmbs/wmemset.c (wmemset): Rename to __wmemset and define as
12063         weak alias of __wmemset.  Use libc_hidden_weak.
12064         (__wmemset): Use libc_hidden_def.
12065         * include/wchar.h (__wmemset): Declare.  Use libc_hidden_proto.
12066         * stdio-common/printf_fp.c (___printf_fp): Call __wmemset instead
12067         of wmemset.
12069         [BZ #17573]
12070         * include/string.h [NOT_IN_libc || !SHARED] (mempcpy): Declare
12071         with asm name __mempcpy.
12072         [NOT_IN_libc || !SHARED] (stpcpy): Declare with asm name __stpcpy.
12074         [BZ #17572]
12075         * sysdeps/x86_64/rawmemchr.S (rawmemchr): Rename to __rawmemchr
12076         and define as weak alias of __rawmemchr.
12077         (__rawmemchr): Do not define as strong alias of rawmemchr.
12079         [BZ #17571]
12080         * stdlib/msort.c (qsort_r): Rename to __qsort_r and define as weak
12081         alias of __qsort_r.
12082         (qsort): Call __qsort_r instead of qsort_r.
12083         * include/stdlib.h (qsort_r): Do not call libc_hidden_proto.
12084         (__qsort_r): Declare.  Call libc_hidden_proto.
12085         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Call __qsort_r
12086         instead of qsort_r.
12087         * nscd/gai.c (__qsort_r): Define to qsort_r.
12088         * posix/tst-rfc3484.c (__qsort_r): Likewise.
12089         * posix/tst-rfc3484-2.c (__qsort_r): Likewise.
12090         * posix/tst-rfc3484-3.c (__qsort_r): Likewise.
12092         [BZ #17570]
12093         * malloc/malloc.c (malloc_info): Rename to __malloc_info and
12094         define as weak alias of __malloc_info.
12096         [BZ #17584]
12097         * dirent/rewinddir.c (rewinddir): Rename to __rewinddir and define
12098         as weak alias of __rewinddir.  Don't use libc_hidden_def.
12099         (__rewinddir): Use libc_hidden_def.
12100         * sysdeps/mach/hurd/rewinddir.c: Rename to __rewinddir and define
12101         as weak alias of __rewinddir.  Don't use libc_hidden_def.
12102         (__rewinddir): Use libc_hidden_def.
12103         * sysdeps/posix/rewinddir.c: Rename to __rewinddir and define as
12104         weak alias of __rewinddir.  Don't use libc_hidden_def.
12105         (__rewinddir): Use libc_hidden_def.
12106         * include/dirent.h (rewinddir): Don't use libc_hidden_proto.
12107         (__rewinddir): Use libc_hidden_proto.
12108         * sysdeps/posix/getcwd.c [!_LIBC] (__rewinddir): Define to
12109         rewinddir.
12110         (__getcwd): Use __rewinddir instead of rewinddir.
12112         [BZ #17583]
12113         * libio/fileno.c (fileno): Rename to __fileno and define as weak
12114         alias of __fileno.  Use libc_hidden_weak.
12115         (__fileno): Use libc_hidden_def.
12116         [weak_alias] (fileno_unlocked): Define as weak alias of __fileno.
12117         * libio/ftello.c (ftello): Rename to __ftello and define as weak
12118         alias of __ftello.
12119         [__OFF_T_MATCHES_OFF64_T] (ftello64): Define as weak alias of
12120         __ftello.
12121         * libio/iofread.c [weak_alias && !_IO_MTSAFE_IO]
12122         (__fread_unlocked): Define as strong alias of _IO_fread.  Use
12123         libc_hidden_def.
12124         (fread_unlocked): Don't use libc_hidden_ver.
12125         * libio/iofread_u.c (fread_unlocked): Rename to __fread_unlocked
12126         and define as weak alias of __fread_unlocked.  Don't use
12127         libc_hidden_def.
12128         (__fread_unlocked): Use libc_hidden_def.
12129         * include/stdio.h (__fileno): Declare.  Use libc_hidden_proto.
12130         (ftello): Don't use libc_hidden_proto.
12131         (__ftello): Declare.  Use libc_hidden_proto.
12132         (fread_unlocked): Don't use libc_hidden_proto.
12133         (__fread_unlocked): Declare.  Use libc_hidden_proto.
12134         * time/tzfile.c (__tzfile_read): Use __fileno, __fread_unlocked
12135         and __ftello instead of fileno, fread_unlocked and ftello.
12137 2012-11-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
12139         * sysdeps/s390/s390-32/bcopy.S (__bcopy): Use GOT instead of
12140         GOT12.
12141         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
12142         Likewise.
12143         (_dl_start_user): Likewise.
12144         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp): Likewise.
12146 2014-11-12  Carlos O'Donell  <carlos@redhat.com>
12147             Siddhesh Poyarekar  <siddhesh@redhat.com>
12149         * sysdeps/s390/s390-32/dl-machine.h (_dl_start_user):
12150         Move argv and envp down instead of moving argc up.
12151         * sysdeps/s390/s390-32/dl-sysdep.h: New file.
12153 2014-11-12  Leonhard Holz  <leonhard.holz@web.de>
12155         [BZ #17506]
12156         * test-skeleton.c (main): Return successful if one of
12157         EXPECTED_SIGNAL or EXPECTED_STATUS is met when both given.
12158         * string/tst-strcoll-overflow.c: Define expected status.
12160 2014-11-12  Tatiana Udalova  <t.udalova@samsung.com>
12162         [BZ #17475]
12163         * locale/iso-639.def: Define Bhili and Tulu language codes.
12165 2014-11-11  Alan Hayward  <alan.hayward@arm.com>
12167         * sysdeps/unix/sysv/linux/aarch64/bits/ipc.h: New file.
12169 2014-11-10  Renlin Li  <Renlin.Li@arm.com>
12171         [BZ #17555]
12172         * sysdeps/aarch64/start.S (_start): Delete x29 overwritten assignment.
12174 2014-11-10  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
12176         * configure.ac: Updated check of minimal required version to
12177         2.22.
12178         * manual/install.texi (Tools for Compilation): Updated version
12179         number.
12180         * configure: Regenerated.
12181         * INSTALL: Likewise.
12183 2014-11-07  Andreas Schwab  <schwab@linux-m68k.org>
12185         * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Remove
12186         __tls_get_addr.
12188 2014-11-07  Joseph Myers  <joseph@codesourcery.com>
12190         * include/sys/wait.h (__libc_waitpid): Remove declaration.
12191         * posix/waitpid.c (__libc_waitpid): Rename to __waitpid.
12192         (__waitpid): Don't define as alias.  Use libc_hidden_def not
12193         libc_hidden_weak.
12194         (waitpid): Define as alias of __waitpid.
12195         * sysdeps/unix/bsd/waitpid.c (__libc_waitpid): Rename to
12196         __waitpid.
12197         (__waitpid): Don't define as alias.  Use libc_hidden_def not
12198         libc_hidden_weak.
12199         (waitpid): Define as alias of __waitpid.
12200         * sysdeps/unix/sysv/linux/i386/syscalls.list (waitpid): Remove
12201         __libc_waitpid alias.
12202         * sysdeps/unix/sysv/linux/m68k/syscalls.list (waitpid): Likewise.
12203         * sysdeps/unix/sysv/linux/powerpc/syscalls.list (waitpid):
12204         Likewise.
12205         * sysdeps/unix/sysv/linux/sh/syscalls.list (waitpid): Likewise.
12206         * sysdeps/unix/sysv/linux/sparc/syscalls.list (waitpid): Likewise.
12207         * sysdeps/unix/sysv/linux/tile/waitpid.S (__libc_waitpid): Remove
12208         alias.
12209         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Rename to
12210         __waitpid.
12211         (__waitpid): Don't define as alias.  Use libc_hidden_def not
12212         libc_hidden_weak.
12213         (waitpid): Define as alias of __waitpid.
12215 2014-11-06  Carlos O'Donell  <carlos@redhat.com>
12217         * manual/llio.texi: Add comment that write safety has been
12218         fixed in Linux.
12220         * elf/Makefile (all-built-dso): Add $(common-objpfx)elf/ld.so.
12221         (localplt-build-dso): Add elf/ld.so.
12222         * sysdeps/unix/sysv/linux/i386/localplt.data: Add ___tls_get_addr
12223         i.e. 3 underscore version, __libc_memalign, malloc, calloc, realloc,
12224         and free for ld.so.
12225         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: Add
12226         __libc_memalign, malloc, calloc, realloc, and free for ld.so.
12227         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data:
12228         Likewise.
12229         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
12230         Likewise.
12231         * sysdeps/unix/sysv/linux/s390/localplt.data: Likewise.
12232         * sysdeps/generic/localplt.data: Add __tls_get_addr i.e. 2 underscore
12233         version, __libc_memalign, malloc, calloc, realloc and free for ld.so.
12234         * sysdeps/unix/sysv/linux/aarch64/localplt.data: Likewise.
12235         * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
12236         * sysdeps/unix/sysv/linux/alpha/localplt.data: Likewise.
12237         * sysdeps/unix/sysv/linux/ia64/localplt.data: Likewise.
12238         * sysdeps/unix/sysv/linux/m68k/localplt.data: Likewise.
12239         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
12240         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Likewise.
12241         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
12243 2014-11-05  Joseph Myers  <joseph@codesourcery.com>
12245         [BZ #14132]
12246         * include/libc-symbols.h (INTUSE): Remove macro.
12247         (INTDEF): Likewise.
12248         (INTVARDEF): Likewise.
12249         (_INTVARDEF): Likewise.
12250         (INTDEF2): Likewise.
12251         (INTVARDEF2): Likewise.
12252         * elf/rtld.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Use
12253         rtld_hidden_def instead of INTVARDEF.
12254         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]
12255         (_dl_starting_up_internal): Remove declaration.
12256         (_dl_starting_up): Use rtld_hidden_proto.
12257         * elf/dl-init.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Remove
12258         declaration.
12259         [!HAVE_INLINED_SYSCALLS] (_dl_starting_up_internal): Likewise.
12260         (_dl_init) [!HAVE_INLINED_SYSCALLS]: Don't use INTUSE with
12261         _dl_starting_up.
12262         * elf/dl-writev.h (_dl_writev): Likewise.
12263         * sysdeps/powerpc/powerpc64/dl-machine.h [!HAVE_INLINED_SYSCALLS]
12264         (DL_STARTING_UP_DEF): Use __GI__dl_starting_up instead of
12265         _dl_starting_up_internal.
12267 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12269         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
12270         test-skeleton.c.
12272 2014-11-05  Will Newton  <will.newton@linaro.org>
12274         * benchtests/Makefile: (bench-malloc): Add malloc thread
12275         scalability benchmark.
12276         * benchtests/bench-malloc-threads.c: New file.
12278 2014-11-05  Richard Earnshaw  <rearnsha@arm.com>
12280         * sysdeps/aarch64/strchrnul.S: New file.
12282 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12284         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Simplify
12285         definition.
12286         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
12287         Likwise.
12288         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
12289         Likewise.
12290         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
12291         Likewise.
12292         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
12293         Likewise.
12294         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
12295         Likewise.
12297 2014-11-05  Arjun Shankar  <arjun.is@lostca.se>
12299         * catgets/test-gencat.c: Use test-skeleton.c.
12300         * catgets/tst-catgets.c: Likewise.
12301         * csu/tst-empty.c: Likewise.
12302         * elf/tst-audit2.c: Likewise.
12303         * elf/tst-global1.c: Likewise.
12304         * elf/tst-pathopt.c: Likewise.
12305         * elf/tst-piemod1.c: Likewise.
12306         * elf/tst-tls10.c: Likewise.
12307         * elf/tst-tls11.c: Likewise.
12308         * elf/tst-tls12.c: Likewise.
12309         * gnulib/tst-gcc.c: Likewise.
12310         * iconvdata/tst-e2big.c: Likewise.
12311         * iconvdata/tst-loading.c: Likewise.
12312         * iconv/tst-iconv1.c: Likewise.
12313         * iconv/tst-iconv2.c: Likewise.
12314         * inet/test-inet6_opt.c: Likewise.
12315         * inet/tst-gethnm.c: Likewise.
12316         * inet/tst-network.c: Likewise.
12317         * inet/tst-ntoa.c: Likewise.
12318         * intl/tst-codeset.c: Likewise.
12319         * intl/tst-gettext2.c: Likewise.
12320         * intl/tst-gettext3.c: Likewise.
12321         * intl/tst-ngettext.c: Likewise.
12322         * intl/tst-translit.c: Likewise.
12323         * io/test-stat.c: Likewise.
12324         * libio/test-fmemopen.c: Likewise.
12325         * libio/tst-freopen.c: Likewise.
12326         * libio/tst-sscanf.c: Likewise.
12327         * libio/tst-ungetwc1.c: Likewise.
12328         * libio/tst-ungetwc2.c: Likewise.
12329         * libio/tst-widetext.c: Likewise.
12330         * localedata/tst-ctype.c: Likewise.
12331         * localedata/tst-digits.c: Likewise.
12332         * localedata/tst-leaks.c: Likewise.
12333         * localedata/tst-mbswcs1.c: Likewise.
12334         * localedata/tst-mbswcs2.c: Likewise.
12335         * localedata/tst-mbswcs3.c: Likewise.
12336         * localedata/tst-mbswcs4.c: Likewise.
12337         * localedata/tst-mbswcs5.c: Likewise.
12338         * localedata/tst-setlocale.c: Likewise.
12339         * localedata/tst-trans.c: Likewise.
12340         * localedata/tst-wctype.c: Likewise.
12341         * localedata/tst-xlocale1.c: Likewise.
12342         * login/tst-grantpt.c: Likewise.
12343         * malloc/tst-calloc.c: Likewise.
12344         * malloc/tst-malloc.c: Likewise.
12345         * malloc/tst-mallocstate.c: Likewise.
12346         * malloc/tst-mcheck.c: Likewise.
12347         * malloc/tst-mtrace.c: Likewise.
12348         * malloc/tst-obstack.c: Likewise.
12349         * math/atest-exp2.c: Likewise.
12350         * math/atest-exp.c: Likewise.
12351         * math/atest-sincos.c: Likewise.
12352         * math/test-matherr.c: Likewise.
12353         * math/test-misc.c: Likewise.
12354         * math/test-powl.c: Likewise.
12355         * math/tst-definitions.c: Likewise.
12356         * misc/tst-dirname.c: Likewise.
12357         * misc/tst-efgcvt.c: Likewise.
12358         * misc/tst-fdset.c: Likewise.
12359         * misc/tst-hsearch.c: Likewise.
12360         * misc/tst-mntent2.c: Likewise.
12361         * nptl/tst-sem7.c: Likewise.
12362         * nptl/tst-sem8.c: Likewise.
12363         * nptl/tst-sem9.c: Likewise.
12364         * nss/test-netdb.c: Likewise.
12365         * posix/tst-fnmatch.c: Likewise.
12366         * posix/tst-getlogin.c: Likewise.
12367         * posix/tst-gnuglob.c: Likewise.
12368         * posix/tst-mmap.c: Likewise.
12369         * pwd/tst-getpw.c: Likewise.
12370         * resolv/tst-inet_ntop.c: Likewise.
12371         * rt/tst-timer.c: Likewise.
12372         * stdio-common/test-fseek.c: Likewise.
12373         * stdio-common/test-popen.c: Likewise.
12374         * stdio-common/test-vfprintf.c: Likewise.
12375         * stdio-common/tst-cookie.c: Likewise.
12376         * stdio-common/tst-fileno.c: Likewise.
12377         * stdio-common/tst-gets.c: Likewise.
12378         * stdio-common/tst-obprintf.c: Likewise.
12379         * stdio-common/tst-perror.c: Likewise.
12380         * stdio-common/tst-sprintf2.c: Likewise.
12381         * stdio-common/tst-sprintf3.c: Likewise.
12382         * stdio-common/tst-sprintf.c: Likewise.
12383         * stdio-common/tst-swprintf.c: Likewise.
12384         * stdio-common/tst-tmpnam.c: Likewise.
12385         * stdio-common/tst-unbputc.c: Likewise.
12386         * stdio-common/tst-wc-printf.c: Likewise.
12387         * stdlib/tst-environ.c: Likewise.
12388         * stdlib/tst-fmtmsg.c: Likewise.
12389         * stdlib/tst-limits.c: Likewise.
12390         * stdlib/tst-rand48-2.c: Likewise.
12391         * stdlib/tst-rand48.c: Likewise.
12392         * stdlib/tst-random2.c: Likewise.
12393         * stdlib/tst-random.c: Likewise.
12394         * stdlib/tst-strtol.c: Likewise.
12395         * stdlib/tst-strtoll.c: Likewise.
12396         * stdlib/tst-tls-atexit.c: Likewise.
12397         * stdlib/tst-xpg-basename.c: Likewise.
12398         * string/test-ffs.c: Likewise.
12399         * string/tst-bswap.c: Likewise.
12400         * string/tst-inlcall.c: Likewise.
12401         * string/tst-strtok.c: Likewise.
12402         * string/tst-strxfrm.c: Likewise.
12403         * sysdeps/x86_64/tst-audit10.c: Likewise.
12404         * sysdeps/x86_64/tst-audit3.c: Likewise.
12405         * sysdeps/x86_64/tst-audit4.c: Likewise.
12406         * sysdeps/x86_64/tst-audit5.c: Likewise.
12407         * time/tst-ftime_l.c: Likewise.
12408         * time/tst-getdate.c: Likewise.
12409         * time/tst-mktime3.c: Likewise.
12410         * time/tst-mktime.c: Likewise.
12411         * time/tst-posixtz.c: Likewise.
12412         * time/tst-strptime2.c: Likewise.
12413         * time/tst-strptime3.c: Likewise.
12414         * wcsmbs/tst-btowc.c: Likewise.
12415         * wcsmbs/tst-mbrtowc.c: Likewise.
12416         * wcsmbs/tst-mbsrtowcs.c: Likewise.
12417         * wcsmbs/tst-wchar-h.c: Likewise.
12418         * wcsmbs/tst-wcpncpy.c: Likewise.
12419         * wcsmbs/tst-wcrtomb.c: Likewise.
12420         * wcsmbs/tst-wcsnlen.c: Likewise.
12421         * wcsmbs/tst-wcstof.c: Likewise.
12423 2014-11-04  Joseph Myers  <joseph@codesourcery.com>
12425         [BZ #14132]
12426         * elf/dl-profile.c (_dl_mcount): Use rtld_hidden_def instead of
12427         INTDEF.
12428         * sysdeps/generic/ldsodefs.h (_dl_mcount_internal): Remove
12429         declaration.
12430         (_dl_mcount): Use rtld_hidden_proto.
12431         * elf/dl-runtime.c (_dl_profile_fixup): Don't use INTUSE with
12432         _dl_mcount.
12433         * elf/rtld.c (_rtld_global_ro): Likewise.
12435         [BZ #14132]
12436         * elf/dl-init.c (_dl_init): Don't use INTDEF.
12437         * sysdeps/aarch64/dl-machine.h (RTLD_START): Use _dl_init instead
12438         of _dl_init_internal.
12439         * sysdeps/alpha/dl-machine.h (RTLD_START): Likewise.
12440         * sysdeps/arm/dl-machine.h (RTLD_START): Likewise.
12441         * sysdeps/hppa/dl-machine.h (RTLD_START): Likewise.
12442         * sysdeps/i386/dl-machine.h (RTLD_START): Likewise.
12443         * sysdeps/ia64/dl-machine.h (RTLD_START): Likewise.
12444         * sysdeps/m68k/dl-machine.h (RTLD_START): Likewise.
12445         * sysdeps/microblaze/dl-machine.h (RTLD_START): Likewise.
12446         * sysdeps/mips/dl-machine.h (RTLD_START): Likewise.
12447         * sysdeps/powerpc/powerpc32/dl-start.S (_start): Likewise.
12448         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START): Likewise.
12449         * sysdeps/s390/s390-64/dl-machine.h (RTLD_START): Likewise.
12450         * sysdeps/sh/dl-machine.h (RTLD_START): Likewise.
12451         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
12452         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
12453         * sysdeps/tile/dl-start.S (_start): Likewise.
12454         * sysdeps/x86_64/dl-machine.h (RTLD_START): Likewise.
12455         * sysdeps/x86_64/x32/dl-machine.h (RTLD_START): Likewise.
12457         [BZ #14132]
12458         * sysdeps/generic/ldsodefs.h (_dl_argv): Use rtld_hidden_proto.
12459         [IS_IN_rtld] (_dl_argv_internal): Do not declare.
12460         (rtld_progname): Make macro definition unconditional.
12461         * elf/rtld.c (_dl_argv): Use rtld_hidden_data_def instead of
12462         INTDEF.
12463         (dlmopen_doit): Do not use INTUSE with _dl_argv.
12464         (dl_main): Likewise.
12465         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
12466         * sysdeps/alpha/dl-machine.h (RTLD_START): Use __GI__dl_argv
12467         instead of _dl_argv_internal.
12468         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
12469         __GI__dl_argv instead of INTUSE(_dl_argv).
12470         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Use
12471         __GI__dl_argv instead of _dl_argv_internal.
12473         * soft-fp/op-common.h (_FP_TO_INT_ROUND): New macro.
12474         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_D): New
12475         macro.
12476         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_D): Likewise.
12477         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_E):
12478         New macro.
12479         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_E): Likewise.
12480         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_Q): New
12481         macro.
12482         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_Q): Likewise.
12483         * soft-fp/single.h (FP_TO_INT_ROUND_S): New macro.
12485 2014-11-04  Andreas Schwab  <schwab@suse.de>
12487         * posix/regex_internal.h: Don't include <locale/elem-hash.h>.
12489 2014-11-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12491         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Encode
12492         mtvsrd instruction in binary form.
12494 2014-11-03  Andreas Schwab  <schwab@suse.de>
12496         [BZ #17522]
12497         * libio/wfileops.c (_IO_wdo_write): If the file buffer has room
12498         for less than MB_LEN_MAX use a local buffer of that size.
12499         * libio/tst-fputws.c: New file.
12500         * libio/Makefile (tests): Add tst-fputws.
12502 2014-11-01  Jose E. Marchesi  <jose.marchesi@oracle.com>
12504         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu): fix
12505         the size of the fpu_fr.fpu_dregs[] array.
12507 2014-11-01  Joseph Myers  <joseph@codesourcery.com>
12509         * posix/nanosleep.c (__libc_nanosleep): Rename to __nanosleep.
12510         (__nanosleep): Do not define as alias.
12511         (nanosleep): Define as alias of __nanosleep.
12512         * sysdeps/unix/sysv/linux/syscalls.list (nanosleep): Remove
12513         __libc_nanosleep name.
12515 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
12517         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): Mention need to update
12518         install.texi in comment.
12520 2014-10-31  Torvald Riegel  <triegel@redhat.com>
12522         * sysdeps/powerpc/bits/atomic.h (atomic_write_barrier): Remove and...
12523         * sysdeps/powerpc/powerpc32/bits/atomic.h (atomic_write_barrier):
12524         ... add here and use lwsync or sync ...
12525         * sysdeps/powerpc/powerpc64/bits/atomic.h (atomic_write_barrier):
12526         ... and add here using lwsync.
12528 2014-10-31  Matthew Fortune  <matthew.fortune@imgtec.com>
12530         * elf/dl-machine-reject-phdr.h: New file.
12531         * elf/dl-load.c: #include that.
12532         (open_verify): Call elf_machine_reject_phdr_p and ignore the file
12533         if that returned true.
12535 2014-10-31  Roland McGrath  <roland@hack.frob.com>
12537         [BZ #17496]
12538         * Makerules: Move gnu/lib-names.h generation chunk up, to right after
12539         gen-as-const-headers chunk.  Add a big scare comment after the last
12540         safe place to touch before-compile.
12542 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
12544         * manual/install.texi (Tools for Compilation): Update autoconf
12545         version requirements.
12546         * INSTALL: Regenerated.
12548         * misc/pselect.c [!__pselect] (__libc_pselect): Remove alias.
12549         * sysdeps/unix/sysv/linux/pselect.c [__NR_pselect6]
12550         (__libc_pselect): Likewise.
12552         [BZ #14138]
12553         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Remove file.
12554         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
12555         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
12556         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
12558 2014-10-31  Torvald Riegel  <triegel@redhat.com>
12560         * sysdeps/sparc/sparc32/bits/atomic.h (atomic_write_barrier): Use
12561         correct barrier instruction.
12562         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_write_barrier):
12563         Likewise.
12564         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_write_barrier):
12565         Likewise.
12567 2014-10-30  Roland McGrath  <roland@hack.frob.com>
12569         * include/ctype.h: Include <ctype/ctype.h> first thing rather than
12570         after defining inlines.  Instead, just use parens to defeat macro
12571         expansion of __isctype in its declaration.
12573 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
12575         * include/sys/uio.h (__libc_readv): Remove declaration.
12576         (__libc_writev): Likewise.
12577         * misc/readv.c (__libc_readv): Rename to __readv.
12578         (__readv): Do not define as alias.
12579         (readv): Define as alias of __readv.
12580         * misc/writev.c (__libc_writev): Rename to __writev.
12581         (__writev): Do not define as alias.
12582         (writev): Define as alias of __writev.
12583         * sysdeps/posix/readv.c (__libc_readv): Rename to __readv.
12584         (__readv): Do not define as alias.
12585         (readv): Define unconditionally as alias of __readv.
12586         * sysdeps/posix/writev.c (__libc_writev): Rename to __writev.
12587         (__writev): Do not define as alias.
12588         (writev): Define unconditionally as alias of __writev.
12589         * sysdeps/unix/syscalls.list (readv): Do not define __libc_readv
12590         name.
12591         (writev): Do not define __libc_writev name.
12593 2014-10-30  Roland McGrath  <roland@hack.frob.com>
12595         * iconv/iconv_charmap.c (add_bytes): Make IN argument pointer to const.
12596         (convert_charseq): New function, broken out of ...
12597         (use_from_charmap): ... here.  Call it.
12598         (use_to_charmap): Use convert_charseq and free instead of duplicating
12599         its code with a variable-length stack struct.
12601 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
12603         * include/fcntl.h (__libc_creat): Remove declaration.
12604         * io/creat.c (__libc_creat): Rename to creat.
12605         (creat): Do not define as alias.
12606         * sysdeps/unix/sysv/linux/alpha/creat.c (creat64): Define as alias
12607         of creat instead of __libc_creat.
12608         * sysdeps/unix/sysv/linux/generic/creat.c (__libc_creat): Rename
12609         to creat.
12610         (creat): Do not define as alias.
12611         [__WORDSIZE == 64] (creat64): Define as alias of creat instead of
12612         __libc_creat.
12613         * sysdeps/unix/sysv/linux/syscalls.list (creat): Do not define
12614         __libc_creat name.
12615         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (creat):
12616         Likewise.
12618 2014-10-29  Carlos O'Donell  <carlos@redhat.com>
12620         * manual/llio.texi: Add comments discussing why write() may be
12621         considered MT-unsafe on Linux.
12623 2014-10-28  Carlos O'Donell  <carlos@redhat.com>
12625         * dl-load.c (local_strdup): Remove.
12626         (expand_dynamic_string_token): Use __strdup.
12627         (decompose_rpath): Likewise.
12628         (_dl_map_object): Likewise.
12630 2014-10-28  Joseph Myers  <joseph@codesourcery.com>
12632         [BZ #14132]
12633         * sysdeps/generic/unwind-dw2-fde.c
12634         (__register_frame_info_bases_internal): Do not declare.
12635         (__register_frame_info_table_bases_internal): Likewise.
12636         (__deregister_frame_info_bases_internal): Likewise.
12637         (__register_frame_info_bases): Declare and use hidden_proto before
12638         definition.  Use hidden_def instead of INTDEF.
12639         (__register_frame_info_table_bases): Likewise.
12640         (__deregister_frame_info_bases): Likewise.
12641         (__register_frame_info): Do not use INTUSE.
12642         (__register_frame): Likewise.
12643         (__register_frame_info_table): Likewise.
12644         (__register_frame_table): Likewise.
12645         (__deregister_frame_info): Likewise.
12646         (__deregister_frame): Likewise.
12648 2014-10-27  Gratian Crisan  <gratian.crisan@ni.com>
12650         * sysdeps/unix/sysv/linux/arm/kernel-features.h
12651         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_FUTEX_LOCK_PI): Do
12652         not undefine.
12653         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_REQUEUE_PI):
12654         Likewise.
12655         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_SET_ROBUST_LIST):
12656         Likewise.
12658 2014-10-27  Joseph Myers  <joseph@codesourcery.com>
12660         [BZ #14138]
12661         * sysdeps/unix/sysv/linux/arm/setfsgid.c: Remove file.
12662         * sysdeps/unix/sysv/linux/arm/setfsuid.c: Likewise.
12663         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
12664         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
12665         * sysdeps/unix/sysv/linux/m68k/setfsgid.c: Likewise.
12666         * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Likewise.
12667         * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: Likewise.
12668         * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: Likewise.
12669         * sysdeps/unix/sysv/linux/sh/setfsgid.c: Likewise.
12670         * sysdeps/unix/sysv/linux/sh/setfsuid.c: Likewise.
12671         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: Likewise.
12672         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: Likewise.
12673         * sysdeps/unix/sysv/linux/arm/syscalls.list (setfsgid): Add
12674         syscall.
12675         (setfsuid): Likewise.
12676         * sysdeps/unix/sysv/linux/i386/syscalls.list (setfsgid): Likewise.
12677         (setfsuid): Likewise.
12678         * sysdeps/unix/sysv/linux/m68k/syscalls.list (setfsgid): Likewise.
12679         (setfsuid): Likewise.
12680         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setfsgid):
12681         Likewise.
12682         (setfsuid): Likewise.
12683         * sysdeps/unix/sysv/linux/sh/syscalls.list (setfsgid): Likewise.
12684         (setfsuid): Likewise.
12685         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (setfsgid):
12686         Likewise.
12687         (setfsuid): Likewise.
12689 2014-10-27  Andreas Schwab  <schwab@suse.de>
12691         [BZ #17501]
12692         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Fix
12693         check for Slow_SSE4_2 feature bit.
12694         * sysdeps/i386/i686/multiarch/strcmp.S (STRCMP): Likewise.
12695         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
12696         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP, __strcascmp):
12697         Likewise.  Fix check for Fast_Unaligned_Load feature bit.
12699 2014-10-24  Roland McGrath  <roland@hack.frob.com>
12701         * configure.ac: Validate compiler version with a empirical test of
12702         __GNUC__ and __GNUC_MINOR__ predefined values, rather than by grepping
12703         $CC -v output.
12704         * configure: Regenerated.
12706         * inet/htons.c (htons): Prototypify.
12707         * inet/htonl.c (htonl): Likewise.
12709 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
12711         * string/strncat.c (strncat): Improve performance by using strlen.
12713 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
12715         * string/strcat.c (strcat): Improve performance by using strlen/strcpy.
12717 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
12719         * sysdeps/aarch64/fpu/fgetexcptflg.c (fegetexceptflag):
12720         Call libc_fetestexcept_aarch64.
12722 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
12724         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept):
12725         Call libc_feholdexcept_aarch64.
12727 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
12729         * sysdeps/aarch64/fpu/fegetround.c (fegetround):
12730         Call get_rounding_mode.
12732 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
12734         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
12735         Simplify logic.
12737 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
12739         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept):
12740         Simplify logic.
12742 2014-10-24  Joseph Myers  <joseph@codesourcery.com>
12744         [BZ #14138]
12745         * sysdeps/unix/sysv/linux/arm/getegid.c: Remove file.
12746         * sysdeps/unix/sysv/linux/arm/geteuid.c: Likewise.
12747         * sysdeps/unix/sysv/linux/arm/getgid.c: Likewise.
12748         * sysdeps/unix/sysv/linux/arm/getgroups.c: Likewise.
12749         * sysdeps/unix/sysv/linux/arm/getresgid.c: Likewise.
12750         * sysdeps/unix/sysv/linux/arm/getresuid.c: Likewise.
12751         * sysdeps/unix/sysv/linux/arm/getuid.c: Likewise.
12752         * sysdeps/unix/sysv/linux/i386/getegid.c: Likewise.
12753         * sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise.
12754         * sysdeps/unix/sysv/linux/i386/getgid.c: Likewise.
12755         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
12756         * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
12757         * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
12758         * sysdeps/unix/sysv/linux/i386/getuid.c: Likewise.
12759         * sysdeps/unix/sysv/linux/m68k/getegid.c: Likewise.
12760         * sysdeps/unix/sysv/linux/m68k/geteuid.c: Likewise.
12761         * sysdeps/unix/sysv/linux/m68k/getgid.c: Likewise.
12762         * sysdeps/unix/sysv/linux/m68k/getgroups.c: Likewise.
12763         * sysdeps/unix/sysv/linux/m68k/getresgid.c: Likewise.
12764         * sysdeps/unix/sysv/linux/m68k/getresuid.c: Likewise.
12765         * sysdeps/unix/sysv/linux/m68k/getuid.c: Likewise.
12766         * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: Likewise.
12767         * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: Likewise.
12768         * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: Likewise.
12769         * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: Likewise.
12770         * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: Likewise.
12771         * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: Likewise.
12772         * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: Likewise.
12773         * sysdeps/unix/sysv/linux/sh/getegid.c: Likewise.
12774         * sysdeps/unix/sysv/linux/sh/geteuid.c: Likewise.
12775         * sysdeps/unix/sysv/linux/sh/getgid.c: Likewise.
12776         * sysdeps/unix/sysv/linux/sh/getgroups.c: Likewise.
12777         * sysdeps/unix/sysv/linux/sh/getresgid.c: Likewise.
12778         * sysdeps/unix/sysv/linux/sh/getresuid.c: Likewise.
12779         * sysdeps/unix/sysv/linux/sh/getuid.c: Likewise.
12780         * sysdeps/unix/sysv/linux/sparc/sparc32/getegid.c: Likewise.
12781         * sysdeps/unix/sysv/linux/sparc/sparc32/geteuid.c: Likewise.
12782         * sysdeps/unix/sysv/linux/sparc/sparc32/getgid.c: Likewise.
12783         * sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: Likewise.
12784         * sysdeps/unix/sysv/linux/sparc/sparc32/getuid.c: Likewise.
12785         * sysdeps/unix/sysv/linux/arm/syscalls.list (getegid): Add
12786         syscall.
12787         (geteuid): Likewise.
12788         (getgid): Likewise.
12789         (getuid): Likewise.
12790         (getresgid): Likewise.
12791         (getresuid): Likewise.
12792         (getgroups): Likewise.
12793         * sysdeps/unix/sysv/linux/i386/syscalls.list (getegid): Likewise.
12794         (geteuid): Likewise.
12795         (getgid): Likewise.
12796         (getuid): Likewise.
12797         (getresgid): Likewise.
12798         (getresuid): Likewise.
12799         (getgroups): Likewise.
12800         * sysdeps/unix/sysv/linux/m68k/syscalls.list (getegid): Likewise.
12801         (geteuid): Likewise.
12802         (getgid): Likewise.
12803         (getuid): Likewise.
12804         (getresgid): Likewise.
12805         (getresuid): Likewise.
12806         (getgroups): Likewise.
12807         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (getegid):
12808         Likewise.
12809         (geteuid): Likewise.
12810         (getgid): Likewise.
12811         (getuid): Likewise.
12812         (getresgid): Likewise.
12813         (getresuid): Likewise.
12814         (getgroups): Likewise.
12815         * sysdeps/unix/sysv/linux/sh/syscalls.list (getegid): Likewise.
12816         (geteuid): Likewise.
12817         (getgid): Likewise.
12818         (getuid): Likewise.
12819         (getresgid): Likewise.
12820         (getresuid): Likewise.
12821         (getgroups): Likewise.
12822         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (getegid):
12823         Likewise.
12824         (geteuid): Likewise.
12825         (getgid): Likewise.
12826         (getuid): Likewise.
12827         (getgroups): Likewise.
12829         [BZ #14138]
12830         * sysdeps/unix/sysv/linux/i386/chown.c: Remove file.
12831         * sysdeps/unix/sysv/linux/i386/fchown.c: Likewise.
12832         * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
12833         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
12834         * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: Remove file.
12835         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Likewise.
12836         * sysdeps/unix/sysv/linux/sh/chown.c: Likewise.
12837         * sysdeps/unix/sysv/linux/sh/fchown.c: Likewise.
12838         * sysdeps/unix/sysv/linux/sh/lchown.c: Likewise.
12839         * sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: Likewise.
12840         * sysdeps/unix/sysv/linux/sparc/sparc32/fchown.c: Likewise.
12841         * sysdeps/unix/sysv/linux/sparc/sparc32/lchown.c: Likewise.
12842         * sysdeps/unix/sysv/linux/s390/s390-32/Versions (GLIBC_2.1): Add
12843         __chown.
12844         * sysdeps/unix/sysv/linux/i386/syscalls.list (chown): Add syscall.
12845         (lchown): Likewise.
12846         (fchown): Likewise.
12847         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (chown):
12848         Likewise.
12849         (lchown): Likewise.
12850         (fchown): Likewise.
12851         * sysdeps/unix/sysv/linux/sh/syscalls.list (chown): Likewise.
12852         (lchown): Likewise.
12853         (fchown): Likewise.
12854         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (chown):
12855         Likewise.
12856         (lchown): Likewise.
12857         (fchown): Likewise.
12859 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
12861         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept):
12862         Simplify logic.
12864 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
12866         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
12867         Cleanup logic.
12869 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
12871         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
12872         Remove unused include.
12874 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
12876         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Remove spaces.
12877         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Remove spaces.
12878         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Remove spaces.
12879         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Remove spaces.
12881 2014-10-23  Carlos O'Donell  <carlos@systemhalted.org>
12882             Helge Deller <deller@gmx.de>
12884         [BZ #17508]
12885         * sysdeps/unix/sysv/linux/hppa/bits/signum.h: Remove SIGEMT.
12886         Define SIGSTKFLT as 7. Define SIGSYS as 31. Define SIGXCPU as 12.
12887         Remove SIGLOST. Define SIGXFSZ as 30. Define __SIGRTMIN as 32.
12889 2014-10-23  Joseph Myers  <joseph@codesourcery.com>
12891         [BZ #14132]
12892         * sysdeps/powerpc/powerpc32/libgcc-compat.S (__ashldi3_v_glibc20):
12893         Remove macro definition.
12894         (__ashrdi3_v_glibc20): Likewise.
12895         (__lshrdi3_v_glibc20): Likewise.
12896         (__cmpdi2_v_glibc20): Likewise.
12897         (__ucmpdi2_v_glibc20): Likewise.
12898         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixdfdi_v_glibc20): Likewise.
12899         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
12900         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
12901         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
12902         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
12903         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdisf_v_glibc20): Likewise.
12905 2014-10-22  Roland McGrath  <roland@hack.frob.com>
12907         * inet/netgroup.h (struct name_list): Use C99 [] syntax rather than
12908         old GNU extension [0] syntax.
12909         * nscd/nscd_helper.c (open_socket): Use a flexible array member and
12910         alloca rather than an array member with variable length.
12911         * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
12912         * nscd/nscd.c (invalidate_db): New function, broken out of ...
12913         (parse_opt): ... here.  Likewise use alloca there.
12914         Validate the -i argument before checking for rootness.
12915         (send_shutdown): New function, broken out of ...
12916         (parse_opt): ... here.
12918 2014-10-22  Roland McGrath  <roland@hack.frob.com>
12920         * sysdeps/arm/__longjmp.S [NEED_HWCAP] [IS_IN_rtld]: Use LDST_PCREL
12921         macro to get at the _rt_local_ro field.
12922         [NEED_HWCAP] [!IS_IN_rtld]: Use LDR_GLOBAL to get at _rtld_global_ro
12923         ([PIC] case) or _dl_hwcap ([!PIC] case).
12924         * sysdeps/arm/setjmp.S: Likewise.
12926         * config.h.in (ARM_PCREL_MOVW_OK): New macro.
12927         * sysdeps/arm/configure.ac: New check to define it.
12928         * sysdeps/arm/configure: Regenerated.
12929         * sysdeps/arm/sysdep.h [__ASSEMBLER__]: Include <arm-features.h>.
12930         (LDST_INDEXED_NOINDEX, LDST_INDEXED_INDEX): New macros.
12931         (LDST_INDEXED, LDST_PC_INDEXED): New macros, differing definitions
12932         depending on [ARM_NO_INDEX_REGISTER] and [__thumb2__].
12933         (LDST_PCREL) [!__thumb2__ && ARCH_HAS_T2 && ARM_PCREL_MOVW_OK]:
12934         Use move/movt pair instead of a load.
12935         (LDST_GLOBAL): Macro removed.
12936         (LDR_GLOBAL): New macro replaces it.
12937         (LDR_HIDDEN): New macro.
12938         (PTR_MANGLE_LOAD): Use LDR_GLOBAL rather than LDST_GLOBAL.
12939         Use LDR_HIDDEN instead for __pointer_chk_guard_local.
12941         * setjmp/tst-setjmp-static.c: New file.
12942         * setjmp/Makefile (tests): Add it.
12943         (tests-static): New variable.
12945 2014-10-22  Maciej W. Rozycki  <macro@codesourcery.com>
12947         [BZ #17485]
12948         * sysdeps/unix/sysv/linux/mips/vfork.S (__libc_vfork): Define.
12950 2014-10-21  Joseph Myers  <joseph@codesourcery.com>
12952         [BZ #14132]
12953         * math/s_ldexpf.c (__ldexpf): Do not use INTDEF.
12955 2014-10-21  Roland McGrath  <roland@hack.frob.com>
12957         * nptl/version.c (__nptl_main): Call __libc_write, not __write.
12959 2014-10-20  Roland McGrath  <roland@hack.frob.com>
12961         * io/fts.c (dirent_not_directory): New function.
12962         (fts_build): Call it.
12964 2014-10-20  Roland McGrath  <roland@hack.frob.com>
12966         * nptl/version.c (__nptl_main): Use normal __write rather than
12967         INTERNAL_SYSCALL.
12968         (banner): Update copyright years.
12970         * nptl/pthread_rwlock_timedrdlock.c: #include <sys/time.h> before using
12971         gettimeofday.
12972         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
12973         * nptl/pthread_cond_timedwait.c: Likewise.
12974         * nptl/pthread_mutex_timedlock.c: Likewise.
12975         * nptl/sem_timedwait.c: Likewise.
12977         * sysdeps/nptl/bits/libc-lock.h
12978         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
12979         (__libc_lock_init_recursive): Return void, not 0.
12980         * sysdeps/nptl/bits/libc-lockP.h (__libc_lock_init): Likewise.
12981         (__libc_rwlock_init): Likewise.
12982         * sysdeps/nptl/bits/stdio-lock.h (_IO_lock_init): Likewise.
12984 2014-10-20  Torvald Riegel  <triegel@redhat.com>
12986         [BZ #15215]
12987         * nptl/pthread_once.c (__pthread_once): Split out fast path to ...
12988         (__pthread_once_slow): ... here.
12989         * sysdeps/unix/sysv/linux/i386/pthread_once.S: Remove file.
12990         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Remove file.
12992 2014-10-20  Torvald Riegel  <triegel@redhat.com>
12994         [BZ #15215]
12995         * nptl/pthreadP.h (__PTHREAD_ONCE_INPROGRESS, __PTHREAD_ONCE_DONE,
12996         __PTHREAD_ONCE_FORK_GEN_INCR): New.
12997         * sysdeps/nptl/fork.c (__libc_fork): Use them.
12998         * nptl/pthread_once.c (__pthread_once): Likewise.
12999         Update comments.
13001 2014-10-20  Joseph Myers  <joseph@codesourcery.com>
13003         [BZ #14138]
13004         * sysdeps/unix/syscalls.list (readv): Use __libc_readv as strong
13005         name.
13006         (writev): Use __libc_writev as strong name.
13007         * sysdeps/unix/sysv/linux/readv.c: Remove file.
13008         * sysdeps/unix/sysv/linux/writev.c: Likewise.
13010 2014-10-17  Roland McGrath  <roland@hack.frob.com>
13012         * nptl/createthread.c (TLS_DEFINE_INIT_TP, TLS_VALUE): Macros removed.
13014         * sysdeps/i386/nptl/tls.h
13015         (THREAD_SELF_SYSINFO, THREAD_SYSINFO): Macros removed.
13016         [NEED_DL_SYSINFO] (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO):
13017         New macros.
13018         * sysdeps/ia64/nptl/tls.h [NEED_DL_SYSINFO]
13019         (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO): New macros.
13020         * nptl/allocatestack.c (allocate_stack) [NEED_DL_SYSINFO]:
13021         Call SETUP_THREAD_SYSINFO instead of doing an assignment.
13022         * nptl/createthread.c (create_thread) [NEED_DL_SYSINFO]:
13023         Call CHECK_THREAD_SYSINFO instead of doing an assert.
13025         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
13026         Conditionalize FUTEX_PRIVATE_FLAG and FUTEX_CLOCK_REALTIME probes
13027         on [__NR_futex].
13028         * nptl/pthread_mutex_init.c (prio_inherit_missing): New function,
13029         broken out of ...
13030         (__pthread_mutex_init): ... here.  Call it.
13031         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full):
13032         Conditionalize PI cases on [__NR_futex].
13033         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
13034         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
13035         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
13037         * nptl/nptl-init.c (sighandler_setxid, __xidcmd): Make definitions
13038         conditional on [SIGSETXID].
13039         (sigcancel_handler): Make definition conditional on [SIGCANCEL].
13040         (__pthread_initialize_minimal_internal): Set up SIGCANCEL only if it
13041         is defined.  Likewise for SIGSETXID.
13042         * nptl/allocatestack.c (setxid_mark_thread, setxid_unmark_thread):
13043         Conditionalize definitions on [SIGSETXID].
13044         (setxid_signal_thread, __nptl_setxid_error, __nptl_setxid): Likewise.
13045         * nptl/pthread_create.c (start_thread): Conditionalize SIGCANCEL
13046         unblocking on [SIGCANCEL].
13048         * nptl/nptl-init.c (__nptl_set_robust): Conditionalize body on
13049         [__NR_set_robust_list].
13051 2014-10-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
13053         * string/strcoll_l.c (get_next_seq): Fix up formatting.
13054         (do_compare): Likewise.
13056 2014-10-17  Leonhard Holz  <leonhard.holz@web.de>
13058         [BZ #15884]
13059         * string/strcoll_l.c: Don't include stdio.h.
13060         (coll_seq): Remove members idxarr and rulearr.
13061         (get_next_seq_cached): Remove function.
13062         (get_next_seq): Likewise.
13063         (get_next_seq_nocache): Rename to get_next_seq.
13064         (do_compare): Remove function.
13065         (do_compare_nocache): Rename to do_compare.
13066         (STRCOLL): Remove weight and rules cache.
13068 2014-10-16  Roland McGrath  <roland@hack.frob.com>
13070         * sysdeps/arm/soft-fp/sfp-machine.h: Filed moved ...
13071         * sysdeps/arm/sfp-machine.h: ... to here.
13072         * sysdeps/arm/Implies: Remove arm/soft-fp.
13074 2014-10-14  Joseph Myers  <joseph@codesourcery.com>
13076         * conform/data/sys/utsname.h-data (*_t): Allow.
13077         * conform/data/sys/wait.h-data [POSIX] (uid_t): Do not define.
13078         [POSIX] (WEXITED): Do not expect constant.
13079         [POSIX] (WSTOPPED): Likewise.
13080         [POSIX] (WNOHANG): Likewise.
13081         [POSIX] (WNOWAIT): Likewise.
13082         [POSIX] (siginfo_t): Do not expect type or elements.
13083         [POSIX] (pid_t): Do not expect type.
13084         [POSIX] (signal.h): Do not allow header.
13085         [POSIX] (sys/resource.h): Likewise.
13086         [POSIX] (si_*): Do not allow pattern.
13087         [POSIX] (W*): Likewise.
13088         [POSIX] (P_*): Likewise.
13089         [POSIX] (BUS_*): Likewise.
13090         [POSIX] (CLD_*): Likewise.
13091         [POSIX] (FPE_*): Likewise.
13092         [POSIX] (ILL_*): Likewise.
13093         [POSIX] (POLL_*): Likewise.
13094         [POSIX] (SEGV_*): Likewise.
13095         [POSIX] (SI_*): Likewise.
13096         [POSIX] (TRAP_*): Likewise.
13097         * conform/Makefile (test-xfail-POSIX/sys/wait.h/conform): New
13098         variable.
13100 2014-10-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
13102         [BZ #12926]
13103         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Avoid
13104         infinite loop when __recvmsg returns 0.
13106 2014-10-10  Joseph Myers  <joseph@codesourcery.com>
13108         * CANCEL-FCT-WAIVE: Remove file.
13109         * CANCEL-FILE-WAIVE: Likewise.
13111         [BZ #14132]
13112         * elf/dl-sysdep.c (__libc_enable_secure): Use rtld_hidden_data_def
13113         instead of INTVARDEF.
13114         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
13115         * sysdeps/mach/hurd/dl-sysdep.c (__libc_enable_secure): Use
13116         rtld_hidden_data_def instead of INTVARDEF.
13117         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
13118         * elf/dl-deps.c (expand_dst): Likewise.
13119         * elf/dl-load.c (_dl_dst_count): Likewise.
13120         (_dl_dst_substitute): Likewise.
13121         (decompose_rpath): Likewise.
13122         (_dl_init_paths): Likewise.
13123         (open_path): Likewise.
13124         (_dl_map_object): Likewise.
13125         * elf/rtld.c (dl_main): Likewise.
13126         (process_dl_audit): Likewise.
13127         (process_envvars): Likewise.
13128         * include/unistd.h [IS_IN_rtld] (__libc_enable_secure_internal):
13129         Remove declaration.
13130         (__libc_enable_secure): Use rtld_hidden_proto.
13132 2014-10-09  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
13134         * elf/dl-load.c
13135         (add_path): New function broken out of _dl_rtld_di_serinfo.
13136         (_dl_rtld_di_serinfo): Remove that nested function.  Update call sites.
13138 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
13140         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_D): Use
13141         parentheses around macro arguments.
13142         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_DP): Likewise.
13143         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_D): Likewise.
13144         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_DP): Likewise.
13145         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_D): Likewise.
13146         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_DP): Likewise.
13147         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_D): Likewise.
13148         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
13149         [_FP_W_TYPE_SIZE < 64] (FP_PACK_D): Likewise.
13150         [_FP_W_TYPE_SIZE < 64] (FP_PACK_DP): Likewise.
13151         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_D): Likewise.
13152         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_DP): Likewise.
13153         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_D): Likewise.
13154         [_FP_W_TYPE_SIZE < 64] (FP_CMP_D): Likewise.
13155         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_D): Likewise.
13156         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_D): Likewise.
13157         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_D): Likewise.
13158         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_D): Likewise.
13159         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_D): Likewise.
13160         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_DP): Likewise.
13161         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_D): Likewise.
13162         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_DP): Likewise.
13163         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_D): Likewise.
13164         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_DP): Likewise.
13165         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_D): Likewise.
13166         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
13167         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_D): Likewise.
13168         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_DP): Likewise.
13169         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_D): Likewise.
13170         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_DP): Likewise.
13171         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_D): Likewise.
13172         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_D): Likewise.
13173         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_D): Likewise.
13174         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_D): Likewise.
13175         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_D): Likewise.
13176         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_D): Likewise.
13177         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_E):
13178         Likewise.
13179         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_EP): Likewise.
13180         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_E): Likewise.
13181         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
13182         [_FP_W_TYPE_SIZE < 64] (FP_PACK_E): Likewise.
13183         [_FP_W_TYPE_SIZE < 64] (FP_PACK_EP): Likewise.
13184         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_E): Likewise.
13185         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_EP): Likewise.
13186         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_E): Likewise.
13187         [_FP_W_TYPE_SIZE < 64] (FP_CMP_E): Likewise.
13188         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_E): Likewise.
13189         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_E): Likewise.
13190         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_E): Likewise.
13191         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_E): Likewise.
13192         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_E): Likewise.
13193         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_EP): Likewise.
13194         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_E): Likewise.
13195         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
13196         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_E): Likewise.
13197         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_EP): Likewise.
13198         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_E): Likewise.
13199         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_EP): Likewise.
13200         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_E): Likewise.
13201         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_E): Likewise.
13202         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_E): Likewise.
13203         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_E): Likewise.
13204         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_E): Likewise.
13205         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_E): Likewise.
13206         * soft-fp/op-1.h (_FP_FRAC_SRST_1): Likewise.
13207         (_FP_FRAC_SRS_1): Likewise.
13208         (_FP_FRAC_CLZ_1): Likewise.
13209         (_FP_MUL_MEAT_1_imm): Likewise.
13210         (_FP_MUL_MEAT_1_wide): Likewise.
13211         (_FP_MUL_MEAT_1_hard): Likewise.
13212         (_FP_SQRT_MEAT_1): Likewise.
13213         (_FP_FRAC_ASSEMBLE_1): Likewise.
13214         (_FP_FRAC_DISASSEMBLE_1): Likewise.
13215         * soft-fp/op-2.h (_FP_FRAC_CLZ_2): Likewise.
13216         (__FP_CLZ_2): Likewise.
13217         (_FP_MUL_MEAT_2_wide): Likewise.
13218         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
13219         (_FP_MUL_MEAT_2_gmp): Likewise.
13220         (_FP_MUL_MEAT_2_120_240_double): Likewise.
13221         (_FP_SQRT_MEAT_2): Likewise.
13222         (_FP_FRAC_ASSEMBLE_2): Likewise.
13223         (_FP_FRAC_DISASSEMBLE_2): Likewise.
13224         * soft-fp/op-4.h (_FP_FRAC_SRS_4): Likewise.
13225         (_FP_FRAC_CLZ_4): Likewise.
13226         (_FP_MUL_MEAT_4_wide): Likewise.
13227         (_FP_MUL_MEAT_4_gmp): Likewise.
13228         (_FP_SQRT_MEAT_4): Likewise.
13229         (_FP_FRAC_ASSEMBLE_4): Likewise.
13230         (_FP_FRAC_DISASSEMBLE_4): Likewise.
13231         * soft-fp/op-common.h (_FP_CMP): Likewise.
13232         (_FP_CMP_EQ): Likewise.
13233         (_FP_CMP_UNORD): Likewise.
13234         (_FP_TO_INT): Likewise.
13235         (_FP_FROM_INT): Likewise.
13236         [!__FP_CLZ] (__FP_CLZ): Likewise.
13237         (_FP_DIV_HELP_imm): Likewise.
13238         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_Q):
13239         Likewise.
13240         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_QP): Likewise.
13241         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_Q): Likewise.
13242         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_QP): Likewise.
13243         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_Q): Likewise.
13244         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_QP): Likewise.
13245         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
13246         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
13247         [_FP_W_TYPE_SIZE < 64] (FP_PACK_Q): Likewise.
13248         [_FP_W_TYPE_SIZE < 64] (FP_PACK_QP): Likewise.
13249         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_Q): Likewise.
13250         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_QP): Likewise.
13251         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_Q): Likewise.
13252         [_FP_W_TYPE_SIZE < 64] (FP_CMP_Q): Likewise.
13253         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_Q): Likewise.
13254         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_Q): Likewise.
13255         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_Q): Likewise.
13256         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_Q): Likewise.
13257         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_Q): Likewise.
13258         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_QP): Likewise.
13259         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_Q): Likewise.
13260         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_QP): Likewise.
13261         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_Q): Likewise.
13262         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_QP): Likewise.
13263         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
13264         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
13265         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_Q): Likewise.
13266         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_QP): Likewise.
13267         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_Q): Likewise.
13268         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_QP): Likewise.
13269         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_Q): Likewise.
13270         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_Q): Likewise.
13271         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_Q): Likewise.
13272         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_Q): Likewise.
13273         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_Q): Likewise.
13274         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_Q): Likewise.
13275         * soft-fp/single.h (FP_UNPACK_RAW_S): Likewise.
13276         (FP_UNPACK_RAW_SP): Likewise.
13277         (FP_PACK_RAW_S): Likewise.
13278         (FP_PACK_RAW_SP): Likewise.
13279         (FP_UNPACK_S): Likewise.
13280         (FP_UNPACK_SP): Likewise.
13281         (FP_UNPACK_SEMIRAW_S): Likewise.
13282         (FP_UNPACK_SEMIRAW_SP): Likewise.
13283         (FP_PACK_S): Likewise.
13284         (FP_PACK_SP): Likewise.
13285         (FP_PACK_SEMIRAW_S): Likewise.
13286         (FP_PACK_SEMIRAW_SP): Likewise.
13287         (_FP_SQRT_MEAT_S): Likewise.
13288         (FP_CMP_S): Likewise.
13289         (FP_CMP_EQ_S): Likewise.
13290         (FP_CMP_UNORD_S): Likewise.
13291         (FP_TO_INT_S): Likewise.
13292         (FP_FROM_INT_S): Likewise.
13294         * soft-fp/op-common.h (_FP_TO_INT): Handle rsigned == 2.
13296         * soft-fp/soft-fp.h (FP_EX_INVALID_SNAN): New macro.
13297         (FP_EX_INVALID_IMZ): Likewise.
13298         (FP_EX_INVALID_IMZ_FMA): Likewise.
13299         (FP_EX_INVALID_ISI): Likewise.
13300         (FP_EX_INVALID_ZDZ): Likewise.
13301         (FP_EX_INVALID_IDI): Likewise.
13302         (FP_EX_INVALID_SQRT): Likewise.
13303         (FP_EX_INVALID_CVI): Likewise.
13304         (FP_EX_INVALID_VC): Likewise.
13305         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Specify more precise
13306         "invalid" exceptions.
13307         (_FP_CHECK_SIGNAN_SEMIRAW): Likewise.
13308         (_FP_ADD_INTERNAL): Likewise.
13309         (_FP_MUL): Likewise.
13310         (_FP_FMA): Likewise.
13311         (_FP_DIV): Likewise.
13312         (_FP_CMP_CHECK_NAN): Likewise.
13313         (_FP_SQRT): Likewise.
13314         (_FP_TO_INT): Likewise.
13315         (FP_EXTEND): Likewise.
13317 2014-10-09  Allan McRae  <allan@archlinux.org>
13319         * po/fr.po: Update French translation from translation project.
13321 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
13323         [BZ #14132]
13324         * stdlib/cxa_atexit.c (__cxa_atexit): Use libc_hidden_def instead
13325         of INTDEF.
13326         * include/stdlib.h (__cxa_atexit_internal): Remove declaration.
13327         (__cxa_atexit): Use libc_hidden_proto.
13328         [!NOT_IN_libc] (__cxa_atexit): Remove macro definition.
13330         [BZ #14132]
13331         * include/wctype.h [!_ISOMAC] (__iswalpha_l_internal): Remove
13332         declaration.
13333         [!_ISOMAC] (__iswdigit_l_internal): Likewise.
13334         [!_ISOMAC] (__iswspace_l_internal): Likewise.
13335         [!_ISOMAC] (__iswxdigit_l_internal): Likewise.
13336         [!_ISOMAC] (__iswctype_internal): Likewise.
13337         * stdio-common/siglist.c (_sys_siglist_internal): Remove alias.
13338         * sysdeps/unix/syscalls.list (chown): Remove __chown_internal
13339         alias.
13340         (fcntl): Remove __fcntl_internal alias.
13341         * sysdeps/unix/sysv/linux/hppa/syscalls.list (connect): Remove
13342         __connect_internal alias.
13343         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (connect):
13344         Likewise.
13346         * soft-fp/soft-fp.h (FP_DENORM_ZERO): New macro.
13347         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Check
13348         FP_DENORM_ZERO.
13349         (_FP_CHECK_FLUSH_ZERO): New macro.
13350         (_FP_ADD_INTERNAL): Call _FP_CHECK_FLUSH_ZERO.
13351         (_FP_CMP): Likewise.
13352         (_FP_CMP_EQ): Likewise.
13353         (_FP_TO_INT): Do not set inexact for subnormal arguments if
13354         FP_DENORM_ZERO.
13355         (FP_EXTEND): Call _FP_CHECK_FLUSH_ZERO.
13356         (FP_TRUNC): Likewise.
13358         * soft-fp/op-common.h (_FP_TO_INT): Ensure maximum exponent is
13359         treated as invalid conversion, not as normal exponent.
13361         * soft-fp/op-common.h (_FP_CMP_CHECK_NAN): New macro.
13362         (_FP_CMP): Add extra argument EX.  Call _FP_CMP_CHECK_NAN.
13363         (_FP_CMP_EQ): Likewise.
13364         (_FP_CMP_UNORD): Likewise.
13365         * soft-fp/double.h (FP_CMP_D): Add extra argument EX.
13366         (FP_CMP_EQ_D): Likewise.
13367         (FP_CMP_UNORD_D): Likewise.
13368         * soft-fp/extended.h (FP_CMP_E): Likewise.
13369         (FP_CMP_EQ_E): Likewise.
13370         (FP_CMP_UNORD_E): Likewise.
13371         * soft-fp/quad.h (FP_CMP_Q): Likewise.
13372         (FP_CMP_EQ_Q): Likewise.
13373         (FP_CMP_UNORD_Q): Likewise.
13374         * soft-fp/single.h (FP_CMP_S): Likewise.
13375         (FP_CMP_EQ_S): Likewise.
13376         (FP_CMP_UNORD_S): Likewise.
13377         * soft-fp/eqdf2.c (__eqdf2): Update call to FP_CMP_EQ_D.
13378         * soft-fp/eqsf2.c (__eqsf2): Update call to FP_CMP_EQ_S.
13379         * soft-fp/eqtf2.c (__eqtf2): Update call to FP_CMP_EQ_Q.
13380         * soft-fp/gedf2.c (__gedf2): Update call to FP_CMP_D.
13381         * soft-fp/gesf2.c (__gesf2): Update call to FP_CMP_S.
13382         * soft-fp/getf2.c (__getf2): Update call to FP_CMP_Q.
13383         * soft-fp/ledf2.c (__ledf2): Update call to FP_CMP_D.
13384         * soft-fp/lesf2.c (__lesf2): Update call to FP_CMP_S.
13385         * soft-fp/letf2.c (__letf2): Update call to FP_CMP_Q.
13386         * soft-fp/unorddf2.c (__unorddf2): Update call to FP_CMP_UNORD_D.
13387         * soft-fp/unordsf2.c (__unordsf2): Update call to FP_CMP_UNORD_S.
13388         * soft-fp/unordtf2.c (__unordtf2): Update call to FP_CMP_UNORD_Q.
13389         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Update call
13390         to FP_CMP_Q.
13391         * sysdeps/sparc/sparc32/soft-fp/q_cmp.c (_Q_cmp): Update call to
13392         FP_CMP_Q.
13393         * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c (_Q_cmpe): Likewise.
13394         * sysdeps/sparc/sparc32/soft-fp/q_feq.c (_Q_feq): Update call to
13395         FP_CMP_EQ_Q.
13396         * sysdeps/sparc/sparc32/soft-fp/q_fge.c (_Q_fge): Update call to
13397         FP_CMP_Q.
13398         * sysdeps/sparc/sparc32/soft-fp/q_fgt.c (_Q_fgt): Likewise.
13399         * sysdeps/sparc/sparc32/soft-fp/q_fle.c (_Q_fle): Likewise.
13400         * sysdeps/sparc/sparc32/soft-fp/q_flt.c (_Q_flt): Likewise.
13401         * sysdeps/sparc/sparc32/soft-fp/q_fne.c (_Q_fne): Update call to
13402         FP_CMP_EQ_Q.
13403         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c (_Qp_cmp): Update call to
13404         FP_CMP_Q.
13405         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c (_Qp_cmpe): Likewise.
13406         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c (_Qp_feq): Update call to
13407         FP_CMP_EQ_Q.
13408         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c (_Qp_fge): Update call to
13409         FP_CMP_Q.
13410         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c (_Qp_fgt): Likewise.
13411         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c (_Qp_fle): Likewise.
13412         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c (_Qp_flt): Likewise.
13413         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c (_Qp_fne): Update call to
13414         FP_CMP_EQ_Q.
13416         * soft-fp/op-common.h (FP_EXTEND): When a subnormal input produces
13417         a subnormal result, set the underflow exception if trapping on
13418         underflow is enabled.
13419         * soft-fp/soft-fp.h (FP_INIT_TRAPPING_EXCEPTIONS): New macro.
13420         (FP_INIT_EXCEPTIONS): Default to FP_INIT_TRAPPING_EXCEPTIONS.
13421         [FP_NO_EXACT_UNDERFLOW] (FP_TRAPPING_EXCEPTIONS): Undefine and
13422         redefine to 0.
13423         * soft-fp/extenddftf2.c (FP_NO_EXACT_UNDERFLOW): Define.
13424         * soft-fp/extendsfdf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
13425         * soft-fp/extendsftf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
13426         * soft-fp/extendxftf2.c (__extendxftf2): Use
13427         FP_INIT_TRAPPING_EXCEPTIONS instead of FP_INIT_ROUNDMODE.
13429         * soft-fp/soft-fp.h (FP_CLEAR_EXCEPTIONS): Remove macro.
13430         * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Define FP_NO_EXCEPTIONS.
13431         (_Q_itoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
13432         FP_HANDLE_EXCEPTIONS.
13433         * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Define FP_NO_EXCEPTIONS.
13434         (_Q_lltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
13435         FP_HANDLE_EXCEPTIONS.
13436         * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Define FP_NO_EXCEPTIONS.
13437         (_Q_ulltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
13438         FP_HANDLE_EXCEPTIONS.
13439         * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Define FP_NO_EXCEPTIONS.
13440         (_Q_utoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
13441         FP_HANDLE_EXCEPTIONS.
13443 2014-10-08  Joseph Myers  <joseph@codesourcery.com>
13445         [BZ #14132]
13446         * sysdeps/unix/sysv/linux/include/sys/timex.h: New file.
13447         * sysdeps/unix/sysv/linux/adjtime.c [!ADJTIMEX] (ADJTIMEX): Do not
13448         use INTUSE.
13449         [!ADJTIMEX] (INTUSE(__adjtimex)): Remove declaration.
13450         * sysdeps/unix/sysv/linux/alpha/adjtime.c (__adjtimex_internal):
13451         Remove alias.
13452         (__adjtimex): Define using libc_hidden_ver.
13453         * sysdeps/unix/sysv/linux/ntp_gettime.c (INTUSE(__adjtimex)):
13454         Remove declaration.
13455         (ntp_gettime): Call __adjtimex directly.
13456         * sysdeps/unix/sysv/linux/ntp_gettimex.c (INTUSE(__adjtimex)):
13457         Remove declaration.
13458         (ntp_gettimex): Call __adjtimex directly.
13459         * sysdeps/unix/sysv/linux/syscalls.list (adjtimex): Remove
13460         __adjtimex_internal alias.
13462 2014-10-08  Roland McGrath  <roland@hack.frob.com>
13464         [BZ #17460]
13465         * nscd/nscd.c (more_help): Rewrite list of tables collection
13466         using xstrdup and asprintf.
13468         * nscd/nscd_conf.c: Remove local xstrdup declaration.
13470 2014-10-08  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
13471             Roland McGrath  <roland@hack.frob.com>
13473         * elf/dl-lookup.c (enter_unique_sym): New function, broken out of ...
13474         (do_lookup_unique): ... local function 'enter' here; update callers.
13476 2014-10-06  Joseph Myers  <joseph@codesourcery.com>
13478         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Condition
13479         compat_symbol calls on [SHARED].
13480         * sysdeps/unix/sysv/linux/powerpc/lchown.S: Remove file.
13481         * sysdeps/unix/sysv/linux/i386/syscalls.list (oldsetrlimit):
13482         Remove.
13483         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
13484         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list
13485         (oldsetrlimit): Remove.
13486         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
13487         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
13488         (lchown): New syscall entry.
13489         (oldsetrlimit): Remove.
13490         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
13491         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list
13492         (oldsetrlimit): Remove.
13493         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
13495         [BZ #14138]
13496         * sysdeps/unix/sysv/linux/arm/fchown.c: Remove file.
13497         * sysdeps/unix/sysv/linux/arm/lchown.c: Likewise.
13498         * sysdeps/unix/sysv/linux/m68k/fchown.c: Likewise.
13499         * sysdeps/unix/sysv/linux/m68k/lchown.c: Likewise.
13500         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
13501         * sysdeps/unix/sysv/linux/arm/syscalls.list (lchown): Add syscall.
13502         (fchown): Likewise.
13503         * sysdeps/unix/sysv/linux/m68k/syscalls.list (lchown): Likewise.
13504         (fchown): Likewise.
13505         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (chown):
13506         Likewise.
13508 2014-10-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13510         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Remove file.
13511         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c
13512         (pthread_spin_unlock): Use __ARCH_REL_INSTR instead of
13513         __lll_rel_instr and __ARCH_ACQ_INSTR instead of __lll_acq_instr.
13514         * sysdeps/unix/sysv/linux/powerpc/sem_post.c (__new_sem_post):
13515         Likewise.
13516         (__old_sem_post): Likewise.
13518 2014-10-06  Chris Metcalf  <cmetcalf@tilera.com>
13520         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Define
13521         INLINE_VSYSCALL, INTERNAL_VSYSCALL, and
13522         HAVE_CLOCK_GETTIME_VSYSCALL macros.
13523         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (__gettimeofday):
13524         Use INLINE_VSYSCALL macro.
13525         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso: Add declaration of
13526         __vdso_clock_gettime.
13527         * sysdeps/unix/sysv/linux/tile/init-first.c
13528         (_libc_vdso_platform_setup): Set new __vdso_clock_gettime global.
13529         * sysdeps/unix/sysv/linux/tile/Versions (GLIBC_PRIVATE): Add
13530         __vdso_clock_gettime.
13532         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Fix code
13533         to set up frame more cleanly.
13535         * sysdeps/tile/memcmp.c: New file.
13537         * sysdeps/unix/sysv/linux/tile/sysconf.c: New file.
13539         * sysdeps/tile/tilegx/string-endian.h (STRSHIFT): New macro.
13540         * sysdeps/tile/tilegx/strcasestr.c: New file.
13541         * sysdeps/tile/tilegx/strnlen.c: New file.
13542         * sysdeps/tile/tilegx/strstr.c: New file.
13544         * sysdeps/tile/tilegx/string-endian.h (copy_byte): Optimize.
13546 2014-10-06  Arjun Shankar  <arjun.is@lostca.se>
13548         * nptl/tst-setuid3.c: Write errors to stdout.
13550 2014-10-01  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
13552         * elf/dl-deps.c
13553         (preload): New functions broken out of _dl_map_object_deps.
13554         (_dl_map_object_deps):  Remove a nested function. Update call sites.
13556 2014-10-01  Joseph Myers  <joseph@codesourcery.com>
13558         [BZ #14138]
13559         * sysdeps/unix/sysv/linux/execve.c: Remove file.
13560         * sysdeps/unix/sysv/linux/syscalls.list (execve): Add syscall.
13562 2014-10-01  Steve Ellcey  <sellcey@mips.com>
13564         * sysdeps/mips/strcmp.S: New.
13566 2014-09-30  Joseph Myers  <joseph@codesourcery.com>
13568         [BZ #14138]
13569         * sysdeps/unix/sysv/linux/syscalls.list (fchownat): New syscall.
13570         (linkat): Likewise.
13571         (mkdirat): Likewise.
13572         (readlinkat): Likewise.
13573         (renameat): Likewise.
13574         (symlinkat): Likewise.
13575         (unlinkat): Likewise.
13576         * sysdeps/unix/sysv/linux/fchownat.c: Remove file.
13577         * sysdeps/unix/sysv/linux/linkat.c: Likewise.
13578         * sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
13579         * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
13580         * sysdeps/unix/sysv/linux/renameat.c: Likewise.
13581         * sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
13582         * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
13584 2014-09-30  Will Newton  <will.newton@linaro.org>
13586         * math/math.h: Define long double math functions if
13587         _LIBC_TEST is defined.
13588         * stdlib/tst-strtod-round.c: Define _LIBC_TEST.
13590         * localedata/Makefile: Move assignment to tests-special
13591         into an ifdef testing run-built-tests.
13592         * timezone/Makefile: Likewise.
13594 2014-09-29  Joseph Myers  <joseph@codesourcery.com>
13596         * sysdeps/x86/Makefile ($(objpfx)tst-ld-sse-use.out): Run script
13597         with $(BASH) not $(SHELL).
13599 2014-09-29  Carlos O'Donell  <carlos@redhat.com>
13600             Matthew LeGendre  <legendre1@llnl.gov>
13602         [BZ #17411]
13603         * elf/dl-reloc.c (_dl_relocate_object): Allocate correct amount for
13604         l_reloc_result.
13606 2014-09-29  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
13608         * stdio-common/printf_fp.c
13609         (hack_digit): New function, broken out of ...
13610         (__printf_fp): ... local function here.  Update call sites.
13611         hack_digit now takes an additional parameter that is a pointer
13612         to a struct of the referenced locals.  Those locals moved inside
13613         the struct and references updated.
13615 2014-09-29  H.J. Lu  <hongjiu.lu@intel.com>
13617         * aclocal.m4: Require autoconf 2.69.
13618         * configure: Regenerated.
13619         * sysdeps/aarch64/configure: Likewise.
13620         * sysdeps/alpha/configure: Likewise.
13621         * sysdeps/arm/armv7/configure: Likewise.
13622         * sysdeps/arm/configure: Likewise.
13623         * sysdeps/ia64/configure: Likewise.
13624         * sysdeps/mach/configure: Likewise.
13625         * sysdeps/mips/configure: Likewise.
13626         * sysdeps/s390/configure: Likewise.
13627         * sysdeps/unix/sysv/linux/mips/configure: Likewise.
13628         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise.
13630         * sysdeps/alpha/configure.ac: Avoid empty lines at the end of
13631         file.
13632         * sysdeps/ia64/configure.ac: Likewise.
13634 2014-09-26  Joseph Myers  <joseph@codesourcery.com>
13636         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not
13637         specify symbol version for ld.so.  Do not include entry for
13638         libpthread.
13639         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
13640         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
13641         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
13643         [BZ #14171]
13644         * Makeconfig [$(build-shared) = yes]
13645         ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in
13646         makefiles.
13647         [$(build-shared) = yes && $(soversions.mk-done) = t]
13648         ($(common-objpfx)gnu/lib-names.h): Remove rule.
13649         [$(build-shared) = yes && $(soversions.mk-done) = t]
13650         ($(common-objpfx)gnu/lib-names.stmp): Likewise.  Split and moved
13651         to Makerules.
13652         [$(build-shared) = yes && $(soversions.mk-done) = t]
13653         (before-compile): Don't append $(common-objpfx)gnu/lib-names.h
13654         here.
13655         [$(build-shared) = yes && $(soversions.mk-done) = t]
13656         (common-generated): Don't append gnu/lib-names.h and
13657         gnu/lib-names.stmp here.
13658         * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t]
13659         (lib-names-h-abi): New variable.
13660         [$(build-shared) = yes && $(soversions.mk-done) = t]
13661         (lib-names-stmp-abi): Likewise.
13662         [$(build-shared) = yes && $(soversions.mk-done) = t &&
13663         abi-variants] (before-compile): Append
13664         $(common-objpfx)$(lib-names-h-abi).
13665         [$(build-shared) = yes && $(soversions.mk-done) = t &&
13666         abi-variants] (common-generated): Append gnu/lib-names.h.
13667         [$(build-shared) = yes && $(soversions.mk-done) = t &&
13668         abi-variants] (install-others-nosubdir): Depend on
13669         $(inst_includedir)/$(lib-names-h-abi).
13670         [$(build-shared) = yes && $(soversions.mk-done) = t &&
13671         abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule.
13672         [$(build-shared) = yes && $(soversions.mk-done) = t]
13673         ($(common-objpfx)$(lib-names-h-abi)): New rule.
13674         [$(build-shared) = yes && $(soversions.mk-done) = t]
13675         ($(common-objpfx)$(lib-names-stmp-abi)): Likewise.
13676         [$(build-shared) = yes && $(soversions.mk-done) = t]
13677         (common-generated): Append $(lib-names-h-abi) and
13678         $(lib-names-stmp-abi).
13679         * scripts/lib-names.awk: Do not handle multi being set.
13680         * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname):
13681         Remove variable.
13682         (abi-lp64_be-ld-soname): Likewise.
13683         * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname):
13684         Likewise.
13685         (abi-hard-ld-soname): Likewise.
13686         * sysdeps/unix/sysv/linux/i386/shlib-versions: New file.
13687         * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname):
13688         Remove variable.
13689         (abi-o32_hard-ld-soname): Likewise.
13690         (abi-o32_soft_2008-ld-soname): Likewise.
13691         (abi-o32_hard_2008-ld-soname): Likewise.
13692         (abi-n32_soft-ld-soname): Likewise.
13693         (abi-n32_hard-ld-soname): Likewise.
13694         (abi-n32_soft_2008-ld-soname): Likewise.
13695         (abi-n32_hard_2008-ld-soname): Likewise.
13696         (abi-n64_soft-ld-soname): Likewise.
13697         (abi-n64_hard-ld-soname): Likewise.
13698         (abi-n64_soft_2008-ld-soname): Likewise.
13699         (abi-n64_hard_2008-ld-soname): Likewise.
13700         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname):
13701         Likewise.
13702         (abi-64-v2-ld-soname): Likewise.
13703         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add
13704         ld.so entries.
13705         * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove
13706         variable.
13707         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so
13708         entry.
13709         * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove
13710         variable.
13711         (abi-64-ld-soname): Likewise.
13712         (abi-x32-ld-soname): Likewise.
13713         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so
13714         entry.
13715         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
13717 2014-09-23  Joseph Myers  <joseph@codesourcery.com>
13719         [BZ #14138]
13720         * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
13721         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
13722         * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
13723         * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
13724         * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
13725         * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
13726         * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
13727         syscall entry for GLIBC_2.2 symbol version.
13728         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
13729         Likewise.
13730         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
13731         (setrlimit): Likewise.
13732         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
13733         Likewise.
13735 2014-09-23  Will Newton  <will.newton@linaro.org>
13737         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
13738         _LINUX_ARM_SYSDEP_H include guard too.
13739         * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
13740         define.
13742 2014-09-20  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
13744         * sysdeps/unix/sysv/linux/eventfd.c:
13745         Make first argument unsigned.
13746         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
13747         * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
13749 2014-09-20  Ondřej Bílka  <neleai@seznam.cz>
13751         * socket/recvmmsg.c (recvmmsg): Drop const argument.
13752         * socket/sys/socket.h: Likewise
13753         * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
13755 2014-09-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
13757         * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
13759 2014-09-17  Arjun Shankar  <arjun.is@lostca.se>
13761         * time/tst-ftime.c: New test.
13762         * time/Makefile (tests): Add tst-ftime.
13764 2014-09-17  Joseph Myers  <joseph@codesourcery.com>
13766         * soft-fp/extended.h: Fix comment formatting.
13767         * soft-fp/op-1.h: Likewise.
13768         * soft-fp/op-2.h: Likewise.
13769         * soft-fp/op-4.h: Likewise.
13770         * soft-fp/op-8.h: Likewise.
13771         * soft-fp/op-common.h: Likewise.
13772         * soft-fp/soft-fp.h: Likewise.
13774         * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
13776 2014-09-16  Joseph Myers  <joseph@codesourcery.com>
13778         [BZ #6652]
13779         * Makeconfig (soversions-default-setname): Remove variable.
13780         ($(common-objpfx)soversions.i): Don't pass default_setname to
13781         soversions.awk.
13782         * Makerules ($(common-objpfx)abi-versions.h): Don't pass
13783         oldest_abi to abi-versions.awk.
13784         * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
13785         * config.make.in (oldest-abi): Remove variable.
13786         * configure.ac (--enable-oldest-abi): Remove configure option.
13787         * configure: Regenerated.
13788         * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
13789         text.
13790         * scripts/abi-versions.awk: Do not handle oldest_abi variable.
13791         * scripts/soversions.awk: Do not handle default_setname variable.
13792         * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
13793         variable.
13794         * sysdeps/mach/hurd/configure: Regenerated.
13795         * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
13796         variable.
13797         * sysdeps/unix/sysv/linux/configure: Regenerated.
13799 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
13801         * elf/Makefile (CFLAGS-interp.c): Remove.
13802         ($(elf-objpfx)runtime-linker.h): Generate header with linker
13803         path string.
13804         * elf/interp.c: Include generated runtime-linker.h
13806         * Makerules (lib%.so): Don't include $(+interp) in
13807         prerequisites.
13808         * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
13809         * dlfcn/eval.c: Remove file.
13811         * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
13812         macros.
13814         [BZ #17266]
13815         * misc/sys/cdefs.h: Define __extern_always_inline for clang
13816         4.2 and newer.
13818         [BZ #17370]
13819         * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
13821 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
13822             Jakub Jelinek  <jakub@redhat.com>
13824         [BZ #17266]
13825         * libio/stdio.h: Check definition of __fortify_function
13826         instead of __extern_always_inline to include bits/stdio2.h.
13827         * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
13828         check if __extern_always_inline is defined.
13829         [__USE_MISC || __USE_XOPEN]: Likewise.
13830         [__USE_ISOC99] Likewise.
13831         * misc/sys/cdefs.h (__fortify_function): Define only if
13832         __extern_always_inline is defined.
13833         [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
13834         __extern_always_inline and __extern_inline only for g++-4.3
13835         and newer or a compatible gcc.
13837 2014-09-15  Andreas Schwab  <schwab@linux-m68k.org>
13839         [BZ #17371]
13840         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
13841         last change to handle zero prefix length.
13843 2014-09-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
13845         * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
13846         _SC_REGEX_VERSION.
13848         * posix/getconf.c (vars): Add _POSIX_IPV6 and
13849         _POSIX_RAW_SOCKETS.
13851 2014-09-13  Allan McRae  <allan@archlinux.org>
13853         * po/ru.po: Update Russian translation from translation project.
13855 2014-09-12  Roland McGrath  <roland@hack.frob.com>
13857         * locale/programs/locale.c (show_locale_vars): Inline local function
13858         into its sole call site.  Clean up some style nits.
13859         (print_item): New function, broken out of ...
13860         (show_info): ... local function here.  Clean up style nits.
13862         * locale/programs/ld-ctype.c (set_one_default): New function, broken
13863         out of ...
13864         (set_class_defaults): ... local function set_default here.
13865         Define set_default as a macro locally to pass constant parameters.
13866         (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
13867         rather than a shared local.
13869         * stdlib/rpmatch.c (try): New function, broken out of ...
13870         (rpmatch): ... local function here.  Also, prototypify definition.
13872 2014-09-12  Joseph Myers  <joseph@codesourcery.com>
13874         * scripts/soversions.awk: Do not handle configuration names.
13875         * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
13876         vendor and os variables to soversions.awk.
13877         * configure.ac: Do not modify gnu-* host_os.
13878         * configure: Regenerated
13879         * shlib-versions: Remove first column with configuration names.
13880         * nptl/shlib-versions: Likewise.
13881         * nptl_db/shlib-versions: Likewise.
13882         * sysdeps/hppa/shlib-versions: Likewise.
13883         * sysdeps/m68k/shlib-versions: Likewise.
13884         * sysdeps/mach/hurd/shlib-versions: Likewise.
13885         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
13886         * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
13887         * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
13888         * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
13889         * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
13890         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
13891         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
13892         * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
13893         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
13894         Likewise.
13895         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
13896         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
13897         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
13898         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
13899         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
13900         * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
13901         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
13902         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
13904         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
13905         (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
13906         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
13907         Regenerated.
13908         * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
13909         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
13910         Condition symbol version definitions on [HAVE_ELFV2_ABI].
13912         * shlib-versions: Remove OS-specific entries.  Moved to files in
13913         sysdeps.
13914         * sysdeps/mach/hurd/shlib-versions: New file.
13915         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
13917         * nptl/shlib-versions: Remove architecture-specific entries.
13918         Moved to files in sysdeps.
13919         * shlib-versions: Likewise.
13920         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
13921         file.
13922         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
13923         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
13924         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
13925         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
13927         * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
13928         (UDP_NO_CHECK6_RX): Likewise.
13930 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
13932         * sysdeps/posix/sysconf.c (__sysconf): Spell
13933         _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
13935 2014-08-12  Florian Weimer  <fweimer@redhat.com>
13937         * iconv/gconv_open.c (__gconv_open): Remove transliteration module
13938         loading.
13939         * iconv/Versions (__gconv_transliterate): Export for use from
13940         gconv modules.
13941         * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
13942         (struct __gconv_trans_data, __gconv_trans_fct,
13943         __gconv_trans_context_fct, __gconv_trans_query_fct,
13944         __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
13945         definitions.
13946         (struct __gconv_step_data): Remove __trans member.
13947         (__gconv_transliterate): Declaration moved from gconv_int.h.  No
13948         longer hidden.  Remove unused trans_data argument.
13949         * iconv/gconv_int.h (struct trans_struct): Remove definition.
13950         (__gconv_translit_find): Remove declaration.
13951         (__gconv_transliterate): Declaration moved to gconv.h.  Add hidden
13952         prototype.
13953         * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
13954         * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
13955         trans_data argument.  Add hidden definition.
13956         (__gconv_translit_find): Remove.
13957         * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
13958         __gconv_transliterate directly if __GCONV_TRANSLIT is set.
13959         * iconv/skeleton.c: Remove transliteration initialization.
13960         * libio/fileops.c (_IO_new_file_fopen): Adjust struct
13961         __gconv_step_data initialization.
13962         * libio/iofwide.c (__libio_translit_): Remove.
13963         (_IO_fwide): Adjust struct __gconv_step_data initialization.
13964         * wcsmbs/btowc.c (__btowc): Likewise.
13965         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
13966         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
13967         * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
13968         * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
13969         * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
13970         * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
13971         * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
13972         * wcsmbs/wctob.c (wctob): Likewise.
13974 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
13976         [BZ #16194]
13977         * sysdeps/x86/tst-xmmymm.sh: Rename file to...
13978         * sysdeps/x86/tst-ld-sse-use.sh: ... this.  Check for zmm
13979         register usage.
13980         * sysdeps/x86/Makefile: Adjust.
13982 2014-09-11  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
13983             Roland McGrath  <roland@hack.frob.com>
13985         * locale/weight.h: Add include guard.
13986         (findidx): Make static rather than auto; take new parameters
13987         TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
13988         * locale/weightwc.h: Likewise.
13989         * posix/fnmatch_loop.c
13990         (FCT): Change type of EXTRA from int32_t to wint_t.
13991         Don't include either header inside the function.
13992         Call FINDIDX rather than findidx, and pass new arguments.
13993         #undef FINDIDX at the end of the file.
13994         * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
13995         FINDIDX before including fnmatch_loop.c for the non-wide version.
13996         [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
13997         #include <locale/weightwc.h>, and define FINDIDX to findidxwc
13998         for the wide version.
13999         * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
14000         (build_equiv_class) [_LIBC]: Don't #include it inside the function.
14001         Pass new arguments to findidx.
14002         * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
14003         [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
14004         Don't #include it inside the function.  Pass new arguments to findidx.
14005         * posix/regex_internal.h
14006         [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
14007         (re_string_elem_size_at): Don't #include it inside the function.
14008         Pass new arguments to findidx.
14009         * string/strcoll_l.c: #include WEIGHT_H at top level.
14010         (get_next_seq): Don't #include it inside the function.
14011         Pass new arguments to findidx.
14012         (get_next_seq_nocache): Likewise.
14013         * string/strxfrm_l.c: #include WEIGHT_H at top level.
14014         (STRXFRM): Don't #include it inside the function.
14015         Pass new arguments to findidx.
14017 2014-09-11  Florian Weimer  <fweimer@redhat.com>
14019         [BZ #17344]
14020         * malloc/malloc.c (unlink): Turn asserts into a call to
14021         malloc_printerr.
14023 2014-09-11  Tim Lammens  <tim.lammens@gmail.com>
14025         [BZ #17370]
14026         * libio/wfileops (do_ftell_wide): Free OUT.
14028 2014-09-10  Chris Metcalf  <cmetcalf@tilera.com>
14030         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
14032 2014-09-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
14034         [BZ #17363]
14035         * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
14036         group if the current group is empty.
14038 2014-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14040         * benchtests/bench-memset.c (test_main): Add more test from size
14041         from 32 to 512 bytes.
14042         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
14043         Add POWER8 memset object.
14044         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
14045         (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
14046         * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
14047         implementation.
14048         * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
14049         Likewise.
14050         * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
14051         multiarch POWER8 memset optimization.
14052         * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
14053         POWER8 memset optimization.
14055         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
14056         Remove bzero multiarch objects.
14057         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
14058         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
14059         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
14060         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
14061         Remove define.
14062         [__bzero]: Redefine to specific name.
14063         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
14064         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
14065         * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
14066         define.
14067         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
14068         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
14070 2014-09-10  Florian Weimer  <fweimer@redhat.com>
14072         * Makeconfig (gccwarn-c): Turn implicit-function-declaration
14073         warnings into errors.
14075         * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
14076         __cxa_thread_atexit_impl prototype.
14078 2014-09-09  Steve Ellcey  <sellcey@mips.com>
14080         * sysdeps/mips/preconfigure: Put code inside mips* case statement.
14081         Fix capitalization of error message.
14083 2014-09-09  Steve Ellcey  <sellcey@mips.com>
14085         * sysdeps/mips/preconfigure: Modify ABI tests.
14087 2014-09-07  Carlos O'Donell  <carlos@systemhalted.org>
14089         * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
14091 2014-09-07  Roland McGrath  <roland@hack.frob.com>
14092             Carlos O'Donell  <carlos@systemhalted.org>
14094         * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
14095         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
14096         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
14097         * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
14098         * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
14099         * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
14100         * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
14101         * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
14102         * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
14103         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
14104         * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
14105         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
14106         * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
14107         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
14108         * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
14109         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
14110         * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
14111         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
14112         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
14113         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
14114         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
14115         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
14116         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
14117         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
14118         * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
14119         * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
14120         * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
14121         * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
14122         Deconditionalize the code that was previously under [RESET_PID].
14123         * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
14124         * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
14125         * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
14126         * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
14127         include sysdep.h.
14129 2014-09-08  Allan McRae  <allan@archlinux.org>
14131         * version.h (RELEASE): Set to "development".
14132         (VERSION): Set to "2.20.90"
14134 2014-09-07  Allan McRae  <allan@archlinux.org
14136         * version.h (RELEASE): Set to "stable".
14137         (VERSION): Set to "2.20"
14138         * include/features.h (__GLIBC_MINOR__): Set to 20.
14140         * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
14141         Liebler.
14143         * po/ko.po: Update Korean translation from translation project.
14145 2014-09-06  Chris Metcalf  <cmetcalf@tilera.com>
14147         [BZ #17354]
14148         * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
14149         macro for handling signed relocations.
14151 2014-09-03  Florian Weimer  <fweimer@redhat.com>
14153         [BZ #17325]
14154         * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
14155         * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
14156         assert.
14157         * iconvdata/ibm933.c (BODY): Fix check for sentinel.
14158         * iconvdata/ibm935.c (BODY): Likewise.
14159         * iconvdata/ibm937.c (BODY): Likewise.
14160         * iconvdata/ibm939.c (BODY): Likewise.
14161         * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
14162         assert.
14163         * iconvdata/Makefile (iconv-test.out): Pass module list to test
14164         script.
14165         * iconvdata/run-iconv-test.sh: New test loop for checking for
14166         decoder crashers.
14168 2014-09-02  Khem Raj  <raj.khem@gmail.com>
14170         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
14171         libm_hidden_ver.
14173 2014-09-01  Allan McRae  <allan@archlinux.org>
14175         * po/eo.po: Update Esperanto translation from translation project.
14177         * po/ca.po: Update Catalan translation from translation project.
14179 2014-08-28  Samuel Thibault  <samuel.thibault@ens-lyon.org>
14181         * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
14182         __proc_dostop call.
14184 2014-08-27  Mark Wielaard  <mjw@redhat.com>
14186         [BZ #17319]
14187         * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
14188         to call set_thread_area instead of hand written asm.
14189         (__NR_set_thread_area): Removed define.
14190         (TLS_FLAG_WRITABLE): Likewise.
14191         (__ASSUME_SET_THREAD_AREA): Remove check.
14192         (TLS_EBX_ARG): Remove define.
14193         (TLS_LOAD_EBX): Likewise.
14195 2014-08-27  Samuel Thibault  <samuel.thibault@ens-lyon.org>
14197         Simplify atomicity of socket creation in bind.
14199         * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
14200         looking up the name after linking the file.
14202 2014-08-27  Allan McRae  <allan@archlinux.org>
14204         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
14206 2014-08-26  Florian Weimer  <fweimer@redhat.com>
14208         [BZ #17187]
14209         * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
14210         trans_compare, open_translit, __gconv_translit_find):
14211         Remove module loading code.
14213 2014-08-26  Allan McRae  <allan@archlinux.org>
14215         * po/vi.po: Update Vietnamese translation from translation project.
14217         * po/uk.po: Update Ukrainian translation from translation project.
14219         * po/fr.po: Update French translation from translation project.
14221         * po/ru.po: Update Russian translation from translation project.
14223         * po/pl.po: Update Polish translation from translation project.
14225         * po/cs.po: Update Czech translation from translation project.
14227         * po/de.po: Update German translation from translation project.
14229         * po/bg.po: Update Bulgarian translation from translation project.
14231         * po/sv.po: Update Sweedish translation from translation project.
14233         * po/nl.po: Update Dutch translation from translation project.
14235         * po/es.po: Update Spanish translation from translation project.
14237 2014-08-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
14239         * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
14241         * catgets/Makefile (CPPFLAGS-gencat): Remove.
14242         * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
14243         (CPPFLAGS-iconvconfig): Likewise.
14244         * timezone/Makefile (CPPFLAGS-zic): Likewise.
14246         * include/libc-symbols.h: Remove unnecessary check for
14247         NOT_IN_libc.
14248         * nptl/pthreadP.h: Likewise.
14249         * sysdeps/aarch64/setjmp.S: Likewise.
14250         * sysdeps/alpha/setjmp.S: Likewise.
14251         * sysdeps/arm/sysdep.h: Likewise.
14252         * sysdeps/i386/setjmp.S: Likewise.
14253         * sysdeps/m68k/setjmp.c: Likewise.
14254         * sysdeps/posix/getcwd.c: Likewise.
14255         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
14256         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
14257         * sysdeps/s390/s390-32/setjmp.S: Likewise.
14258         * sysdeps/s390/s390-64/setjmp.S: Likewise.
14259         * sysdeps/sh/sh3/setjmp.S: Likewise.
14260         * sysdeps/sh/sh4/setjmp.S: Likewise.
14261         * sysdeps/unix/alpha/sysdep.h: Likewise.
14262         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
14263         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
14264         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
14265         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
14266         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
14267         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
14268         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
14269         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
14270         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
14271         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
14272         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
14273         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
14274         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
14275         * sysdeps/x86_64/setjmp.S: Likewise.
14277 2014-08-13  Joseph Myers  <joseph@codesourcery.com>
14279         [BZ #17263]
14280         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
14281         <stdint.h>.
14282         (__get_clockfreq): Use uint64_t instead of hp_timing_t in
14283         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
14285 2014-08-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
14287         * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
14289         [BZ #17262]
14290         * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
14291         and __x86_64__ when disabling x87 inline functions.
14293 2014-08-12  H.J. Lu  <hongjiu.lu@intel.com>
14295         [BZ #17259]
14296         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
14297         asm statement with __cpuid_count.
14299 2014-08-12  Mike Frysinger  <vapier@gentoo.org>
14301         * configure.ac: Change __ehdr_start code to dereference the struct.
14302         Run readelf on the output to look for relocations.
14303         * configure: Regenerated.
14305 2014-08-12  Joseph Myers  <joseph@codesourcery.com>
14307         [BZ #17261]
14308         * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
14309         value to 0.
14310         (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
14312 2014-08-12  Roland McGrath  <roland@hack.frob.com>
14314         * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
14316 2014-08-12  Bernard Ogden  <bernie.ogden@linaro.org>
14318         [BZ #16892]
14319         * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
14320         atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
14322 2014-08-12  Sean Anderson  <seanga2@gmail.com>
14324         * malloc/malloc.c: Fix typo in comment.
14326 2014-08-09  Allan McRae  <allan@archlinux.org>
14328         * Regenerate libc.po.
14330 2014-08-08  Mike Frysinger  <vapier@gentoo.org>
14332         * intl/tst-gettext2.sh: Check every lang file for creation.
14334 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
14336         * sysdeps/aarch64/fpu/math_private.h
14337         (libc_feholdsetround_noex_aarch64_ctx): New function.
14339 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
14341         * sysdeps/arm/armv6/strcpy.S (strcpy):
14342         Fix performance issue in misaligned cases.
14344 2014-08-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14346         * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
14347         Move definition from termios.h.
14348         (struct termio): Likewise.
14349         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
14350         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
14351         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
14352         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
14353         Likewise.
14354         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
14355         Move definition to ioctl-types.h
14356         (struct termio): Likewise.
14357         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
14358         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
14359         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
14360         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
14361         Likewise.
14363 2014-08-05  Richard Henderson  <rth@redhat.com>
14365         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
14366         exceptions.
14367         * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
14368         Add fraiseexcpt.
14369         * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
14370         Use __feraiseexcept.
14371         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
14372         Protect libm symbols with IS_IN_libm.
14374         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
14376 2014-08-04  Bernard Ogden  <bernie.ogden@linaro.org>
14378         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
14380 2014-08-04  Will Newton  <will.newton@linaro.org>
14382         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
14383         file.
14385 2014-08-04  Mike Frysinger  <vapier@gentoo.org>
14387         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
14388         variants for each function.
14390 2014-08-04  Roland McGrath  <roland@hack.frob.com>
14392         * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
14393         appended ...
14394         * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
14395         * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
14396         appended ...
14397         * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
14398         * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
14399         * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
14400         * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
14401         * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
14402         * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
14403         * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
14404         * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
14405         * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
14406         * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
14407         * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
14408         * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
14409         * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
14410         * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
14411         * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
14412         * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
14413         * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
14414         * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
14415         * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
14416         * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
14417         * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
14418         * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
14419         * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
14420         * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
14421         * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
14422         * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
14423         * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
14424         * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
14425         * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
14426         * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
14427         * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
14428         * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
14429         * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
14430         * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
14431         * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
14432         * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
14433         * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
14434         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
14435         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
14436         * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
14437         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
14438         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
14439         * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
14440         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
14441         * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
14442         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
14443         * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
14444         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
14445         * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
14446         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
14447         * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
14448         * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
14449         * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
14450         Update #include.
14451         * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
14452         * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
14454 2014-08-04  Roland McGrath  <roland@hack.frob.com>
14456         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
14457         * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
14458         * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
14459         * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
14460         * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
14461         * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
14463 2014-08-04  Roland McGrath  <roland@hack.frob.com>
14465         * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
14466         * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
14467         * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
14468         * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
14470 2014-08-04  Roland McGrath  <roland@hack.frob.com>
14472         * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
14473         * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
14474         (__libc_vfork): Define function under this name.
14475         (__vfork): Define as an alias.
14476         * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
14477         * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
14479 2014-08-04  Roland McGrath  <roland@hack.frob.com>
14481         * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
14482         that was previously under [RESET_PID].
14483         * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
14485 2014-08-04  Andreas Schwab  <schwab@suse.de>
14487         * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
14489 2014-08-03  Mike Frysinger  <vapier@gentoo.org>
14491         * stdlib/tst-setcontext.c (test_stack): Fix coding style.
14492         (main): Likewise.
14494 2014-08-01  Roland McGrath  <roland@hack.frob.com>
14496         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
14498 2014-08-01  Richard Henderon  <rth@redhat.com>
14500         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
14501         feclearexcept; use math_opt_barrier instead of open-coded asm; fix
14502         typo in exact zero test.
14503         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
14504         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
14505         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
14507 2014-08-01  Roland McGrath  <roland@hack.frob.com>
14509         * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
14510         (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
14511         * sysdeps/arm/sysdep.h: ... here.
14512         [!__ASSEMBLER__]: Include <stdint.h>.
14514 2014-08-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
14516         * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
14517         (HAVE_WCTYPE_H): Likewise.
14518         (HAVE_ISWCTYPE): Likewise.
14519         (ENABLE_NLS): Likewise.
14520         * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
14521         && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
14523         * posix/regex_internal.c: Check if DEBUG is defined and is
14524         set.
14526         * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
14527         (HAVE_MBSRTOWCS): Likewise.
14528         * posix/fnmatch.c: Include string.h unconditionally.
14530 2014-08-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
14532         * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
14533         reversal.
14535 2014-07-31  Roland McGrath  <roland@hack.frob.com>
14537         * sysdeps/generic/safe-fatal.h: New file.
14538         * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
14539         * nptl/forward.c: Include it.
14540         (__pthread_unwind): Use __safe_fatal as default action, rather
14541         than a bogus use of INTERNAL_SYSCALL that could never work.
14543         * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
14544         * configure.ac (libc_cv_builtin_trap): New test.
14545         * configure: Regenerated.
14546         * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
14547         (ABORT_INSTRUCTION): Define using __builtin_trap.
14549         * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
14550         * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
14551         * sysdeps/nptl/nptl-signals.h: New file.
14552         * nptl/pthreadP.h: Include <nptl-signals.h>.
14554 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
14556         * sysdeps/s390/s390-64/utf16-utf32-z9.c
14557         (ONE_DIRECTION): Define.
14558         * sysdeps/s390/s390-64/utf8-utf16-z9.c
14559         (ONE_DIRECTION): Define.
14560         * sysdeps/s390/s390-64/utf8-utf32-z9.c
14561         (ONE_DIRECTION): Define.
14563 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
14565         * sysdeps/s390/Makefile: Delete file.
14566         * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
14567         * sysdeps/s390/__longjmp.c: Delete file.
14568         * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
14569         Remove fields __flags and __reserved.
14570         * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
14571         and add versioning.
14572         * sysdeps/s390/rtld-__longjmp.c: Delete file.
14573         * sysdeps/s390/rtld-global-offsets.sym: Likewise.
14574         * sysdeps/s390/rtld-setjmp.S: Likewise.
14575         * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
14576         * sysdeps/s390/s390-32/__longjmp.c: ... here.
14577         * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
14578         * sysdeps/s390/s390-32/setjmp.S: ... here.
14579         Add versioning.
14580         (__sigsetjmp): Remove setting __flags field.
14581         * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
14582         * sysdeps/s390/s390-64/__longjmp.c: ... here.
14583         * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
14584         * sysdeps/s390/s390-64/setjmp.S: ... here.
14585         Add versioning.
14586         (__sigsetjmp): Remove setting __flags field.
14587         * sysdeps/s390/setjmp.S: Delete file.
14588         * sysdeps/s390/sigjmp.c: Likewise.
14589         * sysdeps/s390/v1-longjmp.c: Likewise.
14590         * sysdeps/s390/v1-setjmp.h: Likewise.
14591         * sysdeps/s390/v1-sigjmp.c: Likewise.
14592         * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
14593         Remove v1-longjmp_chk.
14594         * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
14595         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
14596         Include debug/longjmp_chk.c and add versioning.
14597         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
14598         Include nptl/pt-longjmp.c and add versioning.
14599         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
14600         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
14601         Include __longjmp.c.
14602         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
14603         Move to ...
14604         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
14605         (__getcontext): Remove setting __flags field.
14606         Add versioning.
14607         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
14608         Don't restore upper high grps.
14609         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
14610         Likewise.
14611         (__swapcontext): Remove setting uc_flags field.
14612         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
14613         Delete file.
14614         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
14615         Include __longjmp.c.
14616         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
14617         Move to ...
14618         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
14619         (__getcontext): Remove setting __flags field.
14620         Add versioning.
14621         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
14622         (__swapcontext): Remove setting uc_flags field.
14623         * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
14624         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
14625         Remove fields uc_high_gprs and __reserved.
14626         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
14627         New file with reverted content.
14628         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
14629         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
14630         Regenerated.
14631         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
14632         Regenerated.
14634 2014-07-31  Andreas Schwab  <schwab@suse.de>
14636         * config.h.in (HAVE_IFUNC): Define to 0.
14637         * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
14638         definedness.
14640 2014-07-30  Ling Ma  <ling.ml@alibaba-inc.com>
14642         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
14643         memmove-avx-unaligned, memcpy-avx-unaligned and
14644         mempcpy-avx-unaligned.
14645         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
14646         Add tests for AVX memcpy functions.
14647         * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
14648         * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
14649         memcpy_chk.
14650         * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
14651         * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
14652         memmove_chk.
14653         * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
14654         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
14655         mempcpy_chk.
14656         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
14657         * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
14658         * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
14660 2013-07-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14662         [BZ #17213]
14663         * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
14664         powerpc64le.
14666 2014-07-29  Jeff Layton  <jlayton@poochiereds.net>
14668         [BZ #16839]
14669         * manual/llio.texi: Add section about open file description locks.
14670         * manual/examples/ofdlocks.c: Example of open file description
14671         lock usage.
14672         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
14673         F_OFD_SETLK, and F_OFD_SETLKW.
14675 2014-07-23  Allan McRae  <allan@archlinux.org>
14677         * po/es.po: Update Spanish translation from translation project.
14679 2014-07-18  Andreas Schwab  <schwab@linux-m68k.org>
14681         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
14683 2014-07-17  Maciej W. Rozycki  <macro@codesourcery.com>
14685         [BZ #17078]
14686         * sysdeps/arm/dl-machine.h (elf_machine_rela)
14687         [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
14688         (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
14690 2014-07-17  Joseph Myers  <joseph@codesourcery.com>
14692         [BZ #17088]
14693         * math/fesetenv.c (__fesetenv)
14694         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
14695         * math/feupdateenv.c (__feupdateenv)
14696         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
14698         * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
14699         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
14700         (__ASSUME_SOCKETCALL): Do not define.
14702         * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
14703         * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
14704         (__ASSUME_SOCKETCALL): Do not define.
14705         (__ASSUME_ST_INO_64_BIT): Define unconditionally.
14706         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
14707         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
14708         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
14709         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
14710         [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
14711         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
14712         [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
14714         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
14715         * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
14716         (__ASSUME_SOCKETCALL): Do not define.
14717         (__ASSUME_IPC64): Define unconditionally.
14718         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
14719         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
14720         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
14721         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
14722         [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
14723         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
14724         [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
14725         Likewise.
14727         * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
14728         * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
14729         (__ASSUME_SOCKETCALL): Do not define.
14730         (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
14731         (__ASSUME_FUTEX_LOCK_PI): Likewise.
14732         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
14733         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
14734         (__ASSUME_REQUEUE_PI): Define unconditionally.
14735         [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
14736         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
14737         [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
14738         [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
14739         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
14740         [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
14742         * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
14743         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
14744         (__ASSUME_SOCKETCALL): Do not define.
14745         [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
14746         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
14747         [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
14748         [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
14749         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
14750         [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
14752         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
14753         * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
14754         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
14755         [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
14756         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
14757         [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
14758         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
14759         [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
14760         (__ASSUME_GETCPU_SYSCALL): Likewise.
14762         * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
14763         * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR.  Remove
14764         cases for individual architectures.
14765         * sysdeps/gnu/configure: Regenerated.
14766         * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
14767         LIBC_SLIBDIR_RTLDDIR.
14768         * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
14769         * sysdeps/unix/sysv/linux/mips/configure.ac: Use
14770         LIBC_SLIBDIR_RTLDDIR.
14771         * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
14772         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
14773         LIBC_SLIBDIR_RTLDDIR.
14774         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
14775         Regenerated.
14776         * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
14777         * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
14778         file.
14779         * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
14780         * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
14781         file.
14782         * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
14783         * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
14784         * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
14785         * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
14787         * sysdeps/aarch64/shlib-versions: Move to ...
14788         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
14789         * sysdeps/alpha/shlib-versions: Move to ...
14790         * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
14791         * sysdeps/arm/shlib-versions: Move to ...
14792         * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
14793         * sysdeps/hppa/shlib-versions: Move all contents except for
14794         libgcc_s entry to ...
14795         * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here.  Merge in
14796         entry from ...
14797         * sysdeps/hppa/nptl/shlib-versions: ... here.  Remove file.
14798         * sysdeps/ia64/shlib-versions: Move to ...
14799         * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here.  Merge in
14800         entry from ...
14801         * sysdeps/ia64/nptl/shlib-versions: ... here.  Remove file.
14802         * sysdeps/m68k/coldfire/shlib-versions: Move to ...
14803         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
14804         * sysdeps/microblaze/shlib-versions: Move to ...
14805         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
14806         * sysdeps/mips/shlib-versions: Move to ...
14807         * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here.  Merge in
14808         entry from ...
14809         * sysdeps/mips/nptl/shlib-versions: ... here.  Remove file.
14810         * sysdeps/tile/shlib-versions: Move to ...
14811         * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
14812         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
14813         from ...
14814         * sysdeps/x86_64/64/shlib-versions: ... here.  Remove file.
14815         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
14816         entry from ...
14817         * sysdeps/x86_64/x32/shlib-versions: ... here.  Remove file.
14819 2014-07-17  Will Newton  <will.newton@linaro.org>
14821         * sysdeps/arm/bits/atomic.h
14822         (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
14823         (__arch_compare_and_exchange_bool_16_int): Likewise.
14824         (__arch_compare_and_exchange_bool_64_int): Likewise.
14826         * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
14827         into an #else block.
14829 2014-07-16  Roland McGrath  <roland@hack.frob.com>
14831         * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
14832         just Linux configurations.  Test empirically that the compiler sets
14833         __ARM_EABI__, rather than using the tuple to decide.
14834         * sysdeps/arm/preconfigure: Regenerated.
14835         * sysdeps/unix/sysv/linux/arm/configure: File removed.
14836         * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
14837         contents appended ...
14838         * sysdeps/arm/configure.ac: ... here.
14839         * sysdeps/arm/configure: Regenerated.
14841 2014-07-15  Roland McGrath  <roland@hack.frob.com>
14843         * nptl/pthread_kill.c: New file.
14844         * nptl/pthread_sigmask.c: New file.
14845         * nptl/pthread_sigqueue.c: New file.
14847         * sysdeps/nptl/lowlevellock.h: New file.
14848         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
14849         * sysdeps/nptl/lowlevellock-futex.h: New file.
14851         * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
14852         Remove dead declarations.
14854 2014-07-14  H.J. Lu  <hongjiu.lu@intel.com>
14856         * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
14857         * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
14858         config-cflags-avx2.
14859         * sysdeps/x86_64/configure.ac: Likewise.
14860         * sysdeps/i386/configure: Regenerated.
14861         * sysdeps/x86_64/configure: Likewise.
14862         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
14863         memset-avx2 only if config-cflags-avx2 is yes.
14864         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
14865         Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
14866         defined.
14867         * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
14868         only if HAVE_AVX2_SUPPORT is defined.
14869         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
14871 2014-07-14  Alan Modra  <amodra@gmail.com>
14873         [BZ #17153]
14874         * elf/elf.h (DT_PPC64_NUM): Correct value.
14875         * NEWS: Add to fixed bug list.
14877 2014-07-13  Jim Meyering  <meyering@fb.com>
14879         [BZ 17150]
14880         regex: don't deref NULL upon heap allocation failure
14881         * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
14882         failure in one more place.
14883         To trigger the segfault, configure grep -with-included-regex,
14884         build it, and run these commands:
14885         ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
14887 2014-07-13  Andreas Schwab  <schwab@linux-m68k.org>
14889         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
14891 2014-07-11  Richard Henderson  <rth@redhat.com>
14893         * sysdeps/aarch64/libm-test-ulps: Update.
14895 2014-07-10  Florian Weimer  <fweimer@redhat.com>
14897         [BZ #17135]
14898         * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
14899         * nptl/allocatestack.c (__nptl_setxid_error): New function.
14900         (__nptl_setxid): Initialize error member.  Call
14901         __nptl_setxid_error.
14902         * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
14903         * nptl/descr.h (struct xid_command): Add error member.
14904         * nptl/tst-setuid3.c: New file.
14905         * nptl/Makefile (tests): Add it.
14907 2014-07-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14909         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
14910         New define.
14911         (__lll_trylock): Use __lll_base_trylock.
14912         (__lll_cond_trylock): Likewise.
14914 2014-07-10  Roland McGrath  <roland@hack.frob.com>
14916         * nptl/pthread_create.c (start_thread): Use atomic_or and
14917         lll_futex_wake directly rather than lll_robust_dead.
14918         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
14919         (lll_robust_dead): Macro removed.
14920         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
14921         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
14922         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
14923         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
14924         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
14925         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
14926         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
14927         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
14928         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
14929         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
14930         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
14931         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
14932         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
14933         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
14934         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
14936         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
14937         Use atomic_compare_and_exchange_val_acq directly rather than
14938         lll_robust_trylock.
14939         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
14940         (__lll_robust_trylock, lll_robust_trylock): Removed.
14941         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
14942         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
14943         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
14944         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
14945         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
14946         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
14947         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
14948         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
14949         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
14950         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
14951         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
14952         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
14953         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
14954         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
14956 2014-07-02  Florian Weimer  <fweimer@redhat.com>
14958         * manual/locale.texi (Locale Names): New section documenting
14959         locale name syntax.  Adjust menu and node chaining accordingly.
14960         (Choosing Locale): Reference Locale Names, Locale Categories.
14961         Mention setting LC_ALL=C.  Reflect that name syntax is now
14962         documented.
14963         (Locale Categories): New section title.  Reference Locale Names.
14964         LC_ALL is an environment variable, but not a category.
14965         (Setting the Locale): Remove "locale -a" invocation and LOCPATH
14966         description, now in Locale Name.  Reference that section.  Locale
14967         name syntax is now documented.
14969 2014-07-02  Florian Weimer  <fweimer@redhat.com>
14971         [BZ #17137]
14972         * locale/findlocale.c (name_present, valid_locale_name): New
14973         functions.
14974         (_nl_find_locale): Use the loc_name variable to store name
14975         candidates.  Call name_present and valid_locale_name to check and
14976         validate locale names.  Return an error if the locale is invalid.
14978 2014-07-02  Florian Weimer  <fweimer@redhat.com>
14980         * locale/setlocale.c (setlocale): Use strdup for allocating
14981         composite name copy.
14983 2014-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
14985         Sync up with gnulib.
14986         * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
14987         [!_LIBC && ENABLE_NLS]: Include gettext.h.
14988         [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
14989         and _GL_ARG_NONNULL.
14990         [USE_UNLOCKED_IO]: Include unlocked-io.h.
14991         [!_LIBC]: Include code for Windows and Cygwin.
14992         [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
14993         Include prototype for int strerror_r.
14994         [!_LIBC] (is_open): New function.
14995         (flush_stdout): New function.
14996         (print_errno_message): Use it.
14997         (error): Likewise.
14998         (error_at_line): Likewise.
14999         (error_tail) Add function attribute macros.  Use
15000         __builtin_expect.
15002         * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
15004         * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
15006         * io/ftw.c: Include sys/param.h unconditionally.
15008         * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
15010         [BZ #17125]
15011         * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
15012         libc_freeres_ptr.
15013         (freecache): New function to free CACHE on exit.
15015         * sunrpc/xdr.c (xdr_string): Add comment about SIZE
15016         initialization.
15018 2014-07-09  David S. Miller  <davem@davemloft.net>
15020         * sysdeps/sparc/fpu/libm-test-ulps: Update.
15022         * sysdeps/sparc/nptl/internaltypes.h: Delete.
15023         * sysdeps/sparc/nptl/sparc-nptl.h: New file.
15024         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
15025         * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
15026         * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
15027         * sysdeps/sparc/nptl/sem_init.c: Likewise.
15028         * sysdeps/sparc/nptl/sem_post.c: Likewise.
15029         * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
15030         * sysdeps/sparc/nptl/sem_wait.c: Likewise.
15031         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
15032         * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
15033         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
15034         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
15036 2014-07-09  Andreas Schwab  <schwab@suse.de>
15038         * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
15039         output.
15040         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
15041         (do_test): Likewise.
15043         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
15045 2014-07-09  Will Newton  <will.newton@linaro.org>
15047         * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
15048         * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
15049         * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
15050         * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
15051         * sysdeps/hppa/start.S (_start): Likewise.
15053 2014-07-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
15055         * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
15057         * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
15058         defined.
15060 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
15062         * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
15063         after checking that it is non-NULL.
15065         * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
15067 2014-07-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15069         * sysdeps/powerpc/memmove.c: Remove file.
15070         * sysdeps/powerpc/powerpc32/power4/memcopy.h
15071         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
15072         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
15073         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
15074         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
15075         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
15076         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
15077         string memmove instead of removed powerpc one.
15079         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
15080         [weak_alias]: Fix compiler warning due trailing data.
15081         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
15082         [weak_alias]: Likewise.
15083         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
15084         warnigs due missing definition of __strcpy_power7 and __strlen_power7.
15086         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
15087         (__libc_ifunc_impl_list): Add memmove functions.
15089 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
15091         * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
15092         Remove code.
15093         * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
15094         Likewise
15095         * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
15096         Likewise
15097         * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
15098         Likewise
15099         * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
15100         Likewise
15101         * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
15102         Likewise
15103         * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
15104         Likewise
15105         * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
15106         Likewise
15107         * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
15108         Likewise
15109         * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
15110         Likewise
15111         * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
15112         Likewise
15113         * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
15114         Likewise
15115         * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
15116         Likewise
15117         * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
15118         Likewise
15119         * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
15120         Likewise
15121         * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
15122         Likewise
15123         * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
15124         Likewise
15126 2014-07-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15128         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
15129         to avoid alignment traps in non-cacheable memory.
15130         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
15132         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
15133         multiarch objects.
15134         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
15135         file: multiarch power7 memmove.
15136         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
15137         multiarch default memmove.
15138         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
15139         multiarch memove for powerpc32/power4.
15141         * string/bcopy.c: Use full path to include memmove.c.
15142         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
15143         multiarch objects.
15144         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
15145         bcopy for powerpc64.
15146         * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
15147         bcopy for powerpc64.
15148         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
15149         and memmove implementations.
15150         * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
15151         optimized multiarch memmove for POWER7/powerpc64.
15152         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
15153         default multiarch memmove for powerpc64.
15154         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
15155         multiarch for powerpc64.
15156         * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
15157         for POWER7/powerpc64.
15158         * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
15159         memmove for POWER7/powerpc64.
15161         * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
15162         glibc default one.
15164         * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
15165         __ELF_NATIVE_CLASS equal to 64.
15167 2014-07-07  Roland McGrath  <roland@hack.frob.com>
15169         * sysdeps/nptl/lowlevellock.h: File removed.
15171         * NEWS: NPTL is no longer an add-on!
15172         * nptl/internaltypes.h: Moved ...
15173         * sysdeps/nptl/internaltypes.h: ... here.
15174         * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
15175         * sysdeps/nptl/fork.c: Likewise.
15176         * sysdeps/nptl/gai_misc.h: Likewise.
15177         * sysdeps/nptl/librt-cancellation.c: Likewise.
15178         * sysdeps/nptl/jmp-unwind.c: Likewise.
15179         * sysdeps/nptl/setxid.h: Likewise.
15180         * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
15181         * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
15182         * sysdeps/unix/sysv/linux/arm/Implies: New file.
15183         * sysdeps/unix/sysv/linux/hppa/Implies: New file.
15184         * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
15185         * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
15186         * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
15187         * sysdeps/unix/sysv/linux/m68k/Implies: New file.
15188         * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
15189         * sysdeps/unix/sysv/linux/mips/Implies: New file.
15190         * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
15191         * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
15192         * sysdeps/unix/sysv/linux/sh/Implies: New file.
15193         * sysdeps/unix/sysv/linux/sparc/Implies: New file.
15194         * sysdeps/unix/sysv/linux/tile/Implies: New file.
15195         * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
15196         * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
15197         * nptl/Makeconfig: Moved ...
15198         * sysdeps/nptl/Makeconfig: ... here.
15199         * nptl/configure: File removed.
15200         * nptl/ANNOUNCE: File removed.
15201         * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
15202         * sysdeps/unix/sysv/linux/configure: Regenerated.
15204         * nptl/Makefile (routines): Add libc_pthread_init,
15205         libc_multiple_threads, register-atfork and unregister-atfork.
15206         (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
15207         (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
15208         lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
15209         pthread-pi-defines.sym, structsem.sym.
15210         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
15211         (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
15212         [$(subdir) = nptl] (tests): Add tst-setgetname.
15213         * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
15214         * sysdeps/unix/sysv/linux/sigaction.c: Just include
15215         <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
15216         [!LIBC_SIGACTION]: Remove aliases.
15217         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
15218         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
15219         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
15220         * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
15221         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
15222         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
15223         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
15224         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
15225         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
15226         * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
15227         (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
15228         __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
15229         __libc_allocate_rtsig_private.
15230         * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
15231         * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
15232         * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
15233         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
15234         * sysdeps/unix/sysv/linux/sleep.c: Likewise.
15235         * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
15236         * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
15237         * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
15238         * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
15239         * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
15240         * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
15241         * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
15242         * nptl/internaltypes.h: ... here.
15243         * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
15244         * sysdeps/nptl/jmp-unwind.c: ... here.
15245         * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
15246         * nptl/libc-lowlevellock.c: ... here.
15247         * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
15248         * nptl/libc_multiple_threads.c: ... here.
15249         * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
15250         * nptl/libc_pthread_init.c: ... here.
15251         * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
15252         * nptl/lowlevelbarrier.sym: ... here.
15253         * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
15254         * nptl/lowlevelcond.sym: ... here.
15255         * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
15256         * nptl/lowlevellock.c: ... here.
15257         * nptl/lowlevellock.h: Moved ...
15258         * sysdeps/nptl/lowlevellock.h: ... here.
15259         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
15260         * nptl/lowlevelrobustlock.c: ... here.
15261         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
15262         * nptl/lowlevelrobustlock.sym: ... here.
15263         * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
15264         * nptl/lowlevelrwlock.sym: ... here.
15265         * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
15266         * nptl/pt-fork.c: ... here.
15267         * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
15268         * nptl/pthread-pi-defines.sym: ... here.
15269         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
15270         * nptl/pthread_attr_getaffinity.c: ... here.
15271         * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
15272         * nptl/pthread_attr_setaffinity.c: ... here.
15273         * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
15274         * nptl/pthread_mutex_cond_lock.c: ... here.
15275         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
15276         Update #include.
15277         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
15278         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
15279         * nptl/pthread_once.c: ... here, replacing old file.
15280         * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
15281         * nptl/pthread_yield.c: ... here.
15282         * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
15283         * nptl/register-atfork.c: ... here.
15284         * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
15285         * nptl/sem_post.c: ... here.
15286         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
15287         * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
15288         * nptl/sem_timedwait.c: ... here.
15289         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
15290         * nptl/sem_trywait.c: ... here.
15291         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
15292         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
15293         * nptl/sem_wait.c: ... here.
15294         * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
15295         * nptl/structsem.sym: ... here.
15296         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
15297         * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
15298         * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
15299         * nptl/unregister-atfork.c: ... here.
15300         * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
15301         * nptl/unwindbuf.sym: ... here.
15302         * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
15303         * sysdeps/nptl/fork.c: ... here.
15304         * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
15305         * sysdeps/nptl/fork.h: ... here.
15306         * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
15307         * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
15308         * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
15309         * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
15310         * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
15311         * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
15312         * sysdeps/unix/sysv/linux/getpid.c: ... here.
15313         * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
15314         * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
15315         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
15316         * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
15317         * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
15318         * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
15319         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
15320         * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
15321         * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
15322         * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
15323         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
15324         * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
15325         * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
15326         * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
15327         * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
15328         * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
15329         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
15330         * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
15331         * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
15332         * sysdeps/unix/sysv/linux/raise.c: ... here.
15333         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
15334         * sysdeps/unix/sysv/linux/timer_create.c: ... here.
15335         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
15336         * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
15337         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
15338         * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
15339         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
15340         * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
15341         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
15342         * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
15343         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
15344         * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
15345         * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
15346         * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
15347         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
15349 2014-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
15351         * sysdeps/generic/memcopy.h: Add comment for
15352         MEMCPY_OK_FOR_FWD_MEMMOVE.
15354 2014-07-04  Will Newton  <will.newton@linaro.org>
15356         * string/memchr.c: Merge from gnulib.
15357         [_LIBC]: Remove conditionals.
15358         (__ptr_t): Remove define.
15359         (LONG_MAX_32_BITS): Likewise.
15360         (LONG_MAX): Likewise.
15361         (MEMCHR): Use ANSI prototype and optimize algorithm.
15363         * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
15365 2014-07-03  Roland McGrath  <roland@hack.frob.com>
15367         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
15368         (lll_futex_timed_wait_bitset): Fix syscall argument count.
15370         * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
15371         Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
15372         in a bare environment with no <stdlib.h> installed.
15373         * sysdeps/nptl/configure: Regenerated.
15375         * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
15377         * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
15378         AC_EGREP_CPP for kernel header checks, so they only succeed if
15379         including <linux/version.h> actually works right.
15380         * sysdeps/unix/sysv/linux/configure: Regenerated.
15382         * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
15383         value so it's not diagnosed as unused.
15385         * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
15386         thing) with "ifeq ($(subdir),rt)".
15388 2014-07-03  Richard Henderson  <rth@redhat.com>
15390         * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
15391         * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
15392         include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
15394         * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
15395         (math_force_eval): New.
15397         * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
15398         * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
15400         * sysdeps/alpha/fpu/s_round.c: Remove file.
15401         * sysdeps/alpha/fpu/s_roundf.c: Remove file.
15403         * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
15404         (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
15405         * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
15406         (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
15407         (_dl_start, print_statistics): Likewise.
15408         * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
15409         HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
15411         * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
15412         * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
15413         * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
15414         * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
15415         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
15416         (HP_SMALL_TIMING_AVAIL): Define.
15417         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
15418         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
15419         (HP_SMALL_TIMING_AVAIL): Define.
15420         * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
15421         * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
15423         * sysdeps/aarch64/hp-timing.h: New file.
15425         * sysdeps/generic/hp-timing.h: Remove dead comment.
15426         * sysdeps/generic/hp-timing-common.h: New file.
15427         * sysdeps/alpha/hp-timing.h: Include it.
15428         (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
15429         * sysdeps/i386/i686/hp-timing.h: Likewise.
15430         * sysdeps/ia64/hp-timing.h: Likewise.
15431         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
15432         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
15433         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
15434         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
15435         * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
15436         (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
15437         (hp_timing_t): New.
15439         * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
15440         * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
15441         (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
15442         * elf/rtld.c (_dl_start_final): Likewise.
15443         * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
15444         * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
15445         * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
15446         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
15447         * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
15448         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
15449         (HP_TIMING_DIFF_INIT): Remove.
15450         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
15451         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
15452         (HP_TIMING_DIFF_INIT): Remove.
15453         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
15454         * sysdeps/i386/i686/hp-timing.c: Remove file.
15455         * sysdeps/x86_64/hp-timing.c: Remove file.
15456         * sysdeps/ia64/hp-timing.c: Remove file.
15457         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
15458         * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
15459         * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
15460         * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
15462         * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
15463         * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
15464         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
15465         * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
15466         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
15467         (HP_TIMING_ACCUM): Remove.
15468         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
15469         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
15470         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
15472         * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
15473         * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
15474         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
15475         * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
15476         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
15477         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
15478         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
15479         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
15481         * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
15483 2014-07-03  Maciej W. Rozycki  <macro@codesourcery.com>
15485         * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
15487 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
15489         Sync up with gettext.
15490         * intl/loadmsgcat.c: Define O_BINARY if not defined.
15491         [_MSC_VER]: Include malloc.h
15492         [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
15493         (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
15494         (_nl_load_domain): Open DOMAIN_FILE in binary mode.  Don't use
15495         TEMP_FAILURE_RETRY.  Cast return of alloca.
15496         [!_LIBC] Call gl_rwlock_init.
15497         [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
15499 2014-07-02  Roland McGrath  <roland@hack.frob.com>
15501         * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
15502         before checking its value.
15504 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
15506         * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
15508         * debug/memcpy_chk.c: Don't include pagecopy.h.
15509         * debug/mempcpy_chk.c: Likewise.
15510         * string/memcpy.c: Likewise.
15511         * string/memmove.c: Likewise.
15512         * sysdeps/powerpc/memmove.c: Likewise.
15513         * sysdeps/generic/memcopy.h: Include pagecopy.h.  Move
15514         definition of PAGE_COPY_FWD_MAYBE here...
15515         * sysdeps/generic/pagecopy.h: ... from here.
15516         * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
15518 2014-07-02  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
15519             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15521         * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
15522         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
15523         optimizations.
15524         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
15525         (__libc_ifunc_impl_list): Likewise.
15526         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
15527         multiarch strcat for PPC64.
15528         * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
15529         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
15531 2014-07-02  Roland McGrath  <roland@hack.frob.com>
15533         * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
15535 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
15537         * intl/loadmsgcat.c: Remove declaration of
15538         get_sysdep_segment_value.
15539         (get_sysdep_segment_value): Use ISO C style.
15540         (_nl_load_domain): Use ISO C style.  Get rid of redundant
15541         semicolon.  Fix typo and formatting in comment.
15542         (_nl_unload_domain): Use ISO C style.
15544         * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
15546 2014-07-02  Will Newton  <will.newton@linaro.org>
15548         * malloc/obstack.c: Merge from gnulib master.
15549         [HAVE_CONFIG_H]: Remove conditional code.
15550         [!_LIBC]: Include config.h.
15551         [!ELIDE_CODE]: Don't include inttypes.h, include
15552         stdint.h unconditionally.
15553         (print_and_abort): Mark as _Noreturn.
15554         (_obstack_allocated_p): Mark as __attribute_pure__.
15555         (obstack_free): Rename to __obstack_free.
15556         [!__attribute__]: Remove conditional code.
15557         * malloc/obstack.h: Merge from gnulib master.
15558         [__cplusplus]: Move conditional down.
15559         [!__attribute_pure__]: Define __attribute_pure__ here
15560         if it is not already defined.
15561         (_obstack_memory_used): Mark as __attribute_pure__.
15562         [!__obstack_free]: Define as obstack_free.
15563         [__GNUC__]: Remove check for ancient NeXT gcc.
15565 2014-07-02  Will Newton  <will.newton@linaro.org>
15566             Paul Eggert  <eggert@cs.ucla.edu>
15568         * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
15570 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
15572         * resolv/gethnamaddr.c: Add comment warning that the file is
15573         not maintained.
15575 2014-07-01  Carlos O'Donell  <carlos@redhat.com>
15577         * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
15578         entries.
15580         * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
15581         entry for aio_cancel and aio_cancel64.
15582         * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
15583         * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
15584         * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
15585         * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
15586         * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
15587         * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
15588         * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
15589         * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
15590         * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
15591         * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
15592         * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
15593         * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
15594         * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
15596 2014-07-01  Roland McGrath  <roland@hack.frob.com>
15598         * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
15599         * nptl/pthread_mutex_lock.c: Likewise.
15600         * nptl/pthread_mutex_timedlock.c: Likewise.
15601         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
15603 2014-07-01  Richard henderson  <rth@redhat.com>
15605         * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
15606         (__isnan, __isnanl): Remove.
15607         * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
15609         * sysdeps/alpha/fpu/libm-test-ulps: Update.
15611 2014-07-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
15613         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
15615 2014-07-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
15617         * resolv/nss_dns/dns-host.c (getanswer_r)
15618         [MULTI_PTRS_ARE_ALIASES]: Remove code.
15620 2014-07-01  Joseph Myers  <joseph@codesourcery.com>
15622         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
15623         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
15624         undefine.
15625         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
15626         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
15628 2014-07-01  Roland McGrath <roland@hack.frob.com>
15630         * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
15631         * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
15633         * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
15634         * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
15636         * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
15637         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
15638         ... here.
15639         * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
15640         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
15642         * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
15643         * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
15644         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
15645         * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
15647         * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
15648         * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
15649         * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
15650         * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
15651         * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
15652         Moved ...
15653         * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
15654         ... here.
15655         * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
15656         * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
15657         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
15658         * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
15659         * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
15660         * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
15661         * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
15662         * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
15663         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
15664         * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
15665         * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
15666         * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
15667         * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
15668         * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
15669         * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
15670         * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
15671         * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
15672         * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
15673         * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
15674         * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
15675         ... here.
15676         * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
15677         * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
15678         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
15679         * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
15680         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
15681         * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
15682         * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
15683         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
15685 2014-07-01  David Holsgrove  <david.holsgrove@xilinx.com>
15687         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
15688         * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
15689         * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
15690         Add sysdep.
15692 2014-06-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15694         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15696 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
15698         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
15699         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
15701         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
15703         * sysdeps/arm/libm-test-ulps: Regenerated.
15705 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
15706             Roland McGrath <roland@hack.frob.com>
15708         * test-skeleton.c (signal_handler): Kill the whole process group
15709         before killing the child individually.
15710         (main): Report any failure on `setpgid'.
15712 2014-06-30  Roland McGrath  <roland@hack.frob.com>
15714         * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
15715         from _TLS_H to _ARM_NPTL_TLS_H.
15716         (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
15717         * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
15719 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
15721         [BZ #16539]
15722         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
15723         (__expm1l): Return argument unchanged when small but not
15724         subnormal.
15726         * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
15727         include macro name.
15728         (_FP_UNPACK_RAW_1_P): Likewise.
15729         (_FP_PACK_RAW_1): Likewise.
15730         (_FP_PACK_RAW_1_P): Likewise.
15731         (_FP_MUL_MEAT_1_wide): Likewise.
15732         (_FP_MUL_MEAT_DW_1_hard): Likewise.
15733         (_FP_MUL_MEAT_1_hard): Likewise.
15734         (_FP_DIV_MEAT_1_imm): Likewise.
15735         (_FP_DIV_MEAT_1_udiv_norm): Likewise.
15736         (_FP_DIV_MEAT_1_udiv): Likewise.
15737         * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
15738         (_FP_UNPACK_RAW_2): Likewise.
15739         (_FP_UNPACK_RAW_2_P): Likewise.
15740         (_FP_PACK_RAW_2): Likewise.
15741         (_FP_PACK_RAW_2_P): Likewise.
15742         (_FP_MUL_MEAT_DW_2_wide): Likewise.
15743         (_FP_MUL_MEAT_2_wide): Likewise.
15744         (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
15745         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
15746         (_FP_MUL_MEAT_DW_2_gmp): Likewise.
15747         (_FP_MUL_MEAT_2_gmp): Likewise.
15748         (_FP_DIV_MEAT_2_udiv): Likewise.
15749         * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
15750         (_FP_FRAC_SRL_4): Likewise.
15751         (_FP_FRAC_SRST_4): Likewise.
15752         (_FP_FRAC_SRS_4): Likewise.
15753         (_FP_UNPACK_RAW_4): Likewise.
15754         (_FP_UNPACK_RAW_4_P): Likewise.
15755         (_FP_PACK_RAW_4): Likewise.
15756         (_FP_PACK_RAW_4_P): Likewise.
15757         (_FP_MUL_MEAT_DW_4_wide): Likewise.
15758         (_FP_MUL_MEAT_4_wide): Likewise.
15759         (_FP_MUL_MEAT_4_gmp): Likewise.
15760         (umul_ppppmnnn): Likewise.
15761         (_FP_DIV_MEAT_4_udiv): Likewise.
15762         (__FP_FRAC_ADD_4): Likewise.
15763         (__FP_FRAC_SUB_3): Likewise.
15764         (__FP_FRAC_SUB_4): Likewise.
15765         (__FP_FRAC_DEC_3): Likewise.
15766         (__FP_FRAC_DEC_4): Likewise.
15767         (__FP_FRAC_ADDI_4): Likewise.
15768         * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
15769         (_FP_FRAC_SRL_8): Likewise.
15770         (_FP_FRAC_SRS_8): Likewise.
15772         * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
15773         include macro name.
15774         (FP_UNPACK_RAW_EP): Likewise.
15775         (FP_PACK_RAW_E): Likewise.
15776         (FP_PACK_RAW_EP): Likewise.
15777         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
15778         (_FP_ISSIGNAN): Likewise.
15779         (_FP_ADD_INTERNAL): Likewise.
15780         (_FP_FMA): Likewise.
15781         (_FP_CMP): Likewise.
15782         (_FP_SQRT): Likewise.
15783         (_FP_TO_INT): Likewise.
15784         (_FP_FROM_INT): Likewise.
15785         (FP_EXTEND): Likewise.
15786         (_FP_DIV_MEAT_N_loop): Likewise.
15788 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
15790         * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
15791         throughout.
15793 2014-06-29  Joseph Myers  <joseph@codesourcery.com>
15795         [BZ #17097]
15796         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
15797         result with correct sign in case of exponents that produce
15798         overflow except for X very close to 1.
15800 2014-06-28  Paul Eggert  <eggert@cs.ucla.edu>
15802         mktime: merge #if/#ifdef usage from glibc
15803         * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
15804         as that works with both Glibc's and Gnulib's style.
15805         See thread starting at Siddhesh Poyarekar's bug report at:
15806         http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
15808 2014-06-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
15810         * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
15811         * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
15812         * sysdeps/tile/tilegx/memmove.c: Remove file.
15814 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
15816         * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
15817         abi-name definition.
15818         * scripts/soversions.awk: Do not handle or generate ABI lines.
15819         * shlib-versions: Remove ABI entries.
15820         * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
15821         * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
15823 2014-06-27  Roland McGrath  <roland@hack.frob.com>
15825         * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
15826         * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
15827         * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
15828         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
15829         * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
15830         * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
15831         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
15832         Moved ...
15833         * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
15834         ... here.
15835         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
15836         * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
15837         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
15838         * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
15839         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
15840         * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
15841         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
15842         * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
15843         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
15844         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
15845         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
15846         * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
15847         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
15848         Moved ...
15849         * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
15850         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
15851         * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
15852         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
15853         * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
15854         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
15855         Moved ...
15856         * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
15857         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
15858         Moved ...
15859         * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
15860         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
15861         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
15862         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
15863         Moved ...
15864         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
15865         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
15866         * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
15867         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
15868         * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
15869         * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
15870         * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
15871         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
15872         Moved ...
15873         * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
15874         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
15875         * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
15876         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
15877         Moved ...
15878         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
15879         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
15880         Moved ...
15881         * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
15882         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
15883         * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
15884         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
15885         Moved ...
15886         * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
15887         ... here.
15888         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
15889         Identical file removed.
15890         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
15891         Moved ...
15892         * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
15893         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
15894         Identical file removed.
15895         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
15896         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
15897         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
15898         Moved ...
15899         * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
15900         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
15901         Identical file removed.
15902         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
15903         * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
15904         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
15905         Identical file removed.
15906         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
15907         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
15908         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
15909         Identical file removed.
15910         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
15911         * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
15912         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
15913         Identical file removed.
15914         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
15915         Moved ...
15916         * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
15917         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
15918         Identical file removed.
15919         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
15920         Moved ...
15921         * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
15922         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
15923         * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
15924         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
15925         Identical file removed.
15926         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
15927         Moved ...
15928         * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
15929         ... here.
15930         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
15931         Identical file removed.
15932         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
15933         Moved ...
15934         * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
15935         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
15936         Identical file removed.
15937         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
15938         Moved ...
15939         * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
15940         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
15941         * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
15942         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
15943         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
15944         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
15945         Moved ...
15946         * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
15947         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
15948         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
15950         * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
15951         SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
15952         * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
15953         * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
15954         * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
15956 2014-06-27  Arjun Shankar  <arjun.is@lostca.se>
15958         [BZ #17092]
15959         * nscd/nscd.c (monitor_child): Return exit status of child
15960         instead of return value from wait syscall.
15962 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
15964         * configure.ac (libc_commonpagesize): Remove variable.
15965         (libc_relro_required): Likewise.
15966         (libc_cv_z_relro): Remove configure test.
15967         * configure: Regenerated.
15968         * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
15969         variable.
15970         (libc_relro_required): Likewise.
15971         * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
15972         (libc_relro_required): Likewise.
15973         * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
15974         (libc_relro_required): Likewise.
15975         * sysdeps/arm/preconfigure: Regenerated.
15976         * sysdeps/ia64/preconfigure: Remove file.
15977         * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
15978         variable.
15979         (libc_relro_required): Likewise.
15981         [BZ #16561]
15982         [BZ #16562]
15983         * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
15984         (__ieee754_yn): Set FE_TONEAREST mode internally and then
15985         recompute overflowing results in original rounding mode.
15986         * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
15987         (__ieee754_ynf): Set FE_TONEAREST mode internally and then
15988         recompute overflowing results in original rounding mode.
15989         * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
15990         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
15991         recompute overflowing results in original rounding mode.
15992         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
15993         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
15994         recompute overflowing results in original rounding mode.
15995         * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
15996         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
15997         recompute overflowing results in original rounding mode.
15998         * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
15999         (libc_feholdsetround_ctx): New macro.
16000         * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
16001         * sysdeps/i386/fpu/libm-test-ulps: Update.
16002         * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
16004 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
16006         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
16007         [__PIC__] (PSEUDO): Use name of _nocancel entry point in
16008         corresponding .cpsetup call.
16010 2014-06-26  Roland McGrath  <roland@hack.frob.com>
16012         * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
16013         * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
16014         * sysdeps/arm/Makefile [$(subdir) = csu]
16015         (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
16016         (static-only-routines): Add aeabi_read_tp here.
16017         (shared-only-routines): Add libc-aeabi_read_tp here.
16018         (CFLAGS-libc-start.c): Add -fexceptions here.
16019         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
16020         (sysdep_routines, static-only-routines, shared-only-routines):
16021         Don't add to these here.
16022         (CFLAGS-libc-start.c): Likewise.
16024         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
16025         * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
16026         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
16027         * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
16028         * sysdeps/arm/Makefile [$(subdir) = rt]
16029         (librt-sysdep_routines, librt-shared-only-routines):
16030         Append rt-aeabi_unwind_cpp_pr1 here.
16031         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
16032         (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
16033         * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
16034         (libpthread-sysdep_routines, libpthread-shared-only-routines):
16035         Append nptl-aeabi_unwind_cpp_pr1 here.
16036         (tests): Filter out tst-cleanupx4 here.
16037         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
16038         (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
16039         Don't do those here.
16041 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
16043         * scripts/list-sources.sh: Do not handle ports specially.
16045 2014-06-26  Roland McGrath  <roland@hack.frob.com>
16047         * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
16048         * sysdeps/arm/feupdateenv.c: Likewise.
16050         * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
16052 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
16054         * manual/texinfo.tex: Update to version 2014-05-05.10 with
16055         trailing whitespace removed.
16056         * scripts/config.guess: Update to version 2014-03-23.
16057         * scripts/config.sub: Update to version 2014-05-01
16058         * scripts/install-sh: Update to version 2013-12-25.23.
16059         * scripts/move-if-change: Update from gnulib.
16061 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
16063         * debug/memmove_chk.c: Remove pagecopy.h include.
16065 2014-06-26  Paul Eggert  <eggert@cs.ucla.edu>
16067         * time/mktime.c (leapyear): Remove inline keyword.  The code is now
16068         identical to gnulib mktime.
16070 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
16072         * configure.ac: Do not test for machine being rs6000.  Do not test
16073         for powerpc*-*soft.
16074         * configure: Regenerated.
16076         [BZ #11505]
16077         * configure.ac (libc_cv_asm_cfi_directives): Remove configure
16078         test.
16079         * configure: Regenerated.
16080         * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
16081         * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
16082         Remove configure test.
16083         * sysdeps/arm/configure: Regenerated.
16084         * sysdeps/nptl/configure.ac: Do not check
16085         libc_cv_asm_cfi_directives.
16086         * sysdeps/nptl/configure: Regenerated.
16087         * sysdeps/x86_64/nptl/configure.ac: Remove file.
16088         * sysdeps/x86_64/nptl/configure: Remove generated file.
16089         * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
16090         unconditional.
16091         [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
16093 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
16095         * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
16096         * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
16097         (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
16098         it is defined.
16100         * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
16101         instead of whether it is defined.
16102         * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
16103         * sysdeps/hppa/dl-machine.h: Likewise.
16104         * sysdeps/ia64/dl-machine.h: Likewise.
16105         * sysdeps/m68k/dl-machine.h: Likewise.
16106         * sysdeps/microblaze/dl-machine.h: Likewise.
16107         * sysdeps/mips/dl-machine.: Likewise.
16108         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
16109         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
16110         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
16111         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
16112         * sysdeps/sh/dl-machine.h: Likewise.
16113         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
16114         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
16115         * sysdeps/tile/dl-machine.h: Likewise.
16116         * sysdeps/x86_64/dl-machine.h: Likewise.
16118         * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
16119         code.
16120         (verify_persistent_db): Likewise.
16122 2014-06-26  Roland McGrath  <roland@hack.frob.com>
16124         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
16125         * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
16126         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
16127         * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
16128         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
16129         Moved ...
16130         * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
16131         ... here.
16132         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
16133         * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
16134         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
16135         Identical file removed.
16136         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
16137         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
16138         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
16139         * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
16140         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
16141         * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
16142         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
16143         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
16144         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
16145         * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
16146         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
16147         Moved ...
16148         * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
16149         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
16150         * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
16151         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
16152         * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
16153         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
16154         Moved ...
16155         * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
16156         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
16157         * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
16158         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
16159         * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
16160         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
16161         Identical file removed.
16162         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
16163         * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
16164         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
16165         * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
16166         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
16167         Moved ...
16168         * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
16169         ... here.
16170         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
16171         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
16172         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
16173         * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
16174         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
16175         * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
16176         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
16177         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
16178         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
16179         * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
16180         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
16181         Moved ...
16182         * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
16183         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
16184         Moved ...
16185         * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
16186         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
16187         * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
16188         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
16189         Moved ...
16190         * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
16191         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
16192         * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
16194         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
16195         folded into ...
16196         * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
16197         * sysdeps/unix/sysv/linux/s390/Versions
16198         (libpthread: GLIBC_2.19): New version set.
16199         * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
16200         * sysdeps/unix/sysv/linux/s390/s390-64/Versions
16201         (librt: GLIBC_2.3.3): New version set.
16202         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
16203         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
16204         * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
16205         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
16206         * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
16207         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
16208         * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
16209         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
16210         * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
16211         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
16212         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
16213         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
16214         * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
16215         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
16216         * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
16217         * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
16218         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
16219         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
16220         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
16221         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
16222         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
16223         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
16224         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
16225         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
16226         * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
16227         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
16228         * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
16229         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
16230         * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
16231         * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
16232         * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
16233         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
16234         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
16235         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
16236         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
16237         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
16238         * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
16239         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
16240         * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
16241         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
16242         * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
16243         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
16244         * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
16245         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
16246         * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
16248         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
16249         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
16250         (__libc_vfork): Define the function under this name.
16251         [!NOT_IN_libc] (__vfork): Make this an alias.
16252         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
16253         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
16254         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
16255         (__libc_vfork): Define the function under this name.
16256         [!NOT_IN_libc] (__vfork): Make this an alias.
16257         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
16258         * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
16259         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
16260         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
16261         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
16262         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
16264         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
16265         code that was previously under [RESET_PID].
16266         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
16267         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
16268         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
16270         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
16271         * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
16272         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
16273         * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
16274         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
16275         * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
16276         * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
16277         * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
16278         * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
16279         * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
16280         * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
16281         Moved ...
16282         * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
16283         * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
16284         * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
16285         * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
16286         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
16287         * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
16288         * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
16289         * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
16290         * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
16291         * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
16292         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
16293         * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
16294         * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
16295         * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
16296         * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
16297         * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
16298         * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
16299         * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
16300         * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
16301         * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
16302         * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
16303         * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
16304         * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
16305         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
16306         * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
16307         * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
16308         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
16309         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
16310         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
16312 2014-06-25  Roland McGrath  <roland@hack.frob.com>
16314         * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
16315         that was previously under [RESET_PID].
16316         * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
16318 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
16320         * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
16321         not undefine and redefine.
16322         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
16323         [O_CLOEXEC]: Make code unconditional.
16324         (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
16325         * sysdeps/unix/sysv/linux/shm_open.c: Do not include
16326         <kernel-features.h>.
16327         [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
16328         conditional variable definition.
16329         (shm_open) [O_CLOEXEC]: Make code unconditional.
16330         (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
16331         code.
16333         * configure.ac (USE_REGPARMS): Don't define here.
16334         * configure: Regenerated.
16335         * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
16336         * sysdeps/i386/configure: Regenerated.
16338         * nptl/createthread.c: Don't include kernel-features.h.
16339         * nptl/pthread_cancel.c: Likewise.
16340         * nptl/pthread_condattr_setclock.c: Likewise.
16341         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
16342         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
16343         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
16344         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
16345         * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
16346         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
16347         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
16348         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
16349         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
16350         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
16351         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
16352         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
16353         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
16354         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
16355         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
16356         * nscd/gai.c: Likewise.
16357         * nss/nss_db/db-open.c: Likewise.
16358         * sysdeps/generic/ldsodefs.h: Likewise.
16359         * sysdeps/sh/nptl/tls.h: Likewise.
16360         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
16361         * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
16362         * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
16363         * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
16364         * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
16365         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
16366         * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
16367         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
16368         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
16369         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
16370         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
16371         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
16372         * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
16373         * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
16374         * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
16375         * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
16376         * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
16377         * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
16378         * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
16379         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
16380         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
16381         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
16382         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
16383         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
16384         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
16385         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
16386         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
16387         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
16388         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
16389         * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
16390         * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
16391         * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
16392         * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
16393         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
16394         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
16395         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
16396         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
16397         * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
16398         * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
16399         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
16400         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
16401         * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
16402         * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
16403         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
16404         * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
16405         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
16406         * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
16407         * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
16408         * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
16409         * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
16410         * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
16411         * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
16412         * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
16413         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
16414         * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
16415         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
16416         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
16417         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
16418         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
16419         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
16420         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
16421         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
16422         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
16423         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
16424         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
16425         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
16426         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
16427         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
16428         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
16429         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
16430         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
16431         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
16432         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
16433         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
16434         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
16435         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
16436         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
16437         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
16438         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
16439         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
16440         * sysdeps/unix/sysv/linux/pread.c: Likewise.
16441         * sysdeps/unix/sysv/linux/pread64.c: Likewise.
16442         * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
16443         * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
16444         * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
16445         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
16446         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
16447         * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
16448         * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
16449         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
16450         * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
16451         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
16452         * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
16453         * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
16454         * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
16455         * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
16456         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
16457         * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
16458         * sysdeps/unix/sysv/linux/syslog.c: Likewise.
16459         * sysdeps/unix/sysv/linux/system.c: Likewise.
16460         * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
16461         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
16462         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
16463         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
16464         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
16465         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
16466         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
16468         * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
16469         * configure: Regenerated.
16470         * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
16472         * configure.ac (base_machine): Do not set specially for particular
16473         machines here.
16474         * configure: Regenerated.
16475         * sysdeps/powerpc/preconfigure: Move machine and base_machine
16476         settings from configure.ac.
16477         * sysdeps/i386/preconfigure: New file.
16478         * sysdeps/s390/preconfigure: Likewise.
16479         * sysdeps/sh/preconfigure: Likewise.
16480         * sysdeps/sparc/preconfigure: Likewise.
16482 2014-06-25  Roland McGrath  <roland@hack.frob.com>
16484         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
16485         * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
16486         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
16487         * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
16488         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
16489         * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
16490         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
16491         * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
16492         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
16493         * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
16494         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
16495         * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
16496         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
16497         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
16498         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
16499         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
16500         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
16501         * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
16502         * sysdeps/sparc/sparc64/Makefile: ... appended here.
16504         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
16505         * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
16506         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
16507         * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
16508         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
16509         * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
16510         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
16511         * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
16512         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
16513         * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
16514         * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
16515         * sysdeps/sparc/sparc32/sem_post.c: ... here.
16516         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
16517         * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
16518         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
16519         * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
16520         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
16521         * sysdeps/sparc/sparc32/sem_wait.c: ... here.
16522         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
16523         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
16524         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
16525         * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
16526         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
16527         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
16528         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
16529         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
16530         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
16531         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
16532         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
16533         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
16534         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
16535         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
16536         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
16537         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
16538         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
16539         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
16540         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
16541         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
16543         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
16544         * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
16545         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
16546         * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
16547         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
16548         Moved ...
16549         * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
16550         ... here.
16551         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
16552         * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
16553         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
16554         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
16555         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
16556         Moved ...
16557         * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
16558         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
16559         * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
16560         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
16561         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
16562         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
16563         * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
16564         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
16565         Moved ...
16566         * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
16567         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
16568         Moved ...
16569         * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
16570         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
16571         * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
16572         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
16573         Moved ...
16574         * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
16575         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
16576         * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
16577         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
16578         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
16579         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
16580         * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
16581         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
16582         * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
16583         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
16584         Moved ...
16585         * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
16586         ... here.
16587         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
16588         * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
16589         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
16590         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
16591         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
16592         Moved ...
16593         * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
16594         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
16595         * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
16596         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
16597         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
16598         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
16599         * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
16600         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
16601         Moved ...
16602         * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
16603         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
16604         Moved ...
16605         * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
16606         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
16607         * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
16608         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
16609         Moved ...
16610         * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
16611         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
16612         * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
16613         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
16614         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
16616 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
16618         * timezone/checktab.awk: Update from tzcode 2014e.
16619         * timezone/private.h: Likewise.
16620         * timezone/tzfile.h: Likewise.
16621         * timezone/zdump.c: Likewise.
16622         * timezone/zic.c: Likewise.
16624         * sysdeps/unix/sysv/linux/kernel-features.h
16625         (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
16626         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
16627         [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
16628         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
16629         Remove conditional code.
16631 2014-06-25  Will Newton  <will.newton@linaro.org>
16633         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
16634         (_dl_arm_cap_flags): Add HWCAP2 values.
16635         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
16636         (_DL_HWCAP_COUNT): Increase to 37.
16637         (_DL_HWCAP_LAST): New define.
16638         (_DL_HWCAP2_LAST): New define.
16639         (_dl_procinfo): Add support for printing
16640         AT_HWCAP2 entries.
16641         (_dl_string_hwcap): Use _dl_hwcap_string.
16643 2014-06-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16645         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16647 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
16649         * README: Do not mention ports directory.
16651         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
16652         Remove macro.
16653         * sysdeps/unix/sysv/linux/futimes.c: Do not include
16654         <kernel-features.h>.
16655         [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
16656         conditional variable definition.
16657         (__futimes): Update comment.
16658         (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
16659         (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
16661         [BZ #16560]
16662         * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
16663         arguments close to 0.
16664         * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
16665         Likewise.
16666         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
16667         Likewise.
16668         * math/auto-libm-test-in: Add more tests of exp10.
16669         * math/auto-libm-test-out: Regenerated.
16670         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
16672         * sysdeps/unix/sysv/linux/kernel-features.h
16673         (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
16674         * sysdeps/unix/sysv/linux/readv.c: Do not include
16675         <kernel-features.h>.
16676         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
16677         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
16678         (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
16679         unconditional.
16680         (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
16681         conditional code.
16682         * sysdeps/unix/sysv/linux/writev.c: Do not include
16683         <kernel-features.h>.
16684         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
16685         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
16686         (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
16687         unconditional.
16688         (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
16689         conditional code.
16691 2014-06-25  Will Newton  <will.newton@linaro.org>
16693         * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
16694         comment changes throughout the file.  Remove checks
16695         for HAVE_*_H definitions that are not required.
16696         (__gen_tempname): Call abort if an unknown kind value is
16697         passed.
16699 2014-06-25  Andreas Schwab  <schwab@suse.de>
16701         [BZ #17086]
16702         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
16703         scalbln, scalblnf, scalblnl in libc.
16705 2014-06-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
16707         [BZ #17086]
16708         * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
16709         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
16710         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
16712 2014-06-24  Roland McGrath  <roland@hack.frob.com>
16714         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
16715         * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
16716         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
16717         * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
16718         Update #include.
16719         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
16720         * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
16721         Update #include.
16722         * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
16723         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
16724         * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
16725         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
16726         * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
16727         * sysdeps/x86/bits/pthreadtypes.h: ... here.
16728         * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
16729         * sysdeps/x86/bits/semaphore.h: ... here.
16730         * sysdeps/x86/nptl/elide.h: Moved ...
16731         * sysdeps/x86/elide.h: ... here.
16732         * sysdeps/x86_64/nptl/Implies: File removed.
16733         * sysdeps/i386/nptl/Implies: File removed.
16735 2014-06-24  Joseph Myers  <joseph@codesourcery.com>
16737         [BZ #16539]
16738         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
16739         return the argument for normal arguments with exponent below -64.
16740         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
16741         Likewise.
16742         * math/auto-libm-test-in: Add another test of expm1.
16743         * math/auto-libm-test-out: Regenerated.
16745         [BZ #16287]
16746         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
16747         calling __erfcl for arguments at least 16.
16748         * math/auto-libm-test-in: Add more tests of erf.
16749         * math/auto-libm-test-out: Regenerated.
16751         * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
16752         individual architectures.
16753         * sysdeps/unix/sysv/linux/configure: Regenerated.
16754         * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
16755         * sysdeps/unix/sysv/linux/i386/configure: New generated file.
16756         * sysdeps/unix/sysv/linux/powerpc/configure.ac
16757         (ldd_rewrite_script): Define variable.
16758         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
16759         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
16760         file.
16761         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
16762         generated file.
16763         * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
16764         * sysdeps/unix/sysv/linux/s390/configure: New generated file.
16765         * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
16766         * sysdeps/unix/sysv/linux/sh/configure: New generated file.
16767         * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
16768         * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
16769         * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
16770         * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
16772 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
16774         [BZ #17084]
16775         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
16776         Rename member __data.d to __data.__elision_data.
16778 2014-06-24  Wilco  <wdijkstr@arm.com>
16780         * NEWS: Add 16918 to fixed bug list.
16782 2014-06-24  Wilco  <wdijkstr@arm.com>
16784         * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
16786 2014-06-24  Wilco  <wdijkstr@arm.com>
16788         * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
16789         * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
16790         (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
16791         (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
16792         (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
16793         * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
16794         * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
16795         Use _FPU_MASK_RM.
16797 2014-06-24  Wilco  <wdijkstr@arm.com>
16799         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
16801 2014-06-24  Wilco  <wdijkstr@arm.com>
16803         * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
16804         * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
16805         * sysdeps/arm/fesetround.c (fesetround): Remove space.
16806         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
16808 2014-06-24  Wilco  <wdijkstr@arm.com>
16810         [BZ #16918]
16811         * sysdeps/arm/feupdateenv.c (feupdateenv):
16812         Rewrite to reduce FPSCR accesses and fix return value.
16814 2014-06-24  Wilco  <wdijkstr@arm.com>
16816         * sysdeps/arm/fclrexcpt.c (feclearexcept):
16817         Optimize to avoid unnecessary FPSCR writes.
16818         * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
16819         * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
16820         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
16821         * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
16823 2014-06-24  Wilco  <wdijkstr@arm.com>
16825         * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
16826         * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
16827         * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
16828         * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
16829         Call libc_fetestexcept_vfp.
16830         * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
16831         * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
16832         __SOFTFP__ ifdef so that they can be built for softfp.
16834 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
16836         * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
16837         argument type signed char.
16839         * Makerules (check-abi): Dump diff of symlist if the test
16840         fails.
16842 2014-06-23  Roland McGrath  <roland@hack.frob.com>
16844         * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
16845         using abort.
16847         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
16848         Remove unused variable ST.
16850 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
16852         [BZ #16354]
16853         [BZ #17061]
16854         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
16855         small arguments before calling __expm1.
16856         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
16857         small arguments before calling __expm1f.
16858         * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
16859         small arguments before calling __expm1l.
16860         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
16861         Likewise.
16862         * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
16863         * math/auto-libm-test-in: Add more cosh tests.  Do not allow
16864         spurious underflow for some cosh tests.
16865         * math/auto-libm-test-out: Regenerated.
16866         * sysdeps/i386/fpu/libm-test-ulps: Update.
16868         [BZ #17050]
16869         * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
16870         (__ieee754_y1): Set errno if return value overflows.
16871         * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
16872         (__ieee754_y1f): Set errno if return value overflows.
16873         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
16874         (__ieee754_y1l): Set errno if return value overflows.
16875         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
16876         (__ieee754_y1l): Set errno if return value overflows.
16877         * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
16878         * math/auto-libm-test-out: Regenerated.
16880         * math/gen-auto-libm-tests.c: Document use of
16881         ignore-zero-inf-sign.
16882         (input_flag_type): Add value flag_ignore_zero_inf_sign.
16883         (input_flags): Add ignore-zero-inf-sign.
16884         (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
16885         * math/gen-libm-test.pl (generate_testfile): Handle
16886         ignore-zero-inf-sign.
16887         * math/auto-libm-test-in: Mark some cpow tests with
16888         ignore-zero-inf-sign and some with xfail-rounding.
16889         * math/auto-libm-test-out: Regenerated.
16890         * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
16891         * sysdeps/i386/fpu/libm-test-ulps: Update.
16892         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16894         [BZ #16315]
16895         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
16896         overflowing or underflowing operations take place with sign of
16897         result.
16898         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
16899         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
16900         * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
16901         (__ieee754_pow): Recompute overflowing and underflowing results in
16902         original rounding mode.
16903         * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
16904         (__powl_helper): Allow negative argument X and scale negated value
16905         as needed.  Avoid passing value outside [-1, 1] to f2xm1.
16906         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
16907         overflowing or underflowing operations take place with sign of
16908         result.
16909         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
16910         Include <math.h>.
16911         * math/auto-libm-test-in: Add more tests of pow.
16912         * math/auto-libm-test-out: Regenerated.
16913         * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
16914         (pow_tonearest_test_data): Remove.
16915         (pow_test_tonearest): Likewise.
16916         (pow_towardzero_test_data): Likewise.
16917         (pow_test_towardzero): Likewise.
16918         (pow_downward_test_data): Likewise.
16919         (pow_test_downward): Likewise.
16920         (pow_upward_test_data): Likewise.
16921         (pow_test_upward): Likewise.
16922         (main): Don't call removed functions.
16923         * sysdeps/i386/fpu/libm-test-ulps: Update.
16924         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16926 2014-06-23  Roland McGrath  <roland@hack.frob.com>
16928         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
16929         Moved ...
16930         * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
16931         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
16932         Moved ...
16933         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
16934         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
16935         Moved ...
16936         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
16937         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
16938         Moved ...
16939         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
16940         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
16941         File removed.
16942         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
16943         File removed.
16944         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
16945         File removed.
16946         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
16947         File removed.
16948         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
16949         File removed.
16950         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
16951         File removed.
16952         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
16953         File removed.
16954         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
16955         File removed.
16956         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
16957         File removed.
16958         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
16959         File removed.
16960         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
16961         File removed.
16962         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
16963         File removed.
16964         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
16965         Moved ...
16966         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
16967         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
16968         Moved ...
16969         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
16970         ... here.
16971         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
16972         Moved ...
16973         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
16974         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
16975         Moved ...
16976         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
16977         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
16978         Moved ...
16979         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
16980         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
16981         Moved ...
16982         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
16983         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
16984         Moved ...
16985         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
16986         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
16987         Moved ...
16988         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
16989         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
16990         Moved ...
16991         * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
16992         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
16993         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
16994         ... here.
16995         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
16996         Moved ...
16997         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
16998         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
16999         Moved ...
17000         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
17001         ... here.
17002         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
17003         Moved ...
17004         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
17005         ... here.
17006         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
17007         Moved ...
17008         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
17009         ... here.
17010         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
17011         Moved ...
17012         * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
17013         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
17014         Moved ...
17015         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
17016         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
17017         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
17018         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
17019         Moved ...
17020         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
17021         ... here.
17022         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
17023         Moved ...
17024         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
17025         ... here.
17026         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
17027         Moved ...
17028         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
17029         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
17030         Moved ...
17031         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
17032         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
17033         Moved ...
17034         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
17035         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
17036         Moved ...
17037         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
17038         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
17039         Moved ...
17040         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
17041         ... here.
17042         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
17043         Moved ...
17044         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
17045         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
17046         Moved ...
17047         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
17048         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
17049         Moved ...
17050         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
17051         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
17052         Moved ...
17053         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
17054         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
17055         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
17056         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
17057         Moved ...
17058         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
17059         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
17060         Moved ...
17061         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
17062         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
17063         Moved ...
17064         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
17065         ... here.
17066         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
17067         Moved ...
17068         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
17069         ... here.
17070         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
17071         Moved ...
17072         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
17073         ... here.
17074         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
17075         Moved ...
17076         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
17077         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
17078         Moved ...
17079         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
17080         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
17081         Moved ...
17082         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
17083         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
17084         Moved ...
17085         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
17086         ... here.
17087         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
17088         Moved ...
17089         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
17090         ... here.
17091         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
17092         Moved ...
17093         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
17094         ... here.
17095         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
17096         Moved ...
17097         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
17098         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
17099         Moved ...
17100         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
17102 2014-06-23  Will Newton  <will.newton@linaro.org>
17103             Wilco  <wdijkstr@arm.com>
17105         * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
17106         implementation.  Include get-rounding-mode.h.
17107         [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
17108         [!libc_feholdsetround_noex_ctx]: Define
17109         libc_feholdsetround_noex_ctx.
17110         [!libc_feholdsetround_noexf_ctx]: Define
17111         libc_feholdsetround_noexf_ctx.
17112         [!libc_feholdsetround_noexl_ctx]: Define
17113         libc_feholdsetround_noexl_ctx.
17114         (libc_feholdsetround_ctx): New function.
17115         (libc_feresetround_ctx): New function.
17116         (libc_feholdsetround_noex_ctx): New function.
17117         (libc_feresetround_noex_ctx): New function.
17119 2014-06-23  Roland McGrath  <roland@hack.frob.com>
17121         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
17122         * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
17123         * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
17124         * sysdeps/mips/nptl/bits/semaphore.h: ... here.
17125         * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
17126         * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
17128         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
17129         * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
17130         * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
17131         * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
17132         * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
17133         * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
17134         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
17135         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
17136         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
17137         * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
17138         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
17139         Moved ...
17140         * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
17141         ... here.
17142         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
17143         * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
17144         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
17145         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
17146         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
17147         Moved ...
17148         * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
17149         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
17150         * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
17151         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
17152         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
17153         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
17154         * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
17155         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
17156         Moved ...
17157         * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
17158         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
17159         Moved ...
17160         * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
17161         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
17162         * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
17163         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
17164         Moved ...
17165         * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
17166         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
17167         * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
17168         * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
17169         * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
17170         * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
17171         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
17172         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
17173         * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
17174         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
17175         Moved ...
17176         * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
17177         ... here.
17178         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
17179         * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
17180         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
17181         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
17182         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
17183         * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
17184         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
17185         * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
17186         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
17187         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
17188         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
17189         * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
17190         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
17191         Moved ...
17192         * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
17193         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
17194         * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
17195         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
17196         * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
17197         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
17198         Moved ...
17199         * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
17200         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
17201         * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
17202         * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
17203         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
17205         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
17206         * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
17207         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
17208         * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
17209         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
17210         * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
17211         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
17212         * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
17213         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
17214         * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
17215         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
17216         * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
17217         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
17218         * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
17219         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
17220         * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
17221         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
17222         * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
17223         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
17224         * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
17225         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
17226         * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
17227         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
17228         * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
17229         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
17230         * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
17231         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
17232         * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
17234 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
17236         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
17237         (FALLOC_FL_COLLAPSE_RANGE): New macro.
17238         [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
17239         * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
17240         (IPV6_PMTUDISC_INTERFACE): Likewise.
17241         (IPV6_PMTUDISC_OMIT): Likewise.
17243 2014-06-23  Andreas Schwab  <schwab@suse.de>
17245         * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
17246         Remove unused errout label.
17248 2014-06-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17250         * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
17251         macro: hardware supports Vector Crypto instructions.
17253 2014-06-23  Will Newton  <will.newton@linaro.org>
17255         * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
17256         rather than __builtin_expect.
17258         * elf/dl-lookup.c (undefined_msg): Remove variable.
17259         (_dl_lookup_symbol_x): Replace undefined_msg with string
17260         literal.
17262         * elf/dl-lookup.c (do_lookup_unique): New function.
17263         (do_lookup_x): Move STB_GNU_UNIQUE handling code
17264         to a separate function.
17266 2014-06-23  Andreas Schwab  <schwab@suse.de>
17268         [BZ #17079]
17269         * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
17270         before reading the next line.
17272 2014-06-23  Will Newton  <will.newton@linaro.org>
17274         * test-skeleton.c (signal_handler): Use printf and %m
17275         rather than perror.  Use printf rather than fprintf to
17276         stderr.  Use puts rather than fputs to stderr.
17277         (main): Likewise.
17279 2014-06-22  Ludovic Courtès  <ludo@gnu.org>
17281         * nscd/nscd.c (thread_info_t): Remove typedef.
17282         (thread_info): Remove variable.
17284 2014-06-21  Allan McRae  <allan@archlinux.org>
17286         * NEWS: Mention CVE-2014-4043.
17288 2014-06-20  Roland McGrath  <roland@hack.frob.com>
17290         * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
17291         * nptl/smp.h: ... here.
17293         * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
17295         * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
17296         * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
17297         * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
17298         * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
17300         * nptl/allocatestack.c: Include <stack-aliasing.h>.
17301         * nptl/stack-aliasing.h: New file.
17302         * sysdeps/i386/i686/stack-aliasing.h: New file.
17303         * sysdeps/i386/i686/nptl/Makefile: File removed.
17304         * sysdeps/x86_64/stack-aliasing.h: New file.
17305         * sysdeps/x86_64/nptl/Makefile
17306         (CFLAGS-pthread_create.c): Variable removed.
17308         * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
17309         * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
17310         old file.
17311         * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
17312         * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
17313         old file.
17315 2014-06-21  Joseph Myers  <joseph@codesourcery.com>
17317         * sysdeps/unix/sysv/linux/arm/kernel-features.h
17318         (__ASSUME_SIGFRAME_V2): Remove macro.
17319         * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
17320         [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
17321         (__default_sa_restorer_v2): Rename to __default_sa_restorer.
17322         (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
17323         * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
17324         Declare as function.  Remove conditional macro definitions.
17325         (__default_rt_sa_restorer): Likewise.
17326         (__default_sa_restorer_v1): Remove declaration.
17327         (__default_sa_restorer_v2): Likewise.
17328         (__default_rt_sa_restorer_v1): Likewise.
17329         (__default_rt_sa_restorer_v2): Likewise.
17330         * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
17331         __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
17332         __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
17334 2014-06-20  Roland McGrath  <roland@hack.frob.com>
17336         * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
17337         (libpthread-routines): Add sysdep.
17338         * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
17339         * sysdeps/unix/sysv/linux/sparc/Versions
17340         (libpthread: GLIBC_2.3.3): New version set.
17341         * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
17342         * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
17343         * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
17344         * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
17345         * sysdeps/sparc/nptl/internaltypes.h: ... here.  Use #include_next.
17346         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
17347         Moved ...
17348         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
17349         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
17350         * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
17351         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
17352         * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
17353         * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
17354         * sysdeps/sparc/nptl/sem_init.c: ... here.
17355         * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
17356         * sysdeps/sparc/nptl/sem_post.c: ... here.
17357         * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
17358         * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
17359         * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
17360         * sysdeps/sparc/nptl/sem_wait.c: ... here.
17361         * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
17362         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
17363         * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
17364         (libpthread-routines): Add cpu_relax.
17365         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
17366         File removed.
17367         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
17368         (librt: GLIBC_2.3.3): New version set.
17369         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
17370         * sysdeps/sparc/sparc64/nptl/Makefile: New file.
17371         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
17372         (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
17373         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
17374         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
17375         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
17376         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
17377         Moved ...
17378         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
17379         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
17380         * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
17381         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
17382         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
17383         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
17384         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
17385         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
17386         * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
17387         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
17388         Moved ...
17389         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
17390         Update #include.
17391         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
17392         Moved ...
17393         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
17394         Update #include.
17395         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
17396         Moved ...
17397         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
17398         Update #include.
17399         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
17400         Moved ...
17401         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
17402         Update #include.
17403         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
17404         Moved ...
17405         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
17406         Update #include.
17407         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
17408         Moved ...
17409         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
17410         Update #include.
17411         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
17412         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
17413         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
17414         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
17415         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
17416         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
17417         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
17418         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
17419         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
17420         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
17421         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
17422         Moved ...
17423         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
17424         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
17425         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
17426         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
17427         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
17429 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
17431         * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
17432         * nptl/pthread_rwlock_timedrdlock.c: Likewise.
17433         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
17434         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
17435         * nscd/nscd.c: Likewise.
17436         * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
17437         * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
17438         * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
17439         * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
17441         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
17442         <kernel-features.h>.
17443         (init_mq_netlink): Remove conditional have_sock_cloexec
17444         definitions.  Remove code conditional on have_sock_cloexec < 0.
17445         (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
17446         (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
17447         * sysdeps/unix/sysv/linux/opensock.c: Do not include
17448         <kernel-features.h>.
17449         (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
17450         (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
17452 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
17454         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
17455         Add tests for memset_chk and memset.
17457         * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
17458         with AVX2_Usable.
17460 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
17462         [BZ #16046]
17463         * elf/tst-dl-iter-static.c: New file.
17464         * elf/Makefile (tests-static): Add tst-dl-iter-static.
17466         * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
17467         error.
17469 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
17471         * sysdeps/unix/sysv/linux/kernel-features.h
17472         (__ASSUME_F_GETOWN_EX): Remove macro.
17473         * sysdeps/unix/sysv/linux/fcntl.c: Do not include
17474         <kernel-features.h>.
17475         (miss_F_GETOWN_EX): Remove variable or macro.
17476         (do_fcntl): Do not check miss_F_GETOWN_EX.
17477         (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
17479         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
17480         Remove macro.
17481         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
17482         [!__ASSUME_AT_RANDOM]: Remove conditional code.
17483         (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
17485         * sysdeps/unix/sysv/linux/kernel-features.h
17486         (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
17487         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
17488         [ADJ_OFFSET_SS_READ]: Make code unconditional.
17489         (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
17491 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
17493         [BZ #17075]
17494         * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
17495         Fix calculation of the symbol's value.
17496         * sysdeps/arm/tst-armtlsdescloc.c: New file.
17497         * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
17498         * sysdeps/arm/tst-armtlsdescextnow.c: New file.
17499         * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
17500         * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
17501         * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
17502         * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
17503         `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
17504         (modules-names): Add `tst-armtlsdescmod',
17505         `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
17506         (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
17507         (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
17508         (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
17509         (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
17510         (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
17511         (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
17512         ($(objpfx)tst-armtlsdescloc): New dependency.
17513         ($(objpfx)tst-armtlsdescextnow): Likewise.
17514         ($(objpfx)tst-armtlsdescextlazy): Likewise.
17515         * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
17516         TLS scheme support.
17517         * sysdeps/arm/configure: Regenerate.
17519 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
17521         * include/fcntl.h (__atfct_seterrno): Remove prototype.
17522         (__atfct_seterrno_2): Likewise.
17523         * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
17524         <kernel-features.h>.
17525         (__ASSUME_ATFCTS): Do not undefine and redefine.
17526         * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
17527         (__have_atfcts): Remove conditional definition.
17528         (__fxstatat([__NR_fstatat64]: Make code unconditional.
17529         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
17530         unreachable if [__ASSUME_ATFCTS].
17531         * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
17532         not undefine and redefine.
17533         * sysdeps/unix/sysv/linux/faccessat.c: Do not include
17534         <kernel-features.h>.
17535         (faccessat) [__NR_faccessat]: Make code unconditional.
17536         (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
17537         * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
17538         <kernel-features.h>.
17539         (fchmodat) [__NR_fchmodat]: Make code unconditional.
17540         (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
17541         * sysdeps/unix/sysv/linux/fchownat.c: Do not include
17542         <kernel-features.h>.
17543         (fchownat) [__NR_fchownat]: Make code unconditional.
17544         (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
17545         * sysdeps/unix/sysv/linux/futimesat.c: Do not include
17546         <kernel-features.h>.
17547         (futimesat) [__NR_futimesat]: Make code unconditional.
17548         (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
17549         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
17550         <kernel-features.h>.
17551         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
17552         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
17553         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
17554         <kernel-features.h>.
17555         (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
17556         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
17557         * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
17558         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
17559         <kernel-features.h>.
17560         (__fxstatat) [__NR_fstatat64]: Make code unconditional.
17561         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
17562         * sysdeps/unix/sysv/linux/linkat.c: Do not include
17563         <kernel-features.h>.
17564         (linkat) [__NR_linkat]: Make code unconditional.
17565         (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
17566         * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
17567         * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
17568         <kernel-features.h>.
17569         (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
17570         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
17571         * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
17572         <kernel-features.h>.
17573         (mkdirat) [__NR_mkdirat]: Make code unconditional.
17574         (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
17575         * sysdeps/unix/sysv/linux/openat.c: Do not include
17576         <kernel-features.h>.
17577         [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
17578         [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
17579         (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
17580         (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
17581         * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
17582         * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
17583         <kernel-features.h>.
17584         (readlinkat) [__NR_readlinkat]: Make code unconditional.
17585         (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.  Return
17586         result of INLINE_SYSCALL directly, not via int variable.
17587         * sysdeps/unix/sysv/linux/renameat.c: Do not include
17588         <kernel-features.h>.
17589         [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
17590         (renameat) [__NR_renameat]: Make code unconditional.
17591         (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
17592         * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
17593         * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
17594         * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
17595         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
17596         (__ASSUME_ATFCTS): Do not undefine and redefine.
17597         * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
17598         <kernel-features.h>.
17599         (symlinkat) [__NR_symlinkat]: Make code unconditional.
17600         (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
17601         * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
17602         <kernel-features.h>.
17603         (unlinkat) [__NR_unlinkat]: Make code unconditional.
17604         (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
17605         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
17606         (__ASSUME_ATFCTS): Do not undefine and redefine.
17607         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
17608         <kernel-features.h>.
17609         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
17610         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
17611         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
17612         <kernel-features.h>.
17613         (__xmknodat) [__NR_mknodat]: Make code unconditional.
17614         (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
17616 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
17618         * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
17620 2014-06-20  Andreas Schwab  <schwab@linux-m68k.org>
17622         [BZ #17069]
17623         * posix/regcomp.c (parse_reg_exp): Deallocate partially
17624         constructed tree before returning error.
17625         * posix/bug-regexp36.c: Expand test case.
17627 2014-06-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
17629         [BZ #6803]
17630         * math/libm-test.inc (scalbln_test_date):
17631         Add errno expectations.
17632         * math/w_scalblnf.c: New File.
17633         Add wrapper which checks for setting errno to ERANGE.
17634         Add weak_alias for corresponding scalbln function.
17635         * math/w_scalbln.c: Likewise.
17636         * math/w_scalblnl.c: Likewise.
17637         * math/Makefile (libm-calls): Add w_scalbln.
17638         * sysdeps/ieee754/flt-32/s_scalblnf.c:
17639         Remove weak_alias for corresponding scalbln function.
17640         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
17641         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
17642         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
17643         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
17644         * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
17645         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
17646         * sysdeps/i386/fpu/s_scalbn.S: Likewise.
17647         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
17648         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
17649         * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
17650         Remove long_double_symbol for scalblnl function in libm, libc.
17651         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
17652         Add wrapper which checks for setting errno to ERANGE.
17653         Add long_double_symbol for scalblnl function in libm, libc.
17654         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
17655         Remove long_double_symbol for scalblnl in libm.
17656         * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
17657         Add wrapper which checks for setting errno to ERANGE.
17658         Add long_double_symbol for scalblnl function in libm.
17659         * sysdeps/ia64/fpu/w_scalblnf.c: New File.
17660         Do not use wrapper because of own implementation.
17662 2014-06-19  H.J. Lu  <hongjiu.lu@intel.com>
17664         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
17665         3 bytes for __pad1 for x32.
17666         (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
17668 2014-06-19  Ling Ma  <ling.ml@alibaba-inc.com>
17669             H.J. Lu  <hongjiu.lu@intel.com>
17671         * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
17672         * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
17673         * sysdeps/x86_64/multiarch/memset.S: Likewise.
17674         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
17675         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
17677 2014-06-19  Andreas Schwab  <schwab@linux-m68k.org>
17679         [BZ #17069]
17680         * posix/regcomp.c (parse_expression): Deallocate partially
17681         constructed tree before returning error.
17682         * posix/Makefile.c (tests): Add bug-regex36.
17683         (generated): Add bug-regex36.mtrace.
17684         (tests-special): Add $(objpfx)bug-regex36-mem.out
17685         (bug-regex36-ENV): New variable.
17686         ($(objpfx)bug-regex36-mem.out): New rule.
17687         * posix/bug-regex36.c: New file.
17689 2014-06-19  Will Newton  <will.newton@linaro.org>
17691         * malloc/malloc.c (systrim): If extra is zero then return
17692         early.
17694 2014-06-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
17696         * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
17698 2014-06-19  Richard Earnshaw  <rearnsha@arm.com>
17700         * sysdeps/aarch64/strchr.S: New file.
17702 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
17704         [BZ #17022]
17705         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
17706         from arguments -2 or below.
17707         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
17708         * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
17710 2014-06-18  Andreas Schwab  <schwab@suse.de>
17712         [BZ #17062]
17713         * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
17714         of a bracket expr not to run off the end of the string.
17715         * posix/Makefile (tests): Add tst-fnmatch3.
17716         * posix/tst-fnmatch3.c: New file.
17718 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
17720         * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
17721         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
17722         [$(cross-compiling) = no]: Likewise.
17723         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
17724         [$(cross-compiling) = no]: Likewise.
17726 2014-16-17  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
17728         [BZ #17031]
17729         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
17730         double, adjusted for any remainder from the high double.
17731         * math/libm-test.inc (nearbyint): Add tests.
17732         (rint): Likewise.
17734 2014-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17736         * nptl/sysdeps/powerpc/Makefile: Moved ...
17737         * sysdeps/powerpc/nptl/Makefile: ... here.
17738         * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
17739         * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
17740         * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
17741         * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
17742         * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
17743         * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
17744         * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
17745         * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
17746         * nptl/sysdeps/powerpc/tls.h: Moved ...
17747         * sysdeps/powerpc/nptl/tls.h: ... here.
17749 2014-06-16  Joseph Myers  <joseph@codesourcery.com>
17751         [BZ #16681]
17752         * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
17753         * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
17754         * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
17755         * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
17756         * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
17757         * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
17758         * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
17759         * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
17760         * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
17762 2014-06-17  Andreas Schwab  <schwab@linux-m68k.org>
17764         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
17766 2014-06-16  Andreas Schwab  <schwab@linux-m68k.org>
17768         * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
17769         defined operator.
17771         * scripts/cross-test-ssh.sh (timeoutfactor): Default to
17772         $TIMEOUTFACTOR.
17774 2014-06-16  Florian Weimer  <fweimer@redhat.com>
17776         [BZ #17058]
17777         * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
17778         non-executed part of the test.
17780 2014-06-16  Andreas Schwab  <schwab@suse.de>
17782         * string/bits/string2.h (strdup, strndup): Update feature guard.
17784 2014-06-14  David S. Miller  <davem@davemloft.net>
17786         * sysdeps/sparc/fpu/libm-test-ulps: Update.
17788 2014-06-14  Andreas Schwab  <schwab@linux-m68k.org>
17790         * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
17791         that was previously under [RESET_PID].
17792         * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
17794         * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
17795         * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
17796         * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
17797         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
17798         (__libc_vfork): New strong alias.
17799         * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
17801 2014-06-14 Andi Kleen  <ak@linux.intel.com>
17803         * sysdeps/generic/elide.h: New file.
17805 2014-06-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
17807         * Makefile (installed-headers): Adjust path of pthread.h header.
17809 2014-06-13  Roland McGrath  <roland@hack.frob.com>
17811         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
17812         * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
17813         * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
17814         * sysdeps/s390/nptl/bits/semaphore.h: ... here.
17816         * nptl/sysdeps/s390/Makefile: Moved ...
17817         * sysdeps/s390/nptl/Makefile: ... here.
17818         * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
17819         * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
17820         * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
17821         * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
17822         * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
17823         * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
17824         * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
17825         * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
17826         * nptl/sysdeps/s390/pthreaddef.h: Moved ...
17827         * sysdeps/s390/nptl/pthreaddef.h: ... here.
17828         * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
17829         * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
17830         * nptl/sysdeps/s390/tls.h: Moved ...
17831         * sysdeps/s390/nptl/tls.h: ... here.
17833         * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
17834         * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
17836 2014-06-13  David S. Miller  <davem@davemloft.net>
17838         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
17839         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
17840         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
17841         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
17842         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
17843         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
17844         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
17845         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
17846         * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
17847         * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
17848         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
17849         Remove RESET_PID cpp guards.
17850         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
17851         Remove RESET_PID cpp guards.
17852         * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
17854 2014-06-13  Andreas Schwab  <schwab@linux-m68k.org>
17856         * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
17857         __sp to uintptr_t.
17859 2014-06-13  Andi Kleen  <ak@linux.intel.com>
17861         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
17862         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
17863         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
17864         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
17865         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
17866         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
17867         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
17868         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
17869         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
17870         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
17871         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
17872         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
17873         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
17874         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
17875         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
17876         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
17877         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
17878         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
17879         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
17880         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
17882         * nptl/pthread_rwlock_rdlock.c: Include elide.h.
17883         (pthread_rwlock_rdlock): Add elision.
17884         * nptl/pthread_rwlock_wrlock.c: Include elide.h.
17885         (pthread_rwlock_wrlock): Add elision.
17886         * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
17887         (pthread_rwlock_trywrlock): Add elision.
17888         * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
17889         (pthread_rwlock_tryrdlock): Add elision.
17890         * nptl/pthread_rwlock_unlock.c: Include elide.h.
17891         (pthread_rwlock_tryrdlock): Add elision unlock.
17892         * nptl/sysdeps/pthread/pthread.h:
17893         (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
17894         (PTHREAD_RWLOCK_INITIALIZER,
17895         PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
17896         Handle new elision field.
17897         * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
17898         * sysdeps/arm/nptl/bits/pthreadtypes.h
17899         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
17900         * sysdeps/sh/nptl/bits/pthreadtypes.h
17901         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
17902         * sysdeps/tile/nptl/bits/pthreadtypes.h
17903         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
17904         * sysdeps/a/nptl/bits/pthreadtypes.h
17905         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
17906         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
17907         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
17908         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
17909         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
17910         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
17911         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
17912         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
17913         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
17914         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
17915         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
17916         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
17917         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
17918         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
17919         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
17920         * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
17921         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
17922         * sysdeps/unix/sysv/linux/x86/elision-conf.c:
17923         (elision_init): Set try_xbegin to zero when no RTM.
17924         * sysdeps/x86/nptl/bits/pthreadtypes.h
17925         (pthread_rwlock_t): Change __pad1 to __rwelision.
17926         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
17928 2014-06-13  Andi Kleen  <ak@linux.intel.com>
17930         * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
17931         Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
17932         * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
17933         Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
17935 2014-06-13  Meador Inge  <meadori@codesourcery.com>
17937         [BZ #16996]
17938         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
17939         that the cached result has been set before returning it.
17941 2014-06-12  Roland McGrath  <roland@hack.frob.com>
17943         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
17944         * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
17945         * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
17946         * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
17947         * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
17948         * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
17950         * nptl/sysdeps/sparc/Makefile: Moved ...
17951         * sysdeps/sparc/nptl/Makefile: ... here.
17952         * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
17953         * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
17954         * nptl/sysdeps/sparc/tls.h: Moved ...
17955         * sysdeps/sparc/nptl/tls.h: ... here.
17956         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
17957         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
17958         * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
17959         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
17960         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
17961         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
17962         * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
17963         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
17964         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
17965         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
17966         * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
17967         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
17968         * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
17969         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
17970         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
17971         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
17972         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
17973         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
17974         Update #include.
17975         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
17976         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
17977         Update #include.
17978         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
17979         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
17980         Update #include.
17981         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
17982         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
17983         Update #include.
17985         * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
17987         * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
17988         * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
17990         * sysdeps/pthread/posix-timer.h: Include <list.h>.
17991         (struct list_links): Type removed.
17992         (struct thread_node, struct timer_node): Replace struct list_links
17993         with struct list_head.
17994         (list_unlink_ip): Likewise.
17995         * sysdeps/pthread/timer_routines.c
17996         (timer_free_list, thread_free_list, thread_active_list): Likewise.
17997         (list_append, list_insbefore): Likewise.
17998         (list_init): Function removed.
17999         (thread_init, init_module): Use INIT_LIST_HEAD instead.
18000         * sysdeps/nptl/Makefile: Move tst-timer bits to ...
18001         * sysdeps/pthread/Makefile: ... here, new file.
18003         * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
18004         * sysdeps/nptl/Implies: ... here.
18005         * sysdeps/unix/sysv/linux/Implies: Add nptl.
18006         * nptl/sysdeps/pthread/list.h: Moved ...
18007         * include/list.h: ... here.
18008         * nptl/sysdeps/pthread/createthread.c: Moved ...
18009         * nptl/createthread.c: ... here.
18010         * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
18011         * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
18012         * nptl/pt-longjmp.c: ... here.
18013         * nptl/sysdeps/pthread/Makefile: Moved ...
18014         * sysdeps/nptl/Makefile: ... here.
18015         * nptl/sysdeps/pthread/Subdirs: Moved ...
18016         * sysdeps/nptl/Subdirs: ... here.
18017         * nptl/sysdeps/pthread/aio_misc.h: Moved ...
18018         * sysdeps/nptl/aio_misc.h: ... here.
18019         * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
18020         * sysdeps/nptl/bits/libc-lock.h: ... here.
18021         * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
18022         * sysdeps/nptl/bits/libc-lockP.h: ... here.
18023         * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
18024         * sysdeps/nptl/bits/stdio-lock.h: ... here.
18025         * nptl/sysdeps/pthread/configure: Moved ...
18026         * sysdeps/nptl/configure: ... here.
18027         * nptl/sysdeps/pthread/configure.ac: Moved ...
18028         * sysdeps/nptl/configure.ac: ... here.
18029         * nptl/sysdeps/pthread/gai_misc.h: Moved ...
18030         * sysdeps/nptl/gai_misc.h: ... here.
18031         * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
18032         * sysdeps/nptl/librt-cancellation.c: ... here.
18033         * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
18034         * sysdeps/nptl/malloc-machine.h: ... here.
18035         * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
18036         * sysdeps/nptl/pthread-functions.h: ... here.
18037         * nptl/sysdeps/pthread/pthread.h: Moved ...
18038         * sysdeps/nptl/pthread.h: ... here.
18039         * nptl/sysdeps/pthread/setxid.h: Moved ...
18040         * sysdeps/nptl/setxid.h: ... here.
18041         * nptl/sysdeps/pthread/sigfillset.c: Moved ...
18042         * sysdeps/nptl/sigfillset.c: ... here.
18043         * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
18044         * sysdeps/nptl/tcb-offsets.h: ... here.
18045         * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
18046         * sysdeps/nptl/tst-mqueue8x.c: ... here.
18047         * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
18048         * sysdeps/nptl/unwind-forcedunwind.c: ... here.
18049         * nptl/sysdeps/pthread/allocalim.h: Moved ...
18050         * sysdeps/pthread/allocalim.h: ... here.
18051         * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
18052         * sysdeps/pthread/bits/sigthread.h: ... here.
18053         * nptl/sysdeps/pthread/flockfile.c: Moved ...
18054         * sysdeps/pthread/flockfile.c: ... here.
18055         * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
18056         * sysdeps/pthread/ftrylockfile.c: ... here.
18057         * nptl/sysdeps/pthread/funlockfile.c: Moved ...
18058         * sysdeps/pthread/funlockfile.c: ... here.
18059         * nptl/sysdeps/pthread/posix-timer.h: Moved ...
18060         * sysdeps/pthread/posix-timer.h: ... here.
18061         * nptl/sysdeps/pthread/timer_create.c: Moved ...
18062         * sysdeps/pthread/timer_create.c: ... here.
18063         * nptl/sysdeps/pthread/timer_delete.c: Moved ...
18064         * sysdeps/pthread/timer_delete.c: ... here.
18065         * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
18066         * sysdeps/pthread/timer_getoverr.c: ... here.
18067         * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
18068         * sysdeps/pthread/timer_gettime.c: ... here.
18069         * nptl/sysdeps/pthread/timer_routines.c: Moved ...
18070         * sysdeps/pthread/timer_routines.c: ... here.
18071         * nptl/sysdeps/pthread/timer_settime.c: Moved ...
18072         * sysdeps/pthread/timer_settime.c: ... here.
18073         * nptl/sysdeps/pthread/tst-timer.c: Moved ...
18074         * sysdeps/pthread/tst-timer.c: ... here.
18075         * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
18076         * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
18078         * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
18079         * nptl/sysdeps/pthread/sigprocmask.c: File removed.
18081         * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
18082         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
18083         * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
18084         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
18085         Update #include target.
18086         * nptl/sysdeps/i386/i686/Makefile: Moved ...
18087         * sysdeps/i386/i686/nptl/Makefile: ... here.
18088         * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
18089         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
18090         Update #include target.
18091         * nptl/sysdeps/i386/i686/tls.h: Moved ...
18092         * sysdeps/i386/i686/nptl/tls.h: ... here.  Use #include_next.
18093         * nptl/sysdeps/i386/Makefile: Moved ...
18094         * sysdeps/i386/nptl/Makefile: ... here.
18095         * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
18096         * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
18097         * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
18098         * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
18099         * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
18100         * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
18101         * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
18102         * nptl/sysdeps/i386/pthreaddef.h: Moved ...
18103         * sysdeps/i386/nptl/pthreaddef.h: ... here.
18104         * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
18105         * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
18106         * nptl/sysdeps/i386/tls.h: Moved ...
18107         * sysdeps/i386/nptl/tls.h: ... here.
18109         * sysdeps/sh/Makefile [$(subdir) = csu]
18110         (gen-as-const-headers): Add tcb-offsets.sym.
18111         * nptl/sysdeps/sh/Makefile: File removed.
18112         * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
18113         * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
18114         * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
18115         * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
18116         * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
18117         * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
18118         * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
18119         * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
18120         * nptl/sysdeps/sh/pthreaddef.h: Moved ...
18121         * sysdeps/sh/nptl/pthreaddef.h: ... here.
18122         * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
18123         * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
18124         * nptl/sysdeps/sh/tls.h: Moved ...
18125         * sysdeps/sh/nptl/tls.h: ... here.
18126         * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
18127         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
18128         * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
18129         * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
18130         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
18131         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
18132         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
18133         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
18134         * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
18135         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
18136         * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
18137         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
18138         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
18139         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
18140         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
18141         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
18142         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
18143         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
18144         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
18145         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
18146         * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
18147         * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
18148         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
18149         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
18150         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
18151         Moved ...
18152         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
18153         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
18154         Moved ...
18155         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
18156         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
18157         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
18158         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
18159         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
18160         * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
18161         * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
18162         * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
18163         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
18164         * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
18165         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
18166         * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
18167         * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
18168         * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
18169         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
18170         * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
18171         * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
18172         * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
18173         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
18175 2014-06-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
18177         * posix/spawn_faction_addopen.c: Include string.h.
18179 2014-06-11  Roland McGrath  <roland@hack.frob.com>
18181         * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
18182         * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
18183         * nptl/sysdeps/x86_64/Makefile: Moved ...
18184         * sysdeps/x86_64/nptl/Makefile: ... here.
18185         * nptl/sysdeps/x86_64/configure: Moved ...
18186         * sysdeps/x86_64/nptl/configure: ... here.
18187         * nptl/sysdeps/x86_64/configure.ac: Moved ...
18188         * sysdeps/x86_64/nptl/configure.ac: ... here.
18189         * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
18190         * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
18191         * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
18192         * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
18193         * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
18194         * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
18195         * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
18196         * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
18197         * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
18198         * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
18199         * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
18200         * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
18201         * nptl/sysdeps/x86_64/tls.h: Moved ...
18202         * sysdeps/x86_64/nptl/tls.h: ... here.
18203         * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
18204         * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
18205         * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
18206         * sysdeps/x86_64/x32/nptl/tls.h: ... here.
18208         * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
18210 2014-06-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18212         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18214 2014-06-11  Joseph Myers  <joseph@codesourcery.com>
18216         * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
18217         type.
18218         [POSIX] (off_t): Likewise.
18219         * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
18220         [POSIX] (S_ISBLK): Require macro.
18221         [POSIX] (S_ISCHR): Likewise.
18222         [POSIX] (S_ISDIR): Likewise.
18223         [POSIX] (S_ISFIFO): Likewise.
18224         [POSIX] (S_ISREG): Likewise.
18225         [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
18226         optional-macro.
18227         * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
18228         type.
18229         [POSIX] (time_t): Likewise.
18230         [POSIX] (timer_t): Likewise.
18232 2014-06-11  Florian Weimer  <fweimer@redhat.com>
18234         [BZ #17048]
18235         * posix/spawn_int.h (struct __spawn_action): Make the path string
18236         non-const to support deallocation.
18237         * posix/spawn_faction_addopen.c
18238         (posix_spawn_file_actions_addopen): Make a copy of the pathname.
18239         * posix/spawn_faction_destroy.c
18240         (posix_spawn_file_actions_destroy): Adjust comment.  Deallocate
18241         path in all spawn_do_open actions.
18242         * posix/tst-spawn.c (do_test): Exercise the copy operation in
18243         posix_spawn_file_actions_addopen.
18245 2014-06-11  Chris Metcalf  <cmetcalf@tilera.com>
18247         * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
18248         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
18249         * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
18250         conditional code always true.
18251         (__libc_vfork): New alias.
18253 2014-06-11  Roland McGrath  <roland@hack.frob.com>
18255         * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
18256         * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
18258         * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
18260         * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
18261         * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
18263         * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
18264         * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
18266         * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
18267         * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
18269 2014-06-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
18271         * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
18272         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
18273         multiarch strcmp for PPC64.
18274         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
18275         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
18276         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
18277         multiarch optimizations.
18278         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
18279         (__libc_ifunc_impl_list): Likewise.
18281 2014-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
18283         * benchtests/scripts/validate_benchout.py: New script.
18284         * benchtests/Makefile (bench-func): Call it.
18285         * benchtests/scripts/benchout.schema.json: New file.
18287 2014-06-10  Chris Metcalf  <cmetcalf@tilera.com>
18289         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
18290         * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
18291         * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
18292         * sysdeps/tile/nptl/bits/semaphore.h: ... here.
18293         * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
18294         * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
18295         * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
18296         * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
18297         * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
18298         * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
18299         * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
18300         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
18301         * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
18302         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
18303         * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
18304         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
18305         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
18306         Moved ...
18307         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
18308         ... here.
18309         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
18310         Moved ...
18311         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
18312         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
18313         Moved ...
18314         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
18315         ... here.
18316         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
18317         Moved ...
18318         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
18319         ... here.
18320         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
18321         Moved ...
18322         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
18323         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
18324         Moved ...
18325         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
18326         ... here.
18327         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
18328         Moved ...
18329         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
18330         ... here.
18331         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
18332         Moved ...
18333         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
18334         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
18335         Moved ...
18336         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
18337         ... here.
18338         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
18339         Moved ...
18340         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
18341         ... here.
18342         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
18343         Moved ...
18344         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
18345         ... here.
18346         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
18347         Moved ...
18348         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
18349         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
18350         Moved ...
18351         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
18352         ... here.
18353         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
18354         Moved ...
18355         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
18356         ... here.
18357         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
18358         Moved ...
18359         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
18360         ... here.
18361         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
18362         Moved ...
18363         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
18364         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
18365         Moved ...
18366         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
18367         ... here.
18368         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
18369         Moved ...
18370         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
18371         ... here.
18372         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
18373         Moved ...
18374         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
18375         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
18376         Moved ...
18377         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
18378         ... here.
18379         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
18380         Moved ...
18381         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
18382         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
18383         Moved ...
18384         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
18385         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
18386         Moved ...
18387         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
18388         ... here.
18389         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
18390         Moved ...
18391         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
18392         ... here.
18393         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
18394         Moved ...
18395         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
18396         ... here.
18397         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
18398         Moved ...
18399         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
18400         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
18401         Moved ...
18402         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
18403         ... here.
18404         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
18405         Moved ...
18406         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
18407         ... here.
18408         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
18409         * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
18410         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
18411         * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
18412         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
18413         Moved ...
18414         * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
18415         ... here.
18416         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
18417         * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
18418         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
18419         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
18420         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
18421         * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
18422         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
18423         * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
18424         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
18425         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
18426         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
18427         * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
18428         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
18429         Moved ...
18430         * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
18431         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
18432         Moved ...
18433         * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
18434         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
18435         * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
18436         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
18437         Moved ...
18438         * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
18439         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
18440         * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
18441         * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
18442         * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
18443         * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
18444         * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
18446 2014-06-10  Wilco  <wdijkstr@arm.com>
18448         * math/test-fenv-return.c: New file.
18449         * math/Makefile: Add new test test-fenv-return.
18451 2014-06-10  Joseph Myers  <joseph@codesourcery.com>
18453         [BZ #17042]
18454         * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
18455         when x - 1 is zero.
18456         * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
18457         * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
18458         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
18459         0.0L for an argument of 1.0L.
18460         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
18461         Likewise.
18462         * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
18463         value when x - 1 is zero.
18464         * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
18465         * sysdeps/i386/fpu/libm-test-ulps: Update.
18466         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18468 2014-06-09  Bernard Ogden  <bernie.ogden@linaro.org>
18470         [BZ #15119]
18471         * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
18473 2014-06-09  Roland McGrath  <roland@hack.frob.com>
18475         * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
18476         * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
18478 2014-06-09  Roland McGrath  <roland@hack.frob.com>
18480         * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
18481         * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
18483         * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
18484         * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
18486         * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
18487         * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
18489         * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
18490         * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
18492         * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
18493         if not already defined.
18494         (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
18495         * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
18496         * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
18497         (TLS_INIT_TP): Use it.
18498         (TLS_DEFINE_INIT_TP): New macro.
18499         * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
18501 2014-06-09  Joseph Myers  <joseph@codesourcery.com>
18503         * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
18504         constant.
18505         [POSIX] (IXANY): Likewise.
18506         [POSIX] (OLCUC): Likewise.
18507         [POSIX || POSIX2008] (CBAUD): Do not allow.
18508         [POSIX || POSIX2008] (DEFECHO): Likewise.
18509         [POSIX || POSIX2008] (ECHOCTL): Likewise.
18510         [POSIX || POSIX2008] (ECHOKE): Likewise.
18511         [POSIX || POSIX2008] (ECHOPRT): Likewise.
18512         [POSIX || POSIX2008] (EXTA): Likewise.
18513         [POSIX || POSIX2008] (EXTB): Likewise.
18514         [POSIX || POSIX2008] (FLUSHO): Likewise.
18515         [POSIX || POSIX2008] (LOBLK): Likewise.
18516         [POSIX || POSIX2008] (PENDIN): Likewise.
18517         [POSIX || POSIX2008] (SWTCH): Likewise.
18518         [POSIX || POSIX2008] (VDISCARD): Likewise.
18519         [POSIX || POSIX2008] (VDSUSP): Likewise.
18520         [POSIX || POSIX2008] (VLNEXT): Likewise.
18521         [POSIX || POSIX2008] (VREPRINT): Likewise.
18522         [POSIX || POSIX2008] (VSTATUS): Likewise.
18523         [POSIX || POSIX2008] (VWERASE): Likewise.
18524         (B*): Change to B[0123456789]*.
18525         * conform/data/time.h-data [POSIX || UNIX98]
18526         (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
18527         [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
18528         [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
18529         [POSIX] (tm_*): Do not allow.
18531 2014-06-07  Joseph Myers  <joseph@codesourcery.com>
18533         * Makefile (install): Don't set LANGUAGE.
18534         * Makefile.in (install): Likewise.
18535         * assert/Makefile (test-assert-ENV): Remove variable.
18536         (test-assert-perr-ENV): Likewise.
18537         * elf/Makefile (neededtest4-ENV): Likewise.
18538         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
18539         [$(cross-compiling) = no]: Don't set LANGUAGE.
18540         * io/ftwtest-sh (LANG): Remove variable.
18541         * libio/Makefile (tst-widetext-ENV): Likewise.
18542         * manual/install.texi (Running make install): Don't refer to
18543         environment settings for make install.
18544         * INSTALL: Regenerated.
18545         * nptl/tst-tls6.sh: Don't set LANG.
18546         * posix/globtest.sh (LANG): Remove variable.
18547         * string/Makefile (tester-ENV): Likewise.
18548         (inl-tester-ENV): Likewise.
18549         (noinl-tester-ENV): Likewise.
18550         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
18551         [$(cross-compiling) = no]: Don't set LANGUAGE.
18552         * timezone/Makefile (build-testdata): Use $(built-program-cmd)
18553         without explicit environment settings.
18555 2014-06-06  Roland McGrath  <roland@hack.frob.com>
18557         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
18558         * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
18559         * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
18560         * sysdeps/sh/nptl/bits/semaphore.h: ... here.
18562 2014-06-06  Chris Metcalf  <cmetcalf@tilera.com>
18564         * crypt/crypt-private.h [DOS]: Add some includes taken from the
18565         other files in the crypt directory.
18566         * crypt/crypt.c: Remove duplicate includes.
18567         * crypt/crypt-entry.c: Likewise.
18568         * crypt/crypt_util.c: Likewise.
18570 2014-06-06  Joseph Myers  <joseph@codesourcery.com>
18572         * Makeconfig (run-program-env): New variable.
18573         (run-program-prefix-before-env): Likewise.
18574         (run-program-prefix-after-env): Likewise.
18575         (run-program-prefix): Define in terms of new variables.
18576         (built-program-cmd-before-env): New variable.
18577         (built-program-cmd-after-env): Likewise.
18578         (built-program-cmd): Define in terms of new variables.
18579         (test-program-prefix-before-env): New variable.
18580         (test-program-prefix-after-env): Likewise.
18581         (test-program-prefix): Define in terms of new variables.
18582         (test-program-cmd-before-env): New variable.
18583         (test-program-cmd-after-env): Likewise.
18584         (test-program-cmd): Define in terms of new variables.
18585         * Rules (make-test-out): Use $(run-program-env).
18586         * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
18587         (help): Do not mention environment variables.  Mention
18588         --timeoutfactor option.
18589         (timeoutfactor): New variable.
18590         (blacklist_exports): Remove function.
18591         (exports): Remove variable.
18592         (command): Do not include ${exports}.
18593         * manual/install.texi (Configuring and compiling): Do not mention
18594         test wrappers preserving environment variables.  Mention that last
18595         assignment to a variable must take precedence.
18596         * INSTALL: Regenerated.
18597         * benchtests/Makefile (run-bench): Use $(run-program-env).
18598         * catgets/Makefile ($(objpfx)test1.cat): Use
18599         $(built-program-cmd-before-env), $(run-program-env) and
18600         $(built-program-cmd-after-env).
18601         ($(objpfx)test2.cat): Do not specify environment variables
18602         explicitly.
18603         ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
18604         $(run-program-env) and $(built-program-cmd-after-env).
18605         ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
18606         $(run-program-env) and $(test-program-cmd-after-env).
18607         ($(objpfx)sample.SJIS.cat): Do not specify environment variables
18608         explicitly.
18609         * catgets/test-gencat.sh: Use test_program_cmd_before_env,
18610         run_program_env and test_program_cmd_after_env arguments.
18611         * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
18612         * elf/tst-pathopt.sh: Use run_program_env argument.
18613         * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
18614         $(test-wrapper-env) and $(run-program-env).
18615         * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
18616         run_program_env arguments.
18617         * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
18618         * intl/Makefile ($(objpfx)tst-gettext.out): Use
18619         $(test-program-prefix-before-env), $(run-program-env) and
18620         $(test-program-prefix-after-env).
18621         ($(objpfx)tst-gettext2.out): Likewise.
18622         * intl/tst-gettext.sh: Use test_program_prefix_before_env,
18623         run_program_env and test_program_prefix_after_env arguments.
18624         * intl/tst-gettext2.sh: Likewise.
18625         * intl/tst-gettext4.sh: Do not set environment variables
18626         explicitly.
18627         * intl/tst-gettext6.sh: Likewise.
18628         * intl/tst-translit.sh: Likewise.
18629         * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
18630         $(test-program-prefix-before-env), $(run-program-env) and
18631         $(test-program-prefix-after-env).
18632         * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
18633         run_program_env and test_program_prefix_after_env arguments.
18634         * math/Makefile (run-regen-ulps): Use $(run-program-env).
18635         * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
18636         * nptl/tst-tls6.sh: Use run_program_env argument.  Set LANG=C
18637         explicitly with each use of ${test_wrapper_env}.
18638         * posix/Makefile ($(objpfx)wordexp-tst.out): Use
18639         $(test-program-prefix-before-env), $(run-program-env) and
18640         $(test-program-prefix-after-env).
18641         * posix/tst-getconf.sh: Do not set environment variables
18642         explicitly.
18643         * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
18644         run_program_env and test_program_prefix_after_env arguments.
18645         * stdio-common/tst-printf.sh: Do not set environment variables
18646         explicitly.
18647         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
18648         $(test-program-prefix-before-env), $(run-program-env) and
18649         $(test-program-prefix-after-env).
18650         * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
18651         run_program_env and test_program_prefix_after_env arguments.
18652         Split $test calls into $test_pre and $test.
18653         * timezone/Makefile (build-testdata): Use
18654         $(built-program-cmd-before-env), $(run-program-env) and
18655         $(built-program-cmd-after-env).
18657 2014-06-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18659         * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
18660         strlen for non SHARED builds.
18662 2014-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
18664         * nptl/allocatestack.c (check_list): Inlined function...
18665         (__reclaim_stacks): ... here.
18667 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
18669         [BZ #15698]
18670         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
18671         memory overrun.
18673 2014-06-05  Joseph Myers  <joseph@codesourcery.com>
18675         * Rules (make-test-out): Include
18676         LOCPATH=$(common-objpfx)localedata in default environment.
18677         * debug/Makefile (tst-chk1-ENV): Remove variable.
18678         (tst-chk2-ENV): Likewise.
18679         (tst-chk3-ENV): Likewise.
18680         (tst-chk4-ENV): Likewise.
18681         (tst-chk5-ENV): Likewise.
18682         (tst-chk6-ENV): Likewise.
18683         (tst-lfschk1-ENV): Likewise.
18684         (tst-lfschk2-ENV): Likewise.
18685         (tst-lfschk3-ENV): Likewise.
18686         (tst-lfschk4-ENV): Likewise.
18687         (tst-lfschk5-ENV): Likewise.
18688         (tst-lfschk6-ENV): Likewise.
18689         * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
18690         (tst-iconv7-ENV): Likewise.
18691         * intl/Makefile (LOCPATH-ENV): Likewise.
18692         (tst-codeset-ENV): Likewise.
18693         (tst-gettext3-ENV): Likewise.
18694         (tst-gettext5-ENV): Likewise.
18695         * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
18696         (tst-fopenloc-ENV): Likewise.
18697         (tst-fgetws-ENV): Remove variable.
18698         (tst-ungetwc1-ENV): Likewise.
18699         (tst-ungetwc2-ENV): Likewise.
18700         (bug-ungetwc2-ENV): Likewise.
18701         (tst-swscanf-ENV): Likewise.
18702         (bug-ftell-ENV): Likewise.
18703         (tst-fgetwc-ENV): Likewise.
18704         (tst-fseek-ENV): Likewise.
18705         (tst-ftell-partial-wide-ENV): Likewise.
18706         (tst-ftell-active-handler-ENV): Likewise.
18707         (tst-ftell-append-ENV): Likewise.
18708         * posix/Makefile (tst-fnmatch-ENV): Likewise.
18709         (tst-regexloc-ENV): Likewise.
18710         (bug-regex1-ENV): Likewise.
18711         (tst-regex-ENV): Likewise.
18712         (tst-regex2-ENV): Likewise.
18713         (bug-regex5-ENV): Likewise.
18714         (bug-regex6-ENV): Likewise.
18715         (bug-regex17-ENV): Likewise.
18716         (bug-regex18-ENV): Likewise.
18717         (bug-regex19-ENV): Likewise.
18718         (bug-regex20-ENV): Likewise.
18719         (bug-regex22-ENV): Likewise.
18720         (bug-regex23-ENV): Likewise.
18721         (bug-regex25-ENV): Likewise.
18722         (bug-regex26-ENV): Likewise.
18723         (bug-regex30-ENV): Likewise.
18724         (bug-regex32-ENV): Likewise.
18725         (bug-regex33-ENV): Likewise.
18726         (bug-regex34-ENV): Likewise.
18727         (bug-regex35-ENV): Likewise.
18728         (tst-rxspencer-ENV): Likewise.
18729         (tst-rxspencer-no-utf8-ENV): Likewise.
18730         * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
18731         (tst-sscanf-ENV): Likewise.
18732         (tst-swprintf-ENV): Likewise.
18733         (tst-swscanf-ENV): Likewise.
18734         (test-vfprintf-ENV): Likewise.
18735         (scanf13-ENV): Likewise.
18736         (bug14-ENV): Likewise.
18737         (tst-grouping-ENV): Likewise.
18738         * stdlib/Makefile (tst-strtod-ENV): Likewise.
18739         (tst-strtod3-ENV): Likewise.
18740         (tst-strtod4-ENV): Likewise.
18741         (tst-strtod5-ENV): Likewise.
18742         (testmb2-ENV): Likewise./
18743         * string/Makefile (tst-strxfrm-ENV): Likewise.
18744         (tst-strxfrm2-ENV): Likewise.
18745         (bug-strcoll1-ENV): Likewise.
18746         (test-strcasecmp-ENV): Likewise.
18747         (test-strncasecmp-ENV): Likewise.
18748         * time/Makefile (tst-strptime-ENV): Likewise.
18749         (tst-ftime_l-ENV): Likewise.
18750         * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
18751         (tst-mbrtowc-ENV): Likewise.
18752         (tst-wcrtomb-ENV): Likewise.
18753         (tst-mbrtowc2-ENV): Likewise.
18754         (tst-c16c32-1-ENV): Likewise.
18755         (tst-mbsnrtowcs-ENV): Likewise.
18757 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
18759         * manual/resource.texi (How to get information about the memory
18760         subsystem?): Fix typo.
18761         Reported by Peon de la Parra Ivan <peon@keba.com>
18763 2014-06-03  Guo Yixuan  <culu.gyx@gmail.com>
18765         [BZ #16882]
18766         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
18767         (pthread_spin_lock): Branch out of spin loop to proper location.
18768         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
18769         (pthread_spin_lock): Likewise.
18771         * nptl/tst-spin4.c: New test.
18772         * nptl/Makefile (tests): Add tst-spin4.
18774 2014-06-03  Andreas Schwab  <schwab@suse.de>
18776         [BZ #15946]
18777         * resolv/res_send.c (send_dg): Reload file descriptor after
18778         calling reopen.
18780 2014-06-03  Stefan Liebler  <stli@linux.vnet.ibm.com>
18782         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
18784 2014-06-03  Richard Henderson  <rth@redhat.com>
18786         * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
18787         * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
18788         * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
18789         SAVE_PID and RESTORE_PID blocks from pt-vfork.S.  Map 0 to INT_MIN
18790         in the SAVE_PID block.
18791         (__libc_vfork): New alias.
18792         * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
18794         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
18795         child in registers, not on the stack.  Remove RESET_PID conditionals.
18796         * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
18798 2014-06-03  Marcus Shawcroft  <marcus.shawcroft@arm.com>
18800         * sysdeps/aarch64/libm-test-ulps: Regenerate.
18802 2014-06-03  Wilco  <wdijkstr@arm.com>
18804         * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
18805         (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
18806         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
18807         Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
18808         * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
18809         Likewise.
18811 2014-06-03  Wilco  <wdijkstr@arm.com>
18813         * sysdeps/aarch64/fpu/math_private.h
18814         (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
18815         (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
18816         (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
18817         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
18818         Fix declarations.
18820 2014-06-03  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
18822         * crypt/crypt-private.h: Include ufc-crypt.h.
18823         (__b64_from_24bit): Declare extern.
18824         * crypt/crypt_util.c(__b64_from_24bit): New function.
18825         (b64t): New static const variable.
18826         * crypt/md5-crypt.c (b64_from_24bit): Remove function.
18827         (b64t): Remove variable.
18828         (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
18829         * crypt/sha256-crypt.c: Include crypt-private.h.
18830         (b64t): Remove variable.
18831         (__sha256_crypt_r): Remove b64_from_24bit and replace
18832         with __b64_from_24bit.
18833         * crypt/sha512-crypt.c: Likewise.
18835 2014-06-02  Roland McGrath  <roland@hack.frob.com>
18837         * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
18838         * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
18839         Label the code __libc_vfork rather than __vfork.
18840         [!NOT_IN_libc] (vfork): Define as weak alias.
18841         [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
18842         * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
18843         * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
18845 2014-06-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
18847         * malloc/malloc.c (malloc_info): Fix format specifier for
18848         n_mmaps.
18850 2014-06-02  Wilco  <wdijkstr@arm.com>
18852         * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
18853         FPCR write.
18855 2014-06-02  Wilco  <wdijkstr@arm.com>
18857         [BZ #17009]
18858         * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
18859         Rewrite to reduce FPCR/FPSR accesses.
18861 2014-06-01  David S. Miller  <davem@davemloft.net>
18863         * sysdeps/sparc/fpu/libm-test-ulps: Update.
18865 2014-05-31  David S. Miller  <davem@davemloft.net>
18867         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
18868         to occur in round to nearest mode when |x| >= 2.0
18870 2014-05-30  Richard Henderson  <rth@twiddle.net>
18872         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
18873         (PSEUDO_RET_NOERRNO): Remove.
18874         (ret): Don't redefine.
18875         (ret_NOERRNO): Define in terms of ret.
18876         (ret_ERRVAL): Likewise.
18878         * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
18879         use of PSEUDO_RET; perform the error check directly.
18881 2014-05-30 Marko Myllynen  <myllynen@redhat.com>
18883         * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
18884         with __int128_t.
18886 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
18888         * malloc/malloc (malloc_info): Fix formatting.
18890 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
18891             Roland McGrath  <roland@hack.frob.com>
18893         * malloc/malloc (malloc_info): Also print mmapped statistics.
18895 2014-05-30  Roland McGrath  <roland@hack.frob.com>
18897         * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
18898         * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
18900 2014-05-30  Ondřej Bílka  <neleai@seznam.cz>
18902         * malloc/malloc.c (malloc_info): Inline mi_arena.
18904 2014-05-29  Richard Henderson  <rth@twiddle.net>
18906         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
18907         Remove comma before expanding ASM_ARGS_##nr.
18908         (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
18909         Make _x0 a strict output; make _x8 a strict input; adjust expansion
18910         of ASM_ARGS_##nr.
18911         (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
18912         (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
18913         (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
18914         (ASM_ARGS_1): Add leading comma.
18916         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
18917         (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
18918         to __errno_location.
18919         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
18920         Remove the expected plt for __errno_location.
18922         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
18923         [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
18924         call to __read_tp.
18926         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
18927         Always allocate 64 bytes of stack frame.  Use ldp/stp to create
18928         it and break it down.
18929         (DOCARGS_0, DOCARGS_1): Do nothing.
18930         (DOCARGS_2): Update to store into the new stack frame.
18931         (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
18932         (UNDOCARGS_1): Update to restore from the new stack frame.
18933         (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
18934         (UNDOCARGS_5, UNDOCARGS_6): Likewise.
18936         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
18937         (SINGLE_THREAD_P): New parameter for result regno.
18938         (PSEUDO): Update to match; use cbz instead of beq.
18940         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
18941         Use ENTRY to define the _nocancel entry point.  Share the syscall
18942         and syscall error check paths with the cancel path.
18943         (PSEUDO_END): New.
18945         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
18946         whitespace; tabs before and after asm mnemonics.
18948 2014-05-29  Eric Wong  <normalperson@yhbt.net>
18950         [BZ #15132]
18951         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
18952         Call fstat64 or stat64 internally, depending on arguments passed.
18953         Replace stat buffer argument with file descriptor argument.
18954         (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
18955         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
18956         Pass fd to __internal_statvfs instead of calling fstat64.
18957         * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
18958         Pass fd to __internal_statvfs64 instead of calling fstat64.
18959         * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
18960         Pass -1 to __internal_statvfs instead of calling stat64.
18961         * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
18962         Pass -1 to __internal_statvfs64 instead of calling stat64.
18964 2014-05-28  Roland McGrath  <roland@hack.frob.com>
18966         * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
18967         that was previously under [RESET_PID].
18968         * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
18970         * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
18971         * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
18973 2014-05-27  Roland McGrath  <roland@hack.frob.com>
18975         * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
18977         * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
18978         * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
18980 2014-05-27  Ondřej Bílka  <neleai@seznam.cz>
18982         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
18984 2014-05-27  Andreas Schwab  <schwab@suse.de>
18986         * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
18987         TLS_INIT_TP macro.
18988         * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
18989         * elf/rtld.c (init_tls, dl_main): Likewise.
18990         * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
18991         * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
18992         * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
18993         * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
18994         * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
18995         * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
18996         * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
18997         * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
18998         * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
18999         * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
19000         * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
19001         * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
19002         * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
19003         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
19004         * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
19005         * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
19006         * sysdeps/generic/tls.h: Update description.
19008 2014-05-27  Will Newton  <will.newton@linaro.org>
19010         [BZ #16990]
19011         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
19012         and restore r2 rather than just restoring.
19014 2014-05-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
19016         [BZ #16724]
19017         * libio/tst-ftell-append.c: New test case.
19018         * libio/Makefile (tests): Add test case.
19019         * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
19020         append mode.
19021         * libio/wfileops.c (do_ftell_wide): Likewise.
19023 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19025         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19027         * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
19028         ...
19029         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
19030         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
19031         * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
19032         * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
19033         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
19034         * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
19035         * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
19036         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
19037         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
19038         Moved ...
19039         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
19040         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
19041         Moved ...
19042         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
19043         * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
19044         * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
19045         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
19046         * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
19047         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
19048         ...
19049         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
19050         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
19051         Moved ...
19052         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
19053         here.
19054         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
19055         ...
19056         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
19057         * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
19058         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
19060         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
19061         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
19062         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
19063         * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
19065         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
19066         merge into ...
19067         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
19068         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
19069         ...
19070         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
19071         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
19072         ...
19073         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
19074         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
19075         Moved ...
19076         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
19077         here.
19078         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
19079         Moved ...
19080         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
19081         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
19082         Moved ...
19083         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
19085         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
19086         conditional [RESET_PID].
19087         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
19088         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
19089         removed.
19090         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
19091         removed.
19093         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
19094         <tcb-offsets.h>.
19095         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
19096         (__libc_vfork): New strong alias.
19097         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
19098         removed.
19099         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
19100         Removed.
19102         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
19103         <tcb-offsets.h>.
19104         (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
19105         (__libc_vfork): New strong alias.
19106         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
19107         removed.
19108         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
19109         removed.
19111 2014-05-26  Carlos O'Donell  <carlos@redhat.com>
19113         * malloc/malloc.c (mi_arena): New function.
19114         (malloc_info): Remove nested function mi_arena. Call non-nosted
19115         function mi_arena.
19117 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19119         * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
19120         by insrwi.
19121         * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
19122         * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
19123         * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
19124         * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
19125         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
19126         * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
19127         * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
19129 2014-05-26  Andreas Schwab  <schwab@suse.de>
19131         [BZ #16984]
19132         * locale/programs/repertoire.c (repertoire_read): Add slash
19133         between I18NPATH element and file name.
19134         * locale/programs/locfile.c (locfile_read): Likewise.
19136 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
19138         * nptl/pthread_mutexattr_settype.c
19139         (__pthread_mutexattr_settype):
19140         Disable lock elision for PTHREAD_MUTEX_NORMAL.
19142 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
19144         * nptl/tst-mutex5 (do_test):
19145         Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
19147 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
19149         * benchtests/README: Document 'init' directive.
19150         * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
19151         BENCH_INIT.
19152         * scripts/bench.py (gen_source): Define BENCH_INIT macro.
19153         (parse_file): Recognize 'init' directive.
19155 2014-05-26  Kyle McMartin  <kyle@redhat.com>
19157         [BZ #16796]
19158         * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
19159         alignment of struct pthread.
19161 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
19163         [BZ #16878]
19164         * nscd/netgroupcache.c (addgetnetgrentX): Look for
19165         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
19166         * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
19167         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
19169 2014-05-25  Richard Henderson  <rth@twiddle.net>
19171         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
19172         (SINGLE_THREAD_P_PIC): Remove.
19173         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
19174         (SINGLE_THREAD_P_PIC): Remove.
19176         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
19177         branch to syscall error ...
19178         (PSEUDO): ... here.
19179         [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
19180         from __local_syscall_error to .Lsyscall_error.
19181         [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
19182         (SYSCALL_ERROR): Update label name.
19184         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
19185         Do not use DOARGS/UNDOARGS.
19186         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
19187         (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
19188         (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
19189         (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
19190         (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
19192         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
19193         block comment.
19195         * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
19196         define if !NOT_IN_libc.
19197         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
19198         define with non-default symbol versions.
19200 2014-05-23  Richard Henderson  <rth@twiddle.net>
19202         * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
19203         (vfork, __vfork): Define via compat_symbol.
19205         * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
19206         [!HAVE_IFUNC] (vfork_compat): Remove.
19207         [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
19209 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
19211         [BZ #16978]
19212         * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
19213         * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
19214         variable.
19216 2014-05-23  Richard Henderson  <rth@twiddle.net>
19218         * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
19219         * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
19220         * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
19221         * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
19223         * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
19224         * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
19225         * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
19226         * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
19227         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
19228         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
19229         * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
19230         * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
19231         * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
19232         * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
19233         * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
19234         * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
19235         * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
19236         * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
19237         * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
19238         * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
19239         * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
19240         * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
19241         * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
19242         * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
19243         * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
19244         * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
19245         * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
19246         * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
19247         * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
19248         * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
19249         * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
19250         * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
19251         * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
19252         * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
19253         * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
19254         * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
19255         * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
19256         * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
19257         * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
19258         * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
19259         * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
19260         * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
19261         * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
19262         * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
19263         * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
19264         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
19265         * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
19266         * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
19267         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
19268         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
19269         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
19270         * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
19271         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
19272         * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
19273         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
19274         * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
19275         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
19276         * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
19277         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
19278         * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
19280         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
19281         * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
19282         * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here.  Restore PID
19283         before exiting on error.
19284         (__libc_vfork): New strong alias.
19285         * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
19286         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
19288         * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
19289         that was previously under [RESET_PID].
19290         * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
19292         * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
19294 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
19296         [BZ #16977]
19297         * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
19298         value when x - 1 is zero.
19299         * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
19300         * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
19301         * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
19302         0.0L for an argument of 1.0L.
19303         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
19304         Likewise.
19305         * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
19306         value when x - 1 is zero.
19307         * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
19308         * sysdeps/i386/fpu/libm-test-ulps: Update.
19309         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19311 2014-05-23  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
19313         * manual/filesys.texi (Scanning Directory Content): Fix prototype of
19314         alphasort and versionsort.
19316 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19318         * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
19319         macro.
19320         [copysignf]: Likewise.
19322 2014-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
19324         * crypt/md5-crypt.c: Fix formatting.
19326 2014-05-22  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
19328         * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
19329         (b64_from_24bit): New function.
19331 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19333         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
19334         libc_hidden_builtin_def to ifunc.
19335         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
19336         [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
19338 2014-05-21  Roland McGrath  <roland@hack.frob.com>
19340         * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
19341         * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
19343 2014-05-21  Joseph Myers  <joseph@codesourcery.com>
19345         * nscd/Depend (linuxthreads): Remove.
19346         (nptl): Add.
19347         * resolv/Depend (linuxthreads): Remove.
19348         * rt/Depend (linuxthreads): Remove.
19350         * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
19351         (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
19352         $(common-objpfx)elf/.
19353         (link-libc-before-gnulib): Likewise.
19354         (elfobjdir): Remove variable.
19355         * Makefile (install): Use $(elf-objpfx) instead of
19356         $(common-objpfx)elf/.
19357         * Makerules (link-libc-args): Use $(elf-objpfx) instead of
19358         $(elfobjdir)/.
19359         (link-libc-deps): Likewise.
19360         ($(common-objpfx)libc.so): Likewise.
19361         ($(common-objpfx)linkobj/libc.so): Likewise.
19362         [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
19363         instead of $(common-objpfx)elf/.
19364         (symbolic-link-list): Likewise.
19365         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
19366         [$(cross-compiling) = no]: Likewise.
19367         * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
19368         $(elfobjdir)/.
19369         (static-gnulib-arch): Likewise.
19370         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
19371         [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
19372         $(common-objpfx)elf/.
19374 2014-05-21  Richard Henderson  <rth@redhat.com>
19376         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
19377         (SINGLE_THREAD_P): Use the correct width load.  Fold
19378         into the ldr offset.
19380         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
19381         (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
19383 2014-05-20  Joseph Myers  <joseph@codesourcery.com>
19385         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
19386         (libgcc_s_resume): Use __attribute_used__.
19387         * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
19388         Likewise.
19390 2014-05-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19392         * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
19393         optimization when used with float constants.
19395         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19397 2014-05-20  Aurelien Jarno  <aurelien@aurel32.net>
19399         [BZ #16915]
19400         * locale/nl_langinfo_l.c: Make direct reference to every
19401         _nl_current_CATEGORY symbol.
19402         * localedata/Makefile (test-srcs): Add tst-langinfo-static.
19403         (tests-static): Add tst-langinfo-static.
19404         (tests-special): Add tst-langinfo-static.out.
19405         ($(objpfx)tst-langinfo.out): Redirect output.
19406         ($(objpfx)tst-langinfo-static.out): New.
19407         * localedata/tst-langinfo.sh: Send output to stdout.
19408         * localedata/tst-langinfo-static.c: New file.
19410         [BZ #16965]
19411         * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
19412         when the shift amount is modulo the limb size.
19414 2014-05-20  Richard Henderson  <rth@redhat.com>
19416         [BZ #16967]
19417         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
19418         Change type of sa_flags from unsigned int to int.
19420         [BZ #16966]
19421         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
19423         * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
19425 2014-05-20  Will Newton  <will.newton@linaro.org>
19427         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
19428         Test the return value of the system call in the nocancel case.
19430 2014-05-20  Will Newton  <will.newton@linaro.org>
19431             Yvan Roux  <yvan.roux@linaro.org>
19433         * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
19434         #include of asm/ptrace.h.
19435         (PTRACE_GET_THREAD_AREA): Remove #undef.
19436         (PTRACE_GETHBPREGS): Likewise.
19437         (PTRACE_SETHBPREGS): Likewise.
19438         (struct user_regs_struct): New structure.
19439         (struct user_fpsimd_struct): New structure.
19440         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
19441         #include of asm/ptrace.h and second #include of sys/user.h.
19442         (PTRACE_GET_THREAD_AREA): Remove #undef.
19443         (PTRACE_GETHBPREGS): Likewise.
19444         (PTRACE_SETHBPREGS): Likewise.
19445         (ELF_NGREG): Use new struct user_regs_struct.
19446         (elf_fpregset_t): Use new struct user_fpsimd_struct.
19448 2014-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19450         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
19451         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
19453 2014-05-17  Jose E. Marchesi  <jose.marchesi@oracle.com>
19455         [BZ #16958]
19456         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
19457         membar to avoid block loads/stores to overlap previous stores.
19459 2014-05-17  Richard Henderson  <rth@redhat.com>
19461         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
19462         Create the __##syscall_name##_nocancel entry point.
19463         * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
19464         Remove; let the sysdep-cancel.h code create it.
19466 2014-05-17  David S. Miller  <davem@davemloft.net>
19468         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
19469         Protect with __USE_GNU.
19470         (TIOCSET_TEMPT): Likewise.
19471         (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
19472         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
19473         these are already provided in bits/ioctl-types.h
19475 2014-05-16  Roland McGrath  <roland@hack.frob.com>
19477         * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
19478         * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
19480         * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
19481         Use wait4 regardless of [__NR_waitpid].
19483 2014-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
19485         PR libgcc/60166
19486         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
19487         (_FP_NANSIGN_Q): Set the quiet bit.
19489 2014-05-16  Joseph Myers  <joseph@codesourcery.com>
19491         * benchtests/Makefile
19492         ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
19493         not $(common-objpfx)math/libm.so.
19494         ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
19495         $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
19496         * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
19497         $(common-objpfx)dlfcn/libdl.so.
19498         ($(objpfx)tst-audit8): Depend on $(libm), not
19499         $(common-objpfx)math/libm.so.
19500         * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
19501         not $(common-objpfx)dlfcn/libdl.so.
19502         * math/Makefile
19503         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
19504         Depend on $(libm), not $(objpfx)libm.so.  Do not condition on
19505         [$(build-shared) = yes].
19506         ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
19507         $(common-objpfx)nptl/libpthread.so.
19508         * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
19509         $(common-objpfx)math/libm.so$(libm.so-version) or
19510         $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
19511         * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
19512         $(common-objpfx)dlfcn/libdl.so.
19513         * setjmp/Makefile (link-libm): Remove variable.
19514         ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
19515         * stdio-common/Makefile (link-libm): Remove variable.
19516         ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
19517         * stdlib/Makefile (link-libm): Remove variable.
19518         ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
19519         ($(objpfx)tst-strtod-round): Likewise.
19520         ($(objpfx)tst-tininess): Likewise.
19521         ($(objpfx)tst-strtod-underflow): Likewise.
19522         ($(objpfx)tst-strtod6): Likewise.
19523         ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
19524         $(libdl), not $(common-objpfx)nptl/libpthread.so and
19525         $(common-objpfx)dlfcn/libdl.so.
19527 2014-05-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19529         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
19530         BSD terminal modes definitions.
19532 2014-05-16  Roland McGrath  <roland@hack.frob.com>
19534         * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
19535         * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
19537         * sysdeps/unix/sysv/linux/arch-fork.h: New file.
19538         * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
19539         * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
19540         Don't do #include_next.
19541         * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
19542         * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
19543         Don't do #include_next.
19544         * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
19545         * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
19546         * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
19547         * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
19549 2014-05-16  Allan McRae  <allan@archlinux.org>
19551         * po/sv.po: Update Swedish translation from translation project.
19553         * timezone/Makefile ($(objpfx)tzselect): Use correct variable
19554         in sed expression.
19556 2014-05-16  Aurelien Jarno  <aurelien@aurel32.net>
19558         [BZ #16917]
19559         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
19560         errno if the TIOCGPTN ioctl fails with an error different than
19561         EINVAL.
19562         * login/tst-ptsname.c: New file.
19563         * login/Makefile (tests): Add tst-ptsname.
19565         [BZ #16943]
19566         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
19567         and prlimit64.
19569 2014-05-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
19571         [BZ #16849]
19572         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
19573         herrno to return EAI_AGAIN.
19575 2014-05-14  Roland McGrath  <roland@hack.frob.com>
19577         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
19578         * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
19579         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
19580         * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
19581         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
19582         * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
19583         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
19584         * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
19585         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
19586         * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
19587         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
19588         * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
19589         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
19590         * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
19591         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
19592         * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
19593         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
19594         * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
19595         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
19596         * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
19597         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
19598         * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
19599         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
19600         * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
19601         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
19602         * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
19603         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
19604         * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
19605         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
19606         * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
19607         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
19608         * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
19609         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
19610         * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
19611         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
19612         Moved ...
19613         * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
19614         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
19615         * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
19616         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
19617         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
19618         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
19619         * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
19620         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
19621         * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
19622         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
19623         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
19624         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
19625         * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
19626         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
19627         * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
19628         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
19629         * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
19630         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
19631         * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
19632         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
19633         * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
19634         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
19635         * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
19636         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
19637         * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
19638         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
19639         * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
19640         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
19641         Moved ...
19642         * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
19643         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
19644         * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
19645         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
19646         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
19647         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
19648         * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
19649         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
19650         * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
19651         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
19652         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
19653         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
19654         * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
19655         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
19656         * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
19657         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
19658         * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
19659         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
19660         * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
19661         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
19662         Moved ...
19663         * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
19664         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
19665         * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
19667         * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
19668         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
19669         (libpthread-sysdep_routines): Add elision-related stuff here instead.
19670         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
19671         * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
19672         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
19673         * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
19674         * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
19675         * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
19676         * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
19677         * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
19678         * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
19679         * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
19680         * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
19681         * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
19682         * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
19683         * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
19684         * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
19685         * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
19686         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
19687         * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
19688         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
19689         * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
19690         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
19691         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
19692         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
19693         * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
19694         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
19695         * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
19696         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
19697         * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
19699         * sysdeps/unix/sysv/linux/mips/fork.h: New file.
19700         * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
19702         * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
19703         * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
19704         * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
19705         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
19706         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
19707         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
19708         Moved ...
19709         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
19710         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
19711         Moved ...
19712         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
19713         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
19714         Moved ...
19715         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
19716         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
19717         Moved ...
19718         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
19719         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
19720         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
19721         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
19722         Moved ...
19723         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
19724         * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
19725         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
19726         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
19727         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
19728         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
19729         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
19730         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
19731         Moved ...
19732         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
19733         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
19734         Moved ...
19735         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
19736         ... here.
19737         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
19738         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
19739         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
19740         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
19741         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
19742         Moved ...
19743         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
19744         ... here.
19745         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
19746         Moved ...
19747         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
19748         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
19749         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
19750         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
19751         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
19752         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
19753         Moved ...
19754         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
19755         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
19756         Moved ...
19757         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
19758         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
19759         Moved ...
19760         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
19761         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
19762         Moved ...
19763         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
19764         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
19765         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
19766         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
19767         Moved ...
19768         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
19769         * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
19770         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
19771         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
19772         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
19773         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
19774         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
19775         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
19776         Moved ...
19777         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
19778         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
19779         Moved ...
19780         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
19781         ... here.
19782         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
19783         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
19784         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
19785         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
19786         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
19787         Moved ...
19788         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
19789         ... here.
19790         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
19791         Moved ...
19792         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
19793         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
19794         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
19795         * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
19796         * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
19797         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
19798         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
19799         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
19800         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
19801         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
19802         Moved ...
19803         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
19804         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
19805         Moved ...
19806         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
19807         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
19808         Moved ...
19809         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
19810         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
19811         Moved ...
19812         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
19813         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
19814         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
19815         * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
19816         * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
19817         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
19818         Moved ...
19819         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
19820         * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
19821         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
19822         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
19823         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
19824         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
19825         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
19826         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
19827         Moved ...
19828         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
19829         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
19830         Moved ...
19831         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
19832         ... here.
19833         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
19834         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
19835         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
19836         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
19837         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
19838         Moved ...
19839         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
19840         ... here.
19841         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
19842         Moved ...
19843         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
19844         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
19845         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
19846         * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
19847         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
19848         * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
19849         * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
19850         * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
19851         * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
19852         * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
19853         * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
19855         * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
19856         * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
19858         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
19859         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
19861         * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
19862         * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
19863         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
19864         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
19865         * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
19866         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
19867         * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
19868         * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
19869         * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
19870         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
19871         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
19872         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
19873         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
19874         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
19875         * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
19876         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
19877         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
19878         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
19879         Moved ...
19880         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
19881         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
19882         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
19883         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
19884         Moved ...
19885         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
19886         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
19887         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
19888         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
19889         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
19890         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
19891         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
19892         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
19893         Moved ...
19894         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
19895         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
19896         Moved ...
19897         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
19898         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
19899         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
19900         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
19901         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
19902         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
19903         * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
19904         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
19905         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
19906         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
19907         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
19908         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
19909         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
19910         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
19911         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
19912         * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
19913         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
19915         * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
19916         * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
19917         * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
19918         * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
19919         * sysdeps/unix/sysv/linux/i386/fork.h: New file.
19921         * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
19922         * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
19923         * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
19924         * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
19925         * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
19926         * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
19927         * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
19928         * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
19929         * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
19930         * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
19932         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
19933         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
19935         * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
19936         * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
19937         * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
19938         * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
19939         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
19940         * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
19941         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
19942         * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
19943         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
19944         * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
19945         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
19946         * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
19947         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
19948         * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
19949         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
19950         Update #include.
19951         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
19952         Likewise.
19953         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
19954         Likewise.
19955         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
19956         Likewise.
19957         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
19958         Likewise.
19959         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
19960         Likewise.
19961         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
19962         Likewise.
19963         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
19964         Likewise.
19965         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
19966         Likewise.
19967         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
19968         Likewise.
19969         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
19970         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
19971         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
19972         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
19973         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
19974         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
19975         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
19976         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
19977         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
19978         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
19979         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
19980         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
19981         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
19982         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c:  Likewise.
19983         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c:  Likewise.
19985         * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
19986         that was previously under [RESET_PID].
19987         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
19988         * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
19989         * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
19991         * sysdeps/i386/nptl/Implies: New file.
19992         * sysdeps/x86_64/nptl/Implies: New file.
19993         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
19994         * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
19995         * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
19996         * sysdeps/x86/nptl/bits/semaphore.h: ... here.
19998         * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
19999         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
20000         (__libc_vfork): New strong alias.
20001         * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
20002         * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
20004         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
20005         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
20006         (__libc_vfork): New strong alias.
20007         * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
20008         * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
20010         * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
20011         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
20012         (__libc_vfork): New strong alias.
20013         * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
20014         * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
20015         * nptl/pt-vfork.c: New file.
20016         * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
20017         (libpthread: GLIBC_2.20): New version set (empty).
20019 2014-05-14  Will Newton  <will.newton@linaro.org>
20021         * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
20022         rather than #if.
20024 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
20026         [BZ #16564]
20027         * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
20028         arguments with exponent 65 or above.
20029         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
20030         arguments 0x1p113L or above.
20031         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
20032         to arguments 0x1p107L or above.
20033         * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
20034         positive arguments with exponent 65 or above.
20035         * math/auto-libm-test-in: Add more tests of log1p.
20036         * math/auto-libm-test-out: Regenerated.
20038         [BZ #16928]
20039         * math/s_cacos.c (__cacos): Ensure zero real part of result from
20040         non-finite arguments is +0.
20041         * math/s_cacosf.c (__cacosf): Likewise.
20042         * math/s_cacosl.c (__cacosl): Likewise.
20043         * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
20044         * sysdeps/i386/fpu/libm-test-ulps: Update.
20045         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20047         [BZ #16927]
20048         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
20049         value.
20050         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
20051         * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
20052         * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
20053         for explicit high bit of mantissa when testing for argument equal
20054         to 1.
20055         * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
20056         * sysdeps/i386/fpu/libm-test-ulps: Update.
20057         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20059         [BZ #16516]
20060         * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
20061         (__erf): Scale by 16 instead of 8 in potentially underflowing
20062         case.  Ensure exception if result actually underflows.
20063         * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
20064         (__erff): Scale by 16 instead of 8 in potentially underflowing
20065         case.  Ensure exception if result actually underflows.
20066         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
20067         (efx8): Remove variable.
20068         (__erfl): Scale by 16 instead of 8 in potentially underflowing
20069         case.  Ensure exception if result actually underflows.
20070         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
20071         (efx8): Remove variable.
20072         (__erfl): Scale by 16 instead of 8 in potentially underflowing
20073         case.  Ensure exception if result actually underflows.
20074         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
20075         (efx8): Remove variable.
20076         (__erfl): Scale by 16 instead of 8 in potentially underflowing
20077         case.  Ensure exception if result actually underflows.
20078         * math/auto-libm-test-in: Add more tests of erf.
20079         * math/auto-libm-test-out: Regenerated.
20081 2014-05-14  Andreas Schwab  <schwab@suse.de>
20083         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
20084         Remove code conditionalized on USE___THREAD.
20086         * config.h.in (HAVE_PT_CHOWN): Define as 0.
20087         * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
20088         not definedness.
20090 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
20092         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
20093         Define unconditionally.
20094         (__ASSUME_O_CLOEXEC): Likewise.
20095         (__ASSUME_SOCK_CLOEXEC): Likewise.
20096         (__ASSUME_IN_NONBLOCK): Likewise.
20097         (__ASSUME_PIPE2): Likewise.
20098         (__ASSUME_EVENTFD2): Likewise.
20099         (__ASSUME_SIGNALFD4): Likewise.
20100         (__ASSUME_DUP3): Likewise.
20101         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
20102         (__ASSUME_DUP3): Do not define.
20103         (__ASSUME_EVENTFD2): Likewise.
20104         (__ASSUME_IN_NONBLOCK): Likewise.
20105         (__ASSUME_O_CLOEXEC): Likewise.
20106         (__ASSUME_PIPE2): Likewise.
20107         (__ASSUME_SIGNALFD4): Likewise.
20108         (__ASSUME_SOCK_CLOEXEC): Likewise.
20109         (__ASSUME_UTIMES): Undefine.
20110         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
20111         (__ASSUME_UTIMES): Do not define.
20112         (__ASSUME_O_CLOEXEC): Likewise.
20113         (__ASSUME_SOCK_CLOEXEC): Likewise.
20114         (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
20115         0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
20116         0x020621].
20117         (__ASSUME_PIPE2): Likewise.
20118         (__ASSUME_EVENTFD2): Likewise.
20119         (__ASSUME_SIGNALFD4): Likewise.
20120         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
20121         * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
20122         Do not define.
20123         (__ASSUME_EVENTFD2): Likewise.
20124         (__ASSUME_SIGNALFD4): Likewise.
20125         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
20126         (__ASSUME_32BITUIDS): Likewise.
20127         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
20128         (__ASSUME_IPC64): Likewise.
20129         (__ASSUME_ST_INO_64_BIT): Likewise.
20130         (__ASSUME_GETDENTS64_SYSCALL): Likewise.
20131         [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
20132         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
20133         (__ASSUME_UTIMES): Do not define.
20134         (__ASSUME_PSELECT): Likewise.
20135         (__ASSUME_PPOLL): Likewise.
20136         (__ASSUME_O_CLOEXEC): Likewise.
20137         (__ASSUME_SOCK_CLOEXEC): Likewise.
20138         (__ASSUME_IN_NONBLOCK): Likewise.
20139         (__ASSUME_PIPE2): Likewise.
20140         (__ASSUME_EVENTFD2): Likewise.
20141         (__ASSUME_SIGNALFD4): Likewise.
20142         (__ASSUME_DUP3): Likewise.
20143         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
20144         (__ASSUME_UTIMES): Likewise.
20145         (__ASSUME_O_CLOEXEC): Likewise.
20146         (__ASSUME_SOCK_CLOEXEC): Likewise.
20147         (__ASSUME_IN_NONBLOCK): Likewise.
20148         (__ASSUME_PIPE2): Likewise.
20149         (__ASSUME_EVENTFD2): Likewise.
20150         (__ASSUME_SIGNALFD4): Likewise.
20151         (__ASSUME_DUP3): Likewise.
20152         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
20153         (__ASSUME_UTIMES): Likewise.
20154         (__ASSUME_O_CLOEXEC): Likewise.
20155         (__ASSUME_SOCK_CLOEXEC): Likewise.
20156         (__ASSUME_IN_NONBLOCK): Likewise.
20157         (__ASSUME_PIPE2): Likewise.
20158         (__ASSUME_EVENTFD2): Likewise.
20159         (__ASSUME_SIGNALFD4): Likewise.
20160         (__ASSUME_DUP3): Likewise.
20161         * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
20162         Likewise.
20163         (__ASSUME_UTIMES): Likewise.
20164         (__ASSUME_EVENTFD2): Likewise.
20165         (__ASSUME_SIGNALFD4): Likewise.
20166         * sysdeps/unix/sysv/linux/tile/kernel-features.h
20167         (__ASSUME_O_CLOEXEC): Likewise.
20168         (__ASSUME_SOCK_CLOEXEC): Likewise.
20169         (__ASSUME_IN_NONBLOCK): Likewise.
20170         (__ASSUME_PIPE2): Likewise.
20171         (__ASSUME_EVENTFD2): Likewise.
20172         (__ASSUME_SIGNALFD4): Likewise.
20173         (__ASSUME_DUP3): Likewise.
20174         (__ASSUME_UTIMES): Undefine.
20176         * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
20177         feclearexcept.  Remove symbol versioning code.
20178         * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv.  Remove
20179         symbol versioning code.
20180         * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv.  Remove
20181         symbol versioning code.
20182         * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
20183         feupdateenv.  Remove symbol versioning code.
20184         * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
20185         fegetexceptflag.  Remove symbol versioning code.
20186         * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
20187         fesetexceptflag.  Remove symbol versioning code.
20188         * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
20189         GLIBC_2.2 and GLIBC_2.3.3 entries.  Change GLIBC_2.1 to GLIBC_2.4.
20190         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
20191         (__posix_fadvise64_l32): Remove prototype.
20192         [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
20193         code.
20195 2014-05-13  Roland McGrath  <roland@hack.frob.com>
20197         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
20198         * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
20199         * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
20200         * sysdeps/arm/nptl/bits/semaphore.h: ... here.
20202 2014-05-13  Sami Kerola  <kerolasa@iki.fi>
20204         * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
20205         current working directory
20207 2014-05-13  Roland McGrath  <roland@hack.frob.com>
20209         * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
20210         * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
20211         * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
20212         * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
20213         * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
20214         * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
20215         * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
20216         * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
20217         * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
20218         * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
20219         * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
20220         * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
20221         * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
20222         * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
20223         * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
20224         * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
20225         * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
20226         * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
20227         * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
20228         * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
20229         * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
20230         * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
20231         * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
20232         * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
20233         * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
20234         * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
20235         * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
20236         * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
20237         * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
20238         * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
20239         * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
20240         * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
20241         * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
20242         * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
20243         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
20244         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
20245         * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
20246         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
20247         * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
20248         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
20249         * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
20250         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
20252         * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
20253         * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
20255         * sysdeps/unix/sysv/linux/arm/Makefile
20256         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
20257         Add rt-aeabi_unwind_cpp_pr1.
20258         [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
20259         Add nptl-aeabi_unwind_cpp_pr1.
20260         [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
20261         * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
20262         * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
20263         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
20264         * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
20265         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
20267         * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
20268         * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
20269         * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
20270         * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
20272         * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
20273         Deconditionalize the code that was previously under [RESET_PID].
20274         * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
20276         * sysdeps/generic/exit-thread.h: New file.
20277         * sysdeps/unix/sysv/linux/exit-thread.h: New file.
20278         * include/unistd.h (__exit_thread): Remove declaration.
20279         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
20280         * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
20281         * csu/libc-start.c: Include <exit-thread.h>.
20282         (LIBC_START_MAIN): Pass no argument to __exit_thread.
20283         * nptl/pthread_create.c: Include <exit-thread.h>.
20284         (start_thread): Call __exit_thread in place of __exit_thread_inline.
20285         * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
20286         * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
20287         * nptl/sysdeps/s390/pthreaddef.h: Likewise.
20288         * nptl/sysdeps/sh/pthreaddef.h: Likewise.
20289         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
20290         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
20291         * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
20292         * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
20293         * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
20294         * sysdeps/arm/nptl/pthreaddef.h: Likewise.
20295         * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
20296         * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
20297         * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
20298         * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
20299         * sysdeps/mips/nptl/pthreaddef.h: Likewise.
20300         * sysdeps/tile/nptl/pthreaddef.h: Likewise.
20302 2014-05-13  Andreas Schwab  <schwab@suse.de>
20304         * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
20306 2014-05-12  Joseph Myers  <joseph@codesourcery.com>
20308         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
20309         (__ASSUME_UTIMES): Do not condition on kernel version.
20310         (__ASSUME_PSELECT): Define unconditionally.
20311         (__ASSUME_PPOLL): Likewise.
20312         (__ASSUME_ATFCTS): Likewise.
20313         (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
20314         (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
20315         (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
20316         (__ASSUME_UTIMENSAT): Define unconditionally.
20317         (__ASSUME_PRIVATE_FUTEX): Likewise.
20318         (__ASSUME_FALLOCATE): Likewise.
20319         (__ASSUME_O_CLOEXEC): Likewise.
20320         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
20321         (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
20322         (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
20323         (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
20324         (__ASSUME_IN_NONBLOCK): Likewise.
20325         (__ASSUME_PIPE2): Likewise.
20326         (__ASSUME_EVENTFD2): Likewise.
20327         (__ASSUME_SIGNALFD4): Likewise.
20328         (__ASSUME_DUP3): Likewise.
20329         [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
20330         (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
20331         (__ASSUME_AT_RANDOM): Likewise.
20332         (__ASSUME_PREADV): Likewise.
20333         (__ASSUME_PWRITEV): Likewise.
20334         (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
20335         (__ASSUME_F_GETOWN_EX): Define unconditionally.
20336         (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
20337         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
20338         [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
20339         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
20340         (__ASSUME_O_CLOEXEC): Define unconditionally.
20341         (__ASSUME_PSELECT): Do not undefine conditionally.
20342         (__ASSUME_PPOLL): Likewise.
20343         (__ASSUME_ATFCTS): Likewise.
20344         (__ASSUME_SET_ROBUST_LIST): Likewise.
20345         (__ASSUME_UTIMENSAT): Likewise.
20346         (__ASSUME_FDATASYNC): Define unconditionally.
20347         * sysdeps/unix/sysv/linux/arm/kernel-features.h
20348         (__ASSUME_SIGFRAME_V2): Likewise.
20349         )__ASSUME_EVENTFD2): Likewise.
20350         (__ASSUME_SIGNALFD4): Likewise.
20351         (__ASSUME_PSELECT): Do not undefine conditionally.
20352         (__ASSUME_PPOLL): Likewise.
20353         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
20354         (__ASSUME_PSELECT): Define unconditionally.
20355         (__ASSUME_PPOLL): Likewise.
20356         (__ASSUME_O_CLOEXEC): Likewise.
20357         (__ASSUME_SOCK_CLOEXEC): Likewise.
20358         (__ASSUME_IN_NONBLOCK): Likewise.
20359         (__ASSUME_PIPE2): Likewise.
20360         (__ASSUME_EVENTFD2): Likewise.
20361         (__ASSUME_SIGNALFD4): Likewise.
20362         (__ASSUME_DUP3): Likewise.
20363         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
20364         (__ASSUME_O_CLOEXEC): Likewise.
20365         (__ASSUME_SOCK_CLOEXEC): Likewise.
20366         (__ASSUME_IN_NONBLOCK): Likewise.
20367         (__ASSUME_PIPE2): Likewise.
20368         (__ASSUME_EVENTFD2): Likewise.
20369         (__ASSUME_SIGNALFD4): Likewise.
20370         (__ASSUME_DUP3): Likewise.
20371         * sysdeps/unix/sysv/linux/mips/kernel-features.h
20372         (__ASSUME_EVENTFD2): Likewise.
20373         (__ASSUME_SIGNALFD4): Likewise.
20374         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
20376 2014-05-12  Andreas Schwab  <schwab@suse.de>
20378         [BZ #16932]
20379         * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
20380         (_nss_nis_gethostbyname4_r): Return error if item length is larger
20381         than maximum RPC packet size.
20382         * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
20383         * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
20384         * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
20385         (_nss_nis_getservbyport_r): Likewise.
20387 2014-05-12  Will Newton  <will.newton@linaro.org>
20389         * malloc/Makefile (tests): Add tst-mallopt.
20390         * malloc/tst-mallopt.c: New file.
20392 2014-05-09  Roland McGrath  <roland@hack.frob.com>
20394         * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
20395         [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
20397 2014-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20399         * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
20400         (tst-tlsmod6.so): Likewise.
20402 2014-05-09  Roland McGrath  <roland@hack.frob.com>
20404         * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
20406 2014-05-09  Joseph Myers  <joseph@codesourcery.com>
20408         [BZ #16064]
20409         * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
20410         and <dl-procinfo.h>.
20411         (__fegetenv): Save SSE state in envp->__eip if supported.
20412         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
20413         envp->__eip if supported.
20414         * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
20415         and <dl-procinfo.h>.
20416         (__fesetenv): Always set __eip, __cs_selector, __opcode,
20417         __data_offset and __data_selector in environment to 0.  Set SSE
20418         state if supported.
20419         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
20420         test-fenv-sse.
20421         [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
20422         -mfpmath=sse.
20423         * sysdeps/x86/fpu/test-fenv-sse.c: New file.
20425 2014-05-09  Will Newton  <will.newton@linaro.org>
20427         * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
20428         and libc_relro_required for ARM.
20429         * sysdeps/arm/preconfigure: Regenerate.
20431 2014-05-09  Dominik Vogt  <vogt@linux.vnet.ibm.com>
20432             Stefan Liebler  <stli@linux.vnet.ibm.com>
20434         * config.make.in (enable-lock-elision): New Makefile variable.
20435         * configure.ac: Likewise.
20436         * configure: Regenerate.
20437         * sysdeps/s390/configure.ac:
20438         Add check for gcc transactions support.
20439         * sysdeps/s390/configure: Regenerate.
20440         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
20441         Build elision files if enabled.
20442         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
20443         Add lock elision support for s390.
20444         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
20445         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
20446         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
20447         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
20448         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
20449         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
20450         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
20451         Likewise.
20452         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
20453         Likewise.
20454         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
20455         Likewise.
20456         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
20457         Likewise.
20458         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
20459         (__lll_timedlock_elision, __lll_lock_elision)
20460         (__lll_unlock_elision, __lll_trylock_elision)
20461         (lll_timedlock_elision, lll_lock_elision)
20462         (lll_unlock_elision, lll_trylock_elision): Add.
20463         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
20464         (pthread_mutex_t): Add lock elision support for s390.
20466 2014-05-14  Wilco  <wdijkstr@arm.com>
20468         * sysdeps/arm/fclrexcpt.c: Cleanup.
20469         * sysdeps/arm/fedisblxcpt.c: Cleanup.
20470         * sysdeps/arm/feenablxcpt.c: Cleanup.
20471         * sysdeps/arm/fegetenv.c: Cleanup.
20472         * sysdeps/arm/fegetexcept.c: Cleanup.
20473         * sysdeps/arm/fegetround.c: Cleanup.
20474         * sysdeps/arm/feholdexcpt.c: Cleanup.
20475         * sysdeps/arm/fesetenv.c: Cleanup.
20476         * sysdeps/arm/fesetround.c: Cleanup.
20477         * sysdeps/arm/feupdateenv.c: Cleanup.
20478         * sysdeps/arm/fgetexcptflg.c: Cleanup.
20479         * sysdeps/arm/fraiseexcpt.c: Cleanup.
20480         * sysdeps/arm/fsetexcptflg.c: Cleanup.
20481         * sysdeps/arm/ftestexcept.c: Cleanup.
20482         * sysdeps/arm/get-rounding-mode.h: Cleanup.
20483         * sysdeps/arm/setfpucw.c: Cleanup.
20485 2014-05-09  Will Newton  <will.newton@linaro.org>
20487         * sysdeps/arm/armv7/strcmp.S: New file.
20488         * NEWS: Mention addition of ARMv7 optimized strcmp.
20490 2014-05-08  Roland McGrath  <roland@hack.frob.com>
20492         * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
20493         look for %.ac rather than %.in.
20495         * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
20496         * sysdeps/unix/sysv/linux/configure.ac: Likewise.
20497         * sysdeps/mach/hurd/configure: Regenerated.
20498         * sysdeps/unix/sysv/linux/configure: Regenerated.
20500         * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
20502 2014-05-07  Steve Ellcey  <sellcey@mips.com>
20504         [BZ# 16922]
20505         * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
20506         (LONG_SUB): Ditto.
20507         (PTR_SUB): Ditto.
20509 2014-05-07  Andreas Schwab  <schwab@suse.de>
20511         * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
20512         when skipping over non-matching result from nscd.
20514 2014-05-07  Ondřej Bílka  <neleai@seznam.cz>
20516         [BZ #16876]
20517         * nptl/sockperf.c (client): Check socket return value.
20519         [BZ #16877]
20520         * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
20521         nscd security class.
20523 2014-05-06  Roland McGrath  <roland@hack.frob.com>
20525         * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
20526         * sysdeps/arm/unwind.h: ... here.
20528 2014-05-06  Aurelien Jarno  <aurelien@aurel32.net>
20530         [BZ# 16916]
20531         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
20532         Define.
20534 2014-05-06  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
20536         * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
20537         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
20538         multiarch strncpy for PPC64.
20539         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
20540         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
20541         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
20542         multiarch optimizations.
20543         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
20544         (__libc_ifunc_impl_list): Likewise.
20545         * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
20546         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
20547         multiarch stpncpy for PPC64.
20548         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
20549         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
20551 2014-05-06  Andreas Schwab  <schwab@suse.de>
20553         [BZ #16912]
20554         * gmon/mcount.c (_MCOUNT_DECL): Use
20555         atomic_compare_and_exchange_bool_acq instead of
20556         catomic_compare_and_exchange_bool_acq.
20558 2014-05-05  Roland McGrath  <roland@hack.frob.com>
20560         * elf/Makefile (others, install-bin): Remove pldd.
20561         (pldd-modules): Variable removed.
20562         ($(objpfx)pldd): Target removed.
20563         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
20564         (others, install-bin): Append pldd here.
20565         ($(objpfx)pldd): New target.
20567         * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
20568         to 0, so the first #if test emitted later doesn't see it undefined.
20569         (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
20570         * sysdeps/gnu/errlist.c: Regenerated.
20572 2014-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20574         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
20575         [libc_hidden_builtin_def]: Define to empty value.
20576         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
20577         [libc_hidden_builtin_def]: Likewise.
20578         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
20579         [libc_hidden_builtin_def]: Likewise.
20580         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
20581         [libc_hidden_builtin_def]: Likewise.
20582         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
20583         __redirect_memcpy and define ifunc as default hidden symbol.
20584         * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
20585         * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
20587 2014-05-04  Adam Conrad  <adconrad@0c3.net>
20589         * locale/iso-4217.def: Reintroduce XDR currency.
20591 2014-05-04  Allan McRae  <allan@archlinux.org>
20593         * po/eo.po: Update Esperanto translation from translation project.
20595 2014-05-02  Carlos O'Donell  <carlos@redhat.com>
20597         * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
20598         and FEATURE_INDEX_MAX to 1.
20599         [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
20601 2014-05-01  Steve Ellcey  <sellcey@mips.com>
20603         * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
20604         * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
20605         * iconvdata/big5.c (ONE_DIRECTION): Define.
20606         * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
20607         * iconvdata/cp1255.c (ONE_DIRECTION): Define.
20608         * iconvdata/cp1258.c (ONE_DIRECTION): Define.
20609         * iconvdata/cp932.c (ONE_DIRECTION): Define.
20610         * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
20611         * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
20612         * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
20613         * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
20614         * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
20615         * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
20616         * iconvdata/gb18030.c (ONE_DIRECTION): Define.
20617         * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
20618         * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
20619         * iconvdata/gbk.c (ONE_DIRECTION): Define.
20620         * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
20621         * iconvdata/ibm930.c (ONE_DIRECTION): Define.
20622         * iconvdata/ibm932.c (ONE_DIRECTION): Define.
20623         * iconvdata/ibm933.c (ONE_DIRECTION): Define.
20624         * iconvdata/ibm935.c (ONE_DIRECTION): Define.
20625         * iconvdata/ibm937.c (ONE_DIRECTION): Define.
20626         * iconvdata/ibm939.c (ONE_DIRECTION): Define.
20627         * iconvdata/ibm943.c (ONE_DIRECTION): Define.
20628         * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
20629         * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
20630         * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
20631         * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
20632         * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
20633         * iconvdata/iso646.c (ONE_DIRECTION): Define.
20634         * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
20635         * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
20636         * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
20637         * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
20638         * iconvdata/johab.c (ONE_DIRECTION): Define.
20639         * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
20640         * iconvdata/sjis.c (ONE_DIRECTION): Define.
20641         * iconvdata/t.61.c (ONE_DIRECTION): Define.
20642         * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
20643         * iconvdata/tscii.c (ONE_DIRECTION): Define.
20644         * iconvdata/uhc.c (ONE_DIRECTION): Define.
20645         * iconvdata/unicode.c (ONE_DIRECTION): Define.
20646         * iconvdata/utf-16.c (ONE_DIRECTION): Define.
20647         * iconvdata/utf-32.c (ONE_DIRECTION): Define.
20648         * iconvdata/utf-7.c (ONE_DIRECTION): Define.
20650 2014-05-01  Roland McGrath  <roland@hack.frob.com>
20652         * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
20653         (_IO_JUMPS_OFFSET): Define to 0.
20655         * nptl/sysdeps/pthread/bits/libc-lock.h
20656         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
20657         (__libc_lock_define_initialized_recursive): Always define using
20658         initializer.  Modern compilers treat uninitialized (implicit zero) and
20659         explicit zero initializers the same (i.e. put the datum in bss).
20661 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
20663         * nscd/nscd-client.h: Include <string.h>.
20665 2014-05-01  David S. Miller  <davem@davemloft.net>
20667         [BZ #16885]
20668         * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
20669         multiple zero bytes exist at the end of a string.
20670         Reported by Aurelien Jarno <aurelien@aurel32.net>
20672         * string/test-strcmp.c (check): Add explicit test for situations where
20673         there are multiple zero bytes after the first.
20675 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
20677         [BZ #16890]
20678         * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
20679         when compiling wprintf.
20680         * stdio-common/tstdiomisc.c (t3): New function.
20681         (main): Call it.
20683 2014-05-01  Steve Ellcey  <sellcey@mips.com>
20685         * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
20686         * iconv/gconv_simple.c (ONE_DIRECTION): Define.
20687         * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
20688         * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
20690 2014-05-01  Steve Ellcey  <sellcey@mips.com>
20692         * stdlib/longlong.h: Updated from GCC.
20694 2014-05-01  Will Newton  <will.newton@linaro.org>
20695             Bernard Ogden  <bernie.ogden@linaro.org>
20697         * NEWS: Update fixed bug list.
20699         [BZ #15119]
20700         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
20702 2014-04-30  David S. Miller  <davem@davemloft.net>
20704         * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
20705         (libc_feholdexcept_setround_sparc_ctx): New function.
20706         (libc_fesetenv_sparc_ctx): Likewise.
20707         (libc_feupdateenv_sparc_ctx): Likewise.
20708         (libc_feholdsetround_sparc_ctx): Likewise.
20709         (libc_feholdexcept_setround_ctx): Define.
20710         (libc_feholdexcept_setroundf_ctx): Likewise.
20711         (libc_feholdexcept_setroundl_ctx): Likewise.
20712         (libc_fesetenv_ctx): Likewise.
20713         (libc_fesetenvf_ctx): Likewise.
20714         (libc_fesetenvl_ctx): Likewise.
20715         (libc_feupdateenv_ctx): Likewise.
20716         (libc_feupdateenvf_ctx): Likewise.
20717         (libc_feupdateenvl_ctx): Likewise.
20718         (libc_feresetround_ctx): Likewise.
20719         (libc_feresetroundf_ctx): Likewise.
20720         (libc_feresetroundl_ctx): Likewise.
20721         (libc_feholdsetround_ctx): Likewise.
20722         (libc_feholdsetroundf_ctx): Likewise.
20723         (libc_feholdsetroundl_ctx): Likewise.
20725         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
20726         with __USE_GNU instead of XOPEN cpp guards.
20728         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
20729         0.
20731         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
20732         with XOPEN cpp guards.
20734 2014-04-30  Julian Brown  <julian@codesourcery.com>
20736         [BZ #16888]
20737         * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
20738         handling.
20740 2014-04-30  Joseph Myers  <joseph@codesourcery.com>
20742         [BZ #9894]
20743         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
20744         Change to 2.6.32.
20745         (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
20746         * sysdeps/unix/sysv/linux/configure: Regenerated.
20747         * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
20748         * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
20749         * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
20750         * sysdeps/unix/sysv/linux/tile/configure: Likewise.
20751         * README: Update reference to required Linux kernel version.
20752         * manual/install.texi (Linux): Update reference to required Linux
20753         kernel headers version.
20754         * INSTALL: Regenerated.
20756         * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
20757         header inclusion.
20758         [POSIX] (limits.h): Likewise.
20759         [POSIX] (math.h): Likewise.
20760         [POSIX] (sys/wait.h): Likewise.
20761         * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
20762         function.
20763         [POSIX] (stddef.h): Do not allow header inclusion.
20765 2014-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20767         * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
20769 2014-04-30  Yang Yingliang  <yangyingliang@huawei.com>
20771         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
20772         Return immediately after lll_futex_wake.
20774 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
20776         [BZ #16791]
20777         * nscd/nscd-client.h (datahead_init_common): Initialize entire
20778         structure.
20779         (datahead_init_pos): Call datahead_init_common early.
20780         (datahead_init_neg): Likewise.
20782         * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
20783         datahead_init_neg): New functions.
20784         * nscd/aicache.c (addhstaiX): Use them.
20785         * nscd/grpcache.c (cache_addgr): Likewise.
20786         * nscd/hstcache.c (cache_addhst): Likewise.
20787         * nscd/initgrcache.c (addinitgroupsX): Likewise.
20788         * nscd/netgroupcache.c (do_notfound): Likewise.
20789         (addgetnetgrentX): Likewise.
20790         (addinnetgrX): Likewise.
20791         * nscd/pwdcache.c (cache_addpw): Likewise.
20792         * nscd/servicescache.c (cache_addserv): Likewise.
20794 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
20795             Atsushi Onoe  <atsushi@onoe.org>
20797         [BZ #14308]
20798         [BZ #12994]
20799         [BZ #13651]
20800         * resolv/res_query.c (__libc_res_nsearch): Return if at least
20801         one response is valid.
20802         * resolv/res_send.c (send_dg): Check for validity of other
20803         response if the current response is a referral.
20805 2014-04-29  Steve Ellcey  <sellcey@mips.com>
20807         * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
20809 2014-04-29  Stefan Liebler  <stli@linux.vnet.ibm.com>
20811         [BZ #16823]
20812         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
20813         Always divide by positive zero when computing -Inf result.
20814         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
20815         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
20817 2014-04-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20819         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
20820         FPSCR if value do not change.
20821         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
20822         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
20823         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
20824         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
20825         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
20826         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
20827         function.
20829 2014-05-29  Carlos O'Donell  <carlos@systemhalted.org>
20831         * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
20832         * sysdeps/unix/sysv/linux/hppa: Move directory from
20833         ports/systeps/unix/sysv/linux/hppa.
20834         * README: Update listing for hppa-*-linux-gnu.
20836 2014-04-28  Ondřej Bílka  <neleai@seznam.cz>
20838         [BZ #16754]
20839         * manual/stdio.texi (Hook functions): Fix types of stream hook
20840         functions.
20841         [BZ #16854]
20842         * socket/sys/socket.h: Fix typo in comment.
20844 2014-04-28  Wilco  <wdijkstr@arm.com>
20846         * sysdeps/arm/fenv_private.h: New file.
20847         * sysdeps/arm/math_private.h: New file.
20848         * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
20850 2014-04-25  H.J. Lu  <hongjiu.lu@intel.com>
20852         * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
20853         with __int128_t.
20854         (La_x86_64_retval): Likewise.
20856 2014-04-24  Ian Bolton  <ian.bolton@arm.com>
20858         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
20859         fpsr if value didn't change.
20860         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
20861         to fpcr if value didn't change.
20862         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
20863         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
20864         fpsr or fpcr if value didn't change.
20865         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
20866         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
20867         fpcr if value didn't change.
20868         * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
20869         to fpsr if value didn't change.
20871 2014-02-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
20873         * nptl/tst-sem3.c: Use test-skeleton.c
20874         (main): Rename to do_test.  Use return instead of
20875         exit.
20876         * nptl/tst-sem4.c: Use test-skeleton.c
20877         (main): Rename to do_test.
20879 2014-04-22  David S. Miller  <davem@davemloft.net>
20881         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
20882         (struct sigaction): New struct member __glibc_reserved0, change
20883         type of sa_flags to int.
20885 2014-04-22  Yufeng Zhang  <yufeng.zhang@arm.com>
20887         * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
20888         (COUNT_LEADING_ZEROS_0): Define for AArch64.
20890 2014-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
20892         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
20893         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
20895 2014-04-22  Will Newton  <will.newton@linaro.org>
20896             Venkataramanan Kumar  <venkataramanan.kumar@linaro.org>
20898         * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
20899         (__longjmp): Add longjmp and longjmp_target SystemTap
20900         probes.
20901         * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
20902         (__sigsetjmp): Add setjmp SystemTap probe.
20904 2014-04-17  Carlos O'Donell  <carlos@redhat.com>
20906         * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
20907         match manual order.
20909 2014-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20911         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
20913         * sysdeps/powerpc/fpu/fenv_private.h
20914         (libc_feholdexcept_setroundl_ctx): Define to
20915         libc_feholdexcept_setround_ppc_ctx.
20916         (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
20917         (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
20918         (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
20919         (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
20921 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
20923         * sysdeps/aarch64/math-tests.h: New file.
20925 2014-04-17  Sihai Yao  <sihai.ysh@alibaba-inc.com>
20927         * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
20928         New.
20929         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
20930         Check and set bit_AVX2_Usable.
20931         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
20932         macro.
20933         (bit_AVX2): Likewise.
20934         (index_AVX2_Usable): Likewise.
20935         (CPUID_AVX2): Likewise.
20936         (HAS_AVX2): Likewise.
20938 2014-04-17  Will Newton  <will.newton@linaro.org>
20940         * manual/setjmp.texi (System V contexts): Add note that
20941         calling setcontext on a context created by a call to a
20942         signal handler is undefined.  Update text to note that
20943         setcontext from a signal handler is possible but not
20944         recommended.
20946         [BZ #16629]
20947         * stdlib/tst-setcontext.c: Include signal.h.
20948         (main): Check that the signal stack before and
20949         after swapcontext is the same.
20951         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
20952         Re-implement to restore registers in user code and avoid
20953         rt_sigreturn system call.
20955 2014-04-17  Wilco  <wdijkstr@arm.com>
20957         * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
20958         * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
20959         * math/test-fenv.c: Skip exception trap tests on targets which only
20960         support non-stop mode.
20962 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
20963             Wilco Dijkstra  <wilco.dijkstra@arm.com>
20965         * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
20966         (libc_feholdsetround_aarch64_ctx)
20967         (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
20968         (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
20969         (libc_feresetround_ctx, libc_feresetroundf_ctx)
20970         (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
20971         (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
20972         (libc_feresetround_noexl_ctx): Define.
20974 2014-04-16  Richard Henderson  <rth@redhat.com>
20976         * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
20978         * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
20979         unwind tables.
20981         * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
20982         const from the non-libc, non-ldso copy.
20984         * sysdeps/alpha/libm-test-ulps: Regenerate.
20986 2014-04-16  Ian Bolton  <ian.bolton@arm.com>
20987             Wilco Dijkstra  <wilco.dijkstra@arm.com>
20989         * sysdeps/aarch64/fpu/math_private.h: New file.
20991 2014-04-16  Marcus Shawcroft  <marcus.shawcroft@arm.com>
20993         * sysdeps/aarch64/libm-test-ulps: Regenerate.
20995 2014-04-16  Igor Zamyatin  <igor.zamyatin@intel.com>
20997         [BZ #16275]
20998         * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
20999         (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
21000         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
21001         Intel MPX bound registers before _dl_profile_fixup.
21002         * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
21003         registers after _dl_profile_fixup.  Save and restore bound
21004         registers bnd0/bnd1 when calling _dl_call_pltexit.
21005         * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
21006         (LR_BND_OFFSET): Likewise.
21007         (LRV_BND0_OFFSET): Likewise.
21008         (LRV_BND1_OFFSET): Likewise.
21010 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
21012         * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
21013         to...
21014         * sysdeps/mach/hurd/i386/tls.h: ... here.
21015         (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
21016         pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
21017         fields.
21019 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
21021         * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
21023 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
21025         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
21027 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
21029         [BZ #14770]
21030         * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
21031         * sysdeps/s390/configure: Regenerate.
21033         [BZ #16824]
21034         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
21035         Set round-to-nearest internally to reduce error accumulation.
21037 2014-04-16  Alan Modra  <amodra@gmail.com>
21039         [BZ #16740]
21040         [BZ #16619]
21041         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
21042         * math/libm-test.inc (frexp_test_data): Add tests.
21043         * NEWS: Update fixed bug list.
21045 2014-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
21047         * benchtests/Makefile: Depend on libraries in build directory.
21048         (bench-math): Separate out math tests.
21049         (bench-pthread): Separate out pthread tests.
21050         (bench): Include math and pthread tests.
21052 2014-04-14  Carlos O'Donell  <carlos@redhat.com>
21054         [BZ #16831]
21055         * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
21056         _dl_debug_initialize.
21058         * configure.ac: Remove SELinux header check.
21059         * configure: Regenerate.
21060         * nscd/selinux.c (perms): Array of const char* to permission names.
21061         (nscd_request_avc_has_perm): Call security_deny_unknown to find
21062         default policy. Call string_to_security_class and string_to_av_perm to
21063         translate strings. Enforce default policy and call avs_has_perm with
21064         results of translated strings.
21066 2014-04-13  David S. Miller  <davem@davemloft.net>
21068         * sysdeps/sparc/fpu/libm-test-ulps: Update.
21070 2014-04-12  Allan McRae  <allan@archlinux.org>
21072         [BZ #16838]
21073         * manual/string.texi (Collation Functions): Fix qsort argument
21074         order in example.
21075         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
21077 2014-04-11  Chris Metcalf  <cmetcalf@tilera.com>
21079         * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
21080         Make the test a no-op if there are no exceptions defined.
21082 2014-04-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
21084         * elf/Makefile (tests): make tst-dlopen-aout conditional on
21085         enable-hardcoded-path-in-tests
21087 2014-04-11  Will Newton  <will.newton@linaro.org>
21089         * benchtests/Makefile (extra-objs): Add json-lib.o.
21090         (bench-func): Tidy up JSON output.
21091         * benchtests/bench-skeleton.c: Include json-lib.h.
21092         (main): Use JSON library functions to do output of
21093         benchmark results.
21094         * benchtests/bench-timing-type.c (main): Output the
21095         timing type simply, leaving formatting to the user.
21096         * benchtests/json-lib.c: New file.
21097         * benchtests/json-lib.h: Likewise.
21099 2014-04-11  Torvald Riegel  <triegel@redhat.com>
21101         [BZ #15215]
21102         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
21103         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here.  Add missing
21104         memory barriers.  Add comments.
21105         * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
21106         * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
21107         * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
21108         * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
21109         * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
21110         * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
21112 2014-04-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
21114         * sysdeps/s390/s390-32/configure.ac: Unify file with ...
21115         * sysdeps/s390/s390-64/configure.ac: ... this ...
21116         * sysdeps/s390/configure.ac: ... to here.
21117         * sysdeps/s390/s390-32/configure: Delete file.
21118         * sysdeps/s390/s390-64/configure: Delete file.
21119         * sysdeps/s390/configure: Regenerate.
21121 2014-04-11  Joseph Anthony Pasquale Holsten  <joseph@josephholsten.com>
21123         * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
21125 2014-04-11  Will Newton  <will.newton@linaro.org>
21127         * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
21128         to zero if it is not defined elsewhere.  (mtrim): Test
21129         the value of MALLOC_DEBUG with #if rather than #ifdef.
21131 2014-04-10 Torvald Riegel  <triegel@redhat.com>
21133         * benchtests/pthread_once-inputs: New file.
21134         * benchtests/pthread_once-source.c: New file.
21135         * benchtests/README: Update documentation.
21137 2014-04-09  Igor Zamyatin  <igor.zamyatin@intel.com>
21138             H.J. Lu  <hongjiu.lu@intel.com>
21140         [BZ #16275]
21141         * config.h.in (HAVE_MPX_SUPPORT): New #undef.
21142         * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
21143         * sysdeps/x86_64/configure: Regenerated.
21144         * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
21145         macro.
21146         (REGISTER_SAVE_RAX): Likewise.
21147         (REGISTER_SAVE_RCX): Likewise.
21148         (REGISTER_SAVE_RDX): Likewise.
21149         (REGISTER_SAVE_RSI): Likewise.
21150         (REGISTER_SAVE_RDI): Likewise.
21151         (REGISTER_SAVE_R8): Likewise.
21152         (REGISTER_SAVE_R9): Likewise.
21153         (REGISTER_SAVE_BND0): Likewise.
21154         (REGISTER_SAVE_BND1): Likewise.
21155         (REGISTER_SAVE_BND2): Likewise.
21156         (_dl_runtime_resolve): Use them.  Save and restore Intel MPX
21157         bound registers when calling _dl_fixup.
21159 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21161         * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
21162         * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
21163         of its definition.
21164         * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
21165         * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
21166         * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
21167         * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
21168         * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
21169         * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
21170         * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
21172 2014-04-09  Peter Brett  <peter@peter-b.co.uk>
21174         [BZ #15514]
21175         * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
21176         pathconf(_PC_NAME_MAX).
21178 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21180         * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
21181         Remove macro usage.
21182         (__PTHREAD_SPINS): Move definition to ...
21183         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
21184         (__PTHREAD_SPINS): ... here.
21185         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
21186         (__PTHREAD_SPIN): Likewise.
21187         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
21188         (__PTHREAD_SPIN): Likewise.
21189         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
21190         (__PTHREAD_SPIN): Likewise.
21191         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
21192         (__PTHREAD_SPIN): Likewise.
21193         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
21194         (__PTHREAD_SPIN): Likewise.
21195         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
21196         (__PTHREAD_SPIN): Likewise.
21197         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
21198         (__PTHREAD_SPIN): Likewise.
21199         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
21200         (__PTHREAD_SPIN): Likewise.
21201         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
21202         (__PTHREAD_SPIN): Likewise.
21203         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
21204         (__PTHREAD_SPIN): Likewise.
21205         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
21206         (__PTHREAD_SPIN): Likewise.
21207         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
21208         (__PTHREAD_SPIN): Likewise.
21210         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
21211         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
21212         * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
21213         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
21214         imply folder.
21215         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
21216         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
21217         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
21218         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
21219         correct imply path.
21220         * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
21221         strlen symbol for non multi-arch builds.
21222         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
21223         missing hidden_def and weak_alias.
21225 2014-04-08  Carlos O'Donell  <carlos@redhat.com>
21227         * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
21229 2014-04-07  Will Newton  <will.newton@linaro.org>
21231         * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
21232         and contents.  [!_LIBC] Remove #ifndef and contents.
21233         (basename): Use ANSI prototype.  [_LIBC] Remove #idef.
21234         * string/memccpy.c (__memccpy): Use ANSI prototype.
21235         * string/memfrob.c (memfrob): Likewise.
21236         * string/strcoll.c (STRCOLL): Likewise.
21237         * string/strlen.c (strlen): Likewise.
21238         * string/strtok.c (STRTOK): Likewise.
21239         * string/strcat.c: Remove unused #include of memcopy.h.
21240         (strcat): Use ANSI prototype.
21241         * string/strchr.c: Remove unused #include of memcopy.h.
21242         (strchr): Use ANSI prototype.
21243         * string/strcmp.c: Remove unused #include of memcopy.h.
21244         (strcmp): Use ANSI prototype.
21245         * string/strcpy.c: Remove unused #include of memcopy.h.
21246         (strcpy): Use ANSI prototype.
21248 2014-04-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21250         * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
21251         * config.make.in (config-extra-cppflags): Set it from
21252         libc_extra_cppflags.
21253         * configure.ac (libc_extra_cflags): Make it accumulate over
21254         configure fragments.
21255         (libc_extra_cppflags): New flag.
21256         * configure. Regenerate.
21257         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
21258         (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
21259         not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
21260         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
21262         [BZ #16815]
21263         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
21264         result for FE_DOWNWARD rounding mode.
21265         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
21266         Likewise.
21267         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21269 2014-04-04  Chris Metcalf  <cmetcalf@tilera.com>
21271         * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
21272         in function argument name.
21274 2014-04-03  David Svoboda  <svoboda@cert.org>
21276         [BZ #5666]
21277         * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
21278         explicitly.
21280 2014-04-03  Roland McGrath  <roland@hack.frob.com>
21282         * elf/dl-unmap-segments.h: New file.
21283         * sysdeps/generic/ldsodefs.h
21284         (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
21285         * elf/dl-close.c: Include <dl-unmap-segments.h>.
21286         * elf/dl-fptr.c: Likewise.
21287         (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
21288         * sysdeps/aarch64/tlsdesc.c: Likewise.
21289         * sysdeps/arm/tlsdesc.c: Likewise.
21290         * sysdeps/i386/tlsdesc.c: Likewise.
21291         * sysdeps/tile/dl-runtime.c: Likewise.
21292         * sysdeps/x86_64/tlsdesc.c: Likewise.
21293         * elf/dl-load.h: New file.
21294         * elf/dl-load.c: Include it.
21295         (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
21296         Macros moved to dl-load.h.
21297         (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
21298         (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
21299         Use _dl_unmap_segments in place of __munmap.
21300         Break out segment-mapping loop into ...
21301         * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
21303 2014-04-03  Will Newton  <will.newton@linaro.org>
21305         * elf/dl-lookup.c (do_lookup_x): Remove comment
21306         referring to nested function and move variable
21307         declarations down to before first use.
21309 2014-04-02  Joseph Myers  <joseph@codesourcery.com>
21311         [BZ #16799]
21312         [BZ #16800]
21313         * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
21314         with 0 numerator.
21315         * math/s_catanf.c (__catanf): Likewise.
21316         * math/s_catanh.c (__catanh): Likewise.
21317         * math/s_catanhf.c (__catanhf): Likewise.
21318         * math/s_catanhl.c (__catanhl): Likewise.
21319         * math/s_catanl.c (__catanl): Likewise.
21320         * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
21321         by positive zero when computing -Inf result.
21322         * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
21323         (catanh_test): Likewise.
21324         * sysdeps/i386/fpu/libm-test-ulps: Update.
21325         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21327         [BZ #16789]
21328         * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
21329         instead of using underflowing value in computing result.
21330         * math/s_clog10.c (__clog10): Likewise.
21331         * math/s_clog10f.c (__clog10f): Likewise.
21332         * math/s_clog10l.c (__clog10l): Likewise.
21333         * math/s_clogf.c (__clogf): Likewise.
21334         * math/s_clogl.c (__clogl): Likewise.
21335         * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
21336         (clog10_test): Likewise.
21337         * sysdeps/i386/fpu/libm-test-ulps: Update.
21338         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21340 2014-04-02  Alan Modra  <amodra@gmail.com>
21342         [BZ #16739]
21343         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
21344         output when value is near a power of two.  Use int64_t for lx and
21345         remove casts.  Use decimal rather than hex exponent constants.
21346         Don't use long double multiplication when double will suffice.
21347         * math/libm-test.inc (nextafter_test_data): Add tests.
21348         * NEWS: Add 16739 and 16786 to bug list.
21350         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
21352         * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
21354 2014-04-01  Will Newton  <will.newton@linaro.org>
21356         * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
21357         -fno-builtin.  (CFLAGS-bench-ffsll.c): Likewise.
21359 2014-04-01  Florian Weimer  <fweimer@redhat.com>
21361         [BZ #13347]
21362         * nptl/nptl-init.c (sighandler_setxid): Check system call result.
21363         * nptl/tst-setuid2.c: New file.
21364         * nptl/Makefile (xtests): Add tst-setuid2.
21366 2014-04-01  Alan Modra  <amodra@gmail.com>
21368         [BZ #16786]
21369         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
21371 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
21373         [BZ #6803]
21374         [BZ #6804]
21375         * math/w_scalb.c (__scalb): For non-SVID mode, check result and
21376         set errno as appropriate.
21377         * math/w_scalbf.c (__scalbf): Likewise.
21378         * math/w_scalbl.c (__scalbl): Likewise.
21379         * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
21380         ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
21381         * math/libm-test.inc (scalb_test_data): Add errno expectations.
21382         Add more NaN tests.
21384         [BZ #16349]
21385         * math/w_atan2.c: Include <errno.h>.
21386         (__atan2): Set errno for result underflowing to zero.
21387         * math/w_atan2f.c: Include <errno.h>.
21388         (__atan2f): Set errno for result underflowing to zero.
21389         * math/w_atan2l.c: Include <errno.h>.
21390         (__atan2l): Set errno for result underflowing to zero.
21391         * math/auto-libm-test-in: Don't allow missing errno for some atan2
21392         tests.
21393         * math/auto-libm-test-out: Regenerated.
21395 2014-03-31  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21397         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
21398         Encode instruction correctly in little endian.
21399         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
21400         Likewise.
21401         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
21402         Likewise.
21403         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
21404         Likewise.
21405         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
21406         Likewise.
21408 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
21410         [BZ #9894]
21411         * sysdeps/unix/sysv/linux/kernel-features.h
21412         [__sparc__ && !__arch64__ && !__sparc_v9__]
21413         (__ASSUME_SET_ROBUST_LIST): Do not define.
21414         [__sparc__ && !__arch64__ && !__sparc_v9__]
21415         (__ASSUME_FUTEX_LOCK_PI): Likewise.
21416         [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
21417         Likewise.
21418         * sysdeps/unix/sysv/linux/arm/kernel-features.h
21419         (__ASSUME_FUTEX_LOCK_PI): Undefine.
21420         (__ASSUME_REQUEUE_PI): Likewise.
21421         (__ASSUME_SET_ROBUST_LIST): Likewise.
21422         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
21423         [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
21424         Undefine.
21425         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
21426         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
21427         Likewise.
21428         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
21429         Likewise.
21430         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
21431         Likewise.
21432         * sysdeps/unix/sysv/linux/mips/kernel-features.h
21433         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
21434         Undefine.
21435         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
21436         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
21437         Likewise.
21439         [BZ #16648]
21440         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
21441         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
21442         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
21444 2014-03-31  Will Newton  <will.newton@linaro.org>
21446         * benchtests/Makefile (bench): Add ffs and ffsll to list
21447         of tests.
21448         * benchtests/ffs-inputs: New file.
21449         * benchtests/ffsll-inputs: Likewise.
21451 2014-03-29  Joseph Myers  <joseph@codesourcery.com>
21453         [BZ #16770]
21454         * math/e_scalb.c (__ieee754_scalb): Check second argument is not
21455         too large before casting to int.
21456         * math/e_scalbf.c (__ieee754_scalbf): Likewise.
21457         * math/e_scalbl.c (__ieee754_scalbl): Likewise.
21458         * math/libm-test.inc (scalb_test_data): Add more tests.
21460 2014-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
21462         * benchtests/Makefile (DETAILED_OPT): New make option.
21463         (bench-func): Run benchmark program with -d if DETAILED_OPT is
21464         set.
21465         * benchtests/bench-skeleton.c: Include stdbool.h.
21466         (main): Store and print timings per input.
21467         * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
21468         member to each argument value.
21469         (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
21470         (_print_arg_data): Initialize per-input timing to 0.
21472         * benchtests/Makefile (timing-type): New binary.
21473         (bench-clean): Also remove bench-timing-type.
21474         (bench): New target for timing-type.
21475         (bench-func): Print output in JSON format.
21476         * benchtests/bench-skeleton.c (main): Print output in JSON
21477         format.
21478         * benchtests/bench-timing-type.c: New file.
21479         * benchtests/bench-timing.h (TIMING_TYPE): New macro.
21480         (TIMING_PRINT_STATS): Remove.
21481         * benchtests/scripts/bench.py (_print_arg_data): Store variant
21482         name separately.
21484         * benchtests/bench-modf.c: Remove.
21485         * benchtests/modf-inputs: New inputs file.
21487 2014-03-28  Joseph Myers  <joseph@codesourcery.com>
21489         [BZ #16362]
21490         * math/s_clog10.c (M_PI_LOG10E): New macro.
21491         (__clog10): Use M_PI_LOG10E instead of M_PI when real and
21492         imaginary parts are 0.
21493         * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
21494         (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
21495         imaginary parts are 0.
21496         * math/s_clog10l.c (M_PI_LOG10El): New macro.
21497         (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
21498         imaginary parts are 0.
21499         * math/libm-test.inc (clog10_test_data): Update expected results
21500         for when real and imaginary parts are 0.
21502 2014-03-27  Paul Pluzhnikov  <ppluzhnikov@google.com>
21504         * elf/dl-load.c: Finish conversion of __builtin_expect into
21505         __glibc_{un}likely.
21507 2014-03-27  Joseph Myers  <joseph@codesourcery.com>
21509         [BZ #16348]
21510         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
21511         1+x for argument with exponent below -67.
21512         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
21513         Likewise.
21514         * math/auto-libm-test-in: Add more tests of exp.
21515         * math/auto-libm-test-out: Regenerated.
21517 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
21519         [BZ #16759]
21520         * inet/getnetgrent_r.c (get_nonempty_val): New function.
21521         (nscd_getnetgrent): Use it.
21523         [BZ #16760]
21524         * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
21525         of stpcpy.
21527 2014-03-27  Andi Kleen  <ak@linux.intel.com>
21529         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
21530         (lll_robust_lock, lll_cond_lock, lll_timedlock)
21531         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
21532         (lll_robust_unlock): Remove out of line section. Use cfi
21533         intrinsics.
21534         (LLL_STUB_UNWIND_INFO*): Remove.
21535         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
21536         (lll_robust_lock, lll_cond_lock, lll_timedlock)
21537         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
21538         (lll_robust_unlock): Remove out of line section. Use cfi
21539         intrinsics.
21540         (LLL_STUB_UNWIND_INFO*): Remove.
21542 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
21544         [BZ #16758]
21545         * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
21546         blank values.
21548 2014-03-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
21550         * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
21552 2014-03-26  Joseph Myers  <joseph@codesourcery.com>
21554         [BZ #16198]
21555         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
21556         fnstenv.
21557         * math/test-fenv-preserve.c: New file.
21558         * math/Makefile (tests): Add test-fenv-preserve.
21560 2014-03-26  Will Newton <will.newton@linaro.org>
21562         * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
21564 2014-03-25  Roland McGrath  <roland@hack.frob.com>
21566         * scripts/versionlist.awk: Partition the version sets and emit all
21567         GLIBC_* (sorted) before all others (sorted).
21569 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
21571         * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
21572         GLIBC_2.2.5 version.
21574 2014-03-25 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21576         * scripts/localplt.awk: Check for PLT generated by internal IFUNC
21577         calls.
21579         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
21580         previous change.
21582         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21584 2014-03-25  Andreas Schwab  <schwab@suse.de>
21586         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
21587         label to be used after in6ailist is initialized.
21589 2014-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21591         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
21592         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
21594 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
21596         [BZ #16357]
21597         [BZ #16599]
21598         * math/gen-auto-libm-tests.c (fp_format_desc): Add field
21599         min_plus_half.
21600         (fp_formats): Update initializers.
21601         (init_fp_formats): Initialize new field.
21602         (output_for_one_input_case): Allow underflow for results up to
21603         min_plus_half.
21604         * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
21605         * math/auto-libm-test-in: Don't mark some underflows from asin and
21606         atanh as spurious.
21607         * math/auto-libm-test-out: Regenerated.
21608         * sysdeps/i386/fpu/libm-test-ulps: Update.
21609         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21611 2014-03-25  Andreas Schwab  <schwab@suse.de>
21613         * libio/Makefile (tst-ftell-partial-wide-ENV)
21614         (tst-ftell-active-handler-ENV): Define.
21616 2014-03-25  Stefan Liebler <stli@linux.vnet.ibm.com>
21618         * NEWS: Add 16712, 16713, 16714 to fixed bug list.
21620 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
21622         * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
21624 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
21626         * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
21627         * sysdeps/x86_64/fpu/multiarch/e_exp.c
21628         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
21630 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
21632         [BZ #16634]
21633         * elf/dl-load.c (open_verify): Add mode parameter.
21634         Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
21635         (open_path): Change from boolean 'secure' to complete flag 'mode'
21636         (_dl_map_object): Adjust.
21637         * elf/Makefile (tests): Add tst-dlopen-aout.
21638         * elf/tst-dlopen-aout.c: New test.
21640 2014-03-24  Stefan Liebler <stli@linux.vnet.ibm.com>
21642         [BZ #16714]
21643         * sysdeps/unix/sysv/linux/s390/bits/stat.h
21644         (struct stat): Rename member pad0 to __glibc_reserved0.
21646         [BZ #16712]
21647         * sysdeps/s390/s390-32/bits/wordsize.h
21648         (__WORDSIZE32_SIZE_ULONG): New define.
21649         * sysdeps/s390/s390-64/bits/wordsize.h
21650         (__WORDSIZE32_SIZE_ULONG): Likewise.
21651         * sysdeps/generic/stdint.h (SIZE_MAX):
21652         Define as UL if __WORDSIZE32_SIZE_ULONG.
21654         [BZ #16713]
21655         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
21656         (__glibc_reserved0): New variable.
21657         (sa_flags): Change type to int.
21659         * posix/Makefile (before-compile): Use += before-compile instead
21660         of a :=.
21662         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
21663         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
21665 2014-03-20  Andreas Schwab  <schwab@suse.de>
21667         [BZ #16743]
21668         * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
21669         non-matching result from nscd.
21671 2014-03-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
21673         * scripts/bench.py: Moved to ...
21674         * benchtests/scripts/bench.py: ... here.
21675         * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
21677 2014-03-24  Andreas Schwab  <schwab@suse.de>
21679         [BZ #16002]
21680         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
21681         alloca_account and account alloca use for struct in6ailist.
21683 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
21685         [BZ #16284]
21686         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
21687         rounding mode to recompute results that overflow to infinity or
21688         underflow to zero.
21689         * math/auto-libm-test-in: Don't mark tests as expected to fail for
21690         bug 16284.
21691         * math/auto-libm-test-out: Regenerated.
21692         * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
21693         (ccosh_test): Likewise.
21694         (csin_test_data): Use plus_oflow.
21695         (csin_test): Use ALL_RM_TEST.
21696         (csinh_test_data): Use plus_oflow.
21697         (csinh_test): Use ALL_RM_TEST.
21698         * sysdeps/i386/fpu/libm-test-ulps: Update.
21699         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21701 2014-03-21  Joseph Myers  <joseph@codesourcery.com>
21703         * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
21704         * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
21705         * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
21707         [BZ #16731]
21708         * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
21709         when x - 1 is zero.
21710         * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
21711         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
21712         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
21713         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
21714         argument is 1.
21715         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
21716         * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
21717         zero.
21718         * math/libm-test.inc (log_test): Use ALL_RM_TEST.
21719         * sysdeps/i386/fpu/libm-test-ulps: Update.
21720         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21722 2014-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
21724         * scripts/bench.pl: Remove file.
21725         * scripts/bench.py: New benchmark script.
21726         * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
21727         * benchtests/README: Mention python dependency.
21728         * scripts/pylintrc: New file.
21729         * scripts/pylint: New file.
21731         * bits/mathdef.h: Use #ifdef instead of #if.
21732         * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
21733         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
21734         * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
21735         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
21736         * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
21737         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
21739 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21740             Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
21742         * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
21743         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
21744         and strpbrk-ppc64 objects.
21745         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
21746         (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
21747         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
21748         multiarch strpbrk for POWER7.
21749         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
21750         multiarch strpbrk for PPC64.
21751         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
21752         ifunc selector.
21753         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
21754         strpbrk for POWER7.
21756 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
21758         * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
21759         (atan_test): Likewise.
21760         (atanh_test_data): Use NO_TEST_INLINE for two tests.
21761         (atanh_test): Use ALL_RM_TEST.
21762         (atan2_test_data): Likewise.
21763         (cabs_test): Likewise.
21764         (cacosh_test): Likewise.
21765         (carg_test): Likewise.
21766         (casin_test): Likewise.
21767         (casinh_test): Likewise.
21768         (cbrt_test): Likewise.
21769         (csqrt_test): Likewise.
21770         (erf_test): Likewise.
21771         (erfc_test): Likewise.
21772         (pow10_test): Likewise.
21773         (exp2_test): Likewise.
21774         (hypot_test): Likewise.
21775         (j0_test): Likewise.
21776         (j1_test): Likewise.
21777         (lgamma_test): Likewise.
21778         (gamma_test): Likewise.
21779         (sincos_test): Likewise.
21780         (tanh_test): Likewise.
21781         (y0_test): Likewise.
21782         (y1_test): Likewise.
21783         * sysdeps/i386/fpu/libm-test-ulps: Update.
21784         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21786 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21788         * string/strcspn.c (strcspn): Using macro to redefine symbol name.
21789         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
21790         and strcspn-ppc64 objects.
21791         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
21792         (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
21793         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
21794         multiarch strcspn for POWER7.
21795         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
21796         multiarch strcspn for PPC64.
21797         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
21798         ifunc selector.
21799         * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
21800         strcspn for POWER7.
21802 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
21804         * math/gen-libm-test.pl (generate_testfile): Expect only function
21805         name as argument to AUTO_TESTS_* and pass results for all rounding
21806         modes to parse_args.
21807         (parse_auto_input): Separate inputs of automatic tests from
21808         outputs before storing in %auto_tests.
21809         * math/libm-test.inc (acos_test_data): Update call to
21810         AUTO_TESTS_f_f.
21811         (acos_test): Use ALL_RM_TEST.
21812         (acos_tonearest_test_data): Remove.
21813         (acos_test_tonearest): Likewise.
21814         (acos_towardzero_test_data): Likewise.
21815         (acos_test_towardzero): Likewise.
21816         (acos_downward_test_data): Likewise.
21817         (acos_test_downward): Likewise.
21818         (acos_upward_test_data): Likewise.
21819         (acos_test_upward): Likewise.
21820         (acosh_test_data): Update call to AUTO_TESTS_f_f.
21821         (asin_test_data): Likewise.
21822         (asin_test): Use ALL_RM_TEST.
21823         (asin_tonearest_test_data): Remove.
21824         (asin_test_tonearest): Likewise.
21825         (asin_towardzero_test_data): Likewise.
21826         (asin_test_towardzero): Likewise.
21827         (asin_downward_test_data): Likewise.
21828         (asin_test_downward): Likewise.
21829         (asin_upward_test_data): Likewise.
21830         (asin_test_upward): Likewise.
21831         (asinh_test_data): Update call to AUTO_TESTS_f_f.
21832         (atan_test_data): Likewise.
21833         (atanh_test_data): Likewise.
21834         (atan2_test_data): Update call to AUTO_TESTS_ff_f.
21835         (cabs_test_data): Update call to AUTO_TESTS_c_f.
21836         (carg_test_data): Likewise.
21837         (cbrt_test_data): Update call to AUTO_TESTS_f_f.
21838         (ccos_test_data): Update call to AUTO_TESTS_c_c.
21839         (ccosh_test_data): Likewise.
21840         (cexp_test_data): Likewise.
21841         (clog_test_data): Likewise.
21842         (clog10_test_data): Likewise.
21843         (cos_test_data): Update call to AUTO_TESTS_f_f.
21844         (cos_test): Use ALL_RM_TEST.
21845         (cos_tonearest_test_data): Remove.
21846         (cos_test_tonearest): Likewise.
21847         (cos_towardzero_test_data): Likewise.
21848         (cos_test_towardzero): Likewise.
21849         (cos_downward_test_data): Likewise.
21850         (cos_test_downward): Likewise.
21851         (cos_upward_test_data): Likewise.
21852         (cos_test_upward): Likewise.
21853         (cosh_test_data): Update call to AUTO_TESTS_f_f.
21854         (cosh_test): Use ALL_RM_TEST.
21855         (cosh_tonearest_test_data): Remove.
21856         (cosh_test_tonearest): Likewise.
21857         (cosh_towardzero_test_data): Likewise.
21858         (cosh_test_towardzero): Likewise.
21859         (cosh_downward_test_data): Likewise.
21860         (cosh_test_downward): Likewise.
21861         (cosh_upward_test_data): Likewise.
21862         (cosh_test_upward): Likewise.
21863         (cpow_test_data): Update call to AUTO_TESTS_cc_c.
21864         (csqrt_test_data): Update call to AUTO_TESTS_c_c.
21865         (ctan_test_data): Likewise.
21866         (ctan_test): Use ALL_RM_TEST.
21867         (ctan_tonearest_test_data): Remove.
21868         (ctan_test_tonearest): Likewise.
21869         (ctan_towardzero_test_data): Likewise.
21870         (ctan_test_towardzero): Likewise.
21871         (ctan_downward_test_data): Likewise.
21872         (ctan_test_downward): Likewise.
21873         (ctan_upward_test_data): Likewise.
21874         (ctan_test_upward): Likewise.
21875         (ctanh_test_data): Update call to AUTO_TESTS_c_c.
21876         (ctanh_test): Use ALL_RM_TEST.
21877         (ctanh_tonearest_test_data): Remove.
21878         (ctanh_test_tonearest): Likewise.
21879         (ctanh_towardzero_test_data): Likewise.
21880         (ctanh_test_towardzero): Likewise.
21881         (ctanh_downward_test_data): Likewise.
21882         (ctanh_test_downward): Likewise.
21883         (ctanh_upward_test_data): Likewise.
21884         (ctanh_test_upward): Likewise.
21885         (erf_test_data): Update call to AUTO_TESTS_f_f.
21886         (erfc_test_data): Likewise.
21887         (exp_test_data): Likewise.
21888         (exp_test): Use ALL_RM_TEST.
21889         (exp_tonearest_test_data): Remove.
21890         (exp_test_tonearest): Likewise.
21891         (exp_towardzero_test_data): Likewise.
21892         (exp_test_towardzero): Likewise.
21893         (exp_downward_test_data): Likewise.
21894         (exp_test_downward): Likewise.
21895         (exp_upward_test_data): Likewise.
21896         (exp_test_upward): Likewise.
21897         (exp10_test_data): Update call to AUTO_TESTS_f_f.
21898         (exp10_test): Use ALL_RM_TEST.
21899         (exp10_tonearest_test_data): Remove.
21900         (exp10_test_tonearest): Likewise.
21901         (exp10_towardzero_test_data): Likewise.
21902         (exp10_test_towardzero): Likewise.
21903         (exp10_downward_test_data): Likewise.
21904         (exp10_test_downward): Likewise.
21905         (exp10_upward_test_data): Likewise.
21906         (exp10_test_upward): Likewise.
21907         (exp2_test_data): Update call to AUTO_TESTS_f_f.
21908         (expm1_test_data): Likewise.
21909         (expm1_test): Use ALL_RM_TEST.
21910         (expm1_tonearest_test_data): Remove.
21911         (expm1_test_tonearest): Likewise.
21912         (expm1_towardzero_test_data): Likewise.
21913         (expm1_test_towardzero): Likewise.
21914         (expm1_downward_test_data): Likewise.
21915         (expm1_test_downward): Likewise.
21916         (expm1_upward_test_data): Likewise.
21917         (expm1_test_upward): Likewise.
21918         (fma_test_data): Update call to AUTO_TESTS_fff_f.
21919         (fma_test): Use ALL_RM_TEST.
21920         (fma_towardzero_test_data): Remove.
21921         (fma_test_towardzero): Likewise.
21922         (fma_downward_test_data): Likewise.
21923         (fma_test_downward): Likewise.
21924         (fma_upward_test_data): Likewise.
21925         (fma_test_upward): Likewise.
21926         (hypot_test_data): Update call to AUTO_TESTS_ff_f.
21927         (j0_test_data): Update call to AUTO_TESTS_f_f.
21928         (j1_test_data): Likewise.
21929         (jn_test_data): Update call to AUTO_TESTS_if_f.
21930         (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
21931         (log_test_data): Update call to AUTO_TESTS_f_f.
21932         (log10_test_data): Likewise.
21933         (log1p_test_data): Likewise.
21934         (log2_test_data): Likewise.
21935         (pow_test_data): Update call to AUTO_TESTS_ff_f.
21936         (pow_tonearest_test_data): Likewise.
21937         (sin_test_data): Update call to AUTO_TESTS_f_f.
21938         (sin_test): Use ALL_RM_TEST.
21939         (sin_tonearest_test_data): Remove.
21940         (sin_test_tonearest): Likewise.
21941         (sin_towardzero_test_data): Likewise.
21942         (sin_test_towardzero): Likewise.
21943         (sin_downward_test_data): Likewise.
21944         (sin_test_downward): Likewise.
21945         (sin_upward_test_data): Likewise.
21946         (sin_test_upward): Likewise.
21947         (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
21948         (sinh_test_data): Update call to AUTO_TESTS_f_f.
21949         (sinh_test): Use ALL_RM_TEST.
21950         (sinh_tonearest_test_data): Remove.
21951         (sinh_test_tonearest): Likewise.
21952         (sinh_towardzero_test_data): Likewise.
21953         (sinh_test_towardzero): Likewise.
21954         (sinh_downward_test_data): Likewise.
21955         (sinh_test_downward): Likewise.
21956         (sinh_upward_test_data): Likewise.
21957         (sinh_test_upward): Likewise.
21958         (sqrt_test_data): Update call to AUTO_TESTS_f_f.
21959         (sqrt_test): Use ALL_RM_TEST.
21960         (sqrt_tonearest_test_data): Remove.
21961         (sqrt_test_tonearest): Likewise.
21962         (sqrt_towardzero_test_data): Likewise.
21963         (sqrt_test_towardzero): Likewise.
21964         (sqrt_downward_test_data): Likewise.
21965         (sqrt_test_downward): Likewise.
21966         (sqrt_upward_test_data): Likewise.
21967         (sqrt_test_upward): Likewise.
21968         (tan_test_data): Update call to AUTO_TESTS_f_f.
21969         (tan_test): Use ALL_RM_TEST.
21970         (tan_tonearest_test_data): Remove.
21971         (tan_test_tonearest): Likewise.
21972         (tan_towardzero_test_data): Likewise.
21973         (tan_test_towardzero): Likewise.
21974         (tan_downward_test_data): Likewise.
21975         (tan_test_downward): Likewise.
21976         (tan_upward_test_data): Likewise.
21977         (tan_test_upward): Likewise.
21978         (tanh_test_data): Update call to AUTO_TESTS_f_f.
21979         (tgamma_test_data): Likewise.
21980         (y0_test_data): Likewise.
21981         (y1_test_data): Likewise.
21982         (yn_test_data): Update call to AUTO_TESTS_if_f.
21983         (main): Do not call removed functions.
21985 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
21987         * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
21988         (ldexp_test_data): Remove.
21989         (ldexp_test): Move to after scalbn_test.  Use ALL_RM_TEST with
21990         scalbn_test_data.
21991         (scalb_test): Use ALL_RM_TEST.
21993 2014-03-19  Andreas Schwab  <schwab@suse.de>
21995         * nscd/nscd.service: Also invalidate netgroup cache on reload.
21997 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
21999         [BZ #16649]
22000         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
22001         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
22002         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
22003         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
22004         (__ASSUME_PREADV): Undefine.
22005         (__ASSUME_PWRITEV): Likewise.
22007 2014-03-18  Roland McGrath  <roland@hack.frob.com>
22009         * bits/mman-linux.h: Add comment about non-Linux use.
22010         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
22011         bits/mman-linux.h resting place.
22013         * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
22014         * bits/mman-linux.h: ... here.
22016 2014-03-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22018         * conform/conformtest.pl: Add standard definition when calling C
22019         preprocessor on data files.
22020         (checknamespace): Remove unused variable.
22022 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
22024         * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
22025         minus_oflow, plus_uflow and minus_uflow in expected results.
22026         * math/libm-test.inc (scalbn_test_data): Add more tests of
22027         negative arguments.  Use plus_oflow, minus_oflow, plus_uflow and
22028         minus_uflow.
22029         (scalbn_test): Use ALL_RM_TEST.
22030         (scalbln_test_data): Add more tests of negative arguments.  Use
22031         plus_oflow, minus_oflow, plus_uflow and minus_uflow.
22032         (scalbln_test): Use ALL_RM_TEST.
22034 2014-03-18  Roland McGrath  <roland@hack.frob.com>
22036         * scripts/abilist.awk: Ignore symbols marked with .hidden.
22038 2014-03-18  Will Newton  <will.newton@linaro.org>
22040         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
22041         inaccurate comment.
22043 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
22045         * Makerules [!subdir] (check-abi): Exit with error status if a
22046         test failed.
22048 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
22050         * math/libm-test.inc (nearbyint_test_data): Include all tests used
22051         for rint.  Include results for all rounding modes.
22052         (nearbyint_test): Use ALL_RM_TEST.
22053         (rint_test_data): Include all tests used for nearbyint.
22055 2014-03-17  Will Newton  <will.newton@linaro.org>
22057         * nptl/sysdeps/pthread/pthread.h: Revert previous
22058         change.
22060         * sysdeps/generic/ldsodefs.h: Revert previous
22061         change.
22063         * libio/genops.c: Revert previous change.
22064         * libio/libioP.h: Likewise.
22065         * stdio-common/vfprintf.c: Likewise.
22067         * sysdeps/generic/math_private.h: Revert previous
22068         change.
22070         * sysdeps/generic/math_private.h: Check whether
22071         HAVE_RM_CTX is defined with #ifdef rather
22072         than #if.
22074         * argp/argp-fmtstream.h: Check whether
22075         __STRICT_ANSI__ is defined with #ifdef rather
22076         than #if.
22077         * argp/argp.h: Likewise.
22079         * libio/genops.c: Check whether
22080         _IO_JUMPS_OFFSET is defined with #ifdef rather
22081         than #if.
22082         * libio/libioP.h: Likewise.
22083         * stdio-common/vfprintf.c: Likewise.
22085         * sysdeps/generic/ldsodefs.h: Check whether
22086         HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
22087         than #if.
22089         * nptl/sysdeps/pthread/pthread.h: Check
22090         __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
22091         its value.
22093 2014-03-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
22095         * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
22096         setting O_APPEND.
22097         * libio/tst-ftell-active-handler.c (do_append_test): Add a
22098         test case.
22100         [BZ #16680]
22101         * libio/fileops.c (_IO_file_open): Seek to end of file but
22102         don't cache the offset.
22103         (get_file_offset): Remove function.
22104         (do_ftell): Use cached offset when available.
22105         * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
22106         don't cache the offset.
22107         * libio/tst-ftell-active-handler.c (do_rewind_test): New test
22108         case.
22109         (do_one_test): Call it.
22110         (do_ftell_test): Fix up expected old offset for a+ mode.
22111         * libio/wfileops.c (do_ftell_wide): Used cached offset when
22112         available.
22114         * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
22115         up test status with function return status.
22116         (do_write_test): Likewise.
22117         (do_append_test): Likewise.
22119         * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
22120         && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
22121         Remove.
22123 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
22125         * math/gen-libm-test.pl (parse_args): Handle results specified for
22126         each rounding mode separately.
22127         * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
22128         tests and results from lrint_tonearest_test_data,
22129         lrint_towardzero_test_data, lrint_downward_test_data and
22130         lrint_upward_test_data.
22131         (lrint_test): Use ALL_RM_TEST.
22132         (lrint_tonearest_test_data): Remove.
22133         (lrint_test_tonearest): Likewise.
22134         (lrint_towardzero_test_data): Likewise.
22135         (lrint_test_towardzero): Likewise.
22136         (lrint_downward_test_data): Likewise.
22137         (lrint_test_downward): Likewise.
22138         (lrint_upward_test_data): Likewise.
22139         (lrint_test_upward): Likewise.
22140         (llrint_test_data): Merge in per-rounding-mode tests and results
22141         from llrint_tonearest_test_data, llrint_towardzero_test_data,
22142         llrint_downward_test_data and llrint_upward_test_data.
22143         (llrint_test): Use ALL_RM_TEST.
22144         (llrint_tonearest_test_data): Remove.
22145         (llrint_test_tonearest): Likewise.
22146         (llrint_towardzero_test_data): Likewise.
22147         (llrint_test_towardzero): Likewise.
22148         (llrint_downward_test_data): Likewise.
22149         (llrint_test_downward): Likewise.
22150         (llrint_upward_test_data): Likewise.
22151         (llrint_test_upward): Likewise.
22152         (rint_test_data): Merge in per-rounding-mode tests and results
22153         from rint_tonearest_test_data, rint_towardzero_test_data,
22154         rint_downward_test_data and rint_upward_test_data.  Add
22155         per-rounding-mode results for tests not in those arrays.
22156         (rint_test): Use ALL_RM_TEST.
22157         (rint_tonearest_test_data): Remove.
22158         (rint_test_tonearest): Likewise.
22159         (rint_towardzero_test_data): Likewise.
22160         (rint_test_towardzero): Likewise.
22161         (rint_downward_test_data): Likewise.
22162         (rint_test_downward): Likewise.
22163         (rint_upward_test_data): Likewise.
22164         (rint_test_upward): Likewise.
22165         (main): Don't call removed functions.
22167 2014-03-14  Roland McGrath  <roland@hack.frob.com>
22169         * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
22170         "Compiled on ..." crapola.  It is anti-useful.
22172 2014-03-14  Joseph Myers  <joseph@codesourcery.com>
22174         * scripts/evaluate-test.sh: Handle fourth argument to determine
22175         whether test run should stop on failure.
22176         * Makeconfig (stop-on-test-failure): New variable.
22177         (evaluate-test): Pass fourth argument to evaluate-test.sh based on
22178         $(stop-on-test-failure).
22179         * Makefile (tests): Give a summary of results from testing and
22180         exit with failure status if they include an ERROR or FAIL.
22181         (xtests): Likewise.
22182         * manual/install.texi (Configuring and compiling): Mention
22183         stop-on-test-failure=y.
22184         * INSTALL: Regenerated.
22186 2014-03-14  Roland McGrath  <roland@hack.frob.com>
22188         * scripts/versionlist.awk: New file.
22189         * Makerules [$(build-shared) = yes]
22190         (postclean-generated): Add Versions.def, not Versions.def.v and
22191         Versions.def.v.i.
22192         ($(common-objpfx)Versions.def.v.i): Target removed.
22193         ($(common-objpfx)Versions.def): New target.
22194         ($(common-objpfx)Versions.all): Depend on that rather that
22195         $(common-objpfx)Versions.def.v.
22196         * Versions.def: File removed.
22198         * Makeconfig (+gccwarn): Add -Wundef.
22199         * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
22200         a dl-sysdep.h breaking its contract.
22201         [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
22202         * include/stackinfo.h: New file.
22203         * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
22204         * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
22205         * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
22206         * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
22207         * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
22208         * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
22209         * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
22210         * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
22211         * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
22212         * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
22213         * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
22214         * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
22215         * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
22216         * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
22217         * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
22219 2014-03-14  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22221         [BZ #16707]
22222         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
22223         implementation.
22224         * math/libm-test.inc (round_test_data): Add more tests.
22226         [BZ #16706]
22227         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
22228         implementation.
22229         * math/libm-test.inc (nearbyint_test_data): Add more tests.
22231         [BZ #16701]
22232         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
22233         implementation.
22234         * math/libm-test.inc (ceil_test_data): Add more tests.
22236         * math/libm-test.inc (trunc_test_data): Add more tests related to
22237         BZ#16414.
22239 2014-03-14  Roland McGrath  <roland@hack.frob.com>
22241         * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
22242         with #if rather than #ifdef.
22243         * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
22245 2014-03-14  H.J. Lu  <hongjiu.lu@intel.com>
22247         * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
22248         first.  Disable AVX-512 GCC support if assembler doesn't support
22249         it.
22250         * sysdeps/x86_64/configure: Regenerated.
22252 2014-03-13  Carlos O'Donell  <carlos@redhat.com>
22254         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
22255         [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
22256         (__old_pthread_attr_setstack): Likewise.
22257         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
22258         [!_STACK_GROWS_DOWN]: Likewise.
22260 2014-03-13  Mike Frysinger  <vapier@gentoo.org>
22262         * config.make.in (have-bash2): Delete.
22263         * configure.ac (libc_cv_have_bash2): Delete.
22264         * configure: Regenerate.
22265         * elf/Makefile (common-ldd-rewrite): Rename to ...
22266         (ldd-rewrite): ... this.  Move bash-ldd-rewrite content to end.
22267         (sh-ldd-rewrite): Delete.
22268         (bash-ldd-rewrite): Delete.
22269         (have-bash2): Delete checks.
22270         [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
22271         ldd-rewrite.
22273         * config.make.in (have-ksh): Delete.
22274         (KSH): Delete.
22275         * configure.ac (libc_cv_have_ksh): Delete.
22276         * configure: Regenerate.
22278         * elf/Makefile: Delete $(have-ksh) check.
22279         ($(objpfx)sotruss): Change KSH to BASH.
22280         * elf/sotruss.ksh: Rename to ...
22281         * elf/sotruss.sh: ... this.  Change @KSH@ to @BASH@.  Change
22282         function style to match POSIX.  Drop ksh vim mode setting.
22284         * manual/time.texi (Specifying the Time Zone with TZ): Change
22285         Tuesday to Thursday.
22287         * debug/tst-longjmp_chk2.c: Update header comment.
22288         (stackoverflow_handler): Add comment.  Call assert on pass value.
22290 2014-03-13  Igor Zamyatin  <igor.zamyatin@intel.com>
22292         [BZ #16194]
22293         * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
22294         (HAVE_AVX512_ASM_SUPPORT): Likewise.
22295         * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
22296         (La_x86_64_vector): Add zmm.
22297         * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
22298         (modules-names): Add tst-auditmod10a and tst-auditmod10b.
22299         ($(objpfx)tst-audit10): New target.
22300         ($(objpfx)tst-audit10.out): Likewise.
22301         (tst-audit10-ENV): New.
22302         (AVX512-CFLAGS): Likewise.
22303         (CFLAGS-tst-audit10.c): Likewise.
22304         (CFLAGS-tst-auditmod10a.c): Likewise.
22305         (CFLAGS-tst-auditmod10b.c): Likewise.
22306         * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
22307         HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
22308         * sysdeps/x86_64/configure: Regenerated.
22309         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
22310         AVX-512 zmm register support.
22311         (_dl_x86_64_save_sse): Likewise.
22312         (_dl_x86_64_restore_sse): Likewise.
22313         * sysdeps/x86_64/dl-trampoline.h: Updated to support different
22314         size vector registers.
22315         * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
22316         (ZMM_SIZE): Likewise.
22317         * sysdeps/x86_64/tst-audit10.c: New file.
22318         * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
22319         * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
22321 2014-03-13  Roland McGrath  <roland@hack.frob.com>
22323         * configure.ac (HAVE_EHDR_START): New check.
22324         * configure: Regenerated.
22325         * config.h.in (HAVE_EHDR_START): New #undef.
22326         * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
22327         assuming the lowest-addressed segment maps the start of the file.
22329 2014-03-13  Joseph Myers  <joseph@codesourcery.com>
22331         * INSTALL: Regenerated.
22333 2014-03-13  Will Newton  <will.newton@linaro.org>
22335         * manual/setjmp.texi (System V contexts): Improve
22336         clarity and grammar of documentation.
22338 2014-03-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
22340         [BZ #16381]
22341         * elf/Makefile (tests): Add tst-pie2.
22342         (tests-pie): Add tst-pie2.
22343         * elf/tst-pie2.c: New file.
22344         * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
22345         for ET_EXEC.
22346         * elf/rtld.c (map_doit): Load executable as lt_executable.
22347         (dl_main): Likewise.
22349 2014-03-12  Joseph Myers  <joseph@codesourcery.com>
22351         [BZ #16642]
22352         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
22353         (__ASSUME_PSELECT): Undefine.
22355 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22357         [BZ #16689]
22358         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
22359         (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
22360         static build.
22361         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
22362         selector for static builds.
22364 2014-03-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
22366         [BZ #16695]
22367         * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
22368         key in the buffer.
22370 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22372         * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
22373         IFUNC selector for static builds.
22375 2014-03-11  Joseph Myers  <joseph@codesourcery.com>
22377         * sysdeps/mips/math_private.h [__mips_hard_float]
22378         (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
22379         libc_feresetround_mips_ctx.
22380         [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
22381         [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
22382         [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
22384         [BZ #16677]
22385         * math/s_nextafter.c (__nextafter): Do not return value from
22386         overflowing computation.
22387         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
22388         * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
22389         * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
22390         Likewise.
22391         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
22392         Likewise.
22393         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
22394         * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
22396 2014-03-11  Roland McGrath  <roland@hack.frob.com>
22398         * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
22399         * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
22400         Move sfi_sp use from the load-multiple (that no longer sets sp) to
22401         the new mov targetting sp.
22403 2014-03-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22405         [BZ #16683]
22406         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
22407         Define it for static builds as well.
22408         (NO_BZERO_IMPL): Likewise.
22410 2014-03-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
22412         * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
22413         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
22414         multiarch strspn for PPC64.
22415         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
22416         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
22417         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
22418         (__libc_ifunc_impl_list): Likewise.
22419         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
22420         multiarch optimizations
22421         * string/strspn.c (strspn): Using macro to redefine symbol name.
22423 2014-03-10  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
22424             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22426         * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
22427         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
22428         multiarch strncat for PPC64.
22429         * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
22430         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
22431         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
22432         (__libc_ifunc_impl_list): Likewise.
22433         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
22434         multiarch optimizations
22436 2014-03-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
22438         [BZ #16639]
22439         * nscd/nscd.service: Make service type forking.
22441 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22443         * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
22444         sign in non default rounding modes.
22445         * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
22447 2014-03-08  Joseph Myers  <joseph@codesourcery.com>
22449         * math/libm-test.inc (ALL_RM_TEST): New macro.
22450         (ceil_test): Use ALL_RM_TEST.
22451         (cimag_test): Likewise.
22452         (conj_test): Likewise.
22453         (copysign_test): Likewise.
22454         (cproj_test): Likewise.
22455         (creal_test): Likewise.
22456         (fabs_test): Likewise.
22457         (floor_test): Likewise.
22458         (fmax_test): Likewise.
22459         (fmin_test): Likewise.
22460         (fmod_test): Likewise.
22461         (fpclassify_test): Likewise.
22462         (frexp_test): Likewise.
22463         (ilogb_test): Likewise.
22464         (isfinite_test): Likewise.
22465         (finite_test): Likewise.
22466         (isgreater_test): Likewise.
22467         (isgreaterequal_test): Likewise.
22468         (isinf_test): Likewise.
22469         (isless_test): Likewise.
22470         (islessequal_test): Likewise.
22471         (islessgreater_test): Likewise.
22472         (isnan_test): Likewise.
22473         (isnormal_test): Likewise.
22474         (issignaling_test): Likewise.
22475         (isunordered_test): Likewise.
22476         (logb_test): Likewise.
22477         (logb_downward_test_data): Remove.
22478         (logb_test_downward): Likewise.
22479         (lround_test): Use ALL_RM_TEST.
22480         (llround_test): Likewise.
22481         (modf_test): Likewise.
22482         (nexttoward_test): Likewise.
22483         (remainder_test): Likewise.
22484         (drem_test): Likewise.
22485         (remainder_tonearest_test_data): Likewise.
22486         (remainder_test_tonearest): Likewise.
22487         (drem_test_tonearest): Likewise.
22488         (remainder_towardzero_test_data): Likewise.
22489         (remainder_test_towardzero): Likewise.
22490         (drem_test_towardzero): Likewise.
22491         (remainder_downward_test_data): Likewise.
22492         (remainder_test_downward): Likewise.
22493         (drem_test_downward): Likewise.
22494         (remainder_upward_test_data): Likewise.
22495         (remainder_test_upward): Likewise.
22496         (drem_test_upward): Likewise.
22497         (remquo_test): Use ALL_RM_TEST.  Remove comment about x.
22498         (round_test): Use ALL_RM_TEST.
22499         (signbit_test): Likewise.
22500         (trunc_test): Likewise.
22501         (significand_test): Likewise.
22502         (main): Don't call removed functions.
22504 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
22506         [BZ #16674]
22507         * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
22508         || __USE_XOPEN2K8].
22509         (ILL_ILLOPN): Likewise.
22510         (ILL_ILLADR): Likewise.
22511         (ILL_ILLTRP): Likewise.
22512         (ILL_PRVOPC): Likewise.
22513         (ILL_PRVREG): Likewise.
22514         (ILL_COPROC): Likewise.
22515         (ILL_BADSTK): Likewise.
22516         (FPE_INTDIV): Likewise.
22517         (FPE_INTOVF): Likewise.
22518         (FPE_FLTDIV): Likewise.
22519         (FPE_FLTOVF): Likewise.
22520         (FPE_FLTUND): Likewise.
22521         (FPE_FLTRES): Likewise.
22522         (FPE_FLTINV): Likewise.
22523         (FPE_FLTSUB): Likewise.
22524         (SEGV_MAPERR): Likewise.
22525         (SEGV_ACCERR): Likewise.
22526         (BUS_ADRALN): Likewise.
22527         (BUS_ADRERR): Likewise.
22528         (BUS_OBJERR): Likewise.
22529         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
22530         (TRAP_TRACE): Likewise.
22531         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
22532         __USE_XOPEN2K8].
22533         (CLD_KILLED): Likewise.
22534         (CLD_DUMPED): Likewise.
22535         (CLD_TRAPPED): Likewise.
22536         (CLD_STOPPED): Likewise.
22537         (CLD_CONTINUED): Likewise.
22538         (POLL_IN): Likewise.
22539         (POLL_OUT): Likewise.
22540         (POLL_MSG): Likewise.
22541         (POLL_ERR): Likewise.
22542         (POLL_PRI): Likewise.
22543         (POLL_HUP): Likewise.
22544         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
22545         Likewise.
22546         (ILL_ILLOPN): Likewise.
22547         (ILL_ILLADR): Likewise.
22548         (ILL_ILLTRP): Likewise.
22549         (ILL_PRVOPC): Likewise.
22550         (ILL_PRVREG): Likewise.
22551         (ILL_COPROC): Likewise.
22552         (ILL_BADSTK): Likewise.
22553         (FPE_INTDIV): Likewise.
22554         (FPE_INTOVF): Likewise.
22555         (FPE_FLTDIV): Likewise.
22556         (FPE_FLTOVF): Likewise.
22557         (FPE_FLTUND): Likewise.
22558         (FPE_FLTRES): Likewise.
22559         (FPE_FLTINV): Likewise.
22560         (FPE_FLTSUB): Likewise.
22561         (SEGV_MAPERR): Likewise.
22562         (SEGV_ACCERR): Likewise.
22563         (BUS_ADRALN): Likewise.
22564         (BUS_ADRERR): Likewise.
22565         (BUS_OBJERR): Likewise.
22566         (BUS_MCEERR_AR): Likewise.
22567         (BUS_MCEERR_AO): Likewise.
22568         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
22569         (TRAP_TRACE): Likewise.
22570         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
22571         __USE_XOPEN2K8].
22572         (CLD_KILLED): Likewise.
22573         (CLD_DUMPED): Likewise.
22574         (CLD_TRAPPED): Likewise.
22575         (CLD_STOPPED): Likewise.
22576         (CLD_CONTINUED): Likewise.
22577         (POLL_IN): Likewise.
22578         (POLL_OUT): Likewise.
22579         (POLL_MSG): Likewise.
22580         (POLL_ERR): Likewise.
22581         (POLL_PRI): Likewise.
22582         (POLL_HUP): Likewise.
22583         * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
22584         (ILL_ILLOPN): Likewise.
22585         (ILL_ILLADR): Likewise.
22586         (ILL_ILLTRP): Likewise.
22587         (ILL_PRVOPC): Likewise.
22588         (ILL_PRVREG): Likewise.
22589         (ILL_COPROC): Likewise.
22590         (ILL_BADSTK): Likewise.
22591         (FPE_INTDIV): Likewise.
22592         (FPE_INTOVF): Likewise.
22593         (FPE_FLTDIV): Likewise.
22594         (FPE_FLTOVF): Likewise.
22595         (FPE_FLTUND): Likewise.
22596         (FPE_FLTRES): Likewise.
22597         (FPE_FLTINV): Likewise.
22598         (FPE_FLTSUB): Likewise.
22599         (SEGV_MAPERR): Likewise.
22600         (SEGV_ACCERR): Likewise.
22601         (BUS_ADRALN): Likewise.
22602         (BUS_ADRERR): Likewise.
22603         (BUS_OBJERR): Likewise.
22604         (BUS_MCEERR_AR): Likewise.
22605         (BUS_MCEERR_AO): Likewise.
22606         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
22607         (TRAP_TRACE): Likewise.
22608         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
22609         __USE_XOPEN2K8].
22610         (CLD_KILLED): Likewise.
22611         (CLD_DUMPED): Likewise.
22612         (CLD_TRAPPED): Likewise.
22613         (CLD_STOPPED): Likewise.
22614         (CLD_CONTINUED): Likewise.
22615         (POLL_IN): Likewise.
22616         (POLL_OUT): Likewise.
22617         (POLL_MSG): Likewise.
22618         (POLL_ERR): Likewise.
22619         (POLL_PRI): Likewise.
22620         (POLL_HUP): Likewise.
22621         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
22622         Likewise.
22623         (ILL_ILLOPN): Likewise.
22624         (ILL_ILLADR): Likewise.
22625         (ILL_ILLTRP): Likewise.
22626         (ILL_PRVOPC): Likewise.
22627         (ILL_PRVREG): Likewise.
22628         (ILL_COPROC): Likewise.
22629         (ILL_BADSTK): Likewise.
22630         (ILL_BADIADDR): Likewise.
22631         (ILL_BREAK): Likewise.
22632         (FPE_INTDIV): Likewise.
22633         (FPE_INTOVF): Likewise.
22634         (FPE_FLTDIV): Likewise.
22635         (FPE_FLTOVF): Likewise.
22636         (FPE_FLTUND): Likewise.
22637         (FPE_FLTRES): Likewise.
22638         (FPE_FLTINV): Likewise.
22639         (FPE_FLTSUB): Likewise.
22640         (FPE_DECOVF): Likewise.
22641         (FPE_DECDIV): Likewise.
22642         (FPE_DECERR): Likewise.
22643         (FPE_INVASC): Likewise.
22644         (FPE_INVDEC): Likewise.
22645         (SEGV_MAPERR): Likewise.
22646         (SEGV_ACCERR): Likewise.
22647         (SEGV_PSTKOVF): Likewise.
22648         (BUS_ADRALN): Likewise.
22649         (BUS_ADRERR): Likewise.
22650         (BUS_OBJERR): Likewise.
22651         (BUS_MCEERR_AR): Likewise.
22652         (BUS_MCEERR_AO): Likewise.
22653         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
22654         (TRAP_TRACE): Likewise.
22655         (TRAP_BRANCH): Likewise.
22656         (TRAP_HWBKPT): Likewise.
22657         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
22658         __USE_XOPEN2K8].
22659         (CLD_KILLED): Likewise.
22660         (CLD_DUMPED): Likewise.
22661         (CLD_TRAPPED): Likewise.
22662         (CLD_STOPPED): Likewise.
22663         (CLD_CONTINUED): Likewise.
22664         (POLL_IN): Likewise.
22665         (POLL_OUT): Likewise.
22666         (POLL_MSG): Likewise.
22667         (POLL_ERR): Likewise.
22668         (POLL_PRI): Likewise.
22669         (POLL_HUP): Likewise.
22670         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
22671         (ILL_ILLOPN): Likewise.
22672         (ILL_ILLADR): Likewise.
22673         (ILL_ILLTRP): Likewise.
22674         (ILL_PRVOPC): Likewise.
22675         (ILL_PRVREG): Likewise.
22676         (ILL_COPROC): Likewise.
22677         (ILL_BADSTK): Likewise.
22678         (FPE_INTDIV): Likewise.
22679         (FPE_INTOVF): Likewise.
22680         (FPE_FLTDIV): Likewise.
22681         (FPE_FLTOVF): Likewise.
22682         (FPE_FLTUND): Likewise.
22683         (FPE_FLTRES): Likewise.
22684         (FPE_FLTINV): Likewise.
22685         (FPE_FLTSUB): Likewise.
22686         (SEGV_MAPERR): Likewise.
22687         (SEGV_ACCERR): Likewise.
22688         (BUS_ADRALN): Likewise.
22689         (BUS_ADRERR): Likewise.
22690         (BUS_OBJERR): Likewise.
22691         (BUS_MCEERR_AR): Likewise.
22692         (BUS_MCEERR_AO): Likewise.
22693         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
22694         (TRAP_TRACE): Likewise.
22695         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
22696         __USE_XOPEN2K8].
22697         (CLD_KILLED): Likewise.
22698         (CLD_DUMPED): Likewise.
22699         (CLD_TRAPPED): Likewise.
22700         (CLD_STOPPED): Likewise.
22701         (CLD_CONTINUED): Likewise.
22702         (POLL_IN): Likewise.
22703         (POLL_OUT): Likewise.
22704         (POLL_MSG): Likewise.
22705         (POLL_ERR): Likewise.
22706         (POLL_PRI): Likewise.
22707         (POLL_HUP): Likewise.
22708         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
22709         (ILL_ILLOPN): Likewise.
22710         (ILL_ILLADR): Likewise.
22711         (ILL_ILLTRP): Likewise.
22712         (ILL_PRVOPC): Likewise.
22713         (ILL_PRVREG): Likewise.
22714         (ILL_COPROC): Likewise.
22715         (ILL_BADSTK): Likewise.
22716         (FPE_INTDIV): Likewise.
22717         (FPE_INTOVF): Likewise.
22718         (FPE_FLTDIV): Likewise.
22719         (FPE_FLTOVF): Likewise.
22720         (FPE_FLTUND): Likewise.
22721         (FPE_FLTRES): Likewise.
22722         (FPE_FLTINV): Likewise.
22723         (FPE_FLTSUB): Likewise.
22724         (SEGV_MAPERR): Likewise.
22725         (SEGV_ACCERR): Likewise.
22726         (BUS_ADRALN): Likewise.
22727         (BUS_ADRERR): Likewise.
22728         (BUS_OBJERR): Likewise.
22729         (BUS_MCEERR_AR): Likewise.
22730         (BUS_MCEERR_AO): Likewise.
22731         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
22732         (TRAP_TRACE): Likewise.
22733         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
22734         __USE_XOPEN2K8].
22735         (CLD_KILLED): Likewise.
22736         (CLD_DUMPED): Likewise.
22737         (CLD_TRAPPED): Likewise.
22738         (CLD_STOPPED): Likewise.
22739         (CLD_CONTINUED): Likewise.
22740         (POLL_IN): Likewise.
22741         (POLL_OUT): Likewise.
22742         (POLL_MSG): Likewise.
22743         (POLL_ERR): Likewise.
22744         (POLL_PRI): Likewise.
22745         (POLL_HUP): Likewise.
22746         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
22747         (ILL_ILLOPN): Likewise.
22748         (ILL_ILLADR): Likewise.
22749         (ILL_ILLTRP): Likewise.
22750         (ILL_PRVOPC): Likewise.
22751         (ILL_PRVREG): Likewise.
22752         (ILL_COPROC): Likewise.
22753         (ILL_BADSTK): Likewise.
22754         (FPE_INTDIV): Likewise.
22755         (FPE_INTOVF): Likewise.
22756         (FPE_FLTDIV): Likewise.
22757         (FPE_FLTOVF): Likewise.
22758         (FPE_FLTUND): Likewise.
22759         (FPE_FLTRES): Likewise.
22760         (FPE_FLTINV): Likewise.
22761         (FPE_FLTSUB): Likewise.
22762         (SEGV_MAPERR): Likewise.
22763         (SEGV_ACCERR): Likewise.
22764         (BUS_ADRALN): Likewise.
22765         (BUS_ADRERR): Likewise.
22766         (BUS_OBJERR): Likewise.
22767         (BUS_MCEERR_AR): Likewise.
22768         (BUS_MCEERR_AO): Likewise.
22769         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
22770         (TRAP_TRACE): Likewise.
22771         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
22772         __USE_XOPEN2K8].
22773         (CLD_KILLED): Likewise.
22774         (CLD_DUMPED): Likewise.
22775         (CLD_TRAPPED): Likewise.
22776         (CLD_STOPPED): Likewise.
22777         (CLD_CONTINUED): Likewise.
22778         (POLL_IN): Likewise.
22779         (POLL_OUT): Likewise.
22780         (POLL_MSG): Likewise.
22781         (POLL_ERR): Likewise.
22782         (POLL_PRI): Likewise.
22783         (POLL_HUP): Likewise.
22784         * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
22785         (ILL_ILLOPN): Likewise.
22786         (ILL_ILLADR): Likewise.
22787         (ILL_ILLTRP): Likewise.
22788         (ILL_PRVOPC): Likewise.
22789         (ILL_PRVREG): Likewise.
22790         (ILL_COPROC): Likewise.
22791         (ILL_BADSTK): Likewise.
22792         (ILL_DBLFLT): Likewise.
22793         (ILL_HARDWALL): Likewise.
22794         (FPE_INTDIV): Likewise.
22795         (FPE_INTOVF): Likewise.
22796         (FPE_FLTDIV): Likewise.
22797         (FPE_FLTOVF): Likewise.
22798         (FPE_FLTUND): Likewise.
22799         (FPE_FLTRES): Likewise.
22800         (FPE_FLTINV): Likewise.
22801         (FPE_FLTSUB): Likewise.
22802         (SEGV_MAPERR): Likewise.
22803         (SEGV_ACCERR): Likewise.
22804         (BUS_ADRALN): Likewise.
22805         (BUS_ADRERR): Likewise.
22806         (BUS_OBJERR): Likewise.
22807         (BUS_MCEERR_AR): Likewise.
22808         (BUS_MCEERR_AO): Likewise.
22809         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
22810         (TRAP_TRACE): Likewise.
22811         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
22812         __USE_XOPEN2K8].
22813         (CLD_KILLED): Likewise.
22814         (CLD_DUMPED): Likewise.
22815         (CLD_TRAPPED): Likewise.
22816         (CLD_STOPPED): Likewise.
22817         (CLD_CONTINUED): Likewise.
22818         (POLL_IN): Likewise.
22819         (POLL_OUT): Likewise.
22820         (POLL_MSG): Likewise.
22821         (POLL_ERR): Likewise.
22822         (POLL_PRI): Likewise.
22823         (POLL_HUP): Likewise.
22824         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
22825         (ILL_ILLOPN): Likewise.
22826         (ILL_ILLADR): Likewise.
22827         (ILL_ILLTRP): Likewise.
22828         (ILL_PRVOPC): Likewise.
22829         (ILL_PRVREG): Likewise.
22830         (ILL_COPROC): Likewise.
22831         (ILL_BADSTK): Likewise.
22832         (FPE_INTDIV): Likewise.
22833         (FPE_INTOVF): Likewise.
22834         (FPE_FLTDIV): Likewise.
22835         (FPE_FLTOVF): Likewise.
22836         (FPE_FLTUND): Likewise.
22837         (FPE_FLTRES): Likewise.
22838         (FPE_FLTINV): Likewise.
22839         (FPE_FLTSUB): Likewise.
22840         (SEGV_MAPERR): Likewise.
22841         (SEGV_ACCERR): Likewise.
22842         (BUS_ADRALN): Likewise.
22843         (BUS_ADRERR): Likewise.
22844         (BUS_OBJERR): Likewise.
22845         (BUS_MCEERR_AR): Likewise.
22846         (BUS_MCEERR_AO): Likewise.
22847         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
22848         (TRAP_TRACE): Likewise.
22849         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
22850         __USE_XOPEN2K8].
22851         (CLD_KILLED): Likewise.
22852         (CLD_DUMPED): Likewise.
22853         (CLD_TRAPPED): Likewise.
22854         (CLD_STOPPED): Likewise.
22855         (CLD_CONTINUED): Likewise.
22856         (POLL_IN): Likewise.
22857         (POLL_OUT): Likewise.
22858         (POLL_MSG): Likewise.
22859         (POLL_ERR): Likewise.
22860         (POLL_PRI): Likewise.
22861         (POLL_HUP): Likewise.
22862         * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
22863         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
22865         [BZ #16670]
22866         * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
22867         before #include of <time.h>.
22868         [!__USE_XOPEN2K] (__need_timespec): Likewise.
22869         * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
22870         (test-xfail-UNIX98/sched.h/conform): Likewise.
22872 2014-03-07  Marcus Shawcroft  <marcus.shawcroft@arm.com>
22874         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
22875         error absence of trapping exception support.
22876         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
22878 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
22880         * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
22881         ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
22882         * timezone/Makefile (testdata): Move definition above include of
22883         Rules.
22884         (test-zones): New variable.
22885         (tests-special): Add zone files.
22886         (build-testdata): Use $(evaluate-test).
22888         * elf/Makefile (tests-special): Rename tests to end with .out.
22889         ($(objpfx)noload-mem): Likewise.
22890         ($(objpfx)tst-leaks1-mem): Likewise.
22891         ($(objpfx)tst-leaks1-static-mem.out): Likewise.
22892         * iconv/Makefile (xtests-special): Change test-iconvconfig to
22893         $(objpfx)test-iconvconfig.out.
22894         (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out.  Use
22895         set -e inside subshell and redirect output to file.
22896         * iconvdata/Makefile (generated): Rename tests to end with .out.
22897         Correct type.
22898         (tests-special): Rename tests to end with .out.
22899         ($(objpfx)mtrace-tst-loading): Likewise.
22900         * intl/Makefile (generated): Likewise.
22901         (tests-special): Likewise.
22902         ($(objpfx)mtrace-tst-gettext): Likewise.
22903         * misc/Makefile (generated): Likewise.
22904         (tests-special): Likewise.
22905         ($(objpfx)tst-error1-mem): Likewise.
22906         * nptl/Makefile (tests-special): Likewise.
22907         ($(objpfx)tst-stack3-mem): Likewise.
22908         (generated): Likewise.
22909         * posix/Makefile (generated): Likewise.
22910         (tests-special): Likewise.
22911         (xtests-special): Likewise.
22912         ($(objpfx)tst-fnmatch-mem): Likewise.
22913         ($(objpfx)bug-regex2-mem): Likewise.
22914         ($(objpfx)bug-regex14-mem): Likewise.
22915         ($(objpfx)bug-regex21-mem): Likewise.
22916         ($(objpfx)bug-regex31-mem): Likewise.
22917         ($(objpfx)tst-vfork3-mem): Likewise.
22918         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
22919         ($(objpfx)tst-pcre-mem): Likewise.
22920         ($(objpfx)tst-boost-mem): Likewise.
22921         ($(objpfx)bug-ga2-mem): Likewise.
22922         ($(objpfx)bug-glob2-mem): Likewise.
22923         * resolv/Makefile (generate): Likewise.
22924         (tests-special): Likewise.
22925         (xtests-special): Likewise.
22926         (generated): Likewise.
22927         ($(objpfx)mtrace-tst-leaks): Likewise.
22928         ($(objpfx)mtrace-tst-leaks2): Likewise.
22930         * scripts/merge-test-results.sh: New file.
22931         * Makefile (tests-special-notdir): New variable.
22932         (tests): Run merge-test-results.sh.
22933         (xtests): Likewise.
22934         * Rules (tests-special-notdir): New variable.
22935         (xtests-special-notdir): Likewise.
22936         (tests): Run merge-test-results.sh
22937         (xtests): Likewise.
22939         * Makeconfig (test-xfail-name): New variable.
22940         (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
22941         compute variable name for expected failures.
22942         * conform/Makefile (conformtest-headers-data): New variable.
22943         (conformtest-standards): Likewise.
22944         (conformtest-headers-ISO): Likewise.
22945         (conformtest-headers-ISO99): Likewise.
22946         (conformtest-headers-ISO11): Likewise.
22947         (conformtest-headers-POSIX): Likewise.
22948         (conformtest-headers-XPG3): Likewise.
22949         (conformtest-headers-XPG4): Likewise.
22950         (conformtest-headers-UNIX98): Likewise.
22951         (conformtest-headers-XOPEN2K): Likewise.
22952         (conformtest-headers-POSIX2008): Likewise.
22953         (conformtest-headers-XOPEN2K8): Likewise.
22954         (conformtest-header-list-base): Likewise.
22955         (conformtest-header-list-tests): Likewise.
22956         (conformtest-header-base): Likewise.
22957         (conformtest-header-tests): Likewise.
22958         (tests-special): Add $(conformtest-header-list-tests).  If
22959         [$(fast-check) && !$(cross-compiling)], add
22960         $(conformtest-header-tests) instead of
22961         $(objpfx)run-conformtest.out.
22962         (generated): Add $(conformtest-header-list-base).  If
22963         [$(fast-check) && !$(cross-compiling)], add
22964         $(conformtest-header-base).  Remove previous setting.
22965         ($(conformtest-header-list-tests)): New target.
22966         (test-xfail-run-conformtest): Remove variable.
22967         ($(objpfx)run-conformtest.out): Remove target.
22968         (test-xfail-ISO11/complex.h/conform): New variable.
22969         (test-xfail-ISO11/stdalign.h/conform): Likewise.
22970         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
22971         (test-xfail-XPG3/varargs.h/conform): Likewise.
22972         (test-xfail-XPG4/varargs.h/conform): Likewise.
22973         (test-xfail-UNIX98/varargs.h/conform): Likewise.
22974         (test-xfail-XPG4/ndbm.h/conform): Likewise.
22975         (test-xfail-UNIX98/ndbm.h/conform): Likewise.
22976         (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
22977         (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
22978         (test-xfail-XPG3/fcntl.h/conform): Likewise.
22979         (test-xfail-XPG3/ftw.h/conform): Likewise.
22980         (test-xfail-XPG3/grp.h/conform): Likewise.
22981         (test-xfail-XPG3/langinfo.h/conform): Likewise.
22982         (test-xfail-XPG3/limits.h/conform): Likewise.
22983         (test-xfail-XPG3/pwd.h/conform): Likewise.
22984         (test-xfail-XPG3/search.h/conform): Likewise.
22985         (test-xfail-XPG3/signal.h/conform): Likewise.
22986         (test-xfail-XPG3/stdio.h/conform): Likewise.
22987         (test-xfail-XPG3/stdlib.h/conform): Likewise.
22988         (test-xfail-XPG3/string.h/conform): Likewise.
22989         (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
22990         (test-xfail-XPG3/sys/msg.h/conform): Likewise.
22991         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
22992         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
22993         (test-xfail-XPG3/sys/stat.h/conform): Likewise.
22994         (test-xfail-XPG3/sys/types.h/conform): Likewise.
22995         (test-xfail-XPG3/sys/wait.h/conform): Likewise.
22996         (test-xfail-XPG3/termios.h/conform): Likewise.
22997         (test-xfail-XPG3/time.h/conform): Likewise.
22998         (test-xfail-XPG3/unistd.h/conform): Likewise.
22999         (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
23000         (test-xfail-XPG4/fcntl.h/conform): Likewise.
23001         (test-xfail-XPG4/langinfo.h/conform): Likewise.
23002         (test-xfail-XPG4/netdb.h/conform): Likewise.
23003         (test-xfail-XPG4/netinet/in.h/conform): Likewise.
23004         (test-xfail-XPG4/signal.h/conform): Likewise.
23005         (test-xfail-XPG4/stdio.h/conform): Likewise.
23006         (test-xfail-XPG4/stdlib.h/conform): Likewise.
23007         (test-xfail-XPG4/stropts.h/conform): Likewise.
23008         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
23009         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
23010         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
23011         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
23012         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
23013         (test-xfail-XPG4/sys/stat.h/conform): Likewise.
23014         (test-xfail-XPG4/sys/time.h/conform): Likewise.
23015         (test-xfail-XPG4/sys/types.h/conform): Likewise.
23016         (test-xfail-XPG4/sys/wait.h/conform): Likewise.
23017         (test-xfail-XPG4/termios.h/conform): Likewise.
23018         (test-xfail-XPG4/ucontext.h/conform): Likewise.
23019         (test-xfail-XPG4/unistd.h/conform): Likewise.
23020         (test-xfail-XPG4/utmpx.h/conform): Likewise.
23021         (test-xfail-POSIX/sched.h/conform): Likewise.
23022         (test-xfail-POSIX/signal.h/conform): Likewise.
23023         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
23024         (test-xfail-POSIX/tar.h/conform): Likewise.
23025         (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
23026         (test-xfail-UNIX98/fcntl.h/conform): Likewise.
23027         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
23028         (test-xfail-UNIX98/netdb.h/conform): Likewise.
23029         (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
23030         (test-xfail-UNIX98/sched.h/conform): Likewise.
23031         (test-xfail-UNIX98/signal.h/conform): Likewise.
23032         (test-xfail-UNIX98/stdio.h/conform): Likewise.
23033         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
23034         (test-xfail-UNIX98/stropts.h/conform): Likewise.
23035         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
23036         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
23037         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
23038         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
23039         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
23040         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
23041         (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
23042         (test-xfail-UNIX98/ucontext.h/conform): Likewise.
23043         (test-xfail-UNIX98/unistd.h/conform): Likewise.
23044         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
23045         (test-xfail-XOPEN2K/aio.h/conform): Likewise.
23046         (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
23047         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
23048         (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
23049         (test-xfail-XOPEN2K/math.h/conform): Likewise.
23050         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
23051         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
23052         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
23053         (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
23054         (test-xfail-XOPEN2K/signal.h/conform): Likewise.
23055         (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
23056         (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
23057         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
23058         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
23059         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
23060         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
23061         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
23062         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
23063         (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
23064         (test-xfail-XOPEN2K/termios.h/conform): Likewise.
23065         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
23066         (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
23067         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
23068         (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
23069         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
23070         (test-xfail-POSIX2008/netdb.h/conform): Likewise.
23071         (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
23072         (test-xfail-POSIX2008/signal.h/conform): Likewise.
23073         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
23074         (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
23075         (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
23076         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
23077         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
23078         (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
23079         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
23080         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
23081         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
23082         (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
23083         (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
23084         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
23085         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
23086         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
23087         (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
23088         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
23089         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
23090         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
23091         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
23092         (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
23093         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
23094         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
23095         (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
23096         (conformtest-cc-flags): Likewise.
23097         ($(conformtest-header-tests): New target.
23098         * conform/check-header-lists.sh: New file.
23099         * conform/run-conformtest.sh: Remove.
23101         * conform/conformtest.pl: Allow ' and \ in values given for
23102         constants.
23103         * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
23104         inclusion.
23105         [POSIX] (sys/types.h): Likewise.
23106         [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
23107         inclusion.
23108         [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
23109         inclusion.
23110         * conform/data/signal.h-data (SIGIO): Remove expectation.
23111         [XPG3] (SIGBUS): Do not expect.
23112         [POSIX || XPG3] (SIGPOLL): Likewise.
23113         [POSIX || XPG3] (SIGPROF): Likewise.
23114         [POSIX || XPG3] (SIGSYS): Likewise.
23115         [XPG3] (SIGTRAP): Likewise.
23116         [POSIX || XPG3] (SIGURG): Likewise.
23117         [POSIX || XPG3] (SIGVTALRM): Likewise.
23118         [POSIX || XPG3] (SIGXCPU): Likewise.
23119         [POSIX || XPG3] (SIGXFSZ): Likewise.
23120         [POSIX] (SA_SIGINFO): Expect.
23121         [XPG3] (siginfo_t): Do not expect type or contents.
23122         [POSIX] (si_pid): Do not expect element.
23123         [POSIX] (si_uid): Likewise.
23124         [POSIX] (si_addr): Likewise.
23125         [POSIX] (si_status): Likewise.
23126         [POSIX] (si_band): Likewise.
23127         [XPG4] (si_value): Likewise.
23128         [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
23129         [POSIX || XPG3] (ILL_ILLOPN): Likewise.
23130         [POSIX || XPG3] (ILL_ILLADR): Likewise.
23131         [POSIX || XPG3] (ILL_ILLTRP): Likewise.
23132         [POSIX || XPG3] (ILL_PRVOPC): Likewise.
23133         [POSIX || XPG3] (ILL_PRVREG): Likewise.
23134         [POSIX || XPG3] (ILL_COPROC): Likewise.
23135         [POSIX || XPG3] (ILL_BADSTK): Likewise.
23136         [POSIX || XPG3] (FPE_INTDIV): Likewise.
23137         [POSIX || XPG3] (FPE_INTOVF): Likewise.
23138         [POSIX || XPG3] (FPE_FLTDIV): Likewise.
23139         [POSIX || XPG3] (FPE_FLTOVF): Likewise.
23140         [POSIX || XPG3] (FPE_FLTUND): Likewise.
23141         [POSIX || XPG3] (FPE_FLTRES): Likewise.
23142         [POSIX || XPG3] (FPE_FLTINV): Likewise.
23143         [POSIX || XPG3] (FPE_FLTSUB): Likewise.
23144         [POSIX || XPG3] (SEGV_MAPERR): Likewise.
23145         [POSIX || XPG3] (SEGV_ACCERR): Likewise.
23146         [POSIX || XPG3] (BUS_ADRALN): Likewise.
23147         [POSIX || XPG3] (BUS_ADRERR): Likewise.
23148         [POSIX || XPG3] (BUS_OBJERR): Likewise.
23149         [POSIX || XPG3] (CLD_EXITED): Likewise.
23150         [POSIX || XPG3] (CLD_KILLED): Likewise.
23151         [POSIX || XPG3] (CLD_DUMPED): Likewise.
23152         [POSIX || XPG3] (CLD_TRAPPED): Likewise.
23153         [POSIX || XPG3] (CLD_STOPPED): Likewise.
23154         [POSIX || XPG3] (CLD_CONTINUED): Likewise.
23155         [POSIX || XPG3] (POLL_IN): Likewise.
23156         [POSIX || XPG3] (POLL_OUT): Likewise.
23157         [POSIX || XPG3] (POLL_MSG): Likewise.
23158         [POSIX || XPG3] (POLL_ERR): Likewise.
23159         [POSIX || XPG3] (POLL_PRI): Likewise.
23160         [POSIX || XPG3] (POLL_HUP): Likewise.
23161         [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
23162         [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
23163         (SIG*): Do not allow.
23164         [XPG3] (si_*): Likewise.
23165         [XPG3] (SI_*): Likewise.
23166         [XPG3 || XPG4] (sigev_*): Likewise.
23167         [XPG3 || XPG4] (SIGEV_*): Likewise.
23168         [XPG3 || XPG4] (sival_*): Likewise.
23169         [POSIX || XPG3 || XPG4] (uc_*): Likewise.
23170         [POSIX || XPG3] (BUS_*): Likewise.
23171         [POSIX || XPG3] (CLD_*): Likewise.
23172         [POSIX || XPG3] (FPE_*): Likewise.
23173         [POSIX || XPG3] (ILL_*): Likewise.
23174         [POSIX || XPG3] (POLL_*): Likewise.
23175         [POSIX || XPG3] (SEGV_*): Likewise.
23176         [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
23177         [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
23178         [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
23179         [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
23180         [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
23181         * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
23182         Specify type and value.
23183         (TVERSLEN): Likewise.
23184         (REGTYPE): Likewise.
23185         (AREGTYPE): Likewise.
23186         (LNKTYPE): Likewise.
23187         (SYMTYPE): Likewise.
23188         (CHRTYPE): Likewise.
23189         (BLKTYPE): Likewise.
23190         (DIRTYPE): Likewise.
23191         (FIFOTYPE): Likewise.
23192         (CONTTYPE): Likewise.
23193         (TSUID): Likewise.
23194         (TSGID): Likewise.
23195         (TSVTX): Likewise.
23196         (TUREAD): Likewise.
23197         (TUWRITE): Likewise.
23198         (TUEXEC): Likewise.
23199         (TGREAD): Likewise.
23200         (TGWRITE): Likewise.
23201         (TGEXEC): Likewise.
23202         (TOREAD): Likewise.
23203         (TOWRITE): Likewise.
23204         (TOEXEC): Likewise.
23205         [POSIX] (TSVTX): Expect constant.
23207 2014-03-06  Joseph Myers  <joseph@codesourcery.com>
23209         * Makefile (tests): Change dependencies to ....
23210         (tests-special): ... additions to this variable.
23211         (tests): Depend on $(tests-special).
23212         * Makerules (check-abi-list): New variable.
23213         (check-abi): Depend on $(check-abi-list).
23214         [$(subdir) = elf] (tests-special): Add
23215         $(objpfx)check-abi-libc.out.
23216         [$(build-shared) = yes && subdir] (tests-special): Add
23217         $(check-abi-list).
23218         [$(build-shared) = yes && subdir] (tests): Do not depend on
23219         check-abi.
23220         * Rules (tests): Depend on $(tests-special).
23221         (xtests): Depend on $(xtests-special).
23222         * catgets/Makefile (tests): Change dependencies to ....
23223         (tests-special): ... additions to this variable.
23224         * conform/Makefile (tests): Change dependencies to ....
23225         (tests-special): ... additions to this variable.
23226         * elf/Makefile (tests): Change dependencies to ....
23227         (tests-special): ... additions to this variable.
23228         * grp/Makefile (tests): Change dependencies to ....
23229         (tests-special): ... additions to this variable.
23230         * iconv/Makefile (xtests): Change dependencies to ....
23231         (xtests-special): ... additions to this variable.
23232         * iconvdata/Makefile (tests): Change dependencies to ....
23233         (tests-special): ... additions to this variable.
23234         * intl/Makefile (tests): Change dependencies to ....
23235         (tests-special): ... additions to this variable.  Also add
23236         $(objpfx)tst-gettext.out.
23237         * io/Makefile (tests): Change dependencies to ....
23238         (tests-special): ... additions to this variable.
23239         * libio/Makefile (tests): Change dependencies to ....
23240         (tests-special): ... additions to this variable.
23241         * malloc/Makefile (tests): Change dependencies to ....
23242         (tests-special): ... additions to this variable.
23243         * misc/Makefile (tests): Change dependencies to ....
23244         (tests-special): ... additions to this variable.
23245         * nptl/Makefile (tests): Change dependencies to ....
23246         (tests-special): ... additions to this variable.
23247         * nptl_db/Makefile (tests): Change dependencies to ....
23248         (tests-special): ... additions to this variable.
23249         * posix/Makefile (tests): Change dependencies to ....
23250         (tests-special): ... additions to this variable.
23251         (xtests): Change dependencies to ....
23252         (xtests-special): ... additions to this variable.
23253         * resolv/Makefile (tests): Change dependencies to ....
23254         (tests-special): ... additions to this variable.
23255         (xtests): Change dependencies to ....
23256         (xtests-special): ... additions to this variable.
23257         * stdio-common/Makefile (tests): Change dependencies to ....
23258         (tests-special): ... additions to this variable.
23259         (do-tst-unbputc): Remove target.
23260         (do-tst-printf): Likewise.
23261         * stdlib/Makefile (tests): Change dependencies to ....
23262         (tests-special): ... additions to this variable.
23263         * string/Makefile (tests): Change dependencies to ....
23264         (tests-special): ... additions to this variable.
23265         * sysdeps/x86/Makefile (tests): Change dependencies to ....
23266         (tests-special): ... additions to this variable.
23268         * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
23269         whole file.
23270         * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
23271         whole file.
23272         * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
23273         * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
23275         * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
23276         * conform/data/arpa/inet.h-data [XPG3]: Likewise.
23277         * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
23278         * conform/data/fmtmsg.h-data [XPG3]: Likewise.
23279         * conform/data/libgen.h-data [XPG3]: Likewise.
23280         * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
23281         * conform/data/ndbm.h-data [XPG3]: Likewise.
23282         * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
23283         * conform/data/netdb.h-data [XPG3]: Likewise.
23284         * conform/data/netinet/in.h-data [XPG3]: Likewise.
23285         * conform/data/poll.h-data [XPG3]: Likewise.
23286         * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
23287         * conform/data/strings.h-data [XPG3]: Likewise.
23288         * conform/data/stropts.h-data [XPG3]: Likewise.
23289         * conform/data/sys/mman.h-data [XPG3]: Likewise.
23290         * conform/data/sys/resource.h-data [XPG3]: Likewise.
23291         * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
23292         Likewise.
23293         * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
23294         * conform/data/sys/time.h-data [XPG3]: Likewise.
23295         * conform/data/sys/timeb.h-data [XPG3]: Likewise.
23296         * conform/data/sys/uio.h-data [XPG3]: Likewise.
23297         * conform/data/sys/un.h-data [XPG3]: Likewise.
23298         * conform/data/syslog.h-data [XPG3]: Likewise.
23299         * conform/data/ucontext.h-data [XPG3]: Likewise.
23300         * conform/data/utmpx.h-data [XPG3]: Likewise.
23301         * conform/data/varargs.h-data [UNIX98]: Enable file.
23303         * manual/Makefile (INSTALL_INFO): Remove variable setting.
23305         * math/libm-test.inc (struct test_f_f_data): Move expected results
23306         into structure for each rounding mode.
23307         (struct test_ff_f_data): Likewise.
23308         (struct test_ff_f_data_nexttoward): Likewise.
23309         (struct test_fi_f_data): Likewise.
23310         (struct test_fl_f_data): Likewise.
23311         (struct test_if_f_data): Likewise.
23312         (struct test_fff_f_data): Likewise.
23313         (struct test_c_f_data): Likewise.
23314         (struct test_f_f1_data): Likewise.
23315         (struct test_fF_f1_data): Likewise.
23316         (struct test_ffI_f1_data): Likewise.
23317         (struct test_c_c_data): Likewise.
23318         (struct test_cc_c_data): Likewise.
23319         (struct test_f_i_data): Likewise.
23320         (struct test_ff_i_data): Likewise.
23321         (struct test_f_l_data): Likewise.
23322         (struct test_f_L_data): Likewise.
23323         (struct test_fFF_11_data): Likewise.
23324         (RM_): New macro.
23325         (RM_FE_DOWNWARD): Likewise.
23326         (RM_FE_TONEAREST): Likewise.
23327         (RM_FE_TOWARDZERO): Likewise.
23328         (RM_FE_UPWARD): Likewise.
23329         (RUN_TEST_LOOP_f_f): Update references to expected results.
23330         (RUN_TEST_LOOP_2_f): Likewise.
23331         (RUN_TEST_LOOP_fff_f): Likewise.
23332         (RUN_TEST_LOOP_c_f): Likewise.
23333         (RUN_TEST_LOOP_f_f1): Likewise.
23334         (RUN_TEST_LOOP_fF_f1): Likewise.
23335         (RUN_TEST_LOOP_fI_f1): Likewise.
23336         (RUN_TEST_LOOP_ffI_f1): Likewise.
23337         (RUN_TEST_LOOP_c_c): Likewise.
23338         (RUN_TEST_LOOP_cc_c): Likewise.
23339         (RUN_TEST_LOOP_f_i): Likewise.
23340         (RUN_TEST_LOOP_f_i_tg): Likewise.
23341         (RUN_TEST_LOOP_ff_i_tg): Likewise.
23342         (RUN_TEST_LOOP_f_b): Likewise.
23343         (RUN_TEST_LOOP_f_b_tg): Likewise.
23344         (RUN_TEST_LOOP_f_l): Likewise.
23345         (RUN_TEST_LOOP_f_L): Likewise.
23346         (RUN_TEST_LOOP_fFF_11): Likewise.
23347         * math/gen-libm-test.pl (parse_args): Output four copies of
23348         expected results for each test.
23350         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
23351         (__ASSUME_UTIMES): Remove.
23352         * sysdeps/unix/sysv/linux/tile/kernel-features.h
23353         (__ASSUME_UTIMES): Likewise.
23355         * math/gen-auto-libm-tests.c: Update comment on output format.
23356         (output_for_one_input_case): Generate before-rounding and
23357         after-rounding information as conditions on output flags not
23358         floating-point format.
23359         * math/auto-libm-test-out: Regenerated.
23360         * math/gen-libm-test.pl (cond_value): New function.
23361         (or_cond_value): Use cond_value.
23362         (generate_testfile): Handle conditional exceptions.
23364 2014-03-05  Joseph Myers  <joseph@codesourcery.com>
23366         * math/libm-test.inc (max_valid_error): New variable.
23367         (init_max_error): Take new argument specifying whether function
23368         results are exactly determined.  Set max_valid_error and bound
23369         other variables for errors based on this argument.
23370         (set_max_error): Do not record results above max_valid_error.
23371         (check_float_internal): Only accept errors of up to 0.5ulps if
23372         also at most max_valid_error.
23373         (START): Take new argument EXACT and pass it to init_max_error.
23374         (acos_test): Update call to START.
23375         (acos_test_tonearest): Likewise.
23376         (acos_test_towardzero): Likewise.
23377         (acos_test_downward): Likewise.
23378         (acos_test_upward): Likewise.
23379         (acosh_test): Likewise.
23380         (asin_test): Likewise.
23381         (asin_test_tonearest): Likewise.
23382         (asin_test_towardzero): Likewise.
23383         (asin_test_downward): Likewise.
23384         (asin_test_upward): Likewise.
23385         (asinh_test): Likewise.
23386         (atan_test): Likewise.
23387         (atanh_test): Likewise.
23388         (atan2_test): Likewise.
23389         (cabs_test): Likewise.
23390         (cacos_test): Likewise.
23391         (cacosh_test): Likewise.
23392         (carg_test): Likewise.
23393         (casin_test): Likewise.
23394         (casinh_test): Likewise.
23395         (catan_test): Likewise.
23396         (catanh_test): Likewise.
23397         (cbrt_test): Likewise.
23398         (ccos_test): Likewise.
23399         (ccosh_test): Likewise.
23400         (ceil_test): Likewise.
23401         (cexp_test): Likewise.
23402         (cimag_test): Likewise.
23403         (clog_test): Likewise.
23404         (clog10_test): Likewise.
23405         (conj_test): Likewise.
23406         (copysign_test): Likewise.
23407         (cos_test): Likewise.
23408         (cos_test_tonearest): Likewise.
23409         (cos_test_towardzero): Likewise.
23410         (cos_test_downward): Likewise.
23411         (cos_test_upward): Likewise.
23412         (cosh_test): Likewise.
23413         (cosh_test_tonearest): Likewise.
23414         (cosh_test_towardzero): Likewise.
23415         (cosh_test_downward): Likewise.
23416         (cosh_test_upward): Likewise.
23417         (cpow_test): Likewise.
23418         (cproj_test): Likewise.
23419         (creal_test): Likewise.
23420         (csin_test): Likewise.
23421         (csinh_test): Likewise.
23422         (csqrt_test): Likewise.
23423         (ctan_test): Likewise.
23424         (ctan_test_tonearest): Likewise.
23425         (ctan_test_towardzero): Likewise.
23426         (ctan_test_downward): Likewise.
23427         (ctan_test_upward): Likewise.
23428         (ctanh_test): Likewise.
23429         (ctanh_test_tonearest): Likewise.
23430         (ctanh_test_towardzero): Likewise.
23431         (ctanh_test_downward): Likewise.
23432         (ctanh_test_upward): Likewise.
23433         (erf_test): Likewise.
23434         (erfc_test): Likewise.
23435         (exp_test): Likewise.
23436         (exp_test_tonearest): Likewise.
23437         (exp_test_towardzero): Likewise.
23438         (exp_test_downward): Likewise.
23439         (exp_test_upward): Likewise.
23440         (exp10_test): Likewise.
23441         (exp10_test_tonearest): Likewise.
23442         (exp10_test_towardzero): Likewise.
23443         (exp10_test_downward): Likewise.
23444         (exp10_test_upward): Likewise.
23445         (pow10_test): Likewise.
23446         (exp2_test): Likewise.
23447         (expm1_test): Likewise.
23448         (expm1_test_tonearest): Likewise.
23449         (expm1_test_towardzero): Likewise.
23450         (expm1_test_downward): Likewise.
23451         (expm1_test_upward): Likewise.
23452         (fabs_test): Likewise.
23453         (fdim_test): Likewise.
23454         (floor_test): Likewise.
23455         (fma_test): Likewise.
23456         (fma_test_towardzero): Likewise.
23457         (fma_test_downward): Likewise.
23458         (fma_test_upward): Likewise.
23459         (fmax_test): Likewise.
23460         (fmin_test): Likewise.
23461         (fmod_test): Likewise.
23462         (fpclassify_test): Likewise.
23463         (frexp_test): Likewise.
23464         (hypot_test): Likewise.
23465         (ilogb_test): Likewise.
23466         (isfinite_test): Likewise.
23467         (finite_test): Likewise.
23468         (isgreater_test): Likewise.
23469         (isgreaterequal_test): Likewise.
23470         (isinf_test): Likewise.
23471         (isless_test): Likewise.
23472         (islessequal_test): Likewise.
23473         (islessgreater_test): Likewise.
23474         (isnan_test): Likewise.
23475         (isnormal_test): Likewise.
23476         (issignaling_test): Likewise.
23477         (isunordered_test): Likewise.
23478         (j0_test): Likewise.
23479         (j1_test): Likewise.
23480         (jn_test): Likewise.
23481         (ldexp_test): Likewise.
23482         (lgamma_test): Likewise.
23483         (gamma_test): Likewise.
23484         (lrint_test): Likewise.
23485         (lrint_test_tonearest): Likewise.
23486         (lrint_test_towardzero): Likewise.
23487         (lrint_test_downward): Likewise.
23488         (lrint_test_upward): Likewise.
23489         (llrint_test): Likewise.
23490         (llrint_test_tonearest): Likewise.
23491         (llrint_test_towardzero): Likewise.
23492         (llrint_test_downward): Likewise.
23493         (llrint_test_upward): Likewise.
23494         (log_test): Likewise.
23495         (log10_test): Likewise.
23496         (log1p_test): Likewise.
23497         (log2_test): Likewise.
23498         (logb_test): Likewise.
23499         (logb_test_downward): Likewise.
23500         (lround_test): Likewise.
23501         (llround_test): Likewise.
23502         (modf_test): Likewise.
23503         (nearbyint_test): Likewise.
23504         (nextafter_test): Likewise.
23505         (nexttoward_test): Likewise.
23506         (pow_test): Likewise.
23507         (pow_test_tonearest): Likewise.
23508         (pow_test_towardzero): Likewise.
23509         (pow_test_downward): Likewise.
23510         (pow_test_upward): Likewise.
23511         (remainder_test): Likewise.
23512         (drem_test): Likewise.
23513         (remainder_test_tonearest): Likewise.
23514         (drem_test_tonearest): Likewise.
23515         (remainder_test_towardzero): Likewise.
23516         (drem_test_towardzero): Likewise.
23517         (remainder_test_downward): Likewise.
23518         (drem_test_downward): Likewise.
23519         (remainder_test_upward): Likewise.
23520         (drem_test_upward): Likewise.
23521         (remquo_test): Likewise.
23522         (rint_test): Likewise.
23523         (rint_test_tonearest): Likewise.
23524         (rint_test_towardzero): Likewise.
23525         (rint_test_downward): Likewise.
23526         (rint_test_upward): Likewise.
23527         (round_test): Likewise.
23528         (scalb_test): Likewise.
23529         (scalbn_test): Likewise.
23530         (scalbln_test): Likewise.
23531         (signbit_test): Likewise.
23532         (sin_test): Likewise.
23533         (sin_test_tonearest): Likewise.
23534         (sin_test_towardzero): Likewise.
23535         (sin_test_downward): Likewise.
23536         (sin_test_upward): Likewise.
23537         (sincos_test): Likewise.
23538         (sinh_test): Likewise.
23539         (sinh_test_tonearest): Likewise.
23540         (sinh_test_towardzero): Likewise.
23541         (sinh_test_downward): Likewise.
23542         (sinh_test_upward): Likewise.
23543         (sqrt_test): Likewise.
23544         (sqrt_test_tonearest): Likewise.
23545         (sqrt_test_towardzero): Likewise.
23546         (sqrt_test_downward): Likewise.
23547         (sqrt_test_upward): Likewise.
23548         (tan_test): Likewise.
23549         (tan_test_tonearest): Likewise.
23550         (tan_test_towardzero): Likewise.
23551         (tan_test_downward): Likewise.
23552         (tan_test_upward): Likewise.
23553         (tanh_test): Likewise.
23554         (tgamma_test): Likewise.
23555         (trunc_test): Likewise.
23556         (y0_test): Likewise.
23557         (y1_test): Likewise.
23558         (yn_test): Likewise.
23559         (significand_test): Likewise.
23561         * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
23562         individual tests in comment.
23563         (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
23564         (prev_max_error): New variable.
23565         (prev_real_max_error): Likewise.
23566         (prev_imag_max_error): Likewise.
23567         (compare_ulp_data): Don't refer to test names in comment.
23568         (find_test_ulps): Remove function.
23569         (find_function_ulps): Likewise.
23570         (find_complex_function_ulps): Likewise.
23571         (init_max_error): Take function name as argument.  Look up ulps
23572         for that function.
23573         (print_ulps): Remove function.
23574         (print_max_error): Use prev_max_error instead of calling
23575         find_function_ulps.
23576         (print_complex_max_error): Use prev_real_max_error and
23577         prev_imag_max_error instead of calling find_complex_function_ulps.
23578         (check_float_internal): Take max_ulp parameter instead of calling
23579         find_test_ulps.  Don't call print_ulps.
23580         (check_float): Update call to check_float_internal.
23581         (check_complex): Update calls to check_float_internal.
23582         (START): Pass argument to init_max_error.
23583         * math/gen-libm-test.pl (%results): Don't include "kind"
23584         information.
23585         (parse_ulps): Don't handle ulps of individual tests.
23586         (print_ulps_file): Likewise.
23587         (output_ulps): Likewise.
23588         * math/README.libm-test: Update.
23589         * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
23590         individual tests.
23591         * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
23592         * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
23593         * sysdeps/arm/libm-test-ulps: Likewise.
23594         * sysdeps/i386/fpu/libm-test-ulps: Likewise.
23595         * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
23596         * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
23597         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
23598         * sysdeps/microblaze/libm-test-ulps: Likewise.
23599         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
23600         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
23601         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
23602         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
23603         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
23604         * sysdeps/sh/libm-test-ulps: Likewise.
23605         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
23606         * sysdeps/tile/libm-test-ulps: Likewise.
23607         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23609 2014-03-04  Joseph Myers  <joseph@codesourcery.com>
23611         * math/libm-test.inc (print_complex_max_error): Check separately
23612         whether real and imaginary errors are within allowed range and
23613         pass 0 to print_complex_function_ulps instead of value within
23614         allowed range.
23616 2014-03-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
23618         * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
23619         formatting.
23620         (get_handles_fopen): Likewise.
23621         (do_write_test): Likewise.
23623         * libio/wfileops.c (do_ftell_wide): Fix up formatting.
23625         * libio/fileops.c (do_ftell): Use cached offset when
23626         available.
23627         * libio/iofwide.c (do_ftell_wide): Likewise.
23628         * libio/iofdopen.c (_IO_new_fdopen): Don't use
23629         _IO_file_attach.
23630         * libio/wfileops.c (_IO_fwide): Don't cache offset.
23632         [BZ #16532]
23633         * libio/libioP.h (get_file_offset): New function.
23634         * libio/fileops.c (get_file_offset): Likewise.
23635         (do_ftell): Likewise.
23636         (_IO_new_file_seekoff): Split out ftell logic.
23637         * libio/wfileops.c (do_ftell_wide): Likewise.
23638         (_IO_wfile_seekoff): Split out ftell logic.
23639         * libio/tst-ftell-active-handler.c: New test case.
23640         * libio/Makefile (tests): Add it.
23642 2014-03-03  Roland McGrath  <roland@hack.frob.com>
23644         * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
23645         * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
23647 2014-03-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
23649         [BZ #16639]
23650         * nscd/connections.c (nscd_init): Call do_exit.
23651         (start_threads): Call do_exit and notify_parent.
23652         (begin_drop_privileges): Call do_exit.
23653         (finish_drop_privileges): Likewise.
23654         * nscd/selinux.c (preserve_capabilities): Likewise.
23655         (install_real_capabilities): Likewise.
23656         (nscd_selinux_enabled): Likewise.
23657         (avc_create_thread): Likewise.
23658         (avc_alloc_lock): Likewise.
23659         (nscd_avc_init): Likewise.
23660         * nscd/nscd.c (parent_fd): New static variable.
23661         (main): Create a pipe between parent and child processes.
23662         Skip closing parent_fd.
23663         (monitor_child): New function.
23664         (do_exit): Likewise.
23665         (notify_parent): Likewise.
23666         * nscd/nscd.h (notify_parent): Likewise.
23667         (do_exit): Likewise.
23669 2014-03-03  Carlos O'Donell  <carlos@redhat.com>
23671         * malloc/malloc.c (__libc_calloc): Revert last change.
23673 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23675         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23677 2014-03-03  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
23679         * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
23680         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
23681         implementation.
23682         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
23683         (__libc_ifunc_impl_list): Likewise.
23684         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
23685         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
23686         * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
23687         * string/strrchr.c: Define STRRCHR.
23689 2014-02-28  Ondřej Bílka  <neleai@seznam.cz>
23691         * benchtest/bench-strtok.c (simple_strtok): Delete.
23692         (strtok_string): Use as benchmark.
23693         * string/strtok (STRTOK): New macro.
23695 2014-02-28  Carlos O'Donell  <carlos@redhat.com>
23697         * manual/threads.texi: Add header and standard comments to all
23698         functions.
23700         * elf/dl-lookup.c (check_match): New function.
23701         (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
23702         (do_lookup_x): Remove nested function check_match. Use non-nested
23703         function check_match.
23705 2014-02-28  Roland McGrath  <roland@hack.frob.com>
23707         * csu/Makefile (generated, before-compile): Use += rather than =.
23708         * catgets/Makefile (generated, generated-dirs): Likewise.
23709         * debug/Makefile (generated): Likewise.
23710         * dlfcn/Makefile (generated): Likewise.
23711         * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
23712         * iconvdata/Makefile (before-compile, generated): Likewise.
23713         * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
23714         * libio/Makefile (generated): Likewise.
23715         * malloc/Makefile (generated): Likewise.
23716         * manual/Makefile (generated, generated-dirs): Likewise.
23717         * misc/Makefile (generated): Likewise.
23718         * posix/Makefile (generated): Likewise.
23719         * resolv/Makefile (generated): Likewise.
23720         * sunrpc/Makefile (generated, generated-dirs): Likewise.
23721         * timezone/Makefile (generated, generated-dirs): Likewise.
23723         * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
23725 2014-02-27  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23727         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
23728         power8 implementation.
23729         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
23730         file: POWER8 llround ifunc implementation.
23731         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
23732         (__lllround): Add POWER8 implementation.
23733         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
23734         POWER8 llround implementation.
23736         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
23737         power8 implementation.
23738         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
23739         file: POWER8 llrint ifunc implementation.
23740         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
23741         Add POWER8 implementation.
23742         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
23743         POWER8 llrint implementation.
23745         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
23746         power8 implementation.
23747         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
23748         file: POWER8 finite ifunc implementation.
23749         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
23750         Add POWER8 implementation.
23751         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
23752         Likewise.
23753         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
23754         POWER8 finite implementation.
23755         * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
23757         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
23758         power8 implementation.
23759         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
23760         file: POWER8 isinf ifunc implementation.
23761         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
23762         POWER8 implementation.
23763         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
23764         Likewise.
23765         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
23766         isinf implementation.
23767         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
23769         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
23770         (INIT_ARCH): Add hwcap2 initialization.
23771         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
23772         power8 implementation.
23773         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
23774         file: POWER8 isnan ifunc implementation.
23775         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
23776         POWER8 implementation.
23777         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
23778         Likewise.
23779         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
23780         isnan implementation.
23781         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
23783 2014-02-27  Joey Ye  <joey.ye@arm.com>
23785         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
23786         (_FP_NANFRAC_Q): Set to zero.
23788 2014-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
23790         [BZ #16623]
23791         * math/auto-libm-test-in: New test inputs.
23792         * math/auto-libm-test-out: Regenerate.
23793         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
23794         and DA.
23795         (__cos): Likewise.
23796         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
23798 2014-02-27  Joseph Myers  <joseph@codesourcery.com>
23800         * scripts/evaluate-test.sh: Take new argument indicating whether
23801         failure is expected.
23802         * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
23803         indicating whether failure is expected.
23804         * conform/Makefile (test-xfail-run-conformtest): New variable.
23805         ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
23806         level.
23807         * posix/Makefile (test-xfail-annexc): New variable.
23808         ($(objpfx)annexc.out): Don't expect to fail at makefile level.
23810 2014-02-26  Joseph Myers  <joseph@codesourcery.com>
23812         * argp/Makefile: Include Makeconfig immediately after defining
23813         subdir.
23814         * assert/Makefile: Likewise.
23815         * benchtests/Makefile: Likewise.
23816         * catgets/Makefile: Likewise.
23817         * conform/Makefile: Likewise.
23818         * crypt/Makefile: Likewise.
23819         * csu/Makefile: Likewise.
23820         (all): Remove target.
23821         * ctype/Makefile: Include Makeconfig immediately after defining
23822         subdir.
23823         * debug/Makefile: Likewise.
23824         * dirent/Makefile: Likewise.
23825         * dlfcn/Makefile: Likewise.
23826         * gmon/Makefile: Likewise.
23827         * gnulib/Makefile: Likewise.
23828         * grp/Makefile: Likewise.
23829         * gshadow/Makefile: Likewise.
23830         * hesiod/Makefile: Likewise.
23831         * hurd/Makefile: Likewise.
23832         (all): Remove target.
23833         * iconvdata/Makefile: Include Makeconfig immediately after
23834         defining subdir.
23835         * inet/Makefile: Likewise.
23836         * intl/Makefile: Likewise.
23837         * io/Makefile: Likewise.
23838         * libio/Makefile: Likewise.
23839         (all): Remove target.
23840         * locale/Makefile: Include Makeconfig immediately after defining
23841         subdir.
23842         * login/Makefile: Likewise.
23843         * mach/Makefile: Likewise.
23844         (all): Remove target.
23845         * malloc/Makefile: Include Makeconfig immediately after defining
23846         subdir.
23847         (all): Remove target.
23848         * manual/Makefile: Include Makeconfig immediately after defining
23849         subdir.
23850         * math/Makefile: Likewise.
23851         * misc/Makefile: Likewise.
23852         * nis/Makefile: Likewise.
23853         * nss/Makefile: Likewise.
23854         * po/Makefile: Likewise.
23855         (all): Remove target.
23856         * posix/Makefile: Include Makeconfig immediately after defining
23857         subdir.
23858         * pwd/Makefile: Likewise.
23859         * resolv/Makefile: Likewise.
23860         * resource/Makefile: Likewise.
23861         * rt/Makefile: Likewise.
23862         * setjmp/Makefile: Likewise.
23863         * shadow/Makefile: Likewise.
23864         * signal/Makefile: Likewise.
23865         * socket/Makefile: Likewise.
23866         * soft-fp/Makefile: Likewise.
23867         * stdio-common/Makefile: Likewise.
23868         * stdlib/Makefile: Likewise.
23869         * streams/Makefile: Likewise.
23870         * string/Makefile: Likewise.
23871         * sunrpc/Makefile: Likewise.
23872         (all): Remove target.
23873         * sysvipc/Makefile: Include Makeconfig immediately after defining
23874         subdir.
23875         * termios/Makefile: Likewise.
23876         * time/Makefile: Likewise.
23877         * timezone/Makefile: Likewise.
23878         (all): Remove target.
23879         * wcsmbs/Makefile: Include Makeconfig immediately after defining
23880         subdir.
23881         * wctype/Makefile: Likewise.
23883 2014-02-26  Steve Ellcey  <sellcey@mips.com>
23885         * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
23886         (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
23887         (libc_feholdexcept_setround_mips): Ditto.
23888         (libc_feholdsetround): New.
23889         (libc_feholdsetroundf): New.
23890         (libc_feholdsetroundl): New.
23891         (libc_feupdateenv_test_mips): New.
23892         (libc_feupdateenv_test): New.
23893         (libc_feupdateenv_testf): New.
23894         (libc_feupdateenv_testl): New.
23895         (libc_feresetround): New.
23896         (libc_feresetroundf): New.
23897         (libc_feresetroundl): New.
23898         (libc_fetestexcept_mips): New.
23899         (libc_fetestexcept): New.
23900         (libc_fetestexceptf): New.
23901         (libc_fetestexceptl): New.
23902         (HAVE_RM_CTX): New.
23903         (libc_feholdexcept_setround_mips_ctx): New.
23904         (libc_feholdexcept_setround_ctx): New.
23905         (libc_feholdexcept_setroundf_ctx): New.
23906         (libc_feholdexcept_setroundl_ctx): New.
23907         (libc_fesetenv_mips_ctx): New.
23908         (libc_fesetenv_ctx): New.
23909         (libc_fesetenv_ctxf): New.
23910         (libc_fesetenv_ctxl): New.
23911         (libc_feupdateenv_mips_ctx): New.
23912         (libc_feupdateenv_ctx): New.
23913         (libc_feupdateenvf_ctx): New.
23914         (libc_feupdateenvl_ctx): New.
23915         (libc_feholdsetround_mips_ctx): New.
23916         (libc_feholdsetround_ctx): New.
23917         (libc_feholdsetroundf_ctx): New.
23918         (libc_feholdsetroundl_ctx): New.
23919         (libc_feresetround_mips_ctx): New.
23920         (libc_feresetround_ctx): New.
23921         (libc_feresetroundf_ctx): New.
23922         (libc_feresetroundl_ctx): New.
23924 2014-02-26  Carlos O'Donell  <carlos@redhat.com>
23926         * manual/ipc.texi (Semaphores): Use @Theglibc{}.
23928         * manual/ipc.texi: New file.
23929         * manual/Makefile (chapters): Add ipc.
23930         * manual/job.texi: Add "Inter-Process Communication" to next.
23931         * manual/process.texi: Add "Inter-Process Communication" to prev.
23933 2014-02-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23935         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23937 2014-02-26  Ondřej Bílka  <neleai@seznam.cz>
23939         * malloc/malloc.c (__libc_calloc): Simplify implementation.
23941         * manual/arith.texi: Fix spaces after sentences.
23942         * manual/charset.texi: Likewise.
23943         * manual/errno.texi: Likewise.
23944         * manual/install.texi: Likewise.
23945         * manual/llio.texi: Likewise.
23946         * manual/locale.texi: Likewise.
23947         * manual/maint.texi: Likewise.
23948         * manual/math.texi: Likewise.
23949         * manual/memory.texi: Likewise.
23950         * manual/message.texi: Likewise.
23951         * manual/probes.texi: Likewise.
23952         * manual/resource.texi: Likewise.
23953         * manual/signal.texi: Likewise.
23954         * manual/socket.texi: Likewise.
23955         * manual/stdio.texi: Likewise.
23956         * manual/string.texi: Likewise.
23957         * manual/time.texi: Likewise.
23958         * manual/users.texi: Likewise.
23960 2014-02-25  Carlos O'Donell  <carlos@redhat.com>
23962         [BZ #16632]
23963         * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
23964         _DEFAULT_SOURCE is defined.
23966 2014-02-25  Ulrich Drepper  <drepper@gmail.com>
23967             Carlos O'Donell  <carlos@redhat.com>
23969         [BZ #16613]
23970         * elf/dl-tls.c (_dl_count_modids): New function.
23971         * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
23972         * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
23973         audit library and increment generation counter.
23974         (_dl_allocate_tls_init): Add assertion to check TLS generation count.
23975         * elf/tst-audit9.c: New file.
23976         * elf/tst-auditmod9a.c: New file.
23977         * elf/tst-auditmod9b.c: New file.
23978         * elf/Makefile: Add rules to build and run tst-audit9.
23980 2014-02-25  Florian Weimer  <fweimer@redhat.com>
23982         [BZ #15347]
23983         * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
23985 2014-02-25  Will Newton  <will.newton@linaro.org>
23987         * sysdeps/arm/__longjmp.S: Include stap-probe.h.
23988         (__longjmp): Restore sp and lr before restoring callee
23989         saved registers.  Add longjmp and longjmp_target
23990         SystemTap probe point.
23991         * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
23992         * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
23993         Define to zero to match jmpbuf layout.
23994         * sysdeps/arm/setjmp.S: Include stap-probe.h.
23995         (__sigsetjmp): Save sp and lr before saving callee
23996         saved registers.  Add setjmp SystemTap probe point.
23998 2014-02-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
24000         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
24002 2014-02-24  Andreas Schwab  <schwab@suse.de>
24004         [BZ #15804]
24005         * elf/pldd.c (wait_for_ptrace_stop): New function.
24006         (main): Call it after attaching.
24008 2014-02-22  Roland McGrath  <roland@hack.frob.com>
24010         * Makerules ($(common-objpfx)Versions.v.i): No longer depend
24011         on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
24012         Versions files is now verboten.
24013         * hurd/Versions (libc: GLIBC_2.0):
24014         Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
24015         (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
24016         [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
24017         * mach/Versions: Likewise.
24019         * csu/Versions: Remove unused %include.
24020         * resolv/Versions: Likewise.
24022 2014-02-21  Joseph Myers  <joseph@codesourcery.com>
24024         * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
24025         ($(objpfx)check-local-headers.out): Likewise.
24026         ($(objpfx)begin-end-check.out): Likewise.
24027         * Makerules (check-abi-%.out): Likewise.
24028         * catgets/Makefile ($(objpfx)test1.cat): Likewise.
24029         ($(objpfx)test2.cat): Likewise.
24030         ($(objpfx)de/libc.cat): Likewise.
24031         ($(objpfx)test-gencat.out): Likewise.
24032         * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
24033         * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
24034         ($(objpfx)noload-mem): Likewise.
24035         ($(objpfx)tst-pathopt.out): Likewise.
24036         ($(objpfx)tst-rtld-load-self.out): Likewise.
24037         ($(objpfx)tst-array1-cmp.out): Likewise.
24038         ($(objpfx)tst-array1-static-cmp.out): Likewise.
24039         ($(objpfx)tst-array2-cmp.out): Likewise.
24040         ($(objpfx)tst-array3-cmp.out): Likewise.
24041         ($(objpfx)tst-array4-cmp.out): Likewise.
24042         ($(objpfx)tst-array5-cmp.out): Likewise.
24043         ($(objpfx)tst-array5-static-cmp.out): Likewise.
24044         ($(objpfx)check-textrel.out): Likewise.
24045         ($(objpfx)check-execstack.out): Likewise.
24046         ($(objpfx)check-localplt.out): Likewise.
24047         ($(objpfx)order2-cmp.out): Likewise.
24048         ($(objpfx)tst-leaks1-mem): Likewise.
24049         ($(objpfx)tst-leaks1-static-mem): Likewise.
24050         ($(objpfx)tst-initorder-cmp.out): Likewise.
24051         ($(objpfx)tst-initorder2-cmp.out): Likewise.
24052         ($(objpfx)tst-unused-dep.out): Likewise.
24053         ($(objpfx)tst-unused-dep-cmp.out): Likewise.
24054         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
24055         * iconv/Makefile (test-iconvconfig): Likewise.
24056         * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
24057         ($(objpfx)iconv-test.out): Likewise.
24058         ($(objpfx)tst-tables.out): Likewise.
24059         * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
24060         ($(objpfx)tst-gettext.out): Likewise.
24061         ($(objpfx)tst-translit.out): Likewise.
24062         ($(objpfx)tst-gettext2.out): Likewise.
24063         ($(objpfx)tst-gettext4.out): Likewise.
24064         ($(objpfx)tst-gettext6.out): Likewise.
24065         * io/Makefile ($(objpfx)ftwtest.out): Likewise.
24066         * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
24067         ($(objpfx)tst-fopenloc-cmp.out): Likewise.
24068         ($(objpfx)tst-fopenloc-mem.out): Likewise.
24069         * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
24070         * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
24071         * posix/Makefile ($(objpfx)globtest.out): Likewise.
24072         ($(objpfx)wordexp-tst.out): Likewise.
24073         ($(objpfx)annexc.out): Likewise.
24074         ($(objpfx)tst-fnmatch-mem): Likewise.
24075         ($(objpfx)bug-regex2-mem): Likewise.
24076         ($(objpfx)bug-regex14-mem): Likewise.
24077         ($(objpfx)bug-regex21-mem): Likewise.
24078         ($(objpfx)bug-regex31-mem): Likewise.
24079         ($(objpfx)tst-vfork3-mem): Likewise.
24080         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
24081         ($(objpfx)tst-pcre-mem): Likewise.
24082         ($(objpfx)tst-boost-mem): Likewise.
24083         ($(objpfx)tst-getconf.out): Likewise.
24084         ($(objpfx)bug-ga2-mem): Likewise.
24085         ($(objpfx)bug-glob2-mem): Likewise.
24086         * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
24087         ($(objpfx)mtrace-tst-leaks2): Likewise.
24088         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
24089         ($(objpfx)tst-printf.out): Likewise.
24090         ($(objpfx)tst-setvbuf1.out): Likewise.
24091         ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
24092         * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
24093         ($(objpfx)tst-fmtmsg.out): Likewise.
24094         * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
24095         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
24097         * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
24098         * bits/sigaction.h [__USE_MISC]: Likewise.
24099         * bits/waitstatus.h: Update #endif comments.
24100         * ctype/ctype.h: Likewise.
24101         * dirent/dirent.h: Likewise.
24102         [__USE_MISC]: Remove redundant conditionals.
24103         * grp/grp.h: Update #endif comments.
24104         [__USE_GNU]: Remove redundant conditionals.
24105         [__USE_MISC]: Likewise.
24106         * inet/netinet/in.h [__USE_GNU]: Likewise.
24107         * io/sys/stat.h [__USE_MISC]: Likewise.
24108         * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
24109         * libio/bits/stdio.h: Update #endif comments.
24110         [__USE_MISC]: Remove redundant conditionals.
24111         * libio/bits/stdio2.h [__USE_MISC]: Likewise.
24112         * libio/stdio.h: Update #endif comments.
24113         [__USE_MISC]: Remove redundant conditionals.
24114         * math/bits/math-finite.h [__USE_MISC]: Likewise.
24115         * math/bits/mathcalls.h [__USE_MISC]: Likewise.
24116         * math/math.h: Update #else and #endif comments.
24117         [__USE_MISC]: Remove redundant conditionals.
24118         * misc/sys/uio.h: Update #endif comments.
24119         * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
24120         * posix/glob.h [__USE_MISC]: Likewise.
24121         * posix/sys/types.h: Update #endif comments.
24122         [__USE_MISC]: Remove redundant conditionals.
24123         * posix/sys/wait.h: Update #endif comments.
24124         [__USE_MISC]: Remove redundant conditionals.
24125         * posix/unistd.h: Update #endif comments.
24126         [__USE_MISC]: Remove redundant conditionals.
24127         * pwd/pwd.h [__USE_GNU]: Likewise.
24128         [__USE_MISC]: Likewise.
24129         * resolv/netdb.h [__USE_GNU]: Likewise.
24130         * signal/signal.h: Update #endif comments.
24131         [__USE_MISC]: Remove redundant conditionals.
24132         * stdlib/stdlib.h: Update #else and #endif comments.
24133         [__USE_MISC]: Remove redundant conditionals.
24134         [__USE_GNU]: Likewise.
24135         * string/bits/string2.h [__USE_MISC]: Likewise.
24136         * string/string.h: Update #endif comments.
24137         [__USE_MISC]: Remove redundant conditionals.
24138         * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
24139         Likewise.
24140         * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
24141         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
24142         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
24143         Likewise.
24144         * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
24145         Likewise.
24146         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
24147         comments.
24148         [__USE_MISC]: Remove redundant conditionals.
24149         * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
24150         * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
24151         * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
24152         * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
24153         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
24154         Likewise.
24155         * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
24156         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
24157         Likewise.
24158         * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
24159         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
24160         Likewise.
24161         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
24162         Likewise.
24163         * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
24164         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
24165         Likewise.
24166         * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
24167         Likewise.
24168         * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
24169         * sysdeps/x86/bits/string.h: Update #endif comments.
24170         * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
24171         conditionals.
24172         * time/sys/time.h: Update #endif comments.
24173         * time/time.h: Likewise.
24174         [__USE_MISC]: Remove redundant conditionals.
24176 2014-02-21  Yury Gribov  <y.gribov@samsung.com>
24178         [BZ #16600]
24179         * sysdeps/arm/libm-test-ulps: Update for VFPv4.
24181 2014-02-21  Andreas Schwab  <schwab@linux-m68k.org>
24183         * Versions.def (librt): Add GLIBC_2.17.
24185 2014-02-21  Adam Conrad  <adconrad@0c3.net>
24187         * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
24188         synonym for _SYS_AUXV_H to allow direct inclusion.
24189         * sysdeps/sparc/bits/hwcap.h: Likewise.
24190         * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
24191         _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
24192         * sysdeps/sparc/sysdep.h: Likewise.
24194 2014-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
24196         * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
24198 2014-02-21  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
24200         * benchtests/bench-strrchr.c: Print length instead of position.
24202 2014-02-20  Joseph Myers  <joseph@codesourcery.com>
24204         [BZ #16611]
24205         * sysdeps/unix/sysv/linux/kernel-features.h
24206         [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
24207         (__ASSUME_SENDMMSG_SOCKETCALL): Define.
24208         [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
24209         __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
24210         Likewise.
24211         [__i386__ || __powerpc__ || __sh__ || __sparc__]
24212         (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
24213         [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
24214         (__ASSUME_SENDMMSG): Define instead of using previous
24215         [__LINUX_KERNEL_VERSION >= 0x020627] condition.
24216         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
24217         (__ASSUME_SENDMMSG_SYSCALL): Define.
24218         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
24219         [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
24220         Likewise.
24221         * sysdeps/unix/sysv/linux/arm/kernel-features.h
24222         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
24223         Likewise.
24224         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
24225         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
24226         Likewise.
24227         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
24228         && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
24229         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
24230         [__ASSUME_SENDMMSG]: Change conditionals to
24231         [__ASSUME_SENDMMSG_SOCKETCALL].
24232         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
24233         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
24234         Define.
24235         * sysdeps/unix/sysv/linux/mips/kernel-features.h
24236         [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
24237         Likewise.
24238         * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
24239         !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
24240         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
24241         [!__ASSUME_SENDMMSG]: Change conditional to
24242         [!__ASSUME_SENDMMSG_SOCKETCALL].
24243         * sysdeps/unix/sysv/linux/tile/kernel-features.h
24244         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
24245         Define.
24247         [BZ #16610]
24248         * sysdeps/unix/sysv/linux/kernel-features.h
24249         [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
24250         (__ASSUME_RECVMMSG_SOCKETCALL): Define.
24251         [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
24252         __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
24253         || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
24254         [__i386__ || __sparc__]
24255         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
24256         [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
24257         (__ASSUME_RECVMMSG): Define instead of using previous
24258         [__LINUX_KERNEL_VERSION >= 0x020621] condition.
24259         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
24260         (__ASSUME_RECVMMSG_SYSCALL): Define.
24261         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
24262         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
24263         Likewise.
24264         * sysdeps/unix/sysv/linux/arm/kernel-features.h
24265         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
24266         Likewise.
24267         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
24268         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
24269         Likewise.
24270         * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
24271         && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
24272         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
24273         [__ASSUME_RECVMMSG]: Change condition to
24274         [__ASSUME_RECVMMSG_SOCKETCALL].
24275         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
24276         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
24277         Define.
24278         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
24279         * sysdeps/unix/sysv/linux/mips/kernel-features.h
24280         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
24281         Likewise.
24282         * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
24283         !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
24284         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
24285         [!__ASSUME_RECVMMSG]: Change condition to
24286         [!__ASSUME_RECVMMSG_SOCKETCALL].
24287         * sysdeps/unix/sysv/linux/tile/kernel-features.h
24288         (__ASSUME_RECVMMSG_SYSCALL): Define.
24290         [BZ #16609]
24291         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
24292         __powerpc__ || __s390__ || __sh__ || __sparc__]
24293         (__ASSUME_SOCKETCALL): Define.
24294         [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
24295         (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
24296         [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
24297         || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
24298         __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
24299         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
24300         [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
24301         (__ASSUME_ACCEPT4): Define instead of using previous
24302         [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
24303         __powerpc__ || __sparc__ || __s390__)] condition.
24304         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
24305         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
24306         * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
24307         !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
24308         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
24309         [!__ASSUME_ACCEPT4]: Change condition to
24310         [!__ASSUME_ACCEPT4_SOCKETCALL].
24311         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
24312         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.  Correct
24313         condition to [__LINUX_KERNEL_VERSION >= 0x030200].
24314         * sysdeps/unix/sysv/linux/arm/kernel-features.h
24315         [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
24316         __ASSUME_ACCEPT4_SYSCALL.
24317         * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
24318         Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
24319         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
24320         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
24321         __ASSUME_ACCEPT4_SYSCALL.
24322         * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
24323         && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
24324         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
24325         [__ASSUME_ACCEPT4]: Change condition to
24326         [__ASSUME_ACCEPT4_SOCKETCALL].
24327         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
24328         (__ASSUME_SOCKETCALL): Define.
24329         [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
24330         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
24331         (__ASSUME_SOCKETCALL): Define.
24332         (__ASSUME_ACCEPT4): Remove.
24333         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
24334         Define.
24335         * sysdeps/unix/sysv/linux/mips/kernel-features.h
24336         [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
24337         Likewise.
24338         * sysdeps/unix/sysv/linux/tile/kernel-features.h
24339         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
24341         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
24342         macro.
24343         (HWCAP_ARM_LPAE): Likewise.
24344         (HWCAP_ARM_EVTSTRM): Likewise.
24345         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
24346         Add vpfd32, lpae and evtstrm.
24347         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
24348         Increase to 22.
24350 2014-02-19  Joseph Myers  <joseph@codesourcery.com>
24352         * math/auto-libm-test-in: Add tests of clog10.
24353         * math/auto-libm-test-out: Regenerated.
24354         * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
24355         * sysdeps/i386/fpu/libm-test-ulps: Update.
24356         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24358 2014-02-18  Andreas Schwab  <schwab@suse.de>
24360         [BZ #16574]
24361         * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
24362         Store non-zero if the second buffer was newly allocated.
24363         (send_dg): Likewise.
24364         (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
24365         to send_vc and send_dg.
24366         (res_nsend): Pass NULL for ansp2_malloced.
24367         * resolv/res_query.c (__libc_res_nquery): Add parameter
24368         answerp2_malloced and pass it down to __libc_res_nsend.
24369         (res_nquery): Pass additional NULL to __libc_res_nquery.
24370         (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
24371         down to __libc_res_nquery and __libc_res_nquerydomain.  Deallocate
24372         second answer buffer if answerp2_malloced was set.
24373         (res_nsearch): Pass additional NULL to __libc_res_nsearch.
24374         (__libc_res_nquerydomain): Add parameter
24375         answerp2_malloced and pass it down to __libc_res_nquery.
24376         (res_nquerydomain): Pass additional NULL to
24377         __libc_res_nquerydomain.
24378         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
24379         additional NULL to __libc_res_nsend and __libc_res_nquery.
24380         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
24381         additional NULL to __libc_res_nsearch.
24382         (_nss_dns_gethostbyname4_r): Revert last change.  Use new
24383         parameter of __libc_res_nsearch to check for separately allocated
24384         second buffer.
24385         (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
24386         __libc_res_nquery.
24387         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
24388         additional NULL to __libc_res_nquery.
24389         * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
24390         __libc_res_nsearch.
24391         (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
24392         * include/resolv.h: Update prototypes of __libc_res_nquery,
24393         __libc_res_nsearch, __libc_res_nsend.
24395 2014-02-18  Joseph Myers  <joseph@codesourcery.com>
24397         * math/auto-libm-test-in: Add tests of fma.
24398         * math/auto-libm-test-out: Regenerated.
24399         * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
24400         (fma_towardzero_test_data): Likewise.
24401         (fma_downward_test_data): Likewise.
24402         (fma_upward_test_data): Likewise.
24403         * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
24404         mpc_mode.
24405         (rounding_modes): Add values for new field.
24406         (func_calc_method): Add value mpfr_fff_f.
24407         (func_calc_desc): Add mpfr_fff_f union field.
24408         (test_function): Add field exact_args.
24409         (FUNC): Add macro argument EXACT_ARGS.
24410         (FUNC_mpfr_f_f): Update call to FUNC.
24411         (FUNC_mpfr_f_f): Likewise.
24412         (FUNC_mpfr_ff_f): Likewise.
24413         (FUNC_mpfr_if_f): Likewise.
24414         (FUNC_mpc_c_f): Likewise.
24415         (FUNC_mpc_c_c): Likewise.
24416         (test_functions): Add fma.  Update calls to FUNC.
24417         (handle_input_arg): Add argument exact_args.
24418         (add_test): Update call to handle_input_arg.
24419         (calc_generic_results): Add argument mode.  Handle mpfr_fff_f.
24420         (output_for_one_input_case): Update call to calc_generic_results.
24421         Recalculate exact zero results in each rounding mode.
24423         * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
24424         non-negative before setting low bit.
24425         * math/auto-libm-test-in: Mark one asin test possibly having
24426         spurious underflow.
24427         * math/auto-libm-test-out: Regenerated.
24428         * sysdeps/i386/fpu/libm-test-ulps: Update.
24429         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24431 2014-02-17  David Holsgrove <david.holsgrove@xilinx.com>
24433         * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
24434         * sysdeps/unix/sysv/linux/microblaze: Move directory from
24435         ports/sysdeps/unix/sysv/linux/microblaze.
24436         * README: Add missing listing for microblaze*-*-linux-gnu.
24438 2014-02-16  Ondřej Bílka  <neleai@seznam.cz>
24440         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
24441         duplicate code
24443 2014-02-16  Mike Frysinger  <vapier@gentoo.org>
24445         * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
24446         * sysdeps/unix/sysv/linux/ia64: Move directory from
24447         ports/sysdeps/unix/sysv/linux/ia64.
24448         * README: Update listing for ia64-*-linux-gnu.
24450 2014-02-14  Tomas Dohnalek  <tdohnale@redhat.com>
24451             Joseph Myers  <joseph@codesourcery.com>
24453         * Makeconfig (test-name): New variable.
24454         (evaluate-test): Likewise.
24455         * Makerules (do-test-clean): Remove .test-result files.
24456         (common-mostlyclean): Likewise.
24457         * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
24458         * scripts/evaluate-test.sh: New file.
24460 2014-02-14  Joseph Myers  <joseph@codesourcery.com>
24462         * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
24463         separate $(objpfx)tst-fopenloc-cmp.out and
24464         $(objpfx)tst-fopenloc-mem.out targets.
24465         (tests): Update dependencies.
24466         * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
24467         (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
24468         tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
24469         (tst-rxspencer-no-utf8-ARGS): New variable.
24470         (tst-rxspencer-no-utf8-ENV): Likewise.
24471         (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
24472         instead of $(objpfx)tst-rxspencer-mem.
24473         ($(objpfx)tst-rxspencer-mem): Change target to
24474         $(objpfx)tst-rxspencer-no-utf8-mem.  Depend on
24475         $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
24476         * posix/tst-rxspencer-no-utf8.c: New file.
24478         * elf/Makefile ($(objpfx)order.out): Remove rule.
24479         [$(run-built-tests) = yes] (tests): Depend on
24480         $(objpfx)order-cmp.out.
24481         ($(objpfx)order-cmp.out): New rule.
24482         [$(run-built-tests) = yes] (tests): Depend on
24483         $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
24484         $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
24485         $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
24486         $(objpfx)tst-array5-static-cmp.out.
24487         ($(objpfx)tst-array1.out): Remove rule.
24488         ($(objpfx)tst-array1-cmp.out): New rule.
24489         ($(objpfx)tst-array1-static.out): Remove rule.
24490         ($(objpfx)tst-array1-static-cmp.out): New rule.
24491         ($(objpfx)tst-array2.out): Remove rule.
24492         ($(objpfx)tst-array2-cmp.out): New rule.
24493         ($(objpfx)tst-array3.out): Remove rule.
24494         ($(objpfx)tst-array3-cmp.out): New rule.
24495         ($(objpfx)tst-array4.out): Remove rule.
24496         ($(objpfx)tst-array4-cmp.out): New rule.
24497         ($(objpfx)tst-array5.out): Remove rule.
24498         ($(objpfx)tst-array5-cmp.out): New rule.
24499         ($(objpfx)tst-array5-static.out): Remove rule.
24500         ($(objpfx)tst-array5-static-cmp.out): New rule.
24501         [$(run-built-tests) = yes] (tests): Depend on
24502         $(objpfx)order2-cmp.out.
24503         ($(objpfx)order2.out): Remove rule.
24504         ($(objpfx)order2-cmp.out): New rule.
24505         ($(objpfx)tst-initorder.out): Remove rule.
24506         [$(run-built-tests) = yes] (tests): Depend on
24507         $(objpfx)tst-initorder-cmp.out.
24508         ($(objpfx)tst-initorder-cmp.out): New rule.
24509         ($(objpfx)tst-initorder2.out): Remove rule.
24510         [$(run-built-tests) = yes] (tests): Depend on
24511         $(objpfx)tst-initorder2-cmp.out.
24512         ($(objpfx)tst-initorder2-cmp.out): New rule.
24513         [$(run-built-tests) = yes] (tests): Depend on
24514         $(objpfx)tst-unused-dep-cmp.out.
24515         ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
24516         ($(objpfx)tst-unused-dep-cmp.out): New rule.
24517         * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
24518         on $(objpfx)tst-setvbuf1-cmp.out.
24519         ($(objpfx)tst-setvbuf1.out): Do not run cmp.
24520         ($(objpfx)tst-setvbuf1-cmp.out): New rule.
24521         * string/Makefile [$(run-built-tests) = yes] (tests): Depend
24522         $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
24523         ($(objpfx)tst-svc.out): Remove rule.
24524         ($(objpfx)tst-svc-cmp.out): New rule.
24526 2014-02-13  Joseph Myers  <joseph@codesourcery.com>
24528         * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
24529         * ctype/ctype.h [__USE_MISC]: Likewise.
24530         * dirent/dirent.h [__USE_MISC]: Likewise.
24531         * grp/grp.h [__USE_MISC]: Likewise.
24532         * io/fcntl.h [__USE_MISC]: Likewise.
24533         * io/sys/stat.h [__USE_MISC]: Likewise.
24534         * libio/stdio.h [__USE_MISC]: Likewise.
24535         * posix/unistd.h [__USE_MISC]: Likewise.
24536         * pwd/pwd.h [__USE_MISC]: Likewise.
24537         * stdlib.h [__USE_MISC]: Likewise.
24538         * string/bits/string2.h [__USE_MISC]: Likewise.
24539         * string/string.h [__USE_MISC]: Likewise.
24540         * time/time.h [__USE_MISC]: Likewise.
24542 2014-02-13  Andreas Schwab  <schwab@suse.de>
24544         [BZ #16574]
24545         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
24546         second answer buffer if it was separately allocated.
24548 2014-02-12  Joseph Myers  <joseph@codesourcery.com>
24550         * sysdeps/mips/math-tests.h: Include <features.h>.
24551         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
24552         (ROUNDING_TESTS_long_double): Do not define.
24553         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
24554         (EXCEPTION_TESTS_long_double): Likewise.
24555         * sysdeps/mips/mips64/libm-test-ulps: Update.
24557         * include/features.h (__USE_BSD): Remove macro definitions.
24558         (__USE_SVID): Likewise.
24559         (_BSD_SOURCE): Likewise.
24560         (_SVID_SOURCE): Likewise.
24561         [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
24562         from definition of _DEFAULT_SOURCE.
24563         [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
24564         [_DEFAULT_SOURCE].
24565         * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
24566         * bits/mman.h [__USE_BSD]: Likewise.
24567         * bits/termios.h [__USE_BSD]: Likewise.
24568         * bits/waitstatus.h [__USE_BSD]: Likewise.
24569         * ctype/ctype.h [__USE_SVID]: Likewise.
24570         * dirent/dirent.h [__USE_BSD]: Likewise.
24571         * grp/grp.h [__USE_SVID]: Likewise.
24572         [__USE_BSD]: Likewise.
24573         * inet/netinet/igmp.h [__USE_BSD]: Likewise.
24574         * io/fcntl.h [__USE_BSD]: Likewise.
24575         * io/ftw.h [__USE_BSD]: Likewise.
24576         * io/sys/stat.h [__USE_BSD]: Likewise.
24577         * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
24578         * libio/bits/stdio2.h [__USE_BSD]: Likewise.
24579         * libio/stdio.h [__USE_SVID]: Likewise.
24580         [__USE_BSD]: Likewise.
24581         * math/math.h [__USE_SVID]: Likewise.
24582         [__USE_BSD]: Likewise.
24583         * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
24584         * misc/bits/syslog.h [__USE_BSD]: Likewise.
24585         * misc/search.h [__USE_SVID]: Likewise.
24586         * misc/sys/mman.h [__USE_BSD]: Likewise.
24587         * misc/sys/syslog.h [__USE_BSD]: Likewise.
24588         * misc/sys/uio.h [__USE_BSD]: Likewise.
24589         * posix/bits/unistd.h [__USE_BSD]: Likewise.
24590         * posix/glob.h [__USE_BSD]: Likewise.
24591         * posix/regex.h [__USE_BSD]: Likewise.
24592         * posix/sys/types.h [__USE_BSD]: Likewise.
24593         [__USE_SVID]: Likewise.
24594         * posix/sys/utsname.h [__USE_SVID]: Likewise.
24595         * posix/sys/wait.h [__USE_BSD]: Likewise.
24596         [__USE_SVID]: Likewise.
24597         * posix/unistd.h [__USE_BSD]: Likewise.
24598         [__USE_SVID]: Likewise.
24599         * pwd/pwd.h [__USE_SVID]: Likewise.
24600         * resolv/netdb.h [__USE_BSD]: Likewise.
24601         * setjmp/setjmp.h [__USE_BSD]: Likewise.
24602         * signal/signal.h [__USE_BSD]: Likewise.
24603         [__USE_SVID]: Likewise.
24604         * socket/sys/socket.h [__USE_BSD]: Likewise.
24605         * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
24606         * stdlib/stdlib.h [__USE_BSD]: Likewise.
24607         [__USE_SVID]: Likewise.
24608         * string/bits/string2.h [__USE_BSD]: Likewise.
24609         [__USE_SVID]: Likewise.
24610         * string/bits/string3.h [__USE_BSD]: Likewise.
24611         * string/endian.h [__USE_BSD]: Likewise.
24612         * string/string.h [__USE_SVID]: Likewise.
24613         [__USE_BSD]: Likewise.
24614         * string/strings.h [__USE_BSD]: Likewise.
24615         * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
24616         * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
24617         * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
24618         * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
24619         * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
24620         * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
24621         Likewise.
24622         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
24623         Likewise.
24624         * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
24625         * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
24626         Likewise.
24627         * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
24628         * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
24629         Likewise.
24630         * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
24631         Likewise.
24632         * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
24633         * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
24634         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
24635         Likewise.
24636         * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
24637         Likewise.
24638         * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
24639         * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
24640         * termios/termios.h [__USE_BSD]: Likewise.
24641         * time/sys/time.h [__USE_BSD]: Likewise.
24642         * time/time.h [__USE_BSD]: Likewise.
24643         [__USE_SVID]: Likewise.
24645         * Makefile (subdir_targets): Remove subdir_lint.out.
24647         * stdio-common/Makefile (do-tst-unbputc): Remove target.
24648         (do-tst-printf): Likewise.
24649         (tests): Depend directly on $(objpfx)tst-unbputc.out and
24650         $(objpfx)tst-printf.out.
24652         * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
24654         * Makerules (check-abi-%): Change target to
24655         $(objpfx)check-abi-%.out.
24656         (check-abi target): Update dependencies.
24657         (check-abi-pattern variable): Redirect output of diff to $@.
24658         (check-abi variable): Likewise.
24659         * elf/Makefile (check-abi): Update dependencies.
24661         * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
24662         unused.
24663         (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
24664         value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
24665         subnormal range.
24666         (_FP_PACK_CANONICAL): Determine tininess based on rounding to
24667         normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
24668         value has largest subnormal exponent.
24669         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
24670         (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
24671         * sysdeps/aarch64/soft-fp/sfp-machine.h
24672         (_FP_TININESS_AFTER_ROUNDING): New macro.
24673         * sysdeps/alpha/soft-fp/sfp-machine.h
24674         (_FP_TININESS_AFTER_ROUNDING): Likewise.
24675         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
24676         Likewise.
24677         * sysdeps/mips/mips64/soft-fp/sfp-machine.h
24678         (_FP_TININESS_AFTER_ROUNDING): Likewise.
24679         * sysdeps/mips/soft-fp/sfp-machine.h
24680         (_FP_TININESS_AFTER_ROUNDING): Likewise.
24681         * sysdeps/powerpc/soft-fp/sfp-machine.h
24682         (_FP_TININESS_AFTER_ROUNDING): Likewise.
24683         * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
24684         Likewise.
24685         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
24686         (_FP_TININESS_AFTER_ROUNDING): Likewise.
24687         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
24688         (_FP_TININESS_AFTER_ROUNDING): Likewise.
24689         * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
24690         Likewise.
24692 2014-02-12  Dylan Alex Simon  <dylan@dylex.net>
24694         [BZ #16545]
24695         * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
24696         model 1.
24698 2014-02-12  Richard Henderson  <rth@redhat.com>
24700         * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
24701         * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
24702         * sysdeps/unix/sysv/linux/alpha: Move directory from
24703         ports/sysdeps/unix/sysv/linux/alpha.
24704         * README: Update listing for alpha-*-linux-gnu.
24706 2014-02-11  Joseph Myers  <joseph@codesourcery.com>
24708         * include/features.h: Update comment documenting feature test
24709         macros.
24710         [_BSD_SOURCE || _SVID_SOURCE]: Give #warning.  Define
24711         _DEFAULT_SOURCE.
24712         * manual/creature.texi (_BSD_SOURCE): Remove documentation.
24713         (_SVID_SOURCE): Likewise.
24714         (_DEFAULT_SOURCE): Update description of default features.
24715         (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
24716         with _GNU_SOURCE.
24717         * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
24718         (S_ISVTX): Likewise.
24719         * manual/math.texi (Mathematical Constants): Likewise.
24720         * manual/signal.texi (Interrupted Primitives): Likewise.
24721         * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
24722         * math/test-matherr.c (_SVID_SOURCE): Do not define.
24723         * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
24724         Don't refer to _SVID_SOURCE in warning text.
24726         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
24728         * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
24729         already defined.
24730         (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
24731         * sysdeps/mips/dl-lookup.c: Remove.
24732         * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
24734 2014-02-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
24736         [BZ #16447]
24737         * math/auto-libm-test-in: Add testcase for expl.
24738         * math/auto-libm-test-out: Regenerate.
24739         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
24740         calculation of unsafe.
24741         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
24743 2014-02-11  Marcus Shawcroft  <marcus.shawcroft@arm.com>
24745         * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
24746         * sysdeps/unix/sysv/linux/aarch64: Move directory from
24747         ports/sysdeps/unix/sysv/linux/aarch64.
24748         * README: Update listing for aarch64*-*-linux-gnu.
24750 2014-02-11  Will Newton  <will.newton@linaro.org>
24752         * manual/probes.texi (Mathematical Function Probes): Use
24753         "triggered" instead of "hit".
24755         * manual/probes.texi (Internal Probes): Add documentation
24756         of setjmp, longjmp and longjmp_target probes.
24758         * include/stap-probe.h: Add comment about probe argument
24759         format.
24761         * malloc/mtrace.c (attribute_hidden): Remove unused macro
24762         definition.  (tr_where, tr_freehook, tr_mallochook,
24763         tr_reallochook, tr_memalignhook): Use ANSI protoype.
24765 2014-02-11  David S. Miller  <davem@davemloft.net>
24767         * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
24768         processing int_tests.
24770 2014-02-10  Joseph Myers  <joseph@codesourcery.com>
24772         * sysdeps/mips: Move directory from ports/sysdeps/mips.
24773         * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
24774         * sysdeps/unix/sysv/linux/mips: Move directory from
24775         ports/sysdeps/unix/sysv/linux/mips.
24776         * README: Update listing for mips-*-linux-gnu and
24777         mips64-*-linux-gnu.
24779 2014-02-10  Andreas Schwab  <schwab@linux-m68k.org>
24781         * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
24782         * sysdeps/unix/sysv/linux/m68k: Move directory from
24783         ports/sysdeps/unix/sysv/linux/m68k.
24784         * README: Update listing for m68k-*-linux-gnu.
24786 2014-02-10  Chris Metcalf  <cmetcalf@tilera.com>
24788         * sysdeps/tile: Move directory from ports/sysdeps/tile.
24789         * sysdeps/unix/sysv/linux/generic: Move directory from
24790         ports/sysdeps/unix/sysv/linux/generic.
24791         * sysdeps/unix/sysv/linux/tile: Move directory from
24792         ports/sysdeps/unix/sysv/linux/tile.
24793         * README: Update listing for tile*-*-linux-gnu.
24795 2014-02-10  Ondřej Bílka  <neleai@seznam.cz>
24797         * assert/assert.c (__assert_fail_base): Use glibc_likely instead
24798         __builtin_expect.
24799         * benchtests/bench-memmem.c (simple_memmem): Likewise.
24800         * catgets/open_catalog.c (__open_catalog): Likewise.
24801         * csu/libc-start.c (LIBC_START_MAIN): Likewise.
24802         * debug/confstr_chk.c: Likewise.
24803         * debug/fread_chk.c (__fread_chk): Likewise.
24804         * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
24805         * debug/getgroups_chk.c: Likewise.
24806         * debug/mbsnrtowcs_chk.c: Likewise.
24807         * debug/mbsrtowcs_chk.c: Likewise.
24808         * debug/mbstowcs_chk.c: Likewise.
24809         * debug/memcpy_chk.c: Likewise.
24810         * debug/memmove_chk.c: Likewise.
24811         * debug/mempcpy_chk.c: Likewise.
24812         * debug/memset_chk.c: Likewise.
24813         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
24814         * debug/strcat_chk.c (__strcat_chk): Likewise.
24815         * debug/strcpy_chk.c (__strcpy_chk): Likewise.
24816         * debug/strncat_chk.c (__strncat_chk): Likewise.
24817         * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
24818         * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
24819         * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
24820         * debug/wcpncpy_chk.c: Likewise.
24821         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
24822         * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
24823         * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
24824         * debug/wcsncpy_chk.c: Likewise.
24825         * debug/wcsnrtombs_chk.c: Likewise.
24826         * debug/wcsrtombs_chk.c: Likewise.
24827         * debug/wcstombs_chk.c: Likewise.
24828         * debug/wmemcpy_chk.c: Likewise.
24829         * debug/wmemmove_chk.c: Likewise.
24830         * debug/wmempcpy_chk.c: Likewise.
24831         * debug/wmemset_chk.c: Likewise.
24832         * dirent/scandirat.c (SCANDIRAT): Likewise.
24833         * dlfcn/dladdr1.c (dladdr1): Likewise.
24834         * dlfcn/dladdr.c (dladdr): Likewise.
24835         * dlfcn/dlclose.c (dlclose_doit): Likewise.
24836         * dlfcn/dlerror.c (__dlerror): Likewise.
24837         * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
24838         * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
24839         * dlfcn/dlopen.c (dlopen_doit): Likewise.
24840         * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
24841         * dlfcn/dlsym.c (dlsym_doit): Likewise.
24842         * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
24843         * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
24844         * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
24845         Likewise.
24846         * elf/dl-conflict.c: Likewise.
24847         * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
24848         * elf/dl-dst.h: Likewise.
24849         * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
24850         * elf/dl-fptr.c (_dl_make_fptr): Likewise.
24851         * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
24852         * elf/dl-init.c (call_init, _dl_init): Likewise.
24853         * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
24854         * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
24855         (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
24856         Likewise.
24857         * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
24858         Likewise.
24859         * elf/dl-minimal.c (__libc_memalign): Likewise.
24860         * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
24861         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
24862         * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
24863         * elf/dl-sym.c (do_sym): Likewise.
24864         * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
24865         (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
24866         * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
24867         * elf/dl-writev.h (_dl_writev): Likewise.
24868         * elf/ldconfig.c (search_dir): Likewise.
24869         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
24870         (dl_main): Likewise.
24871         * elf/setup-vdso.h (setup_vdso): Likewise.
24872         * grp/compat-initgroups.c (compat_call): Likewise.
24873         * grp/fgetgrent.c (fgetgrent): Likewise.
24874         * grp/initgroups.c (getgrouplist, initgroups): Likewise.
24875         * grp/putgrent.c (putgrent): Likewise.
24876         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
24877         Likewise.
24878         * hurd/hurdinit.c: Likewise.
24879         * iconvdata/8bit-gap.c (struct): Likewise.
24880         * iconvdata/ansi_x3.110.c : Likewise.
24881         * iconvdata/big5.c : Likewise.
24882         * iconvdata/big5hkscs.c : Likewise.
24883         * iconvdata/cp1255.c: Likewise.
24884         * iconvdata/cp1258.c : Likewise.
24885         * iconvdata/cp932.c : Likewise.
24886         * iconvdata/euc-cn.c: Likewise.
24887         * iconvdata/euc-jisx0213.c : Likewise.
24888         * iconvdata/euc-jp.c: Likewise.
24889         * iconvdata/euc-jp-ms.c : Likewise.
24890         * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
24891         * iconvdata/gb18030.c : Likewise.
24892         * iconvdata/gbbig5.c (const): Likewise.
24893         * iconvdata/gbgbk.c: Likewise.
24894         * iconvdata/gbk.c : Likewise.
24895         * iconvdata/ibm1364.c : Likewise.
24896         * iconvdata/ibm930.c : Likewise.
24897         * iconvdata/ibm932.c: Likewise.
24898         * iconvdata/ibm933.c : Likewise.
24899         * iconvdata/ibm935.c : Likewise.
24900         * iconvdata/ibm937.c : Likewise.
24901         * iconvdata/ibm939.c : Likewise.
24902         * iconvdata/ibm943.c: Likewise.
24903         * iconvdata/iso_11548-1.c: Likewise.
24904         * iconvdata/iso-2022-cn.c : Likewise.
24905         * iconvdata/iso-2022-cn-ext.c : Likewise.
24906         * iconvdata/iso-2022-jp-3.c: Likewise.
24907         * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
24908         * iconvdata/iso-2022-kr.c : Likewise.
24909         * iconvdata/iso646.c (gconv_end): Likewise.
24910         * iconvdata/iso_6937-2.c : Likewise.
24911         * iconvdata/iso_6937.c : Likewise.
24912         * iconvdata/iso8859-1.c: Likewise.
24913         * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
24914         * iconvdata/shift_jisx0213.c : Likewise.
24915         * iconvdata/sjis.c : Likewise.
24916         * iconvdata/t.61.c : Likewise.
24917         * iconvdata/tcvn5712-1.c : Likewise.
24918         * iconvdata/tscii.c: Likewise.
24919         * iconvdata/uhc.c : Likewise.
24920         * iconvdata/unicode.c (gconv_end): Likewise.
24921         * iconvdata/utf-16.c (gconv_end): Likewise.
24922         * iconvdata/utf-32.c (gconv_end): Likewise.
24923         * iconvdata/utf-7.c (base64): Likewise.
24924         * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
24925         * iconv/gconv_close.c (__gconv_close): Likewise.
24926         * iconv/gconv_open.c (__gconv_open): Likewise.
24927         * iconv/gconv_simple.c (internal_ucs4_loop_single)
24928         (ucs4_internal_loop, ucs4_internal_loop_unaligned)
24929         (ucs4_internal_loop_single, internal_ucs4le_loop_single)
24930         (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
24931         (ucs4le_internal_loop_single): Likewise.
24932         * iconv/iconv.c (iconv): Likewise.
24933         * iconv/iconv_close.c: Likewise.
24934         * iconv/loop.c (SINGLE): Likewise.
24935         * iconv/skeleton.c (FUNCTION_NAME): Likewise.
24936         * include/atomic.h: Likewise.
24937         * inet/inet6_option.c (option_alloc): Likewise.
24938         * intl/bindtextdom.c (set_binding_values): Likewise.
24939         * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
24940         * intl/loadmsgcat.c (_nl_load_domain): Likewise.
24941         * intl/localealias.c (read_alias_file): Likewise.
24942         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
24943         * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
24944         (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
24945         * libio/fmemopen.c (fmemopen): Likewise.
24946         * libio/iofgets.c (_IO_fgets): Likewise.
24947         * libio/iofgets_u.c (fgets_unlocked): Likewise.
24948         * libio/iofgetws.c (fgetws): Likewise.
24949         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
24950         * libio/iogetdelim.c (_IO_getdelim): Likewise.
24951         * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
24952         (adjust_wide_data, _IO_wfile_seekoff): Likewise.
24953         * locale/findlocale.c (_nl_find_locale): Likewise.
24954         * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
24955         * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
24956         Likewise.
24957         * locale/setlocale.c (setlocale): Likewise.
24958         * login/programs/pt_chown.c (main): Likewise.
24959         * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
24960         * malloc/malloc.c (_int_malloc, _int_free): Likewise.
24961         * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
24962         (mmap, mmap64, mremap, munmap): Likewise.
24963         * math/e_exp2l.c: Likewise.
24964         * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
24965         * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
24966         * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
24967         * math/s_catan.c (__catan): Likewise.
24968         * math/s_catanf.c (__catanf): Likewise.
24969         * math/s_catanh.c (__catanh): Likewise.
24970         * math/s_catanhf.c (__catanhf): Likewise.
24971         * math/s_catanhl.c (__catanhl): Likewise.
24972         * math/s_catanl.c (__catanl): Likewise.
24973         * math/s_ccosh.c (__ccosh): Likewise.
24974         * math/s_ccoshf.c (__ccoshf): Likewise.
24975         * math/s_ccoshl.c (__ccoshl): Likewise.
24976         * math/s_cexp.c (__cexp): Likewise.
24977         * math/s_cexpf.c (__cexpf): Likewise.
24978         * math/s_cexpl.c (__cexpl): Likewise.
24979         * math/s_clog10.c (__clog10): Likewise.
24980         * math/s_clog10f.c (__clog10f): Likewise.
24981         * math/s_clog10l.c (__clog10l): Likewise.
24982         * math/s_clog.c (__clog): Likewise.
24983         * math/s_clogf.c (__clogf): Likewise.
24984         * math/s_clogl.c (__clogl): Likewise.
24985         * math/s_csin.c (__csin): Likewise.
24986         * math/s_csinf.c (__csinf): Likewise.
24987         * math/s_csinh.c (__csinh): Likewise.
24988         * math/s_csinhf.c (__csinhf): Likewise.
24989         * math/s_csinhl.c (__csinhl): Likewise.
24990         * math/s_csinl.c (__csinl): Likewise.
24991         * math/s_csqrt.c (__csqrt): Likewise.
24992         * math/s_csqrtf.c (__csqrtf): Likewise.
24993         * math/s_csqrtl.c (__csqrtl): Likewise.
24994         * math/s_ctan.c (__ctan): Likewise.
24995         * math/s_ctanf.c (__ctanf): Likewise.
24996         * math/s_ctanh.c (__ctanh): Likewise.
24997         * math/s_ctanhf.c (__ctanhf): Likewise.
24998         * math/s_ctanhl.c (__ctanhl): Likewise.
24999         * math/s_ctanl.c (__ctanl): Likewise.
25000         * math/w_pow.c: Likewise.
25001         * math/w_powf.c: Likewise.
25002         * math/w_powl.c: Likewise.
25003         * math/w_scalb.c (sysv_scalb): Likewise.
25004         * math/w_scalbf.c (sysv_scalbf): Likewise.
25005         * math/w_scalbl.c (sysv_scalbl): Likewise.
25006         * misc/error.c (error_tail): Likewise.
25007         * misc/pselect.c (__pselect): Likewise.
25008         * nis/nis_callback.c (__nis_create_callback): Likewise.
25009         * nis/nis_call.c (__nisfind_server): Likewise.
25010         * nis/nis_creategroup.c (nis_creategroup): Likewise.
25011         * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
25012         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
25013         * nis/nis_getservlist.c (nis_getservlist): Likewise.
25014         * nis/nis_lookup.c (nis_lookup): Likewise.
25015         * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
25016         * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
25017         (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
25018         * nis/nis_xdr.c (xdr_endpoint): Likewise.
25019         * nis/nss_compat/compat-grp.c (getgrent_next_file)
25020         (internal_getgrnam_r, internal_getgrgid_r): Likewise.
25021         * nis/nss_compat/compat-initgroups.c (add_group)
25022         (internal_getgrent_r): Likewise.
25023         * nis/nss_compat/compat-pwd.c (getpwent_next_file)
25024         (internal_getpwnam_r, internal_getpwuid_r): Likewise.
25025         * nis/nss_compat/compat-spwd.c (getspent_next_file)
25026         (internal_getspnam_r): Likewise.
25027         * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
25028         (_nss_nis_getaliasbyname_r): Likewise.
25029         * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
25030         (_nss_nis_getntohost_r): Likewise.
25031         * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
25032         (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
25033         (_nss_nis_getgrgid_r): Likewise.
25034         * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
25035         (internal_nis_gethostent_r, internal_gethostbyname2_r)
25036         (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
25037         (_nss_nis_gethostbyname4_r): Likewise.
25038         * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
25039         (initgroups_netid): Likewise.
25040         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
25041         * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
25042         (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
25043         * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
25044         (_nss_nis_getprotobynumber_r): Likewise.
25045         * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
25046         (_nss_nis_getsecretkey): Likewise.
25047         * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
25048         (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
25049         (_nss_nis_getpwuid_r): Likewise.
25050         * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
25051         (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
25052         * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
25053         (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
25054         * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
25055         (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
25056         * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
25057         Likewise.
25058         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
25059         (_nss_nisplus_getntohost_r): Likewise.
25060         * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
25061         (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
25062         * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
25063         (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
25064         Likewise.
25065         * nis/nss_nisplus/nisplus-initgroups.c
25066         (_nss_nisplus_initgroups_dyn): Likewise.
25067         * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
25068         (_nss_nisplus_getnetbyaddr_r): Likewise.
25069         * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
25070         (_nss_nisplus_getprotobynumber_r): Likewise.
25071         * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
25072         (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
25073         * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
25074         Likewise.
25075         * nis/nss_nisplus/nisplus-service.c
25076         (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
25077         (_nss_nisplus_getservbyport_r): Likewise.
25078         * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
25079         (_nss_nisplus_getspnam_r): Likewise.
25080         * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
25081         Likewise.
25082         * nscd/aicache.c (addhstaiX): Likewise.
25083         * nscd/cache.c (cache_search, prune_cache): Likewise.
25084         * nscd/connections.c (register_traced_file, send_ro_fd)
25085         (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
25086         (main_loop_epoll): Likewise.
25087         * nscd/grpcache.c (addgrbyX): Likewise.
25088         * nscd/hstcache.c (addhstbyX): Likewise.
25089         * nscd/initgrcache.c (addinitgroupsX): Likewise.
25090         * nscd/mem.c (gc, mempool_alloc): Likewise.
25091         * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
25092         (addinnetgrX): Likewise.
25093         * nscd/nscd-client.h (__nscd_acquire_maplock)
25094         (__nscd_drop_map_ref): Likewise.
25095         * nscd/nscd_getai.c (__nscd_getai): Likewise.
25096         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
25097         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
25098         Likewise.
25099         * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
25100         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
25101         * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
25102         (__nscd_get_map_ref): Likewise.
25103         * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
25104         * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
25105         Likewise.
25106         * nscd/pwdcache.c (addpwbyX): Likewise.
25107         * nscd/selinux.c (preserve_capabilities): Likewise.
25108         * nscd/servicescache.c (addservbyX): Likewise.
25109         * nss/nss_files/files-XXX.c (internal_getent): Likewise.
25110         * posix/fnmatch.c (fnmatch): Likewise.
25111         * posix/getopt.c (_getopt_internal_r): Likewise.
25112         * posix/glob.c (glob, glob_in_dir): Likewise.
25113         * posix/wordexp.c (exec_comm_child): Likewise.
25114         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
25115         (getanswer_r, gaih_getanswer_slice): Likewise.
25116         * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
25117         * resolv/res_init.c: Likewise.
25118         * resolv/res_mkquery.c (res_nmkquery): Likewise.
25119         * resolv/res_query.c (__libc_res_nquery): Likewise.
25120         * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
25121         Likewise.
25122         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
25123         * stdio-common/perror.c (perror): Likewise.
25124         * stdio-common/printf_fp.c (___printf_fp): Likewise.
25125         * stdio-common/tmpnam.c (tmpnam): Likewise.
25126         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
25127         * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
25128         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
25129         Likewise.
25130         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
25131         * stdlib/putenv.c (putenv): Likewise.
25132         * stdlib/setenv.c (__add_to_environ): Likewise.
25133         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
25134         * stdlib/strtol_l.c (INTERNAL): Likewise.
25135         * string/memmem.c (memmem): Likewise.
25136         * string/strerror.c (strerror): Likewise.
25137         * string/strnlen.c (__strnlen): Likewise.
25138         * string/test-memmem.c (simple_memmem): Likewise.
25139         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
25140         * sunrpc/pm_getport.c (__get_socket): Likewise.
25141         * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
25142         * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
25143         * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
25144         (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
25145         Likewise.
25146         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
25147         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
25148         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
25149         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
25150         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
25151         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
25152         Likewise.
25153         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
25154         Likewise.
25155         * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
25156         * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
25157         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
25158         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
25159         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
25160         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
25161         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
25162         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
25163         * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
25164         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
25165         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
25166         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
25167         Likewise.
25168         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
25169         Likewise.
25170         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
25171         Likewise.
25172         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
25173         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
25174         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
25175         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
25176         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
25177         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
25178         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
25179         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
25180         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
25181         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
25182         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
25183         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
25184         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
25185         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
25186         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
25187         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
25188         Likewise.
25189         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
25190         Likewise.
25191         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
25192         Likewise.
25193         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
25194         Likewise.
25195         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
25196         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
25197         * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
25198         Likewise.
25199         * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
25200         * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
25201         * sysdeps/posix/opendir.c (__opendirat): Likewise.
25202         * sysdeps/posix/sleep.c: Likewise.
25203         * sysdeps/posix/tempname.c: Likewise.
25204         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
25205         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
25206         Likewise.
25207         * sysdeps/powerpc/powerpc32/dl-machine.h
25208         (elf_machine_runtime_setup, elf_machine_rela): Likewise.
25209         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
25210         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
25211         * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
25212         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
25213         Likewise.
25214         * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
25215         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
25216         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
25217         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
25218         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
25219         * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
25220         * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
25221         * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
25222         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
25223         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
25224         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
25225         (elf_machine_lazy_rel): Likewise.
25226         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
25227         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
25228         (elf_machine_lazy_rel): Likewise.
25229         * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
25230         * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
25231         * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
25232         * sysdeps/unix/grantpt.c (grantpt): Likewise.
25233         * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
25234         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
25235         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
25236         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
25237         Likewise.
25238         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
25239         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
25240         * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
25241         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
25242         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
25243         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
25244         * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
25245         * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
25246         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
25247         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
25248         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
25249         Likewise.
25250         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
25251         (__posix_fallocate64_l64): Likewise.
25252         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
25253         (posix_fallocate): Likewise.
25254         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
25255         Likewise.
25256         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
25257         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
25258         (getifaddrs_internal): Likewise.
25259         * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
25260         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
25261         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
25262         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
25263         * sysdeps/unix/sysv/linux/posix_fallocate64.c
25264         (__posix_fallocate64_l64): Likewise.
25265         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
25266         Likewise.
25267         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
25268         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
25269         (__get_clockfreq): Likewise.
25270         * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
25271         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
25272         * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
25273         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
25274         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
25275         * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
25276         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
25277         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
25278         Likewise.
25279         * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
25280         * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
25281         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
25282         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
25283         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
25284         * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
25285         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
25286         Likewise.
25287         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
25288         (posix_fallocate): Likewise.
25289         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
25290         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
25291         * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
25292         * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
25293         (elf_machine_rela, elf_machine_rela_relative)
25294         (elf_machine_lazy_rel): Likewise.
25295         * time/asctime.c (asctime_internal): Likewise.
25296         * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
25297         * time/tzset.c (__tzset_parse_tz): Likewise.
25298         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
25299         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
25300         * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
25301         * wcsmbs/wcsmbsload.h: Likewise.
25303         [BZ #15894]
25304         * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
25306         * malloc/arena.c (grow_heap, get_free_list, reused_arena)
25307         (arena_get2): Remove THREAD_STATS conditionals.
25308         * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
25309         (__malloc_stats, int): Likewise.
25311 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
25313         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
25314         f.f_type to RAMFS_MAGIC too.  Compare mp->mnt_type to shm too.
25316         * manual/setjmp.texi: Fix typos/grammar errors.
25318         * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
25319         Only return early when n is <= 0.  Delete unused return statement.
25321         * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
25322         (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
25323         * debug/tst-longjmp_chk3.c: New file.
25325         * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
25326         (test_main): Replace code with set_fortify_handler call.
25327         * debug/test-strcpy_chk.c: Likewise.
25328         * debug/tst-chk1.c: Likewise.
25329         * debug/tst-longjmp_chk.c: Likewise.
25330         * test-skeleton.c: Include fcntl.h & paths.h
25331         (set_fortify_handler): Define.
25333         * debug/tst-longjmp_chk.c: Add header comment and include
25334         ../test-skeleton.c.
25335         (do_test): Mark static.
25336         (TEST_FUNCTION): Define.
25338         * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
25339         (IP_PMTUDISC_INTERFACE): Likewise.
25340         (IP_MULTICAST_IF): Likewise.
25341         (IP_MULTICAST_TTL): Likewise.
25342         (IP_MULTICAST_LOOP): Likewise.
25343         (IP_ADD_MEMBERSHIP): Likewise.
25344         (IP_DROP_MEMBERSHIP): Likewise.
25345         (IP_UNBLOCK_SOURCE): Likewise.
25346         (IP_BLOCK_SOURCE): Likewise.
25347         (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
25348         (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
25349         (IP_MSFILTER): Likewise.
25350         (MCAST_JOIN_GROUP): Likewise.
25351         (MCAST_BLOCK_SOURCE): Likewise.
25352         (MCAST_UNBLOCK_SOURCE): Likewise.
25353         (MCAST_LEAVE_GROUP): Likewise.
25354         (MCAST_JOIN_SOURCE_GROUP): Likewise.
25355         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
25356         (MCAST_MSFILTER): Likewise.
25357         (IP_MULTICAST_ALL): Likewise.
25358         (IP_UNICAST_IF): Likewise.
25360         * timezone/Makefile: Delete $(have-ksh) check.
25361         ($(objpfx)tzselect): Change $(KSH) to $(BASH).
25362         * timezone/tzselect.ksh: Add +x mode bits.
25364         * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
25365         (ANON_INODE_FS_MAGIC): Likewise.
25366         (BDEVFS_MAGIC): Likewise.
25367         (BINFMTFS_MAGIC): Likewise.
25368         (BTRFS_TEST_MAGIC): Likewise.
25369         (CRAMFS_MAGIC_WEND): Likewise.
25370         (DEBUGFS_MAGIC): Likewise.
25371         (ECRYPTFS_SUPER_MAGIC): Likewise.
25372         (EXT3_SUPER_MAGIC): Likewise.
25373         (EXT4_SUPER_MAGIC): Likewise.
25374         (FUTEXFS_SUPER_MAGIC): Likewise.
25375         (HOSTFS_SUPER_MAGIC): Likewise.
25376         (HUGETLBFS_MAGIC): Likewise.
25377         (MINIX3_SUPER_MAGIC): Likewise.
25378         (MTD_INODE_FS_MAGIC): Likewise.
25379         (NILFS_SUPER_MAGIC): Likewise.
25380         (OPENPROM_SUPER_MAGIC): Likewise.
25381         (PIPEFS_MAGIC): Likewise.
25382         (PSTOREFS_MAGIC): Likewise.
25383         (QNX6_SUPER_MAGIC): Likewise.
25384         (RAMFS_MAGIC): Likewise.
25385         (REISERFS_SUPER_MAGIC_STRING): Likewise.
25386         (REISER2FS_SUPER_MAGIC_STRING): Likewise.
25387         (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
25388         (SECURITYFS_MAGIC): Likewise.
25389         (SELINUX_MAGIC): Likewise.
25390         (SMACK_MAGIC): Likewise.
25391         (SOCKFS_MAGIC): Likewise.
25392         (SQUASHFS_MAGIC): Likewise.
25393         (STACK_END_MAGIC): Likewise.
25394         (TMPFS_MAGIC): Likewise.
25395         (USBDEVICE_SUPER_MAGIC): Likewise.
25396         (V9FS_MAGIC): Likewise.
25397         (XENFS_SUPER_MAGIC): Likewise.
25398         (CRAMFS_MAGIC): Fix typo in comment.
25399         (EXT2_SUPER_MAGIC): Update comment.
25400         (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
25402 2014-02-08  Joseph Myers  <joseph@codesourcery.com>
25404         * sysdeps/arm: Move directory from ports/sysdeps/arm.
25405         * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
25406         * sysdeps/unix/sysv/linux/arm: Move directory from
25407         ports/sysdeps/unix/sysv/linux/arm.
25408         * README: Update listing for arm-*-linux-gnueabi.
25410         * README: Remove mention of am33.
25412 2014-02-07  Roland McGrath  <roland@hack.frob.com>
25414         * bits/sigset.h (__sigemptyset): Use a statement expression rather
25415         than the comma operator, to avoid "rhs of comma has no effect"
25416         compiler warnings.
25417         (__sigfillset, __sigandset, __sigorset): Likewise.
25418         * include/signal.h (__sigemptyset): Likewise.
25419         * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
25421 2014-02-07  Allan McRae  <allan@archlinux.org>
25423         * version.h (RELEASE): Set to "development".
25424         (VERSION): Set to "2.19.90"
25425         * NEWS: Add 2.20 section.
25427 2014-02-06  Carlos O'Donell  <carlos@redhat.com>
25429         [BZ #16529]
25430         * inet/netinet/in.h: Remove comma after IPPROTO_MH.
25432 2014-02-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
25434         * manual/contrib.texi: Update entry for Carlos O'Donell,
25435         Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
25437 2014-02-05  Carlos O'Donell  <carlos@rehdat.com>
25439         * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
25441         * sysdeps/unix/sysv/linux/kernel-features.h
25442         [__LINUX_KERNEL_VERSION >= 0x020621]
25443         (__ASSUME_PROC_PID_TASK_COMM): Define.
25445 2014-02-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
25447         [BZ #16398]
25448         * libio/wfileops.c (_IO_wfile_seekoff): Break out form
25449         conversion when destination buffer does not have enough space.
25450         * libio/tst-ftell-partial-wide.c: New test case.
25451         * libio/Makefile (tests): Add tst-ftell-partial-wide.
25453         * manual/contrib.texi: Update entry for Ondrej Bilka, Will
25454         Newton and Alexandre Oliva.  Add entries for Steve Ellcey, Chris
25455         Leonard and Allan McRae.
25457 2014-02-04  David S. Miller  <davem@davemloft.net>
25459         * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
25460         32-bit.
25462 2014-02-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25464         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
25465         New file
25466         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
25467         New file
25468         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
25469         New file.
25470         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
25471         New file.
25472         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
25473         New file.
25474         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
25475         New file.
25476         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
25477         New file.
25478         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
25479         New file.
25480         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
25481         New file.
25482         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
25483         New file.
25484         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
25485         New file.
25486         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
25487         New file.
25488         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
25489         New file.
25491 2014-02-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25493         * nptl/shlib-versions: Change powerpc*le start to 2.17.
25494         * shlib-versions: Likewise.
25496 2014-02-04  Roland McGrath  <roland@hack.frob.com>
25497             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25499         * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
25500         (abilist-pattern): New variable, set to %-le.abilist.
25502         * Makerules (abilist-pattern): New variable.
25503         (vpath): Use $(abilist-pattern) in place of %.abilist.
25504         (check-abi-% pattern rule): Likewise.
25505         (check-abi, update-abi): Likewise.
25507 2014-02-04  Eric Wong  <normalperson@yhbt.net>
25509         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
25511 2014-02-03  Carlos O'Donell  <carlos@redhat.com>
25513         * manual/startup.texi: Add next, previous, and top entries for
25514         the `Program Arguments' and `Environment Variables' nodes.
25516 2014-02-03  Alexandre Oliva <aoliva@redhat.com>
25518         * manual/macros.texi: Add comments before MTASC-safety macros.
25520         * manual/users.texi: Document MTASC-safety properties.
25522         * manual/threads.texi (pthread_key_create, pthread_key_delete)
25523         (pthread_getspecific, pthread_setspecific): Format with
25524         @deftypefun, and add @safety note.
25525         * manual/signal.texi: Move comments that analyze the above
25526         functions to their home place.
25528 2014-02-03  Allan McRae  <allan@archlinux.org>
25530         * po/sl.po: Update Slovenian translation from translation project.
25532 2014-02-02  Alexandre Oliva <aoliva@redhat.com>
25534         * manual/time.texi (timegm): Add missing blank after @c.
25535         Reported by Joseph Myers <joseph@codesourcery.com>.
25537 2014-02-01  Alexandre Oliva <aoliva@redhat.com>
25539         * manual/check-safety.sh: New.
25540         * manual/Makefile ($(objpfx)stamp-summary): Run it.
25542         * manual/terminal.texi: Document MTASC-safety properties.
25544         * manual/filesys.texi: Document MTASC-safety properties.
25546         * manual/errno.texi: Document MTASC-safety properties.
25548         * manual/intro.texi: Document safety identifiers and
25549         conditionals.
25551         * manual/string.texi (wcstok): Fix prototype.
25552         (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
25554         * manual/time.texi: Document MTASC-safety properties.
25556         * manual/string.texi: Document MTASC-safety properties.
25558         * manual/threads.texi: Document MTASC-safety properties.
25560         * manual/stdio.texi: Document MTASC-safety properties.
25562         * manual/syslog.texi: Document MTASC-safety properties.
25564         * manual/sysinfo.texi: Document MTASC-safety properties.
25566         * manual/startup.texi: Document MTASC-safety properties.
25568         * manual/socket.texi: Document MTASC-safety properties.
25570         * manual/signal.texi: Document MTASC-safety properties.
25572 2014-01-31  Alexandre Oliva <aoliva@redhat.com>
25574         * manual/setjmp.texi: Document MTASC-safety properties.
25576         * manual/search.texi: Document MTASC-safety properties.
25578         * manual/resource.texi: Document MTASC-safety properties.
25580         * manual/process.texi: Document MTASC-safety properties.
25582         * manual/platform.texi: Document MTASC-safety properties.
25584         * manual/pipe.texi: Document MTASC-safety properties.
25586         * manual/pattern.texi: Document MTASC-safety properties.
25588         * manual/message.texi: Document MTASC-safety properties.
25590         [BZ #12751]
25591         * manual/memory.texi: Document MTASC-safety properties.
25593         * manual/math.texi: Document MTASC-safety properties.
25595         * manual/locale.texi: Document MTASC-safety properties.
25597         * manual/llio.texi: Document MTASC-safety properties.
25599         * manual/libdl.texi: New.
25601         * manual/lang.texi: Document MTASC-safety properties.
25603         * manual/job.texi: Document MTASC-safety properties.
25605         * manual/getopt.texi: Document MTASC-safety properties.
25607         * manual/ctype.texi: Document MTASC-safety properties.
25609 2014-01-31  Maciej W. Rozycki  <macro@codesourcery.com>
25611         [BZ #16046]
25612         * csu/libc-tls.c (static_map): Remove variable.
25613         (__libc_setup_tls): Use main executable's link map for TLS data.
25614         * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
25615         casing for LM_ID_BASE and GL(dl_nns).
25616         * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
25617         function.  Alias dl_iterate_phdr to __dl_iterate_phdr.
25618         * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
25619         casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
25620         * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
25621         member.
25622         (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
25623         l_phnum members.
25625 2014-01-30  Alexandre Oliva <aoliva@redhat.com>
25627         * manual/debug.texi: Document MTASC-safety properties.
25629 2014-01-29  H.J. Lu  <hongjiu.lu@intel.com>
25631         [BZ #16510]
25632         * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
25633         of __x86_64__ when disabling x87 inline functions.
25635 2014-01-29  Alexandre Oliva <aoliva@redhat.com>
25637         * manual/charset.texi: Document MTASC-safety properties.
25639         * manual/crypt.texi: Document MTASC-safety properties.
25641         * manual/conf.texi: Document MTASC-safety properties.
25643         * manual/arith.texi: Document MTASC-safety properties.
25645         * manual/argp.texi: Document MTASC-safety properties.
25647         * manual/macros.texi: Introduce macros to document multi
25648         thread, asynchronous signal and asynchronous cancellation
25649         safety properties.
25650         * manual/intro.texi: Introduce the properties themselves.
25652 2014-01-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
25654         * sysdeps/sh/sh4/Makefile: New file.
25656 2014-01-27  Andreas Schwab  <schwab@linux-m68k.org>
25658         * math/gen-libm-test.pl ($srcdir): New variable.
25659         ($auto_input): Use it.
25661 2014-01-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
25663         [BZ #16506]
25664         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
25665         access beyond array bounds when parsing netgroups file.
25667         * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
25668         the old buffer before realloc.
25670 2014-01-27  Allan McRae  <allan@archlinux.org>
25672         * po/fr.po: Update French translation from translation project.
25674 2014-01-26  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
25676         * sysdeps/sh/libm-test-ulps: Regenerate.
25678 2014-01-24  David S. Miller  <davem@davemloft.net>
25680         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
25682 2014-01-25  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
25684         * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
25685         * sysdeps/sh/libm-test-ulps: ... here and regenerated.
25687 2013-01-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
25689         [BZ #16474]
25690         * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
25691         string pointers after reallocation.
25693 2014-01-24  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
25695         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
25696         __SH4A__ instead of __SH_FPU_ANY__.
25698 2014-01-23  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
25700         * sysdeps/sh/fpu_control.h: New file.
25701         * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
25702         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
25703         * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
25704         * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
25705         * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
25706         * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
25707         * sysdeps/sh/sys/ucontext.h: Remove.
25708         * sysdeps/sh/sys: Remove directory.
25710 2014-01-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
25712         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
25713         s390/sys/ucontext.h.
25714         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
25715         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
25717 2014-01-20  H.J. Lu  <hongjiu.lu@intel.com>
25719         [BZ #15605]
25720         * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
25722 2014-01-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25724         [BZ#16431]
25725         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
25726         Adjust the vDSO correctly for internal calls.
25727         * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
25729 2014-01-20  Allan McRae  <allan@archlinux.org>
25731         * po/ca.po: Update Catalan translation from translation project.
25733 2014-01-16  Mike Frysinger  <vapier@gentoo.org>
25735         * sysdeps/s390/sotruss-lib.c: New file.
25737 2014-01-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25739         [BZ#16430]
25740         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
25741         (__GI___gettimeofday): Alias for a different internal symbol to avoid
25742         local calls issues by not having a PLT stub required for IFUNC calls.
25743         * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
25745 2014-01-16 Joseph Myers  <joseph@codesourcery.com>
25747         * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
25748         * math/test-fpucw-static.c: Likewise.
25750 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
25752         [BZ #16453]
25753         * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
25755 2014-01-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25757         * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
25758         implementation for powerpc.
25760 2014-01-15  Ondřej Bílka  <neleai@seznam.cz>
25762         [BZ #14782]
25763         * sysdeps/posix/system.c (__libc_system): Do not enable
25764         asynchronous cancellation.
25766 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
25768         [BZ #16427]
25769         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
25770         handling only for numbers special also in the IEEE case.
25772 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
25774         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
25776 2014-01-11  Allan McRae  <allan@archlinux.org>
25778         * po/bg.po: Update Bulgarian translation from translation project.
25780         * po/de.po: Update German translation from translation project.
25782 2014-01-10  Roland McGrath  <roland@hack.frob.com>
25784         * sysdeps/generic/gcc-compat.h: New file.
25786 2014-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
25788         * benchtests/asin-inputs: Correct slow inputs.
25789         * benchtests/acos-inputs: Likewise.
25791 2014-01-10  Allan McRae  <allan@archlinux.org>
25793         * po:sv.po: Update Swedish translation from translation project.
25795         * po/vi.po: Update Vietnamese translation from translation project.
25797         * po/eo.po: Update Esperanto translation from translation project.
25799         * po/cs.po: Update Czech translation from translation project.
25801         * po/nl.po: Update Dutch translation from translation project.
25803         * po/pl.po: Update Polish translation from translation project.
25805         * po/ru.po: Update Russian translation from translation project.
25807         * po/uk.po: Update Ukrainian translation from translation project.
25809 2014-01-08  Brooks Moses  <bmoses@google.com>
25811         * elf/dl-load.c: Fix comment typo.
25813 2014-01-08  Carlos O'Donell  <carlos@redhat.com>
25815         * po/header.pot: Rename to...
25816         * po/pot.header: ... this.
25817         * po/Makefile: Use pot.header.
25819 2014-01-08  Yuriy Kaminskiy  <yumkam@gmail.com>
25820             Maxim Kuvyrkov  <maxim@kugelworks.com>
25822         [BZ #16394]
25823         * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
25824         SRC and DEST against LEN.
25826 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25828         [BZ #16414]
25829         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
25830         implementation.
25831         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
25833 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25835         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25837 2014-01-08  Joseph Myers  <joseph@codesourcery.com>
25839         [BZ #16408]
25840         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
25841         for large positive arguments.
25843 2014-01-07  Joseph Myers  <joseph@codesourcery.com>
25845         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
25847         * math/auto-libm-test-in: Mark various tests with
25848         xfail-rounding:ldbl-128ibm.
25849         * math/auto-libm-test-out: Regenerated.
25851         [BZ #16407]
25852         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
25853         Increase overflow threshold.
25855 2014-01-07  Ondřej Bílka  <neleai@seznam.cz>
25857         [BZ #14286]
25858         * stdio-common/vfprintf.c: Check for integer overflow.
25860 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
25862         * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
25863         the first argument and return value of __tls_get_addr_internal.
25865 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
25867         * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
25868         also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
25870 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
25872         * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
25873         * sysdeps/s390/rtld-global-offsets.sym: New file.
25874         * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
25875         GLIBC_2.19 symbol.
25876         * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
25877         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
25878         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
25879         ... this.
25880         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
25881         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
25882         ... this.
25883         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
25884         Regenerate.
25885         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
25886         Regenerate.
25887         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
25888         halfs of GPRs for high_gprs contexts.
25889         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
25890         restore upper halfs of GPRs for high_gprs contexts.  Copy uc_flags
25891         field.
25892         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
25893         uc_flags field.
25894         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
25895         64 bit versions:
25896         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
25897         for high GPRs (uc_high_gprs) and for future extensions
25898         (__reserved).
25899         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
25900         for future extensions (__reserved).
25901         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
25902         64 bit versions:
25903         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
25904         SC_HIGHGPRS offset definition.
25905         * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
25906         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
25908         * Versions.def: Add GLIBC_2.19 for libpthread.
25909         * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
25910         siglongjmp for libpthread with GLIBC_2.19 symver.
25911         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
25912         * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
25913         * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
25914         * sysdeps/s390/__longjmp.c: New file.
25915         * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
25916         * sysdeps/s390/longjmp.c: New file.
25917         * sysdeps/s390/setjmp.S: New file.
25918         * sysdeps/s390/sigjmp.S: New file.
25919         * sysdeps/s390/v1-longjmp.c: New file.
25920         * sysdeps/s390/v1-setjmp.h: New file.
25921         * sysdeps/s390/v1-sigjmp.c: New file.
25922         * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
25923         * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
25924         GLIBC_2.19 version.
25925         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
25926         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
25927         versioned symbols for ____longjmp_chk.
25928         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
25929         Likewise.
25930         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
25931         Regenerate.
25932         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
25933         Regenerate.
25934         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
25935         Regenerate.
25936         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
25937         Regenerate.
25938         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
25939         * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
25940         * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
25941         * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
25942         * sysdeps/s390/s390-32/setjmp-common.S: ... this.
25943         * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
25944         * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
25945         * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
25946         * sysdeps/s390/s390-64/setjmp-common.S: ... this.
25947         * sysdeps/s390/rtld-__longjmp.c: New file.
25948         * sysdeps/s390/rtld-setjmp.S: New file.
25950 2014-01-06  Joseph Myers  <joseph@codesourcery.com>
25952         [BZ #16400]
25953         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
25954         Return -__logl (x) for small positive arguments without evaluating
25955         a polynomial.
25957 2014-01-06  Mike Frysinger  <vapier@gentoo.org>
25959         * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
25960         Rename to ...
25961         (__ptrace_peeksiginfo_args): ... this.
25962         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
25963         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
25964         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
25966 2014-01-06  Allan McRae  <allan@archlinux.org>
25968         * inet/netinet/in.h: Fix typo in comment.
25970 2014-01-05  Andreas Jaeger  <aj@suse.de>
25972         * sysdeps/i386/fpu/libm-test-ulps: Update.
25974 2014-01-05  Allan McRae  <allan@archlinux.org>
25976         * po/libc.pot: Regenerated.
25978         * malloc/memusagestat.c: Fix gettext call formatting.
25980 2014-01-04  Sami Kerola  <kerolasa@iki.fi>
25982         * nscd/nscd.c: Improve usage() output.
25984 2014-01-04  Mike Frysinger  <vapier@gentoo.org>
25986         * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
25987         * sysdeps/unix/sysv/linux/configure: Regenerated.
25988         * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
25989         * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
25991 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
25993         [BZ #16390]
25994         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
25995         (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
25997 2014-01-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25999         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
26000         extra tokens at end of #undef directive.
26001         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
26002         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
26003         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
26005 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
26007         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
26009         * math/auto-libm-test-in: Mark various tests with
26010         xfail-rounding:ldbl-128ibm.
26011         * math/auto-libm-test-out: Regenerated.
26013 2014-01-02  Joseph Myers  <joseph@codesourcery.com>
26015         [BZ #16386]
26016         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
26017         numbers with subnormal high part when calculating exponent.
26019         [BZ #16385]
26020         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
26021         fabs.
26023         [BZ #16384]
26024         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
26025         M_LN2l.
26026         (__ieee754_acoshl): Use __log1pl not __log1p.
26028 2013-01-02  Ondřej Bílka  <neleai@seznam.cz>
26030         * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
26031         (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
26032         (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
26033         (grow_heap, heap_trim, _int_new_arena, get_free_list)
26034         (reused_arena, arena_get2): Convert to GNU style.
26035         * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
26036         (mem2mem_check, mem2chunk_check, top_check, realloc_check)
26037         (memalign_check, __malloc_set_state): Likewise.
26038         * malloc/mallocbug.c (main): Likewise.
26039         * malloc/malloc.c (__malloc_assert, malloc_init_state)
26040         (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
26041         (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
26042         (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
26043         (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
26044         (__posix_memalign, malloc_info): Likewise.
26045         * malloc/malloc.h: Likewise.
26046         * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
26047         (mallochook, memalignhook, reallochook, mabort): Likewise.
26048         * malloc/mcheck.h: Likewise.
26049         * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
26050         (free, mmap, mmap64, mremap, munmap, dest): Likewise.
26051         * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
26052         * malloc/morecore.c (__default_morecore): Likewise.
26053         * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
26054         * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
26055         (_obstack_allocated_p, obstack_free, _obstack_memory_used)
26056         (print_and_abort): Likewise.
26057         * malloc/obstack.h: Likewise.
26058         * malloc/set-freeres.c (__libc_freeres): Likewise.
26059         * malloc/tst-mallocstate.c (main): Likewise.
26060         * malloc/tst-mtrace.c (main): Likewise.
26061         * malloc/tst-realloc.c (do_test): Likewise.
26063 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
26065         [BZ #16366]
26066         * nscd/netgroupcache.c (do_notfound): New function.
26067         (addgetnetgrentX): Use it.
26069         [BZ # 16365]
26070         * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
26071         NSS_STATUS_NOTFOUND.
26073 2014-01-01  Joseph Myers  <joseph@codesourcery.com>
26075         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
26076         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26078 2014-01-01  Allan McRae  <allan@archlinux.org>
26080         * scripts/update-copyrights: Update configure input file suffix.
26082         * NEWS: Update copyright year.
26083         * catgets/gencat.c: Likewise.
26084         * csu/version.c: Likewise.
26085         * debug/catchsegv.sh: Likewise.
26086         * debug/pcprofiledump.c: Likewise.
26087         * debug/xtrace.sh: Likewise.
26088         * elf/ldconfig.c: Likewise.
26089         * elf/ldd.bash.in: Likewise.
26090         * elf/pldd.c: Likewise.
26091         * elf/sotruss.ksh: Likewise.
26092         * elf/sprof.c: Likewise.
26093         * iconv/iconv_prog.c: Likewise.
26094         * iconv/iconvconfig.c: Likewise.
26095         * locale/programs/locale.c: Likewise.
26096         * locale/programs/localedef.c: Likewise.
26097         * login/programs/pt_chown.c: Likewise.
26098         * malloc/memusage.sh: Likewise.
26099         * malloc/memusagestat.c: Likewise.
26100         * malloc/mtrace.pl: Likewise.
26101         * manual/libc.texinfo: Likewise.
26102         * nscd/nscd.c: Likewise.
26103         * nss/getent.c: Likewise.
26104         * nss/makedb.c: Likewise.
26105         * posix/getconf.c: Likewise.
26106         * scripts/test-installation.pl: Likewise.
26108         * All files with FSF copyright notices: Update copyright dates
26109         using scripts/update-copyrights.
26110         * intl/plural.c: Regenerated.
26111         * locale/programs/charmap-kw.h: Likewise.
26112         * locale/programs/locfile-kw.h: Likewise.
26114 2013-12-31  Mike Frysinger  <vapier@gentoo.org>
26116         * sysdeps/unix/sysv/linux/configure: Regenerated.
26117         * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
26118         the linux/fanotify.h header.
26119         * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
26120         HAVE_LINUX_FANOTIFY_H is defined.
26122 2013-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
26124         * benchtests/cos-inputs: New inputs.
26125         * benchtests/sin-inputs: Likewise.
26127         * benchtests/atan-inputs: New inputs. Fix name of multiple
26128         precision fallback inputs.
26130         * benchtests/atanh-inputs: New inputs.
26131         * benchtests/tanh-inputs: Likewise.
26133         * benchtests/acosh-inputs: New inputs.
26134         * benchtests/asinh-inputs: Likewise.
26136         * benchtests/cosh-inputs: New inputs.
26137         * benchtests/sinh-inputs: Likewise.
26139         * benchtests/acos-inputs: Add more inputs.
26140         * benchtests/asin-inputs: Likewise.
26142 2013-12-30  Ville Skytta  <ville.skytta@iki.fi>
26144         [BZ #16375]
26145         * manual/arith.texi: Fix spelling.
26146         * manual/charset.texi: Likewise.
26147         * manual/errno.texi: Likewise.
26148         * manual/filesys.texi: Likewise.
26149         * manual/lang.texi: Likewise.
26150         * manual/llio.texi: Likewise.
26151         * manual/locale.texi: Likewise.
26152         * manual/message.texi: Likewise.
26153         * manual/resource.texi: Likewise.
26154         * manual/search.texi: Likewise.
26155         * manual/setjmp.texi: Likewise.
26156         * manual/stdio.texi: Likewise.
26157         * manual/string.texi: Likewise.
26158         * manual/sysinfo.texi: Likewise.
26159         * manual/time.texi: Likewise.
26161 2013-12-27  Carlos O'Donell  <carlos@redhat.com>
26163         * po/sl.po: New file.
26165 2013-12-27  Mike Frysinger  <vapier@gentoo.org>
26167         * .gitignore: Add core/.gdbinit/.gdb_history.
26169 2013-12-27  Allan McRae  <allan@archlinux.org>
26171         [BZ #16369]
26172         * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
26173         Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
26175 2013-12-24  Brooks Moses  <bmoses@google.com>
26177         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
26178         all compilers that claim C++98 compliance, not just GCC.
26179         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
26180         Likewise.
26182 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
26184         * NEWS: Restore accidentally deleted bug-fix entries.
26186 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
26187             Ondřej Bílka  <neleai@seznam.cz>
26189         [BZ #15073]
26190         * malloc/malloc.c (_int_free): Perform sanity check only if we
26191         have_lock.
26193 2013-12-23  Ondřej Bílka  <neleai@seznam.cz>
26195         [BZ #12986]
26196         * manual/stdio.texi (String Input Conversions): Clarify that character
26197         classes are not supported.
26199 2013-12-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26201         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26203 2013-12-22  Joseph Myers  <joseph@codesourcery.com>
26205         [BZ #16337]
26206         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
26207         Calculate results for small negative arguments directly rather
26208         than using reflection formula with special underflow handling.
26210         * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
26211         * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
26212         sysdeps/unix/bsd/bsd4.4/syscalls.list.
26213         (fchflags): Likewise.
26214         (revoke): Likewise.
26215         (setlogin): Likewise.
26216         (sigaltstack): Likewise.
26217         (wait4): Likewise.
26218         (sigblock): Remove.
26219         (sigsetmask): Likewise.
26220         (wait3): Likewise.
26221         (waitpid): Likewise.
26222         * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
26223         * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
26224         file.
26225         * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
26226         * sysdeps/unix/bsd/Makefile: ... here.
26227         * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
26228         * sysdeps/unix/bsd/Versions: ... here.
26229         * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
26230         * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
26231         * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
26232         * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
26233         * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
26234         * sysdeps/unix/bsd/sigblock.c: ... here.
26235         * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
26236         * sysdeps/unix/bsd/sigsetmask.c: ... here.
26237         * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
26238         * sysdeps/unix/bsd/sigvec.c: ... here.
26239         * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
26240         * sysdeps/unix/bsd/tcdrain.c: ... here.
26241         * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
26242         * sysdeps/unix/bsd/tcgetattr.c: ... here.
26243         * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
26244         * sysdeps/unix/bsd/tcsetattr.c: ... here.
26245         * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
26246         * sysdeps/unix/bsd/wait.c: ... here.
26247         * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
26248         * sysdeps/unix/bsd/wait3.c: ... here.
26249         * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
26250         * sysdeps/unix/bsd/waitpid.c: ... here.
26252 2013-12-21  Joseph Myers  <joseph@codesourcery.com>
26254         [BZ #16356]
26255         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
26256         round-to-nearest for [!USE_AS_EXPM1L].
26257         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
26258         * math/auto-libm-test-in: Do not expect cosh tests to fail.  Add
26259         more tests of exp and exp10.  Expect some exp10 tests to miss
26260         exceptions or fail in directed rounding modes.
26261         * math/auto-libm-test-out: Regenerated.
26262         * math/libm-test.inc (exp10_tonearest_test_data): New array.
26263         (exp10_test_tonearest): New function.
26264         (exp10_towardzero_test_data): New array.
26265         (exp10_test_towardzero): New function.
26266         (exp10_downward_test_data): New array.
26267         (exp10_test_downward): New function.
26268         (exp10_upward_test_data): New array.
26269         (exp10_test_upward): New function.
26270         (main): Call the new functions.
26271         * sysdeps/i386/fpu/libm-test-ulps: Update.
26272         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26274 2013-12-20  Joseph Myers  <joseph@codesourcery.com>
26276         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
26277         asinh, atan, atan2, atanh, cbrt, cos and cosh.
26278         * math/auto-libm-test-out: Regenerated.
26279         * math/libm-test.inc (acosh_test_data): Add more tests.
26280         (atanh_test_data): Likewise.
26281         (ceil_test_data): Likewise.
26282         (copysign_test_data): Likewise.
26283         * sysdeps/i386/fpu/libm-test-ulps: Update.
26284         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26286         * timezone/checktab.awk: Update from tzcode 2013i.
26287         * timezone/private.h: Likewise.
26288         * timezone/scheck.c: Likewise.
26289         * timezone/tzfile.h: Likewise.
26290         * timezone/tzselect.ksh: Likewise.
26291         * timezone/zdump.c: Likewise.
26292         * timezone/zic.c: Likewise.
26294         * math/auto-libm-test-in: Add tests of cpow.
26295         * math/auto-libm-test-out: Regenerated.
26296         * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
26297         * math/gen-auto-libm-tests.c (func_calc_method): Add value
26298         mpc_cc_c.
26299         (func_calc_desc): Add mpc_cc_c union field.
26300         (test_functions): Add cpow.
26301         (special_fill_2pi): New function.
26302         (special_real_inputs): Add 2pi.
26303         (calc_generic_results): Handle mpc_cc_c.
26304         * sysdeps/i386/fpu/libm-test-ulps: Update.
26305         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26307         * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
26308         csqrt, ctan and ctanh.
26309         * math/auto-libm-test-out: Regenerated.
26310         * math/libm-test.inc (TEST_COND_x86_64): New macro.
26311         (TEST_COND_x86): Likewise.
26312         (ccos_test_data): Use AUTO_TESTS_c_c.
26313         (ccosh_test_data): Likewise.
26314         (cexp_test_data): Likewise.
26315         (clog_test_data): Likewise.
26316         (csqrt_test_data): Likewise.
26317         (ctan_test_data): Likewise.
26318         (ctan_tonearest_test_data): Likewise.
26319         (ctan_towardzero_test_data): Likewise.
26320         (ctan_downward_test_data): Likewise.
26321         (ctan_upward_test_data): Likewise.
26322         (ctanh_test_data): Likewise.
26323         (ctanh_tonearest_test_data): Likewise.
26324         (ctanh_towardzero_test_data): Likewise.
26325         (ctanh_downward_test_data): Likewise.
26326         (ctanh_upward_test_data): Likewise.
26327         * math/gen-auto-libm-tests.c (func_calc_method): Add value
26328         mpc_c_c.
26329         (func_calc_desc): Add mpc_c_c union field.
26330         (FUNC_mpc_c_c): New macro.
26331         (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
26332         ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
26333         ctanh.
26334         (special_fill_min_subnorm_p120): New function.
26335         (special_real_inputs): Add min_subnorm_p120.
26336         (calc_generic_results): Handle mpc_c_c.
26337         * sysdeps/i386/fpu/libm-test-ulps: Update.
26338         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26340 2013-12-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
26342         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
26343         (do_sin_slow): New functions.
26344         (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
26345         (cslow2, csloww1, csloww2): Use the new functions.
26347         * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
26348         Use M to change sign of result instead of X.  Assume X is
26349         positive.
26350         (csloww1): Likewise.
26351         (__sin): Adjust.
26352         (__cos): Adjust.
26354         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
26355         arguments A and DA.
26356         (__sin): Adjust.
26357         (__cos): Likewise.
26359         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
26360         (__cos): Likewise.
26361         (sloww1): Don't adjust sign of DX.
26362         (csloww1): Likewise.
26363         (sloww2): Use X directly and don't adjust sign of DX.
26364         (csloww2): Likewise.
26366 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
26368         * math/auto-libm-test-in: Add tests of cabs and carg.
26369         * math/auto-libm-test-out: Regenerated.
26370         * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
26371         (carg_test_data): Likewise.
26372         * math/gen-auto-libm-tests.c (func_calc_method): Add value
26373         mpc_c_f.
26374         (func_calc_desc): Add mpc_c_f union field.
26375         (test_functions): Add cabs and carg.
26376         (calc_generic_results): Handle mpc_c_f.
26378         * sysdeps/powerpc/powerpc32/libgcc-compat.S
26379         [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
26380         as a macro and a compat symbol.
26381         [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
26382         [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
26383         [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
26384         [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
26385         [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
26386         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
26387         not use .hidden.
26388         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
26389         Likewise.
26390         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
26391         Likewise.
26392         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
26393         Likewise.
26394         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
26395         Likewise.
26396         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
26397         Likewise.
26398         * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
26399         __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
26400         from GLIBC_2.3.2.
26402 2013-12-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26404         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26406 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
26408         * manual/texinfo.tex: Update to version 2013-11-26.10 with
26409         trailing whitespace removed.
26410         * scripts/config.guess: Update to version 2013-11-29.
26411         * scripts/config.sub: Update to version 2013-10-01.
26413         * math/auto-libm-test-in: Add tests of sincos.
26414         * math/auto-libm-test-out: Regenerated.
26415         * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
26416         * math/gen-auto-libm-tests.c (func_calc_method): Add value
26417         mpfr_f_11.
26418         (func_calc_desc): Add mpfr_f_11 union field.
26419         (test_functions): Add sincos.
26420         (calc_generic_results): Handle mpfr_f_11.
26421         * sysdeps/i386/fpu/libm-test-ulps: Update.
26422         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26424 2013-12-19  Andreas Schwab  <schwab@suse.de>
26426         * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
26427         CALL_MCOUNT.
26428         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
26429         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
26430         [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
26432 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
26434         * math/gen-libm-test.pl (%beautify): Remove M_* constants.
26435         * sysdeps/i386/fpu/libm-test-ulps: Update.
26436         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26438         [BZ #16293]
26439         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
26440         round-to-nearest mode when using frndint.
26441         * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
26442         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
26443         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
26444         Likewise.
26445         * math/auto-libm-test-in: Add more tests of expm1.  Do not expect
26446         sinh test to fail.
26447         * math/auto-libm-test-out: Regenerated.
26448         * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
26449         (TEST_COND_x86): Likewise.
26450         (expm1_tonearest_test_data): New array.
26451         (expm1_test_tonearest): New function.
26452         (expm1_towardzero_test_data): New array.
26453         (expm1_test_towardzero): New function.
26454         (expm1_downward_test_data): New array.
26455         (expm1_test_downward): New function.
26456         (expm1_upward_test_data): New array.
26457         (expm1_test_upward): New function.
26458         (main): Run the new test functions.
26459         * sysdeps/i386/fpu/libm-test-ulps: Update.
26460         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26462         * include/features.h: Update comment documenting feature test
26463         macros.  Mention _DEFAULT_SOURCE in comment.
26464         [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
26465         [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
26466         _BSD_SOURCE and _SVID_SOURCE.
26467         [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
26468         !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
26469         !_SVID_SOURCE]: Likewise.
26470         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
26471         (__USE_POSIX_IMPLICITLY): Define.
26472         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
26473         (_POSIX_SOURCE): Undefine and redefine.
26474         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
26475         (_POSIX_C_SOURCE): Likewise.
26476         * manual/creature.texi (_DEFAULT_SOURCE): Document.
26477         (Feature Test Macros): Update documentation of default features.
26479 2013-12-19  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
26481         * benchtests/Makefile: Add bench-strtok.
26482         * benchtests/bench-strtok.c: New file: strtok benchtest.
26484 2013-12-19  Allan McRae  <allan@archlinux.org>
26486         * manual/install.texi: Suppress menu for plain text output.
26487         * INSTALL: Regenerated.
26489 2013-12-18  Brooks Moses  <bmoses@google.com>
26491         [BZ #15846]
26492         * misc/getauxval.c: Include errno.h.
26493         (__getauxval): Set errno to ENOENT if the requested type is not
26494         found.
26495         * misc/sys/auxv.h (getauxval): Document that it may set errno;
26496         don't declare with __attribute_const__.
26497         * elf/tst-auxv.c: Add tests for errno and type-not-found case.
26498         * manual/startup.texi: Document that getauxval sets errno.
26500 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
26502         * math/auto-libm-test-in: Add tests of jn and yn.
26503         * math/auto-libm-test-out: Regenerated.
26504         * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
26505         (yn_test_data): Likewise.
26506         * math/gen-auto-libm-tests.c (func_calc_method): Add value
26507         mpfr_if_f.
26508         (func_calc_desc): Add mpfr_if_f union field.
26509         (FUNC_mpfr_if_f): New macro.
26510         (test_functions): Add jn and yn.
26511         (calc_generic_results): Assert type of second input for
26512         mpfr_ff_f.  Handle mpfr_if_f.
26513         (output_for_one_input_case): Disable all checking for arguments
26514         fitting floating-point types in case of an integer argument.
26515         * sysdeps/i386/fpu/libm-test-ulps: Update.
26516         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26518         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
26519         Don't expect fegetround reference in libm.so.
26521 2013-12-17  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
26523         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
26524         $(config-cflags-nofma).
26526 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
26528         * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
26529         * math/auto-libm-test-out: Regenerated.
26531         [BZ #16338]
26532         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
26533         to determine exponent and adjust argument to have exponent of -1.
26534         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
26535         log2.
26536         * math/auto-libm-test-out: Regenerated.
26537         * sysdeps/i386/fpu/libm-test-ulps: Update.
26538         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26540 2013-12-18  Ondřej Bílka  <neleai@seznam.cz>
26542         * manual/probes.texi: Remove cases when per-thread arenas are
26543         disabled.
26545 2013-12-18  Andreas Schwab  <schwab@suse.de>
26547         * sysdeps/i386/i686/multiarch/strstr.c: Remove.
26548         * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
26549         * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
26550         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
26551         * sysdeps/i386/i686/multiarch/Makefile: Update.
26552         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
26554 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
26556         * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
26557         * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
26559 2013-12-17  Paul Eggert  <eggert@cs.ucla.edu>
26561         [BZ #15968]
26562         Support TZ transition times < 00:00:00.
26563         This is needed for version-3 tz-format files; it supports time
26564         stamps past 2037 for America/Godthab (the only entry in the tz
26565         database for which this change is relevant).
26566         * manual/time.texi (TZ Variable): Document transition times
26567         from -167:59:59 through -00:00:01.
26568         * time/tzset.c (tz_rule): Time of day is now signed.
26569         (__tzset_parse_tz): Parse negative time of day.
26571         Document TZ transition times >= 25:00:00.
26572         * manual/time.texi (TZ Variable): Document transition times from
26573         25:00:00 through 167:59:59.  These are already supported, and this
26574         support will help with version-3 tz-format files.
26576         * manual/time.texi (TZ Variable): Modernize North America example
26577         to reflect current (i.e., 2007-and-later) daylight saving rules.
26579         * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
26581 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
26583         * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
26584         * sysdeps/unix/bsd/bits/stat.h: Likewise.
26585         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
26586         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
26587         * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
26588         * sysdeps/unix/bsd/bsdstat.h: Likewise.
26589         * sysdeps/unix/bsd/clock.c: Likewise.
26590         * sysdeps/unix/bsd/i386/vfork.S: Likewise.
26591         * sysdeps/unix/bsd/i386/wait3.S: Likewise.
26592         * sysdeps/unix/bsd/init-posix.c: Likewise.
26593         * sysdeps/unix/bsd/poll.c: Likewise.
26594         * sysdeps/unix/bsd/ptsname.c: Likewise.
26595         * sysdeps/unix/bsd/seekdir.c: Likewise.
26596         * sysdeps/unix/bsd/setegid.c: Likewise.
26597         * sysdeps/unix/bsd/seteuid.c: Likewise.
26598         * sysdeps/unix/bsd/setgid.c: Likewise.
26599         * sysdeps/unix/bsd/setrgid.c: Likewise.
26600         * sysdeps/unix/bsd/setruid.c: Likewise.
26601         * sysdeps/unix/bsd/setsid.c: Likewise.
26602         * sysdeps/unix/bsd/setuid.c: Likewise.
26603         * sysdeps/unix/bsd/sigaction.c: Likewise.
26604         * sysdeps/unix/bsd/sigprocmask.c: Likewise.
26605         * sysdeps/unix/bsd/sigsuspend.c: Likewise.
26606         * sysdeps/unix/bsd/sys/reboot.h: Likewise.
26607         * sysdeps/unix/bsd/telldir.c: Likewise.
26608         * sysdeps/unix/bsd/times.c: Likewise.
26609         * sysdeps/unix/bsd/usleep.c: Likewise.
26611         * misc/Makefile (install-lib): Remove libbsd-compat.a.
26612         ($(objpfx)libbsd-compat.a): Remove rule.
26614         * include/features.h (__FAVOR_BSD): Do not define.
26615         * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
26616         features conflicting with POSIX.
26617         (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
26618         (_BSD_SOURCE): Remove description of not being a subset of other
26619         feature test macros.
26620         * manual/job.texi (getpgrp): Do not document BSD version.
26621         (getpgid): Do not document by reference to BSD getpgrp.
26622         * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
26623         * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
26624         * signal/signal.h [__FAVOR_BSD]: Likewise.
26625         * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
26626         instead of making contents conditional on [__FAVOR_BSD].
26627         * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
26629 2013-12-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26631         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26633 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
26635         [BZ #16314]
26636         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
26637         values below 2**-450, not 2**-500.
26638         * math/auto-libm-test-in: Don't allow spurious underflow from
26639         hypot.
26640         * math/auto-libm-test-out: Regenerated.
26642         [BZ #16316]
26643         [BZ #16330]
26644         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
26645         values of ha and hb and sort them after adjusting subnormal
26646         arguments.
26647         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
26648         Likewise.
26649         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
26650         values of ea and eb and sort them after adjusting subnormal
26651         arguments.
26652         * math/auto-libm-test-in: Do not expect some hypot tests of
26653         subnormals to fail.  Add more hypot tests.
26654         * math/auto-libm-test-out: Regenerated.
26656 2013-12-16  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
26658         [BZ #13304]
26659         * sysdeps/sh/s_fma.c: New file.
26660         * sysdeps/sh/s_fmaf.c: New file.
26661         * sysdeps/sh/soft-fp/sfp-machine.h: New file.  Based on arm
26662         version.
26663         * sysdeps/sh/Implies: Add sh/soft-fp.
26665 2013-12-16  Roland McGrath  <roland@hack.frob.com>
26667         * elf/dl-error.c (struct catch): Add new member `errcode'.  Add a
26668         level of indirection to members `objname', `errstring', `malloced'.
26669         (_dl_signal_error): Store through pointers in *LCATCH rather modifying
26670         *LCATCH itself.  Set *LCATCH->errcode to ERRCODE rather than passing
26671         it as the __longjmp argument (just pass 1 instead).
26672         (_dl_catch_error): Initialize C with argument pointers and address of
26673         volatile local ERRCODE rather than copying values out of C at return.
26675 2013-12-16  Joseph Myers  <joseph@codesourcery.com>
26677         * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
26678         * math/auto-libm-test-out: Regenerated.
26679         * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
26680         (hypot_test_data): Likewise.
26681         (pow_test_data): Likewise.
26682         (pow_tonearest_test_data): Likewise.
26683         * math/gen-auto-libm-tests.c (func_calc_method): Add value
26684         mpfr_ff_f.
26685         (func_calc_desc): Add mpfr_ff_f union field.
26686         (FUNC_mpfr_ff_f): New macro.
26687         (test_functions): Add atan2, hypot and pow.
26688         (special_fill_min): New function.
26689         (special_fill_minus_min): Likewise.
26690         (special_fill_min_subnorm): Likewise.
26691         (special_fill_minus_min_subnorm): Likewise.
26692         (special_real_inputs): Add min, -min, min_subnorm and
26693         -min_subnorm.
26694         (calc_generic_results): Handle mpfr_ff_f.
26695         * sysdeps/i386/fpu/libm-test-ulps: Update.
26696         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26698 2013-12-16  Will Newton  <will.newton@linaro.org>
26700         * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
26701         (Aligned Memory Blocks): Add documentation for aligned_alloc
26702         and suggest it as an alternative to posix_memalign.
26703         (Hooks for Malloc): Document __memalign_hook is also called
26704         for aligned_alloc.  (Summary of Malloc): Add summary for
26705         aligned alloc.  Document __memalign_hook is also called
26706         for aligned_alloc.
26708 2013-12-16  Will Newton  <will.newton@linaro.org>
26710         * manual/memory.texi (Malloc Examples): Clarify default
26711         alignment documentation.  Suggest posix_memalign rather
26712         than memalign or valloc.
26713         (Aligned Memory Blocks): Remove suggestion to use memalign
26714         or valloc.  Remove obsolete comment about BSD.
26715         Document memalign errno values and mark the function obsolete.
26716         Document posix_memalign returned error codes.  Mark valloc
26717         as obsolete.  (Hooks for Malloc): __memalign_hook is also
26718         called for posix_memalign and valloc.
26719         (Summary of Malloc): Add posix_memalign to function summary.
26720         __memalign_hook is also called for posix_memalign and valloc.
26722 2013-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
26724         * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
26725         TAYLOR_SIN.
26726         (__sin): Adjust.
26727         (__cos): Likewise.
26728         (sloww): Use mynumber union.  Expand ternary operator into
26729         if-else statements.
26730         (cslow): use mynumber union.
26732 2013-12-16  Allan McRae  <allan@archlinux.org>
26734         * configure.ac: Set AUTOCONF when maintainer-mode is not used.
26735         * configure: Regenerated.
26737         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
26739         [BZ #14120]
26740         * configure.ac: Added --enable-maintainer-mode. Check for
26741         autoconf when enabled.
26742         * configure: Regenerated.
26744         * nscd/nscd.service: New file.
26745         * nscd/nscd.tmpfiles: New file.
26747 2013-12-14  Ondřej Bílka  <neleai@seznam.cz>
26749         [BZ #12100]
26750         * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
26751         * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
26752         * sysdeps/x86_64/multiarch/strstr.c: ... here.
26753         (strstr): Add __strstr_sse2_unaligned ifunc.
26754         * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
26755         * sysdeps/x86_64/multiarch/strcasestr.c ... here.
26756         (strcasestr): Remove __strcasestr_sse42 ifunc.
26757         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
26758         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
26759         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
26761 2013-12-14  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
26763         * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
26764         * sysdeps/sh/bits/fenv.h: ... here.
26765         * sysdeps/sh/sh4/fpu/bits: Remove directory.
26767 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26769         * NEWS: Mention ppc64 STT_GNU_IFUNC support.
26771         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
26772         hypotf multiarch implementations.
26773         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
26774         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
26775         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
26776         multiarch hypot for PPC64.
26777         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
26778         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
26779         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
26780         multiarch hypotf for PPC64.
26782         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
26783         modff multiarch implementations.
26784         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
26785         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
26786         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
26787         multiarch modf for PPC64.
26788         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
26789         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
26790         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
26791         multiarch modff for PPC64.
26793         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
26794         and logl multiarch implementations.
26795         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
26796         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
26797         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
26798         multiarch logb for PPC64.
26799         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
26800         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
26801         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
26802         multiarch logb for PPC64.
26803         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
26804         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
26805         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
26806         multiarch logb for PPC64.
26808         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
26809         isinff multiarch implementation.
26810         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
26811         file.
26812         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
26813         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
26814         multiarch isinf for PPC64.
26815         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
26816         file.
26817         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
26818         multiarch isinff for PPC64.
26820         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
26821         finitef multiarch implementation.
26822         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
26823         file.
26824         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
26825         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
26826         multiarch finite for PPC64.
26827         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
26828         file.
26829         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
26830         multiarch finitef for PPC64.
26832         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
26833         lrint multiarch implementation.
26834         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
26835         file.
26836         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
26837         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
26838         multiarch llrint for PPC64.
26839         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
26840         multiarch lrint for PPC64.
26842         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
26843         copysignf multiarch implementation.
26844         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
26845         file.
26846         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
26847         file.
26848         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
26849         multiarch copysign for PPC64.
26850         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
26851         multiarch copysignf for PPC64.
26853         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
26854         multiarch implementation.
26855         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
26856         file.
26857         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
26858         file.
26859         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
26860         file.
26861         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
26862         file.
26863         multiarch llround for PPC64.
26864         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
26865         multiarch trunc for PPC64.
26866         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
26867         multiarch truncf for PPC64.
26869         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
26870         multiarch implementation.
26871         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
26872         file.
26873         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
26874         file.
26875         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
26876         file.
26877         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
26878         file.
26879         multiarch llround for PPC64.
26880         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
26881         multiarch round for PPC64.
26882         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
26883         multiarch roundf for PPC64.
26885         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
26886         multiarch implementation.
26887         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
26888         file.
26889         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
26890         file.
26891         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
26892         file.
26893         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
26894         file.
26895         multiarch llround for PPC64.
26896         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
26897         multiarch floor for PPC64.
26898         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
26899         multiarch floorf for PPC64.
26901         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
26902         multiarch implementation.
26903         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
26904         file.
26905         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
26906         file.
26907         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
26908         file.
26909         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
26910         file.
26911         multiarch llround for PPC64.
26912         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
26913         multiarch ceil for PPC64.
26914         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
26915         multiarch ceilf for PPC64.
26917         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
26918         multiarch implementation.
26919         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
26920         file.
26921         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
26922         file.
26923         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
26924         file.
26925         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
26926         multiarch llround for PPC64.
26927         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
26928         multiarch lround for PPC64.
26930         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
26931         multiarch implementation.
26932         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
26933         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
26934         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
26935         file.
26936         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
26937         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
26938         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
26939         multiarch isnan for PPC64.
26940         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
26941         multiarch isnanf for PPC64.
26943         * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
26944         * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
26945         * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
26946         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
26947         * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
26948         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
26950         * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
26951         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
26952         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
26953         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
26955         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
26956         multiarch implementations.
26957         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
26958         (__libc_ifunc_impl_list): Likewise.
26959         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
26960         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
26961         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
26962         multiarch stpcpy for PPC64.
26964         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
26965         multiarch implementations.
26966         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
26967         (__libc_ifunc_impl_list): Likewise.
26968         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
26969         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
26970         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
26971         multiarch strcpy for PPC64.
26973         * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
26974         redefine function name.
26975         (_wordcopy_fwd_dest_aligned): Likewise.
26976         (_wordcopy_bwd_aligned): Likewise.
26977         (_wordcopy_bwd_dest_aligned): Likewise.
26978         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
26979         multiarch implementations.
26980         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
26981         (__libc_ifunc_impl_list): Likewise.
26982         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
26983         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
26984         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
26985         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
26986         multiarch wcscpy for PPC64.
26988         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
26989         multiarch implementations.
26990         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
26991         (__libc_ifunc_impl_list): Likewise.
26992         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
26993         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
26994         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
26995         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
26996         multiarch wcscpy for PPC64.
26998         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
26999         multiarch implementations.
27000         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
27001         (__libc_ifunc_impl_list): Likewise.
27002         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
27003         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
27004         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
27005         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
27006         multiarch wcsrchr for PPC64.
27008         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
27009         multiarch implementations.
27010         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
27011         (__libc_ifunc_impl_list): Likewise.
27012         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
27013         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
27014         * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
27015         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
27016         multiarch wcschr for PPC64.
27018         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
27019         multiarch implementations.
27020         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
27021         (__libc_ifunc_impl_list): Likewise.
27022         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
27023         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
27024         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
27025         multiarch strchrnul for PPC64.
27027         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
27028         implementations.
27029         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
27030         (__libc_ifunc_impl_list): Likewise.
27031         * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
27032         * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
27033         * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
27034         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
27035         strchr for PPC64.
27037         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
27038         implementations.
27039         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
27040         (__libc_ifunc_impl_list): Likewise.
27041         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
27042         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
27043         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
27044         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
27045         strncmp for PPC64.
27047         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
27048         multiarch implementations.
27049         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
27050         (__libc_ifunc_impl_list): Likewise.
27051         * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
27052         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
27053         strncasecmp for PPC64.
27054         * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
27055         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
27056         multiarch strncasecmp_l for PPC64.
27058         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
27059         multiarch implementations.
27060         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
27061         (__libc_ifunc_impl_list): Likewise.
27062         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
27063         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
27064         multiarch strcasecmp for PPC64.
27065         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
27066         file.
27067         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
27068         multiarch strcasecmp_l for PPC64.
27070         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
27071         implementations.
27072         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
27073         (__libc_ifunc_impl_list): Likewise.
27074         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
27075         * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
27076         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
27077         strnlen for PPC64.
27079         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
27080         implementations.
27081         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
27082         (__libc_ifunc_impl_list): Likewise.
27083         * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
27084         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
27085         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
27086         strlen for PPC64.
27088         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
27089         implementations.
27090         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
27091         (__libc_ifunc_impl_list): Likewise.
27092         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
27093         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
27094         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
27095         rawmemrchr for PPC64.
27097         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
27098         implementation.
27099         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
27100         (__libc_ifunc_impl_list): Likewise.
27101         * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
27102         * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
27103         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
27104         memrchr for PPC64.
27106         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
27107         implementation.
27108         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
27109         (__libc_ifunc_impl_list): Likewise.
27110         * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
27111         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
27112         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
27113         memchr for PPC64.
27115         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
27116         implementation.
27117         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
27118         (__libc_ifunc_impl_list): Likewise.
27119         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
27120         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
27121         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
27122         mempcpy for PPC64.
27124         * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
27125         avoid cretion of __bzero symbol.
27126         * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
27127         Likewise.
27128         * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
27129         Likewise.
27130         * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
27131         Likewise.
27132         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
27133         multiarch implementations.
27134         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
27135         (__libc_ifunc_impl_list): Likewise.
27136         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
27137         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
27138         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
27139         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
27140         bzero for PPC32.
27141         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
27142         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
27143         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
27144         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
27145         * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
27146         memset for PPC64.
27147         * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
27149         * string/memcmp.c (memcmp): Using macro to redefine symbol name.
27150         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
27151         implementations.
27152         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
27153         (__libc_ifunc_impl_list): Likewise.
27154         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
27155         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
27156         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
27157         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
27158         memcmp for PPC64.
27160         * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
27161         multiarch for POWER/PPC64.
27162         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
27163         * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
27164         * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
27165         * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
27166         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
27167         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
27168         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
27169         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
27170         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
27171         memcpy for PPC64.
27173         * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
27174         * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
27175         * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
27176         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
27177         * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
27178         * sysdeps/powerpc/powerpc64/power5/Implies: New File.
27179         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
27180         * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
27181         * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
27182         * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
27183         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
27184         * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
27185         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
27186         * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
27187         * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
27188         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
27189         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
27190         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
27191         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
27192         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
27193         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
27194         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
27196 2013-12-12  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
27198         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
27200 2013-12-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
27202         * benchtests/Makefile (bench): Add exp2 and log2.
27203         (LDLIBS-bench-exp2): Add -lm.
27204         (LDLIBS-bench-log2): Likewise.
27205         * benchtests/exp2-inputs: New inputs file.
27206         * benchtests/log2-inputs: New inputs file.
27207         * benchtests/log-inputs: Add new inputs.
27208         * benchtests/tan-inputs: Likewise.
27210 2013-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
27212         * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
27213         definition...
27214         (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
27215         (csloww2): ... from here.
27217         * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
27218         instead of structures.
27219         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
27220         (POLYNOMIAL): Likewise.
27221         (TAYLOR_SLOW): Likewise.
27222         (__sin): Likewise.
27223         (__cos): Likewise.
27224         (slow1): Likewise.
27225         (slow2): Likewise.
27226         (sloww): Likewise.
27227         (sloww1); Likewise.
27228         (sloww2): Likewise.
27229         (bsloww1): Likewise.
27230         (bsloww2): Likewise.
27231         (cslow2): Likewise.
27232         (csloww): Likewise.
27233         (csloww1): Likewise.
27234         (csloww2): Likewise.
27236 2013-12-10  Ondřej Bílka  <neleai@seznam.cz>
27238         * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
27239         (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
27240         Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
27241         * malloc/hooks.c (realloc_check): Likewise.
27243         * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
27244         * malloc/arena.c: Remove PER_THREAD conditional.
27245         [!PER_THREAD]: Remove code.
27246         (ptmalloc_unlock_all2): Likewise.
27247         (ptmalloc_init): Likewise.
27248         (_int_new_arena): Likewise.
27249         (arena_get2): Likewise.
27250         * malloc/hooks.c (__malloc_get_state): Likewise.
27251         (__malloc_set_state): Likewise.
27252         * malloc/malloc.c: Likewise.
27253         (struct malloc_state): Likewise.
27254         (struct malloc_par): Likewise.
27255         (__libc_realloc): Likewise.
27256         (__libc_mallopt): Likewise.
27258 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27260         * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
27262 2013-12-09  Ondřej Bílka  <neleai@seznam.cz>
27264         * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
27265         macro to a function.  Check for zero perturb_byte.
27266         (_int_malloc, _int_free): Remove zero perturb_byte checks.
27268         * malloc/malloc.c: (force_reg): Remove.
27269         (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
27270         (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
27271         force_reg by atomic_forced_read.
27272         * malloc/arena.c (ptmalloc_init): Likewise.
27273         * malloc/hooks.c (top_check): Likewise.
27275 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27277         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27279 2013-12-09  Markus Trippelsdorf  <markus@trippelsdorf.de>
27281         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
27283 2013-12-08  Joseph Myers  <joseph@codesourcery.com>
27285         * math/auto-libm-test-in: Add tests of lgamma.
27286         * math/auto-libm-test-out: Regenerated.
27287         * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
27288         (M_LOG_2_SQRT_PIl): Likewise.
27289         (lgamma_test_data): Use AUTO_TESTS_f_f1.
27290         * math/gen-auto-libm-tests.c (func_calc_method): Add value
27291         mpfr_f_f1.
27292         (func_calc_desc): Add mpfr_f_f1 union field.
27293         (ARGS1): New macro.
27294         (ARGS2): Likewise.
27295         (ARGS3): Likewise.
27296         (ARGS4): Likewise.
27297         (RET1): Likewise.
27298         (RET2): Likewise.
27299         (CALC): Likewise.
27300         (FUNC): Likewise.
27301         (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
27302         (test_functions): Add lgamma.
27303         (calc_generic_results): Handle mpfr_f_f1.
27304         * sysdeps/i386/fpu/libm-test-ulps: Update.
27305         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27307 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27309         * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
27310         __mpn_add_n for PowerPC64/POWER7.
27311         * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
27312         __mpn_sub_n for PowerPC64/POWER7.
27314         * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
27315         __mpn_addmul_1 for PowerPC64.
27316         * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
27317         __mpn_submul_1 for PowerPC64.
27318         * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
27319         for PowerPC64.
27320         * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
27321         for PowerPC64.
27323 2013-12-06  Fernando J. V. da Silva  <fernandojvdasilva@gmail.com>
27325         [BZ #15089]
27326         * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
27328 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27330         * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
27332         * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
27333         add multiarch folders.
27334         * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
27335         * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
27336         * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
27337         * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
27338         * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
27339         * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
27340         * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
27341         * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
27342         * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
27343         * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
27344         * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
27345         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
27346         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
27347         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
27348         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
27349         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
27350         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
27352         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
27353         __ieee754_hypot and __ieee754_hypotf multiarch implementations.
27354         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
27355         New file.
27356         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
27357         New file.
27358         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
27359         multiarch __ieee754_hypot for PowerPC32.
27360         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
27361         New file.
27362         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
27363         New file.
27364         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
27365         multiarch __ieee754_hypotf for PowerPC32.
27367         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
27368         long_double_symbol only if __logbl is defined.
27369         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
27370         * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
27371         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
27372         * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
27373         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
27374         * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
27375         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
27376         path for implementation.
27377         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
27378         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
27379         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
27380         logb, and logbl multiarch implementations for PowerPC32.
27381         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
27382         file.
27383         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
27384         file.
27385         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
27386         multiarch logb for PowerPC32.
27387         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
27388         file.
27389         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
27390         file.
27391         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
27392         multiarch logbf for PowerPC32.
27393         * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
27394         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
27395         file.
27396         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
27397         multiarch logbl implementation for PowerPC32.
27399         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
27400         and modff multiarch implementations.
27401         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
27402         New file.
27403         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
27404         New file.
27405         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
27406         multiarch modf for PowerPC32.
27407         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
27408         New file.
27409         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
27410         New file.
27411         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
27412         multiarch modff for PowerPC32.
27414         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
27415         and lrintf multiarch implementations.
27416         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
27417         New file.
27418         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
27419         New file.
27420         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
27421         multiarch lrint for PowerPC32.
27422         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
27423         file: multiarch lrintf for PowerPC32.
27425         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
27426         and lroundf multiarch implementations.
27427         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
27428         New file.
27429         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
27430         New file.
27431         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
27432         New file.
27433         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
27434         multiarch lround for PowerPC32.
27435         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
27436         file: multiarch lroundf for PowerPC32.
27438         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
27439         copysign and copysignf multiarch implementations.
27440         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
27441         New file.
27442         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
27443         New file.
27444         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
27445         file: multiarch copysign for PowerPC32.
27446         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
27447         file: multiarch copysignf for PowerPC32.
27449         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
27450         and truncf multiarch implementations.
27451         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
27452         New file.
27453         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
27454         file.
27455         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
27456         multiarch trunc for PowerPC32.
27457         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
27458         New file.
27459         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
27460         New file.
27461         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
27462         multiarch truncf for PowerPC32.
27464         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
27465         and roundf multiarch implementations.
27466         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
27467         New file.
27468         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
27469         file.
27470         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
27471         multiarch round for PowerPC32.
27472         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
27473         New file.
27474         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
27475         New file.
27476         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
27477         multiarch roundf for PowerPC32.
27479         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
27480         and floorf multiarch implementations.
27481         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
27482         New file.
27483         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
27484         file.
27485         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
27486         multiarch floor for PowerPC32.
27487         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
27488         New file.
27489         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
27490         New file.
27491         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
27492         multiarch floorf for PowerPC32.
27494         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
27495         and ceilf multiarch implementations.
27496         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
27497         New file.
27498         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
27499         file.
27500         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
27501         multiarch ceil for PowerPC32.
27502         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
27503         New file.
27504         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
27505         file.
27506         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
27507         multiarch ceilf for PowerPC32.
27509         * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
27510         is defined.
27511         * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
27512         FINITEF is defined.
27513         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
27514         and finitef multiarch implementations.
27515         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
27516         New file.
27517         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
27518         file.
27519         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
27520         multiarch finite for PowerPC32.
27521         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
27522         New file.
27523         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
27524         file: multiarch finitef for PowerPC32.
27526         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
27527         and isinff multiarch implementations.
27528         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
27529         file.
27530         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
27531         file.
27532         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
27533         multiarch isinf for PowerPC32.
27534         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
27535         New file.
27536         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
27537         multiarch isinff for PowerPC32.
27539         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
27540         alias when __isnan is defined.
27541         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
27542         and isnanf multiarch implementations.
27543         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
27544         file.
27545         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
27546         file.
27547         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
27548         file.
27549         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
27550         file.
27551         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
27552         multiarch isnan for PowerPC32.
27553         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
27554         New file.
27555         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
27556         New file.
27557         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
27558         multiarch isnanf for PowerPC32.
27560         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
27561         and sqrtf multiarch implementations.
27562         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
27563         file.
27564         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
27565         file.
27566         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
27567         multiarch sqrt for PowerPC32.
27568         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
27569         file.
27570         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
27571         file.
27572         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
27573         multiarch sqrtf for PowerPC32.
27575         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
27576         and llroundf multiarch implementations.
27577         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
27578         New file.
27579         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
27580         New file.
27581         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
27582         New file.
27583         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
27584         file: multiarch llround for PowerPC32.
27585         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
27586         file: multiarch llroundf for PowerPC32.
27588         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
27589         multiarch PowerPC32 fpu implementations.
27590         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
27591         New file.
27592         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
27593         New file.
27594         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
27595         multiarch llrint for PowerPC32.
27596         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
27597         New file.
27598         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
27599         New file.
27600         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
27601         file.
27603         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
27605         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
27606         file.
27607         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
27608         file.
27609         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
27610         file.
27611         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
27612         multiarch wordcopy for PPC32.
27613         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
27614         wordcopy objects.
27615         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
27616         (__libc_ifunc_impl_list): Likewise.
27617         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
27618         * sysdeps/powerpc/power4/wordcopy.c: ... to here.
27619         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
27620         * sysdeps/powerpc/power6/wordcopy.c: ... to here.
27621         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
27622         * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
27624         * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
27625         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
27626         file.
27627         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
27628         file.
27629         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
27630         file.
27631         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
27632         multiarch wcscpy for PPC32.
27633         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
27634         multiarch objects.
27635         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
27636         (__libc_ifunc_impl_list): Likewise.
27637         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
27638         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
27639         * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
27640         sysdeps/powerpc/power6/wcscpy.c.
27642         * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
27643         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
27644         file.
27645         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
27646         file.
27647         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
27648         file.
27649         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
27650         multiarch wcsrchr for PPC32.
27651         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
27652         multiarch objects.
27653         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
27654         (__libc_ifunc_impl_list): Likewise.
27655         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
27656         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
27657         * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
27658         sysdeps/powerpc/power6/wcsrchr.c.
27660         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
27661         file.
27662         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
27663         file.
27664         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
27665         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
27666         multiarch wcschr for PPc32.
27667         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
27668         multiarch objects.
27669         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
27670         (__libc_ifunc_impl_list): Likewise.
27671         * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
27672         * sysdeps/powerpc/power6/wcschr.c: ... to here.
27673         * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
27674         sysdeps/powerpc/power6/wcschr.c.
27676         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
27677         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
27678         file.
27679         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
27680         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
27681         file: multiarch strchr for PPC32.
27682         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
27683         multiarch objects.
27684         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
27685         (__libc_ifunc_impl_list): Likewise.
27687         * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
27688         name.
27689         * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
27690         file.
27691         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
27692         file.
27693         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
27694         multiarch strchrnul for PPC32.
27695         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
27696         multiarch objects.
27697         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
27698         (__libc_ifunc_impl_list): Likewise.
27700         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
27701         file.
27702         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
27703         multiarch strncasecmp for PPC32.
27704         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
27705         file.
27706         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
27707         multiarch strncasecmp_l for PPC32.
27708         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
27709         strncasecmp multiarch objects.
27710         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
27711         (__libc_ifunc_impl_list): Likewise.
27713         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
27714         file.
27715         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
27716         multiarch strncasecmp for PPC32.
27717         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
27718         New file.
27719         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
27720         multiarch strcasecmp_l for PPC32.
27721         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
27722         multiarch objects.
27723         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
27724         (__libc_ifunc_impl_list): Likewise.
27726         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
27727         file.
27728         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
27729         file.
27730         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
27731         multiarch strncmp for PPC32.
27732         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
27733         multiarch objects.
27734         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
27735         (__libc_ifunc_impl_list): Likewise.
27737         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
27738         * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
27739         file.
27740         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
27741         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
27742         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
27743         multiarch objects.
27744         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
27745         (__libc_ifunc_impl_list): Likewise.
27747         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
27748         file.
27749         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
27750         file.
27751         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
27752         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
27753         multiarch objects.
27754         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
27755         (__libc_ifunc_impl_list): Likewise.
27757         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
27758         file.
27759         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
27760         file.
27761         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
27762         multiarch rawmemchr for PPC32.
27763         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
27764         multiarch objects.
27765         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
27766         (__libc_ifunc_impl_list): Likewise.
27768         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
27769         file.
27770         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
27771         file.
27772         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
27773         file: memrchr multiarch for PPC32.
27774         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
27775         multiarch objects.
27776         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
27777         (__libc_ifunc_impl_list): Likewise.
27779         * string/memchr.c (__memchr): Using macro to redefine symbol name.
27780         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
27781         file.
27782         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
27783         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
27784         multiarch memchr for PPC32.
27785         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
27786         multiarch objects.
27787         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
27788         (__libc_ifunc_impl_list): Likewise.
27790         * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
27791         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
27792         file.
27793         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
27794         file.
27795         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
27796         file: multiarch mempcpy for PPC32.
27797         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
27798         multiarch objects.
27799         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
27800         (__libc_ifunc_impl_list): Likewise.
27802         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
27803         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
27804         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
27805         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
27806         multiarch bzero for PPC32.
27807         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
27808         file.
27809         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
27810         file.
27811         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
27812         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
27813         file: multiarch memset for PPC32.
27814         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
27815         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
27816         memset multiarch objects.
27817         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
27818         (__libc_ifunc_impl_list): Likewise.
27820         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
27821         file.
27822         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
27823         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
27824         memcmp for PPC32.
27825         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
27826         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
27827         multiarch objects.
27828         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
27829         (__libc_ifunc_impl_list): Likewise.
27831         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
27832         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
27833         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
27834         file.
27835         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
27836         file.
27837         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
27838         file.
27839         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
27840         multiarch memcpy for PPC32.
27841         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
27842         multiarch objects.
27843         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
27844         (__libc_ifunc_impl_list): Likewise.
27846         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
27847         support multiarch for POWER/PPC32.
27848         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
27849         Likewise.
27850         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
27851         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
27852         Implies file to make multiarch folder appers before the fpu and
27853         default folder for power4 configuration.
27855 2013-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
27857         * scripts/bench.pl: Append volatile keyword to type.
27859 2013-12-05  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
27861         * sysdeps/sh/sotruss-lib.c: New file.
27862         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
27864 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27866         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27868 2013-12-05  Joseph Myers  <joseph@codesourcery.com>
27870         [BZ #6810]
27871         * math/w_tgamma.c: Include <errno.h>.
27872         (__tgamma): Use __glibc_unlikely.  Set errno on underflow to 0.
27873         * math/w_tgammaf.c: Include <errno.h>.
27874         (__tgammaf): Use __glibc_unlikely.  Set errno on underflow to 0.
27875         * math/w_tgammal.c: Include <errno.h>.
27876         (__tgammal): Use __glibc_unlikely.  Set errno on underflow to 0.
27877         * math/auto-libm-test-in: Do not allow missing errno on tgamma
27878         underflow.  Add more tgamma tests.
27879         * math/auto-libm-test-out: Regenerated.
27880         * sysdeps/i386/fpu/libm-test-ulps: Update.
27881         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27883         * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
27884         sin, sinh, tan, tanh, tgamma, y0 and y1.
27885         * math/auto-libm-test-out: Regenerated.
27886         * math/libm-test.inc (TEST_COND_x86_64): New macro.
27887         (TEST_COND_x86): Likewise.
27888         (M_E2l): Remove macro.
27889         (M_E3l): Likewise.
27890         (M_2_SQRT_PIl): Likewise.
27891         (M_SQRT_PIl): Likewise.
27892         (M_1_DIV_El): Likewise.
27893         (log_test_data): Use AUTO_TESTS_f_f.
27894         (log10_test_data): Likewise.
27895         (log1p_test_data): Likewise.
27896         (log2_test_data): Likewise.
27897         (sin_test_data): Likewise.
27898         (sin_tonearest_test_data): Likewise.
27899         (sin_towardzero_test_data): Likewise.
27900         (sin_downward_test_data): Likewise.
27901         (sin_upward_test_data): Likewise.
27902         (sinh_test_data): Likewise.
27903         (sinh_tonearest_test_data): Likewise.
27904         (sinh_towardzero_test_data): Likewise.
27905         (sinh_downward_test_data): Likewise.
27906         (sinh_upward_test_data): Likewise.
27907         (tan_test_data): Likewise.
27908         (tan_tonearest_test_data): Likewise.
27909         (tan_towardzero_test_data): Likewise.
27910         (tan_downward_test_data): Likewise.
27911         (tan_upward_test_data): Likewise.
27912         (tanh_test_data): Likewise.
27913         (tgamma_test_data): Likewise.
27914         (y0_test_data): Likewise.
27915         (y1_test_data): Likewise.
27916         * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
27917         (special_real_inputs): Add pi/4.
27918         * sysdeps/i386/fpu/libm-test-ulps: Update.
27919         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27921 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27923         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
27924         "longjmp_target" static probes.
27925         (__longjmp): Rename to __longjmp_symbol.
27926         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
27927         * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
27928         on which longjmp to generate.
27929         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
27930         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
27931         probe.
27932         (__sigsetjmp): Rename to __sigsetjmp_symbol.
27933         (__sigjmp_save): Rename to __sigjmp_save_symbol.
27934         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
27935         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
27936         and __sigjmp_save_symbol based on which sigsetjmp to generated.
27937         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
27938         * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
27939         __longjmp_symbol based on which __longjmp to generate.
27940         * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
27941         probe.
27942         (setjmp): Rename to setjmp_symbol.
27943         (__sigsetjmp): Rename to __sigsetjmp_symbol.
27944         (_setjmp): Rename to _setjmp_symbol.
27945         (__sigsetjmp): Rename to __sigsetjmp_symbol.
27946         * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
27947         _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
27948         which setjmp to generate.
27949         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
27950         "longjmp_target" static probes.
27952 2013-12-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
27954         * benchtests/README: Add note about output arguments.
27955         * benchtests/bench-sincos.c: Remove file.
27956         * benchtests/sincos-inputs: New file.
27957         * scripts/bench.pl: Identify output arguments and define
27958         static variables for them.
27960         * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
27962         [BZ #15941]
27963         * Makefile (INSTALL): Add install-plain.texi as the primary
27964         dependency.
27965         * manual/install-plain.texi: New file.
27966         * manual/install.texi: Include node directive only for
27967         non-plaintext output.
27969 2013-12-04  Joseph Myers  <joseph@codesourcery.com>
27971         * stdlib/longlong.h: Update from GCC.
27973         [BZ #6807]
27974         [BZ #15901]
27975         * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
27976         * math/w_j0f.c (y0f): Likewise.
27977         * math/w_j0l.c (__y0l): Likewise.
27978         * math/w_j1.c (y1): Likewise.
27979         * math/w_j1f.c (y1f): Likewise.
27980         * math/w_j1l.c (__y1l): Likewise
27981         * math/w_jn.c (yn): Likewise.
27982         * math/w_jnf.c (ynf): Likewise.
27983         * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
27984         Bessel function pole errors in _POSIX_ mode.  Use NAN as return
27985         value for Bessel function domain errors outside _SVID_ mode.
27986         Adjust sign of return value for yn (negative integer, 0).
27987         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
27988         by zero in return for negative x and set sign appropriately for
27989         negative n.
27990         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
27991         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
27992         * math/libm-test.inc (y0_test_data): Add more tests and adjust
27993         expectations in error cases.
27994         (y1_test_data): Likewise.
27995         (yn_test_data): Likewise.
27996         * sysdeps/i386/fpu/libm-test-ulps: Update.
27997         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27999 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
28001         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
28002         "64" to "64-v1".  Add "64-v2".
28003         (abi-64-options): Rename to ...
28004         (abi-64-v1-options): ... this.   Redefine _CALL_ELF.
28005         (abi-64-condition): Rename to ...
28006         (abi-64-v1-condition): ... this.  Add _CALL_ELF check.,
28007         (abi-64-ld-soname): Rename to ...
28008         (abi-64-v1-ld-soname): ... this.
28009         (abi-64-v2-options): Define.
28010         (abi-64-v2-condition): Likewise.
28011         (abi-64-v2-ld-soname): Likewise.
28012         * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
28013         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
28014         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
28015         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
28016         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
28018 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
28019             Alan Modra  <amodra@gmail.com>
28021         * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
28022         New versions for use with the ELFv2 ABI.
28023         (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
28024         * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
28025         declaration.
28026         (struct La_ppc64v2_retval): Likewise.
28027         (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
28028         (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
28029         * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
28030         to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
28031         (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
28032         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
28033         Do not save or restore CR.
28034         (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
28035         (_dl_profile_resolve): Do no save or restore CR.  Support extended
28036         return values for ELFv2 ABI.  Fix location of FPR return registers.
28037         * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
28038         updated values for _CALL_ELF == 2.
28039         (La_regs, La_retval, int_retval): Likewise.
28041 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
28043         * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
28044         (FRAME_MIN_SIZE_PARM): Likewise.
28045         (FRAME_BACKCHAIN): Likewise.
28046         (FRAME_CR_SAVE): Likewise.
28047         (FRAME_LR_SAVE): Likewise.
28048         (FRAME_TOC_SAVE): Likewise.
28049         (FRAME_PARM_SAVE): Likewise.
28050         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
28051         FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
28052         FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
28053         (call_mcount_parm_offset): New macro.
28054         (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
28055         (PROF): Use symbolic stack frame offsets.
28056         (TAIL_CALL_SYSCALL_ERROR): Likewise.
28057         * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
28058         Redefine in terms of FRAME_MIN_SIZE.
28059         (_dl_runtime_resolve): Use symbolic stack frame offsets.
28060         (_dl_profile_resolve): Likewise.  Update comment.
28061         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
28062         symbols stack frame offsets.
28063         (__sigsetjmp): Likewise.
28064         * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
28065         * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
28066         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
28067         * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
28069         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
28070         (FRAME_BACKCHAIN): Remove.
28071         (FRAME_CR_SAVE): Likewise.
28072         (FRAME_LR_SAVE): Likewise.
28073         (FRAME_COMPILER_DW): Likewise.
28074         (FRAME_LINKER_DW): Likewise.
28075         (FRAME_TOC_SAVE): Likewise.
28076         (FRAME_PARM_SAVE): Likewise.
28077         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
28078         (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
28079         (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
28080         * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
28081         (CHECK_SP): Use symbolic stack frame offsets.
28082         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
28083         zone" instead of caller's parameter save area for temp storage.
28084         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
28085         Likewise.  Also, use symbolic stack frame offsets.
28086         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
28087         stackblock): Redefine for _CALL_ELF == 2 to save parameters into
28088         our own stack frame instead of the caller's.
28089         (__socket): Use symbolic stack frame offsets.
28091 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
28092             Alan Modra  <amodra@gmail.com>
28094         * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
28095         Define.
28096         (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
28097         (PPC64_LOCAL_ENTRY_OFFSET): Define.
28098         * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
28099         New function.
28100         (elf_machine_fixup_plt): Call it.
28101         (elf_machine_plt_conflict): Likewise.  Add map, sym_map, and
28102         reloc arguments.
28103         (elf_machine_rela): Update call to elf_machine_plt_conflict.
28104         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
28105         (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
28106         r2 before calling target.
28108 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
28109             Alan Modra  <amodra@gmail.com>
28111         * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
28112         (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
28113         versions of macros to support ELFv2 ABI.
28114         (LOCALENTRY): New macro.
28115         (ENTRY, EALIGN): Use it.
28116         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
28117         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
28118         fall through into ENTRY entry point.
28119         * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
28120         Only define if _CALL_ELF != 2.
28122         (elf_machine_matches_host): Verify ABI version matches.
28123         (RTLD_START): Use LOCALENTRY.
28124         (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
28125         (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
28126         (PLT_ENTRY_WORDS): New macro.
28127         (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
28128         (elf_machine_runtime_setup): Support ELFv2 ABI.
28129         (elf_machine_fixup_plt): Likewise.
28130         (elf_machine_plt_conflict): Likewise.
28131         (resolve_ifunc): Likewise.
28132         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
28133         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
28134         Likewise.
28135         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
28136         (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
28137         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
28138         (makecontext): Support ELFv2 ABI.
28139         * elf/elf.h (EF_PPC64_ABI): Define.
28141 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
28143         * sysdeps/powerpc/powerpc64/sysdep.h
28144         (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
28145         (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
28146         (ENTRY) [ASSEMBLER]: ... but instead here ...
28147         (EALIGN) [ASSEMBLER]: ... and here.
28148         (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
28149         (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
28150         (ENTRY_2) [!ASSEMBLER]: Use it.
28151         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
28152         ENTRY_2 changes.  Use PPC64_LOAD_FUNCPTR.
28153         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
28154         (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
28155         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
28156         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
28157         Use PPC64_LOAD_FUNCPTR.
28159         * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
28161 2013-12-04  Alan Modra  <amodra@gmail.com>
28163         * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
28164         (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
28165         (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
28166         (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
28168         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
28169         overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
28170         R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
28171         Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
28172         R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
28173         Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
28175 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
28177         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
28178         (__makecontext): Fix incorrect CFI when backtracing out of
28179         context created via makecontext.
28180         * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
28181         (__setcontext): Fix incorrect CFI during switch to new context.
28182         (__novec_setcontext): Likewise.
28184 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
28186         [BZ #4772]
28187         * time/strptime_l.c (__strptime_internal): Allow modifiers
28188         in strptime.
28189         * time/tst-strptime.c (day_tests): Add testcase.
28191 2013-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
28193         * scripts/bench.pl: Skip over blank lines.
28195 2013-12-04  Paul Eggert  <eggert@cs.ucla.edu>
28197         [BZ #926]
28198         * manual/time.texi (Calendar Time): Clarify what timezone functions
28199         use.
28201 2013-12-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28203         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28205 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
28207         * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
28208         implementation.
28209         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
28210         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
28211         * debug/memset_chk.c (__memset_chk): Likewise.
28212         * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
28213         * debug/strncpy_chk.c: Likewise.
28215 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
28217         [BZ #15268]
28218         [BZ #15425]
28219         * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
28220         (__ieee754_exp): For possibly underflowing results, check size of
28221         result and force underflow exception if required.
28222         * math/auto-libm-test-in: Add more tests of exp.
28223         * math/auto-libm-test-out: Regenerated.
28224         * sysdeps/i386/fpu/libm-test-ulps: Update.
28225         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28227         [BZ #16283]
28228         * math/w_exp2.c (__exp2): Handle a zero result as underflow.
28229         * math/w_exp2f.c (__exp2f): Likewise.
28230         * math/w_exp2l.c (__exp2l): Likewise.
28231         * math/auto-libm-test-in: Do not allow missing errno on exp2
28232         underflow.
28233         * math/auto-libm-test-out: Regenerated.
28235 2013-12-03  Ondřej Bílka  <neleai@seznam.cz>
28237         [BZ #16274]
28238         * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
28239         handle filename validation.
28240         * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
28241         (do_open): Delete.
28243 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
28245         [BZ #6786]
28246         * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
28247         (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
28248         * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
28249         <float.h>.
28250         (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
28251         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
28252         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
28253         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
28254         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
28255         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
28256         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
28257         * math/auto-libm-test-in: Don't allow missing errno from erfc.
28258         Add more erfc tests.
28259         * math/auto-libm-test-out: Regenerated.
28260         * sysdeps/i386/fpu/libm-test-ulps: Update.
28261         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28263         * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
28264         exp2, expm1, j0 and j1.
28265         * math/auto-libm-test-out: Regenerated.
28266         * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
28267         (erfc_test_data): Likewise.
28268         (exp_test_data): Likewise.
28269         (exp_tonearest_test_data): Likewise.
28270         (exp_towardzero_test_data): Likewise.
28271         (exp_downward_test_data): Likewise.
28272         (exp_upward_test_data): Likewise.
28273         (exp10_test_data): Likewise.
28274         (exp2_test_data): Likewise.
28275         (expm1_test_data): Likewise.
28276         (j0_test_data): Likewise.
28277         (j1_test_data): Likewise.
28278         * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
28279         (input_flag_type): Add flag_xfail_rounding.
28280         (input_flags): Add xfail-rounding.
28281         (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
28282         (output_for_one_input_case): Handle flag_xfail_rounding.
28283         * sysdeps/i386/fpu/libm-test-ulps: Update.
28284         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28286 2013-12-03  Aurelien Jarno  <aurelien@aurel32.net>
28288         [BZ #16289]
28289         * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
28290         division by 0.
28292 2013-12-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
28294         [BZ #16195]
28295         * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
28296         (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
28297         (STAP_PROBE0): New macro.
28298         (STAP_PROBE1): Likewise.
28299         (STAP_PROBE2): Likewise.
28300         (STAP_PROBE3): Likewise.
28301         (STAP_PROBE4): Likewise.
28303 2013-12-02  Ondřej Bílka  <neleai@seznam.cz>
28305         * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
28307 2013-12-02  Steve Ellcey  <sellcey@mips.com>
28309         * benchtests/Makefile (bench): Add sqrt.
28310         (LDLIBS-bench-sqrt): New.
28311         * benchtests/sqrt-input: New.
28313 2013-12-02  Pavel Simerda  <psimerda@redhat.com>
28315         * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
28316         (GAIH_EAI): Likewise.
28317         (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
28318         (gaih_inet): Likewise.
28319         (getaddrinfo): Don't use GAIH_EAI.
28321         * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
28322         (struct gaih): Remove definition.
28324 2013-12-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
28326         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
28327         Use HERRNOP directly.
28329 2013-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28331         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28333 2013-11-30  Joseph Myers  <joseph@codesourcery.com>
28335         * math/gen-auto-libm-tests.c (test_functions): Add more
28336         single-argument functions.
28337         (special_fill_pi_2): New function.
28338         (special_fill_minus_pi_2): Likewise.
28339         (special_fill_pi_6): Likewise.
28340         (special_fill_minus_pi_6): Likewise.
28341         (special_fill_pi_3): Likewise.
28342         (special_fill_2pi_3): Likewise.
28343         (special_fill_e): Likewise.
28344         (special_fill_1_e): Likewise.
28345         (special_fill_e_minus_1): Likewise.
28346         (special_real_inputs): Add more special inputs.
28347         (output_for_one_input_case): Do not require ERANGE on underflow to
28348         zero if round-to-nearest result does not underflow to zero, unless
28349         exact results required.
28350         * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
28351         atan, atanh, cbrt, cos and cosh.
28352         * math/auto-libm-test-out: Regenerated.
28353         * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
28354         (acos_tonearest_test_data): Likewise.
28355         (acos_towardzero_test_data): Likewise.
28356         (acos_downward_test_data): Likewise.
28357         (acos_upward_test_data): Likewise.
28358         (acosh_test_data): Likewise.
28359         (asin_test_data): Likewise.
28360         (asin_tonearest_test_data): Likewise.
28361         (asin_towardzero_test_data): Likewise.
28362         (asin_upward_test_data): Likewise.
28363         (asinh_test_data): Likewise.
28364         (atan_test_data): Likewise.
28365         (atanh_test_data): Likewise.
28366         (cbrt_test_data): Likewise.
28367         (cos_test_data): Likewise.
28368         (cos_tonearest_test_data): Likewise.
28369         (cos_towardzero_test_data): Likewise.
28370         (cos_downward_test_data): Likewise.
28371         (cos_upward_test_data): Likewise.
28372         (cosh_test_data): Likewise.
28373         (cosh_tonearest_test_data): Likewise.
28374         (cosh_towardzero_test_data): Likewise.
28375         (cosh_downward_test_data): Likewise.
28376         (cosh_upward_test_data): Likewise.
28377         * sysdeps/i386/fpu/libm-test-ulps: Update.
28378         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28380 2013-11-29  Joseph Myers  <joseph@codesourcery.com>
28382         [BZ #6787]
28383         * math/w_exp10.c (__exp10): Handle a zero result as underflow.
28384         * math/w_exp10f.c (__exp10f): Likewise.
28385         * math/w_exp10l.c (__exp10l): Likewise.
28386         * math/libm-test.inc (exp10_test_data): Add more tests and expect
28387         errno settings in existing tests.
28389         [BZ #14032]
28390         * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
28391         precision control set to double precision.
28392         * sysdeps/i386/fpu/w_sqrt.c: New file.
28393         * math/auto-libm-test-in: Add more tests.
28394         * math/auto-libm-test-out: Update.
28396         * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
28397         (sqrt_test_tonearest): New function.
28398         (sqrt_towardzero_test_data): New variable.
28399         (sqrt_test_towardzero): New function.
28400         (sqrt_downward_test_data): New variable.
28401         (sqrt_test_downward): New function.
28402         (sqrt_upward_test_data): New variable.
28403         (sqrt_test_upward): New function.
28404         (main): Call the new functions.
28406         * math/gen-auto-libm-tests.c: New file.
28407         * math/auto-libm-test-in: Likewise.
28408         * math/auto-libm-test-out: New generated file.
28409         * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
28410         variables.
28411         (%beautify): Add generated representations of zero.
28412         (top level): Set $auto_input and call parse_auto_input.
28413         (beautify): Remove trailing "f" from hex float constants.
28414         (parse_args): Handle XFAIL_TEST.
28415         (convert_condition): New function.
28416         (or_value): Likewise.
28417         (or_cond_value): Likewise.
28418         (generate_testfile): Handle AUTO_TESTS_* lines.
28419         (parse_auto_input): New function.
28420         * math/libm-test.inc (XFAIL_TEST): New macro.
28421         (ERRNO_UNCHANGED): Update value.
28422         (ERRNO_EDOM): Likewise.
28423         (ERRNO_ERANGE): Likewise.
28424         (IGNORE_RESULT): Likewise.
28425         (TEST_COND_flt_32): New macro.
28426         (TEST_COND_dbl_64): Likewise.
28427         (TEST_COND_ldbl_96_intel): Likewise.
28428         (TEST_COND_ldbl_96_m68k): Likewise.
28429         (TEST_COND_ldbl_128): Likewise.
28430         (TEST_COND_ldbl_128ibm): Likewise.
28431         (TEST_COND_long32): Likewise.
28432         (TEST_COND_long64): Likewise.
28433         (TEST_COND_before_rounding): Likewise.
28434         (TEST_COND_after_rounding): Likewise.
28435         (enable_test): Handle XFAIL_TEST flag.
28436         (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
28437         with finite results.
28438         * math/Makefile ($(objpfx)libm-test.stmp): Depend on
28439         auto-libm-test-out.
28441 2013-11-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
28442             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
28444         [BZ #16214]
28445         * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
28446         __tls_get_addr_internal instead of __tls_get_offset in order to
28447         avoid GOT pointer dependency.  Make rtld export
28448         __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
28449         __tls_get_addr since we are a __tls_get_offset platform.
28450         * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
28451         GOT pointer being set up before.
28452         * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
28454 2013-11-28  Joseph Myers  <joseph@codesourcery.com>
28456         * manual/math.texi (Errors in Math Functions): Document accuracy
28457         goals.
28459         [BZ #15004]
28460         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
28461         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
28462         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
28463         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
28464         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
28465         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
28466         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
28467         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
28468         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
28469         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
28470         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
28471         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
28472         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
28473         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
28474         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
28475         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
28477         * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
28478         * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
28479         * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
28480         * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
28481         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
28482         Likewise.
28483         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
28484         Likewise.
28485         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
28486         Likewise.
28487         * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
28488         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
28489         (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
28490         atomic-feupdateenv and flt-rounds.
28491         * sysdeps/powerpc/nofpu/Versions (libc): Add
28492         __atomic_feholdexcept, __atomic_feclearexcept,
28493         __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
28494         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
28495         (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
28496         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
28497         (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
28498         here.
28499         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
28500         Update.
28502         * manual/arith.texi (FP Exceptions): Document that exceptions may
28503         not be raised when matherr is used.
28504         (Math Error Reporting): Document overflow in directed rounding
28505         modes.  Document that errno may not be set when finite values are
28506         returned on overflow.  Document intent to set errno on underflow
28507         only for underflow to zero.
28509         [BZ #16271]
28510         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
28511         round-to-nearest then adjust result for other rounding modes.
28512         * include/fenv.h (fegetround): Use libm_hidden_proto.
28513         * math/fegetround.c (fegetround): Use libm_hidden_def.
28514         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
28515         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
28516         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
28517         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
28518         Likewise.
28519         * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
28520         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
28521         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
28522         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
28524 2013-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
28526         [BZ #16077]
28527         * nss/Versions (libnss_files): Add
28528         _nss_files_gethostbyname3_r.
28529         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
28530         New function.
28531         (HOST_DB_LOOKUP): Remove macro.
28532         (_nss_files_gethostbyname_r): Implement function without the
28533         HOST_DB_LOOKUP macro.
28534         (_nss_files_gethostbyname2_r): Likewise.
28536 2013-11-28  Ondřej Bílka  <neleai@seznam.cz>
28538         * malloc/malloc.c (__libc_calloc): Make memset a tail call.
28540 2013-11-26  Uros Bizjak  <ubizjak@gmail.com>
28542         * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
28543         _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
28544         warning.
28546 2013-11-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28548         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
28549         __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
28550         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
28551         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
28552         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
28553         __fe_nomask_env_priv and attribute_hidden.
28554         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
28555         (libc_feupdateenv_test_ppc): Likewise.
28556         (libc_feresetround_ppc): Likewise.
28557         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
28558         (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
28559         compat_symbol macro.
28560         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
28561         (__fe_nomask_env): Likewise.
28562         * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
28564 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
28566         * string/Makefile: Remove ifunc tests.
28567         * string/test-string.h: Define TEST_IFUNC.
28568         * string/test-bcopy-ifunc.c: Remove.
28569         * string/test-bzero-ifunc.c: Likewise.
28570         * string/test-memccpy-ifunc.c: Likewise.
28571         * string/test-memchr-ifunc.c: Likewise.
28572         * string/test-memcmp-ifunc.c: Likewise.
28573         * string/test-memcpy-ifunc.c: Likewise.
28574         * string/test-memmem-ifunc.c: Likewise.
28575         * string/test-memmove-ifunc.c: Likewise.
28576         * string/test-mempcpy-ifunc.c: Likewise.
28577         * string/test-memrchr-ifunc.c: Likewise.
28578         * string/test-memset-ifunc.c: Likewise.
28579         * string/test-rawmemchr-ifunc.c: Likewise.
28580         * string/test-stpcpy-ifunc.c: Likewise.
28581         * string/test-stpncpy-ifunc.c: Likewise.
28582         * string/test-strcasecmp-ifunc.c: Likewise.
28583         * string/test-strcasestr-ifunc.c: Likewise.
28584         * string/test-strcat-ifunc.c: Likewise.
28585         * string/test-strchr-ifunc.c: Likewise.
28586         * string/test-strchrnul-ifunc.c: Likewise.
28587         * string/test-strcmp-ifunc.c: Likewise.
28588         * string/test-strcpy-ifunc.c: Likewise.
28589         * string/test-strcspn-ifunc.c: Likewise.
28590         * string/test-strlen-ifunc.c: Likewise.
28591         * string/test-strncasecmp-ifunc.c: Likewise.
28592         * string/test-strncat-ifunc.c: Likewise.
28593         * string/test-strncmp-ifunc.c: Likewise.
28594         * string/test-strncpy-ifunc.c: Likewise.
28595         * string/test-strnlen-ifunc.c: Likewise.
28596         * string/test-strpbrk-ifunc.c: Likewise.
28597         * string/test-strrchr-ifunc.c: Likewise.
28598         * string/test-strspn-ifunc.c: Likewise.
28599         * string/test-strstr-ifunc.c: Likewise.
28601 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
28603         * benchtests/Makefile: Remove ifunc tests.
28604         * benchtests/bench-string.h: Define TEST_IFUNC.
28605         * benchtests/bench-bcopy-ifunc.c: Remove.
28606         * benchtests/bench-bzero-ifunc.c: Likewise.
28607         * benchtests/bench-memccpy-ifunc.c: Likewise.
28608         * benchtests/bench-memchr-ifunc.c: Likewise.
28609         * benchtests/bench-memcmp-ifunc.c: Likewise.
28610         * benchtests/bench-memcpy-ifunc.c: Likewise.
28611         * benchtests/bench-memmem-ifunc.c: Likewise.
28612         * benchtests/bench-memmove-ifunc.c: Likewise.
28613         * benchtests/bench-mempcpy-ifunc.c: Likewise.
28614         * benchtests/bench-memrchr-ifunc.c: Likewise.
28615         * benchtests/bench-memset-ifunc.c: Likewise.
28616         * benchtests/bench-rawmemchr-ifunc.c: Likewise.
28617         * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
28618         * benchtests/bench-stpcpy-ifunc.c: Likewise.
28619         * benchtests/bench-stpncpy-ifunc.c: Likewise.
28620         * benchtests/bench-strcasecmp-ifunc.c: Likewise.
28621         * benchtests/bench-strcasestr-ifunc.c: Likewise.
28622         * benchtests/bench-strcat-ifunc.c: Likewise.
28623         * benchtests/bench-strchr-ifunc.c: Likewise.
28624         * benchtests/bench-strchrnul-ifunc.c: Likewise.
28625         * benchtests/bench-strcmp-ifunc.c: Likewise.
28626         * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
28627         * benchtests/bench-strcpy-ifunc.c: Likewise.
28628         * benchtests/bench-strcspn-ifunc.c: Likewise.
28629         * benchtests/bench-strlen-ifunc.c: Likewise.
28630         * benchtests/bench-strncasecmp-ifunc.c: Likewise.
28631         * benchtests/bench-strncat-ifunc.c: Likewise.
28632         * benchtests/bench-strncmp-ifunc.c: Likewise.
28633         * benchtests/bench-strncpy-ifunc.c: Likewise.
28634         * benchtests/bench-strnlen-ifunc.c: Likewise.
28635         * benchtests/bench-strpbrk-ifunc.c: Likewise.
28636         * benchtests/bench-strrchr-ifunc.c: Likewise.
28637         * benchtests/bench-strsep-ifunc.c: Likewise.
28638         * benchtests/bench-strspn-ifunc.c: Likewise.
28639         * benchtests/bench-strstr-ifunc.c: Likewise.
28641 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
28643         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
28645 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
28647         * resolv/netdb.h: Use __glibc_reserved instead __unused.
28648         * rt/aio.h: Likewise.
28649         * sysdeps/gnu/bits/utmp.h: Likewise.
28650         * sysdeps/gnu/bits/utmpx.h: Likewise.
28651         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
28652         * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
28653         * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
28654         * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
28655         * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
28656         * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
28657         * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
28658         * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
28659         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
28660         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
28661         * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
28662         * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
28663         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
28664         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
28665         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
28666         * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
28667         * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
28668         * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
28669         * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
28670         * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
28671         * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
28672         * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
28673         * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
28674         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
28675         * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
28676         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
28677         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
28678         * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
28679         * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
28680         * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
28681         * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
28682         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
28683         * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
28684         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
28685         * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
28686         * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
28687         * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
28688         * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
28689         * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
28690         * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
28691         * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
28692         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
28694 2013-11-25  Carlos O'Donell  <carlos@redhat.com>
28696         [BZ #16245]
28697         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
28698         Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
28700 2013-11-25  Joseph Myers  <joseph@codesourcery.com>
28702         * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
28703         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
28704         Likewise.
28706 2013-11-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28708         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
28709         SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
28710         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
28711         (__fesetround): Remove define.
28712         * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
28713         rounding and exceptions handling.
28714         * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
28715         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
28716         (__fe_nomask_env): Likewise.
28717         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
28718         __fegetround instead of fegetround.
28719         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
28720         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
28722 2013-11-21  Roland McGrath  <roland@hack.frob.com>
28724         * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
28725         it's there.
28727         * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
28729 2013-11-21  Meador Inge  <meadori@codesourcery.com>
28731         [BZ #11157]
28732         * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
28733         (encrypt_r): Likewise.
28734         * malloc/obstack.h (obstack_free): Likewise.
28735         * posix/unistd.h (encrypt): Likewise.
28737 2013-11-21  Guy Martin  <gmsoft@tuxicoman.be>
28739         * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
28740         DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
28741         DL_CALL_DT_FINI() that call the functions directly.
28742         * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
28743         * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
28744         * elf/dl-fini.c: Likewise.
28746 2013-11-20  Ondřej Bílka  <neleai@seznam.cz>
28748         * malloc/hooks.c (memalign_check): Add alignment rounding.
28749         * malloc/malloc.c (_mid_memalign): New function.
28750         (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
28751         Implement by calling _mid_memalign.
28752         * manual/probes.texi (Memory Allocation Probes): Remove
28753         memory_valloc_retry and memory_pvalloc_retry.
28755 2013-11-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
28757         * locale/programs/locarchive.c (open_archive): Add const
28758         qualifier to ARCHIVEFNAME and copy default fname to
28759         DEFAULT_FNAME.
28761         [BZ #15601]
28762         * libio/tst-widetext.input: Rename Oriya to Odia.
28763         * locale/iso-639.def: Likewise.
28765         * manual/probes.texi (Mathematical Function Probes): Add
28766         documentation for sin, cos, asin and acos probes.
28767         * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
28768         (__sin32): Add slowasin probe.
28769         (__cos32): Add slowacos probe.
28770         (__mpsin): Add slowsin probe.
28771         (__mpcos): Add slowcos probe.
28773 2013-11-19  Joseph Myers  <joseph@codesourcery.com>
28775         [BZ #15483]
28776         * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
28777         thread-local __sim_exceptions_thread and global
28778         __sim_exceptions_global.
28779         (__sim_disabled_exceptions): Change to thread-local
28780         __sim_disabled_exceptions_thread and global
28781         __sim_disabled_exceptions_global.
28782         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
28783         and global __sim_round_mode_global.
28784         (__simulate_exceptions): Use thread-local floating-point state and
28785         set global state from it as needed.
28786         * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
28787         __sim_exceptions_thread, __sim_disabled_exceptions_thread and
28788         __sim_round_mode_thread.
28789         * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
28790         (__sim_exceptions): Change to thread-local __sim_exceptions_thread
28791         and global __sim_exceptions_global.
28792         (__sim_disabled_exceptions): Change to thread-local
28793         __sim_disabled_exceptions_thread and global
28794         __sim_disabled_exceptions_global.
28795         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
28796         and global __sim_round_mode_global.
28797         [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
28798         (SIM_SET_GLOBAL): Likewise.
28799         * sysdeps/powerpc/soft-fp/sfp-machine.h
28800         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
28801         __sim_round_mode_thread.
28802         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
28803         __sim_disabled_exceptions_thread.
28804         (__sim_exceptions): Change to __sim_exceptions_thread.
28805         (__sim_disabled_exceptions): Change to
28806         __sim_disabled_exceptions_thread.
28807         (__sim_round_mode): Change to __sim_round_mode_thread.
28808         * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
28809         thread-local floating-point state and set global state from it as
28810         needed.
28811         * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
28812         * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
28813         (__sim_disabled_exceptions): Remove extern declaration.
28814         (feenableexcept): Use thread-local floating-point state and set
28815         global state from it as needed.
28816         * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
28817         extern declaration.
28818         (__sim_disabled_exceptions): Likewise.
28819         (__sim_round_mode): Likewise.
28820         (__fegetenv): Use thread-local floating-point state.
28821         * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
28822         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
28823         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
28824         floating-point state and set global state from it as needed.
28825         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
28826         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
28827         * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
28828         Likewise.
28829         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
28830         * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
28831         Likewise.
28832         sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
28833         * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
28834         Use __sim_round_mode_thread.
28835         * math/test-fenv-tls.c: New file.
28836         * math/Makefile (tests): Add test-fenv-tls.
28837         ($(objpfx)test-fenv-tls): Depend on
28838         $(common-objpfx)nptl/libpthread.so.
28840 2013-11-19  Andreas Schwab  <schwab@suse.de>
28842         * locale/programs/locale.c (show_info): Decode wordarray elements.
28843         * locale/categories.def (LC_MONETARY): Add element for
28844         _NL_MONETARY_CRNCYSTR.
28845         * locale/C-monetary.c (conversion_rate): New variable.
28846         (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
28847         element.
28849 2013-11-18  Chris Metcalf  <cmetcalf@tilera.com>
28851         * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
28852         Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
28854 2013-11-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
28856         * elf/Makefile (tst-auxv): New test.
28857         * elf/tst-auxv.c: New
28858         * elf/rtld.c (dl_main): Adjust AT_EXECFN
28860 2013-11-18  Joseph Myers  <joseph@codesourcery.com>
28862         * include/libc-symbols.h (__hidden_proto): Add argument "thread".
28863         (hidden_proto): Caller changed.
28864         (hidden_tls_proto): New macro.
28865         (libc_hidden_tls_proto): Likewise.
28866         (rtld_hidden_tls_proto): Likewise.
28867         (libm_hidden_tls_proto): Likewise.
28868         (libresolv_hidden_tls_proto): Likewise.
28869         (librt_hidden_tls_proto): Likewise.
28870         (libdl_hidden_tls_proto): Likewise.
28871         (libnss_files_hidden_tls_proto): Likewise.
28872         (libnsl_hidden_tls_proto): Likewise.
28873         (libnss_nisplus_hidden_tls_proto): Likewise.
28874         (libutil_hidden_tls_proto): Likewise.
28876 2013-11-18  Ondřej Bílka  <neleai@seznam.cz>
28878         [BZ #10253]
28879         * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
28880         (decompose_rpath): Defer expansion to fillin_rpath.
28881         (_dl_init_paths): Pass linkmap to fillin_rpath.
28883 2013-11-18  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
28885         * benchtests/Makefile: Add strsep.
28886         * benchtests/bench-strsep.c: New file: strsep benchtest.
28887         * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
28889 2013-11-18  Andreas Schwab  <schwab@suse.de>
28891         * locale/programs/locale.c (show_info) [case byte]: Check for
28892         '\377' instead of '\177'.
28893         * locale/C-monetary.c (not_available): Always use "\377".
28894         * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
28895         unspecified p_sign_posn and n_sign_posn.  Check for '\377' to
28896         detect unavailable sign_posn locale elements.
28897         * locale/localeconv.c (__localeconv): For grouping and
28898         mon_grouping handle "\177" and "\377" like no grouping.
28899         (INT_ELEM): New macro.  Use it to set all numeric members.
28900         * locale/programs/ld-monetary.c (monetary_read)
28901         <tok_mon_grouping>: Normalize single -1 to the empty string.
28902         * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
28903         Likewise.
28905 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
28907         [BZ #16055]
28908         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
28909         when we match (nil).
28910         * stdio-common/tst-sscanf.c (struct test): Add testcase.
28912 2013-11-16  Joseph Myers  <joseph@codesourcery.com>
28914         * math/libm-test.inc (TEST_NAN_SIGN): New macro.
28915         (NO_TEST_INLINE): Update value.
28916         (ERRNO_UNCHANGED): Likewise.
28917         (ERRNO_EDOM): Likewise.
28918         (ERRNO_ERANGE): Likewise.
28919         (IGNORE_RESULT): Likewise.
28920         (check_float_internal): Check signs of NaN results if
28921         TEST_NAN_SIGN used.
28922         (check_complex): Pass TEST_NAN_SIGN flag through to second
28923         check_float_internal call.
28924         (copysign_test_data): Add tests with quiet NaNs as second
28925         argument.  Use TEST_NAN_SIGN.
28926         (fabs_test_data): Add test of negative quiet NaN argument.  Use
28927         TEST_NAN_SIGN.
28928         (signbit_test_data): Add tests of quiet NaN argument.
28929         * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
28931         * math/gen-libm-test.pl (show_exceptions): Take extra argument
28932         $ignore_result.
28933         (parse_args): Handle function results specified as IGNORE.
28934         * math/libm-test.inc (IGNORE_RESULT): New macro.
28935         (check_float_internal): Do not check numerical result if flag
28936         IGNORE_RESULT set.
28937         (check_complex): Pass through IGNORE_RESULT to second
28938         check_float_internal call.
28939         (check_int): Do not check numerical result if flag IGNORE_RESULT
28940         set.
28941         (check_long): Likewise.
28942         (check_bool): Likewise.
28943         (check_longlong): Likewise.
28944         (lrint_test_data): Add tests of infinite and NaN arguments.
28945         (lrint_tonearest_test_data): Likewise.
28946         (lrint_towardzero_test_data): Likewise.
28947         (lrint_downward_test_data): Likewise.
28948         (lrint_upward_test_data): Likewise.
28949         (llrint_test_data): Likewise.
28950         (llrint_tonearest_test_data): Likewise.
28951         (llrint_towardzero_test_data): Likewise.
28952         (llrint_downward_test_data): Likewise.
28953         (llrint_upward_test_data): Likewise.
28954         (lround_test_data): Likewise.
28955         (llround_test_data): Likewise.
28957         * math/libm-test.inc (NO_TEST_INLINE): New macro.
28958         (ERRNO_UNCHANGED): Update value.
28959         (ERRNO_EDOM): Likewise.
28960         (ERRNO_ERANGE): Likewise.
28961         (NO_TEST_INLINE_FLOAT): New macro.
28962         (NO_TEST_INLINE_DOUBLE): Likewise.
28963         (enable_test): New function.
28964         (RUN_TEST_f_f): Check enable_test before running test.
28965         (RUN_TEST_2_f): Likewise.
28966         (RUN_TEST_fff_f): Likewise.
28967         (RUN_TEST_c_f): Likewise.
28968         (RUN_TEST_f_f1): Likewise.
28969         (RUN_TEST_fF_f1): Likewise.
28970         (RUN_TEST_fI_f1): Likewise.
28971         (RUN_TEST_ffI_f1): Likewise.
28972         (RUN_TEST_c_c): Likewise.
28973         (RUN_TEST_cc_c): Likewise.
28974         (RUN_TEST_f_i): Likewise.
28975         (RUN_TEST_f_i_tg): Likewise.
28976         (RUN_TEST_ff_i_tg): Likewise.
28977         (RUN_TEST_f_b): Likewise.
28978         (RUN_TEST_f_b_tg): Likewise.
28979         (RUN_TEST_f_l): Likewise.
28980         (RUN_TEST_f_L): Likewise.
28981         (RUN_TEST_fFF_11): Likewise.
28982         (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
28983         conditionals.
28984         (cosh_test_data): Likewise.
28985         (exp_test_data): Likewise.
28986         (expm1_test_data): Likewise.
28987         (hypot_test_data): Likewise.
28988         (pow_test_data): Likewise.
28989         (sinh_test_data): Likewise.
28990         (tanh_test_data): Likewise.
28991         * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
28992         flags argument.
28994         * libm-test.inc (acos_test_data): Disallow inexact exceptions for
28995         tests with quiet NaN input and output.
28996         (acosh_test_data): Likewise.
28997         (asin_test_data): Likewise.
28998         (asinh_test_data): Likewise.
28999         (atan_test_data): Likewise.
29000         (atanh_test_data): Likewise.
29001         (atan2_test_data): Likewise.
29002         (cbrt_test_data): Likewise.
29003         (cos_test_data): Likewise.
29004         (cosh_test_data): Likewise.
29005         (erf_test_data): Likewise.
29006         (erfc_test_data): Likewise.
29007         (exp_test_data): Likewise.
29008         (exp10_test_data): Likewise.
29009         (exp2_test_data): Likewise.
29010         (expm1_test_data): Likewise.
29011         (hypot_test_data): Likewise.
29012         (j0_test_data): Likewise.
29013         (j1_test_data): Likewise.
29014         (jn_test_data): Likewise.
29015         (lgamma_test_data): Likewise.
29016         (log_test_data): Likewise.
29017         (log10_test_data): Likewise.
29018         (log1p_test_data): Likewise.
29019         (log2_test_data): Likewise.
29020         (pow_test_data): Likewise.
29021         (scalb_test_data): Likewise.
29022         (sin_test_data): Likewise.
29023         (sincos_test_data): Likewise.
29024         (sinh_test_data): Likewise.
29025         (tan_test_data): Likewise.
29026         (tanh_test_data): Likewise.
29027         (tgamma_test_data): Likewise.
29028         (y0_test_data): Likewise.
29029         (y1_test_data): Likewise.
29030         (yn_test_data): Likewise.
29032         [BZ #16167]
29033         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
29034         argument being NaN and avoid computations with second argument in
29035         that case.
29036         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
29037         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
29038         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
29040 2013-11-15  Arun Kumar Pyasi <arun@chitwanix.com>
29042         * locale/iso-639.def: Add Chitwani Tharu (the).
29044 2013-11-14  Andreas Schwab  <schwab@suse.de>
29046         * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
29047         word instead of empty string.
29049 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29051         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
29052         (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
29053         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
29054         (__fe_nomask_env): Likewise.
29056 2013-11-13  Steve Ellcey  <sellcey@mips.com>
29058         * benchtests/bench-timing.h: Include time.h.
29060 2013-11-13  H.J. Lu  <hongjiu.lu@intel.com>
29062         [BZ #15997]
29063         * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
29064         to 3.4.0 for x32.
29065         * sysdeps/unix/sysv/linux/configure: Regenerated.
29067 2013-11-13  Joseph Myers  <joseph@codesourcery.com>
29069         [BZ #16151]
29070         * stdlib/strtod_l.c (round_and_return): Do not consider
29071         retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
29072         exponent one less than half the least subnormal exponent.
29073         * stdlib/test-strtod-round-data: Add more tests.
29074         * stdlib/tst-strtod-round.c (tests): Regenerated.
29076 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29078         [BZ #14143]
29079         * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
29080         (__fe_mask_env): Likewise.
29081         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
29082         libm_hidden_proto and add function prototype.
29083         (__fe_mask_env): Add function prototype.
29084         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
29085         (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
29086         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
29087         (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
29088         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
29089         (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
29091 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
29093         * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
29094         set reference_name to "" to avoid passing NULL to DSO_FILENAME.
29096 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
29098         * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
29099         of htab_find_slot().
29101 2013-11-11  David S. Miller  <davem@davemloft.net>
29103         [BZ #16150]
29104         * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
29105         symbol in the non-vis3 case in static builds.
29106         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
29107         * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
29108         * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
29109         * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
29111 2013-11-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
29113         [BZ #387]
29114         * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
29115         it is empty.
29117 2013-11-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29119         * benchtests/Makefile: Add bench-strtod.
29120         * benchtests/bench-strtod.c: New file: strtod benchtest
29122 2013-11-11  Andreas Schwab  <schwab@suse.de>
29124         [BZ #16153]
29125         * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
29126         terminating NUL in key length.
29128 2013-11-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29130         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
29131         Add artificial ODP entry for vDSO symbol for PPC64.
29132         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
29133         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
29135 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
29137         [BZ #15374]
29138         * nss/getent.c (services_keys): Recognize services starting with digit.
29140 2013-11-06  David S. Miller  <davem@davemloft.net>
29142         [BZ #15985]
29143         * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
29144         on pre-v9 cpus, use a fnegs+fmovs sequence instead.
29146 2013-11-06  Will Newton  <will.newton@linaro.org>
29148         * manual/memory.texi (Malloc Examples): Remove register
29149         keyword from examples.
29151 2013-11-04  Chris Leonard  <cjl@sugarlabs.org>
29153         * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
29155 2013-11-04  Joseph Myers  <joseph@codesourcery.com>
29157         [BZ #6981]
29158         * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
29159         depending on [__GCC_IEC_559 > 0].
29160         [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
29161         depending on [__GCC_IEC_559_COMPLEX > 0].
29163 2013-11-03  Chris Leonard  <cjl@sugarlabs.org>
29165         * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
29166         to iso-639.def.
29168 2013-11-03  Ondřej Bílka  <neleai@seznam.cz>
29170         * elf/rtld.c: Remove unused NONTLS_INIT_TP.
29172 2013-11-01  Ondřej Bílka  <neleai@seznam.cz>
29174         [BZ #16112]
29175         * malloc/malloc (malloc_info): Do not handle first bin as
29176         special case.
29178 2013-11-01  Chris Leonard  <cjl@sugarlabs.org>
29180         * locale/iso-639.def: Add Central Nahuatl (nhn).
29182 2013-11-01  Bruno Haible  <bruno@clisp.org>
29184         [BZ #7003]
29185         * manual/math.texi (BSD Random): Specify range upper bound as
29186         in POSIX.
29188 2013-10-31  Chris Leonard  <cjl@sugarlabs.org>
29190         * locale/iso-639.def: Add Meadow Mari (mhr).
29192 2013-10-31  Ondřej Bílka  <neleai@seznam.cz>
29194         [BZ #14752], [BZ #15763]
29195         * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
29196         Validate name.
29197         * rt/tst_shm.c: Add test for escaping directory.
29199 2013-10-31  Andreas Schwab  <schwab@suse.de>
29201         [BZ #15917]
29202         * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
29203         followed by 'x' as part of digit sequence.
29204         * stdio-common/tst-sscanf.c (double_tests2): New tests.
29206 2013-10-31  Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
29208         [BZ #16037]
29209         * configure.ac: allow GNU Make 4.0 and greater.
29210         * configure: Regenerated.
29212 2013-10-30  Will Newton  <will.newton@linaro.org>
29214         [BZ #16038]
29215         * malloc/hooks.c (memalign_check): Limit alignment to the
29216         maximum representable power of two.
29217         * malloc/malloc.c (__libc_memalign): Likewise.
29218         * malloc/tst-memalign.c (do_test): Add test for very
29219         large alignment values.
29220         * malloc/tst-posix_memalign.c (do_test): Likewise.
29222 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
29224         [BZ #11087]
29225         * malloc/malloc.c (sysmalloc): Compute statistics atomically.
29226         (munmap_chunk): Likewise.
29227         (mremap_chunk): Likewise.
29229 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
29231         [BZ #15799]
29232         * stdlib/div.c (div): Remove obsolete code.
29233         * stdlib/ldiv.c (ldiv): Likewise.
29234         * stdlib/lldiv.c (lldiv): Likewise.
29236 2013-10-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
29238         [BZ #16071]
29239         * nss/nss_files/files-XXX.c (get_contents_ret): New
29240         enumerator.
29241         (get_contents): New function.
29242         (internal_getent): Use it.  Expand size of LINEBUFLEN.
29244 2013-10-30  Mike Frysinger  <vapier@gentoo.org>
29246         * configure.in: Moved to ...
29247         * configure.ac: ... here. Change reference to configure.in
29248         to configure.ac.
29249         * sysdeps/arm/preconfigure.ac: ... here.
29250         configure.in to configure.ac.
29251         * sysdeps/gnu/configure.in: Moved to ...
29252         * sysdeps/gnu/configure.ac: ... here.
29253         * sysdeps/i386/configure.in: Moved to ...
29254         * sysdeps/i386/configure.ac: ... here.
29255         * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
29256         * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
29257         * sysdeps/mach/configure.in: Moved to ...
29258         * sysdeps/mach/configure.ac: ... here.
29259         * sysdeps/mach/hurd/configure.in: Moved to ...
29260         * sysdeps/mach/hurd/configure.ac: ... here.
29261         * sysdeps/powerpc/configure.in: Moved to ...
29262         * sysdeps/powerpc/configure.ac: ... here.
29263         * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
29264         * sysdeps/powerpc/powerpc32/configure.ac: ... here.
29265         * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
29266         * sysdeps/powerpc/powerpc64/configure.ac: ... here.
29267         * sysdeps/s390/s390-32/configure.in: Moved to ...
29268         * sysdeps/s390/s390-32/configure.ac: ... here.
29269         * sysdeps/s390/s390-64/configure.in: Moved to ...
29270         * sysdeps/s390/s390-64/configure.ac: ... here.
29271         * sysdeps/sh/configure.in: Moved to ...
29272         * sysdeps/sh/configure.ac: ... here.
29273         * sysdeps/sparc/configure.in: Moved to ...
29274         * sysdeps/sparc/configure.ac: ... here.
29275         * sysdeps/unix/sysv/linux/configure.in: Moved to ...
29276         * sysdeps/unix/sysv/linux/configure.ac: ... here.
29277         * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
29278         * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
29279         * sysdeps/x86_64/configure.in: Moved to ...
29280         * sysdeps/x86_64/configure.ac: ... here.
29281         * sysdeps/x86_64/preconfigure.in: Moved to ...
29282         * sysdeps/x86_64/preconfigure.ac: ... here.
29283         * aclocal.m4: Change reference to configure.in to configure.ac.
29284         * config.h.in: Likewise.
29285         * manual/install.texi: Likewise.
29286         * manual/maint.texi: Likewise.
29287         * Makefile: Likewise.
29288         * malloc/Makefile: Likewise.
29289         * nscd/Makefile: Likewise.
29290         * Makeconfig: Change reference to configure.in and
29291         preconfigure.in to configure.ac and preconfigure.ac
29292         respectively.
29293         * INSTALL: Regenerated.
29294         * configure: Likewise.
29295         * sysdeps/gnu/configure: Likewise.
29296         * sysdeps/i386/configure: Likewise.
29297         * sysdeps/ieee754/ldbl-opt/configure: Likewise.
29298         * sysdeps/mach/configure: Likewise.
29299         * sysdeps/mach/hurd/configure: Likewise.
29300         * sysdeps/powerpc/configure: Likewise.
29301         * sysdeps/powerpc/powerpc32/configure: Likewise.
29302         * sysdeps/powerpc/powerpc64/configure: Likewise.
29303         * sysdeps/s390/s390-32/configure: Likewise.
29304         * sysdeps/s390/s390-64/configure: Likewise.
29305         * sysdeps/sh/configure: Likewise.
29306         * sysdeps/sparc/configure: Likewise.
29307         * sysdeps/unix/sysv/linux/configure: Likewise.
29308         * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
29309         * sysdeps/x86_64/configure: Likewise.
29310         * sysdeps/x86_64/preconfigure: Likewise.
29312 2013-10-29  Andreas Schwab  <schwab@suse.de>
29314         * stdio-common/Makefile (tst-swscanf-ENV): Define.
29316 2013-10-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
29318         * benchtests/pow-inputs: Add new inputs.
29320         * benchtests/exp-inputs: Add new inputs.
29322         * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
29323         conditional check for return value.
29324         (__cos32): Likewise.
29326 2013-10-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29328         * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
29329         to provide a boost for large inputs with word alignment.
29330         * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
29331         implementation based on optimized PPC64 strcpy.
29332         * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
29333         strcpy for PPC64/POWER7 based on both doubleword and word load/store.
29334         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
29335         stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
29337 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
29339         [BZ #2801]
29340         * manual/socket.texi (Host Names): Fix gethostbyname_r example.
29342 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
29344         [BZ #14876]
29345         * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
29346         * time/tst-strptime.c (day_tests): Add testcase.
29348 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
29350         [BZ #14029]
29351         * manual/pattern.texi: Acknowledge that fnmatch can fail.
29353 2013-10-25  Fabrice Bauzac  <fbauzac@debian71.nce.amadeus.net>
29355         [BZ #16074]
29356         * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
29357         MAP_FAILED on error.
29359 2013-10-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
29361         [BZ #16072]
29362         * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
29363         heap for large requests.
29365 2013-10-25  Aurelien Jarno  <aurelien@aurel32.net>
29367         [BZ #9954]
29368         * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
29369         result if the result has no associated interface.
29370         * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
29371         interface for all 127.X.Y.Z addresses.
29373 2013-10-24  Chris Leonard  <cjl@sugarlabs.org>
29375         * locale/iso-639.def: Add Ligurian (lij)
29377 2013-10-21  Ondřej Bílka  <neleai@seznam.cz>
29379         [BZ #15825]
29380         * sunrpc/rpc_main.c: Document rpcgen -5.
29382 2013-10-19  Michael Stahl  <mstahl@redhat.com>
29384         * elf/rtld.c (do_preload): Print the reason why preloading failed.
29386 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
29388         [BZ #10278]
29389         * posix/glob.c: Match only directories when trailing slash is present.
29390         * posix/tst-gnuglob.c (my_opendir): Do not open files.
29391         (main): Add testcase.
29393 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
29395         [BZ #15670]
29396         * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
29398 2013-10-18  Carlos O'Donell  <carlos@redhat.com>
29400         * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
29401         AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
29402         AUTH_DES and cindex for FIPS 140-2.
29403         (DES Encryption): Add cindex FIPS 46-3.
29405         * locale/locarchive.h (struct locarhandle): Add fname.
29406         * locale/programs/localedef.c (main): Pass ARGV[remaining]
29407         if an optional argument was specified to --list-archive,
29408         otherwise NULL.
29409         * locale/programs/locarchive.c (show_archive_content): Take new
29410         argument fname and pass it via ah.fname to open_archive.
29411         * locale/programs/localedef.h: Update decl.
29412         (open_archive): If AH->fname is non-null, open that file
29413         rather than the default file name, and don't ignore ENOENT.
29414         (create_archive): Set AH.fname to NULL.
29415         (delete_locales_from_archive): Likewise.
29416         (add_locales_to_archive): Likewise.
29417         * locale/programs/locfile.c (write_all_categories): Likewise.
29419 2013-10-18  Joseph Myers  <joseph@codesourcery.com>
29420             Aldy Hernandez  <aldyh@redhat.com>
29422         * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
29423         * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
29424         * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
29425         * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
29426         * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
29427         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
29428         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
29429         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
29430         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
29431         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
29432         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
29433         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
29434         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
29435         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
29436         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
29437         Likewise.
29438         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
29439         Likewise.
29440         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
29441         Likewise.
29442         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
29443         Likewise.
29444         * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
29445         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
29446         Likewise.
29447         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
29448         * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
29449         * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
29450         * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
29451         Likewise.
29452         * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
29453         * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
29454         * sysdeps/powerpc/preconfigure: Likewise.
29455         * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
29456         Likewise.
29457         * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
29458         Replace contents of file by #include of <fenv_libc.h>.
29459         * sysdeps/powerpc/soft-fp/sfp-machine.h
29460         [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
29461         and <sys/prctl.h>.
29462         [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
29463         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
29464         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
29465         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
29466         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
29467         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
29468         [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
29469         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
29470         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
29471         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
29472         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
29473         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
29474         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
29475         Allow copysignl PLT reference to be missing.
29477 2013-10-18  Richard Sandiford  <richard@codesourcery.com>
29478             Joseph Myers  <joseph@codesourcery.com
29480         [BZ #15948]
29481         * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
29482         single character.
29483         (add_to_tablewc): Assert sequence of wide characters is nonempty.
29485 2013-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
29487         * elf/tst-tls-dlinfo.c: Don't include tls.h.
29488         * elf/tst-tls1.c: Likewise.
29489         * elf/tst-tls10.h: Likewise.
29490         * elf/tst-tls14.c: Likewise.
29491         * elf/tst-tls2.c: Likewise.
29492         * elf/tst-tls3.c: Likewise.
29493         * elf/tst-tls4.c: Likewise.
29494         * elf/tst-tls5.c: Likewise.
29495         * elf/tst-tls6.c: Likewise.
29496         * elf/tst-tls7.c: Likewise.
29497         * elf/tst-tls8.c: Likewise.
29498         * elf/tst-tls9.c: Likewise.
29499         * elf/tst-tlsmod1.c: Likewise.
29500         * elf/tst-tlsmod13.c: Likewise.
29501         * elf/tst-tlsmod13a.c: Likewise.
29502         * elf/tst-tlsmod14a.c: Likewise.
29503         * elf/tst-tlsmod16a.c: Likewise.
29504         * elf/tst-tlsmod16b.c: Likewise.
29505         * elf/tst-tlsmod2.c: Likewise.
29506         * elf/tst-tlsmod3.c: Likewise.
29507         * elf/tst-tlsmod4.c: Likewise.
29508         * elf/tst-tlsmod5.c: Likewise.
29509         * elf/tst-tlsmod6.c: Likewise.
29511 2013-10-18  Ondřej Bílka  <neleai@seznam.cz>
29513         [BZ #12486]
29514         * malloc/malloc.c: remove checks for statistics.
29516 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
29518         [BZ #15277]
29519         * inet/inet_net.c (inet_network): Detect additional invalid strings.
29520         * inet/tst-network.c: Add testcase.
29522 2013-10-17  Andreas Schwab  <schwab@suse.de>
29524         [BZ #15218]
29525         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
29526         to determine canonical name.
29528 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
29530         * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
29531         * sysdeps/ieee754/dbl-64/dla.h: Likewise.
29532         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
29533         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
29534         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
29535         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
29536         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
29537         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
29538         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
29539         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
29540         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
29541         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
29542         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
29543         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
29544         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
29545         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
29546         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
29547         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
29548         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
29549         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
29550         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
29551         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
29552         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
29553         * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
29554         * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
29555         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
29556         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
29557         * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
29558         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
29559         * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
29560         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
29561         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
29562         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
29563         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
29564         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
29565         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
29566         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
29567         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
29568         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
29569         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
29570         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
29571         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
29572         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
29573         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
29574         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
29575         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
29576         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
29577         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
29578         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
29579         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
29580         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
29581         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
29582         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
29583         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
29584         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
29585         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
29586         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
29587         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
29589 2013-10-17  Joseph Myers  <joseph@codesourcery.com>
29591         [BZ #16041]
29592         * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
29593         make result into a quiet NaN.
29595 2013-10-16  Joseph Myers  <joseph@codesourcery.com>
29597         * soft-fp/adddf3.c: Fix horizontal whitespace.
29598         * soft-fp/addsf3.c: Likewise.
29599         * soft-fp/addtf3.c: Likewise.
29600         * soft-fp/divdf3.c: Likewise.
29601         * soft-fp/divsf3.c: Likewise.
29602         * soft-fp/divtf3.c: Likewise.
29603         * soft-fp/double.h: Likewise.
29604         * soft-fp/eqdf2.c: Likewise.
29605         * soft-fp/eqsf2.c: Likewise.
29606         * soft-fp/eqtf2.c: Likewise.
29607         * soft-fp/extenddftf2.c: Likewise.
29608         * soft-fp/extended.h: Likewise.
29609         * soft-fp/extendsfdf2.c: Likewise.
29610         * soft-fp/extendsftf2.c: Likewise.
29611         * soft-fp/extendxftf2.c: Likewise.
29612         * soft-fp/fixdfdi.c: Likewise.
29613         * soft-fp/fixdfsi.c: Likewise.
29614         * soft-fp/fixdfti.c: Likewise.
29615         * soft-fp/fixsfdi.c: Likewise.
29616         * soft-fp/fixsfsi.c: Likewise.
29617         * soft-fp/fixsfti.c: Likewise.
29618         * soft-fp/fixtfdi.c: Likewise.
29619         * soft-fp/fixtfsi.c: Likewise.
29620         * soft-fp/fixtfti.c: Likewise.
29621         * soft-fp/fixunsdfdi.c: Likewise.
29622         * soft-fp/fixunsdfsi.c: Likewise.
29623         * soft-fp/fixunsdfti.c: Likewise.
29624         * soft-fp/fixunssfdi.c: Likewise.
29625         * soft-fp/fixunssfsi.c: Likewise.
29626         * soft-fp/fixunssfti.c: Likewise.
29627         * soft-fp/fixunstfdi.c: Likewise.
29628         * soft-fp/fixunstfsi.c: Likewise.
29629         * soft-fp/fixunstfti.c: Likewise.
29630         * soft-fp/floatdidf.c: Likewise.
29631         * soft-fp/floatdisf.c: Likewise.
29632         * soft-fp/floatditf.c: Likewise.
29633         * soft-fp/floatsidf.c: Likewise.
29634         * soft-fp/floatsisf.c: Likewise.
29635         * soft-fp/floatsitf.c: Likewise.
29636         * soft-fp/floattidf.c: Likewise.
29637         * soft-fp/floattisf.c: Likewise.
29638         * soft-fp/floattitf.c: Likewise.
29639         * soft-fp/floatundidf.c: Likewise.
29640         * soft-fp/floatundisf.c: Likewise.
29641         * soft-fp/floatunditf.c: Likewise.
29642         * soft-fp/floatunsidf.c: Likewise.
29643         * soft-fp/floatunsisf.c: Likewise.
29644         * soft-fp/floatunsitf.c: Likewise.
29645         * soft-fp/floatuntidf.c: Likewise.
29646         * soft-fp/floatuntisf.c: Likewise.
29647         * soft-fp/floatuntitf.c: Likewise.
29648         * soft-fp/fmadf4.c: Likewise.
29649         * soft-fp/fmasf4.c: Likewise.
29650         * soft-fp/fmatf4.c: Likewise.
29651         * soft-fp/gedf2.c: Likewise.
29652         * soft-fp/gesf2.c: Likewise.
29653         * soft-fp/getf2.c: Likewise.
29654         * soft-fp/ledf2.c: Likewise.
29655         * soft-fp/lesf2.c: Likewise.
29656         * soft-fp/letf2.c: Likewise.
29657         * soft-fp/muldf3.c: Likewise.
29658         * soft-fp/mulsf3.c: Likewise.
29659         * soft-fp/multf3.c: Likewise.
29660         * soft-fp/negdf2.c: Likewise.
29661         * soft-fp/negsf2.c: Likewise.
29662         * soft-fp/negtf2.c: Likewise.
29663         * soft-fp/op-1.h: Likewise.
29664         * soft-fp/op-2.h: Likewise.
29665         * soft-fp/op-4.h: Likewise.
29666         * soft-fp/op-8.h: Likewise.
29667         * soft-fp/op-common.h: Likewise.
29668         * soft-fp/quad.h: Likewise.
29669         * soft-fp/single.h: Likewise.
29670         * soft-fp/soft-fp.h: Likewise.
29671         * soft-fp/sqrtdf2.c: Likewise.
29672         * soft-fp/sqrtsf2.c: Likewise.
29673         * soft-fp/sqrttf2.c: Likewise.
29674         * soft-fp/subdf3.c: Likewise.
29675         * soft-fp/subsf3.c: Likewise.
29676         * soft-fp/subtf3.c: Likewise.
29677         * soft-fp/truncdfsf2.c: Likewise.
29678         * soft-fp/trunctfdf2.c: Likewise.
29679         * soft-fp/trunctfsf2.c: Likewise.
29680         * soft-fp/trunctfxf2.c: Likewise.
29681         * soft-fp/unorddf2.c: Likewise.
29682         * soft-fp/unordsf2.c: Likewise.
29683         * soft-fp/unordtf2.c: Likewise.
29685 2013-10-15  Joseph Myers  <joseph@codesourcery.com>
29687         * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
29688         * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
29690 2013-10-15   Ondřej Bílka  <neleai@seznam.cz>
29692         * elf/dl-libc.c: Clear initfini list after freeing.
29694 2013-10-14  Joseph Myers  <joseph@codesourcery.com>
29696         * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
29697         * soft-fp/addsf3.c: Likewise.
29698         * soft-fp/addtf3.c: Likewise.
29699         * soft-fp/divdf3.c: Likewise.
29700         * soft-fp/divsf3.c: Likewise.
29701         * soft-fp/divtf3.c: Likewise.
29702         * soft-fp/double.h: Likewise.
29703         * soft-fp/eqdf2.c: Likewise.
29704         * soft-fp/eqsf2.c: Likewise.
29705         * soft-fp/eqtf2.c: Likewise.
29706         * soft-fp/extenddftf2.c: Likewise.
29707         * soft-fp/extended.h: Likewise.
29708         * soft-fp/extendsfdf2.c: Likewise.
29709         * soft-fp/extendsftf2.c: Likewise.
29710         * soft-fp/extendxftf2.c: Likewise.
29711         * soft-fp/fixdfdi.c: Likewise.
29712         * soft-fp/fixdfsi.c: Likewise.
29713         * soft-fp/fixdfti.c: Likewise.
29714         * soft-fp/fixsfdi.c: Likewise.
29715         * soft-fp/fixsfsi.c: Likewise.
29716         * soft-fp/fixsfti.c: Likewise.
29717         * soft-fp/fixtfdi.c: Likewise.
29718         * soft-fp/fixtfsi.c: Likewise.
29719         * soft-fp/fixtfti.c: Likewise.
29720         * soft-fp/fixunsdfdi.c: Likewise.
29721         * soft-fp/fixunsdfsi.c: Likewise.
29722         * soft-fp/fixunsdfti.c: Likewise.
29723         * soft-fp/fixunssfdi.c: Likewise.
29724         * soft-fp/fixunssfsi.c: Likewise.
29725         * soft-fp/fixunssfti.c: Likewise.
29726         * soft-fp/fixunstfdi.c: Likewise.
29727         * soft-fp/fixunstfsi.c: Likewise.
29728         * soft-fp/fixunstfti.c: Likewise.
29729         * soft-fp/floatdidf.c: Likewise.
29730         * soft-fp/floatdisf.c: Likewise.
29731         * soft-fp/floatditf.c: Likewise.
29732         * soft-fp/floatsidf.c: Likewise.
29733         * soft-fp/floatsisf.c: Likewise.
29734         * soft-fp/floatsitf.c: Likewise.
29735         * soft-fp/floattidf.c: Likewise.
29736         * soft-fp/floattisf.c: Likewise.
29737         * soft-fp/floattitf.c: Likewise.
29738         * soft-fp/floatundidf.c: Likewise.
29739         * soft-fp/floatundisf.c: Likewise.
29740         * soft-fp/floatunsidf.c: Likewise.
29741         * soft-fp/floatunsisf.c: Likewise.
29742         * soft-fp/floatuntidf.c: Likewise.
29743         * soft-fp/floatuntisf.c: Likewise.
29744         * soft-fp/floatuntitf.c: Likewise.
29745         * soft-fp/fmadf4.c: Likewise.
29746         * soft-fp/fmasf4.c: Likewise.
29747         * soft-fp/fmatf4.c: Likewise.
29748         * soft-fp/gedf2.c: Likewise.
29749         * soft-fp/gesf2.c: Likewise.
29750         * soft-fp/getf2.c: Likewise.
29751         * soft-fp/ledf2.c: Likewise.
29752         * soft-fp/lesf2.c: Likewise.
29753         * soft-fp/letf2.c: Likewise.
29754         * soft-fp/muldf3.c: Likewise.
29755         * soft-fp/mulsf3.c: Likewise.
29756         * soft-fp/multf3.c: Likewise.
29757         * soft-fp/negdf2.c: Likewise.
29758         * soft-fp/negsf2.c: Likewise.
29759         * soft-fp/negtf2.c: Likewise.
29760         * soft-fp/op-1.h: Likewise.
29761         * soft-fp/op-2.h: Likewise.
29762         * soft-fp/op-4.h: Likewise.
29763         * soft-fp/op-8.h: Likewise.
29764         * soft-fp/op-common.h: Likewise.
29765         * soft-fp/quad.h: Likewise.
29766         * soft-fp/single.h: Likewise.
29767         * soft-fp/soft-fp.h: Likewise.
29768         * soft-fp/sqrtdf2.c: Likewise.
29769         * soft-fp/sqrtsf2.c: Likewise.
29770         * soft-fp/sqrttf2.c: Likewise.
29771         * soft-fp/subdf3.c: Likewise.
29772         * soft-fp/subsf3.c: Likewise.
29773         * soft-fp/subtf3.c: Likewise.
29774         * soft-fp/truncdfsf2.c: Likewise.
29775         * soft-fp/trunctfdf2.c: Likewise.
29776         * soft-fp/trunctfsf2.c: Likewise.
29777         * soft-fp/trunctfxf2.c: Likewise.
29778         * soft-fp/unorddf2.c: Likewise.
29779         * soft-fp/unordsf2.c: Likewise.
29780         * soft-fp/unordtf2.c: Likewise.
29782 2013-10-14   Ondřej Bílka  <neleai@seznam.cz>
29784         [BZ #15672]
29785         * misc/error.c (error_tail): Fix possible buffer overflow.
29787 2013-10-14  Aurelien Jarno  <aurelien@aurel32.net>
29789         [BZ #13028]
29790         * res_send.c(__libc_res_nsend): Correctly copy the nameserver
29791         address.
29793 2013-10-14  P. J. McDermott  <pj@pehjota.net>
29795         [BZ #832]
29796         * elf/ldd.bash.in (try_trace): New function.  Delete previous code
29797         testing pipefail option.
29799 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
29801         * soft-fp/double.h: Indent preprocessor directives inside #if.
29802         * soft-fp/extended.h: Likewise.
29803         * soft-fp/op-2.h: Likewise.
29804         * soft-fp/op-4.h: Likewise.
29805         * soft-fp/op-common.h: Likewise.
29806         * soft-fp/quad.h: Likewise.
29807         * soft-fp/single.h: Likewise.
29808         * soft-fp/soft-fp.h: Likewise.
29810 2013-10-12   Yuri Chornoivan <yurchor@ukr.net>
29812         * iconv/iconv_prog.c: Fix typos.
29813         * stdio-common/psiginfo-data.h: Likewise.
29815 2013-10-12   Reuben Thomas <rrt@sc3d.org>
29817         [BZ #15764]
29818         * locale/setlocale.c: Fix typo.
29820 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
29822         [BZ #16036]
29823         * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
29824         signaling NaN arguments.
29825         * soft-fp/unordsf2.c (__unordsf2): Likewise.
29826         * soft-fp/unordtf2.c (__unordtf2): Likewise.
29828         [BZ #14910]
29829         * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
29830         unordered operands.
29831         * soft-fp/gesf2.c (__gesf2): Likewise.
29832         * soft-fp/getf2.c (__getf2): Likewise.
29833         * soft-fp/ledf2.c (__ledf2): Likewise.
29834         * soft-fp/lesf2.c (__lesf2): Likewise.
29835         * soft-fp/letf2.c (__letf2): Likewise.
29837         * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
29838         * soft-fp/eqsf2.c (__eqsf2): Likewise.
29839         * soft-fp/eqtf2.c (__eqtf2): Likewise.
29840         * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
29841         * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
29842         * soft-fp/fixdfti.c (__fixdfti): Likewise.
29843         * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
29844         * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
29845         * soft-fp/fixsfti.c (__fixsfti): Likewise.
29846         * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
29847         * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
29848         * soft-fp/fixtfti.c (__fixtfti): Likewise.
29849         * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
29850         * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
29851         * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
29852         * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
29853         * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
29854         * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
29855         * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
29856         * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
29857         * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
29858         * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
29859         * soft-fp/floatdisf.c (__floatdisf): Likewise.
29860         * soft-fp/floatsisf.c (__floatsisf): Likewise.
29861         * soft-fp/floattidf.c (__floattidf): Likewise.
29862         * soft-fp/floattisf.c (__floattisf): Likewise.
29863         * soft-fp/floattitf.c (__floattitf): Likewise.
29864         * soft-fp/floatundidf.c (__floatundidf): Likewise.
29865         * soft-fp/floatundisf.c (__floatundisf): Likewise.
29866         * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
29867         * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
29868         * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
29869         * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
29870         * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
29871         * soft-fp/gesf2.c (__gesf2): Likewise.
29872         * soft-fp/getf2.c (__getf2): Likewise.
29873         * soft-fp/ledf2.c (__ledf2): Likewise.
29874         * soft-fp/lesf2.c (__lesf2): Likewise.
29875         * soft-fp/letf2.c (__letf2): Likewise.
29877         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
29878         Undefine and redefine.
29879         [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
29880         [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
29881         [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
29882         * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
29883         (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
29884         * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
29885         (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
29886         * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
29887         (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
29888         * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
29889         (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
29890         * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
29891         (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
29892         * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
29893         (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
29895         [BZ #16032]
29896         * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
29897         without decrementing exponent if mantissa >= that for the
29898         denominator, not >.
29899         (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
29900         denominator, not >.  Decrement exponent in < case instead of
29901         incrementing in >= case.
29902         * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
29903         without decrementing exponent if mantissa >= that for the
29904         denominator, not >.
29906         * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
29907         computing saturated result for unsigned overflow.
29909 2013-10-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
29910             Jeff Law  <law@redhat.com>
29912         * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
29913         (atan2Mp): Add systemtap probe marker.
29914         * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
29915         (__ieee754_log): Add systemtap probe marker.
29916         * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
29917         (atanMp): Add systemtap probe marker.
29918         * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
29919         (tanMp): Add systemtap probe marker.
29920         * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
29921         (__slowexp): Add systemtap probe marker.
29922         * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
29923         (__slowpow): Add systemtap probe marker.
29924         * manual/probes.texi: Document probes.
29926 2013-10-11  Eric Biggers  <ebiggers3@gmail.com>
29928         [BZ #15362]
29929         * libio/fileops.c (_IO_new_file_write): Return count of bytes
29930         written.
29931         (_IO_new_file_xsputn): Don't return EOF if nothing has been
29932         written.
29933         * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
29934         written to buffer but not flushed.
29935         * libio/iofwrite_u.c:  Likewise.
29936         * libio/iopadn.c:  Return bytes returned even if EOF was
29937         encountered.
29938         * libio/iowpadn.c:  Likewise.
29939         * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
29940         if _IO_padn does not write the whole buffer.
29941         [!COMPILE_WPRINTF] (PAD): Likewise.
29943 2013-10-10  David S. Miller  <davem@davemloft.net>
29945         * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
29946         directory block.
29948 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
29950         * soft-fp/extendxftf2.c: Use copyright year range.  Use URL
29951         instead of FSF address.
29952         * soft-fp/fixdfti.c: Likewise.
29953         * soft-fp/fixsfti.c: Likewise.
29954         * soft-fp/fixtfti.c: Likewise.
29955         * soft-fp/fixunsdfti.c: Likewise.
29956         * soft-fp/fixunssfti.c: Likewise.
29957         * soft-fp/fixunstfti.c: Likewise.
29958         * soft-fp/floattidf.c: Likewise.
29959         * soft-fp/floattisf.c: Likewise.
29960         * soft-fp/floattitf.c: Likewise.
29961         * soft-fp/floatuntidf.c: Likewise.
29962         * soft-fp/floatuntisf.c: Likewise.
29963         * soft-fp/floatuntitf.c: Likewise.
29964         * soft-fp/trunctfxf2.c: Likewise.
29966         * soft-fp/extendxftf2.c: New file.  Copied from libgcc.
29967         * soft-fp/fixdfti.c: Likewise.
29968         * soft-fp/fixsfti.c: Likewise.
29969         * soft-fp/fixtfti.c: Likewise.
29970         * soft-fp/fixunsdfti.c: Likewise.
29971         * soft-fp/fixunssfti.c: Likewise.
29972         * soft-fp/fixunstfti.c: Likewise.
29973         * soft-fp/floattidf.c: Likewise.
29974         * soft-fp/floattisf.c: Likewise.
29975         * soft-fp/floattitf.c: Likewise.
29976         * soft-fp/floatuntidf.c: Likewise.
29977         * soft-fp/floatuntisf.c: Likewise.
29978         * soft-fp/floatuntitf.c: Likewise.
29979         * soft-fp/trunctfxf2.c: Likewise.
29981 2013-10-10  David S. Miller  <davem@davemloft.net>
29983         * sysdeps/sparc/fpu/libm-test-ulps: Update.
29985 2013-10-10  Joseph Myers  <joseph@codsourcery.com>
29987         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
29988         (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
29989         [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
29990         [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
29991         [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
29992         [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
29993         [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
29995         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
29996         for NaNs before doing comparisons on argument.
29997         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
29998         Likewise.
30000 2013-10-10  Will Newton  <will.newton@linaro.org>
30002         * malloc/hooks.c (memalign_check): Ensure the value of bytes
30003         passed to _int_memalign does not overflow.
30005 2013-10-10  Torvald Riegel  <triegel@redhat.com>
30007         * scripts/bench.pl: Add include-sources directive.
30008         * benchtests/README: Update documentation.
30010 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
30012         * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
30013         * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
30014         instead of FP_INIT_ROUNDMODE.
30015         * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
30016         * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
30018         [BZ #16034]
30019         * soft-fp/op-common.h (_FP_NEG): Document input as raw.  Do not
30020         copy class of input value.
30021         * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing.  Do
30022         not handle exceptions.
30023         * soft-fp/negsf2.c (__negsf2): Likewise.
30024         * soft-fp/negtf2.c (__negtf2): Likewise.
30025         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
30027 2013-10-09  Joseph Myers  <joseph@codesourcery.com>
30029         * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
30030         semicolon.  From Linux kernel.
30032 2013-10-09  Adam Buchbinder  <adam.buchbinder@gmail.com>
30034         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
30036 2013-10-08  Yogesh Chaudhari  <mr.yogesh@gmail.com>
30038         [BZ #156]
30039         * manual/socket.texi: Added statement about buffer
30040         for gethostbyname2_r.
30042 2013-10-08  Ondřej Bílka  <neleai@seznam.cz>
30044         * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
30045         Use .p2align directive instead, throughout.
30046         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
30047         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
30048         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
30049         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
30050         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
30051         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
30052         * sysdeps/x86_64/strchr.S: Likewise.
30053         * sysdeps/x86_64/strrchr.S: Likewise.
30055 2013-10-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
30057         * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
30059         * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
30061         * sysdeps/generic/math_private.h (__mpsin1): Remove
30062         declaration.
30063         (__mpcos1): Likewise.
30064         (__mpsin): New argument __range_reduce.
30065         (__mpcos): Likewise.
30066         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
30067         (slow): Use __mpsin and __mpcos.
30068         (slow1): Likewise.
30069         (slow2): Likewise.
30070         (sloww): Likewise.
30071         (sloww1): Likewise.
30072         (sloww2): Likewise.
30073         (bsloww): Likewise.
30074         (bsloww1): Likewise.
30075         (bsloww2): Likewise.
30076         (cslow2): Likewise.
30077         (csloww): Likewise.
30078         (csloww1): Likewise.
30079         (csloww2): Likewise.
30080         * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
30081         range_reduce.  Merge in __mpsin1.
30082         (__mpcos): Likewise.
30083         (__mpsin1): Remove.
30084         (__mpcos1): Likewise.
30086 2013-10-07  Joseph Myers  <joseph@codesourcery.com>
30088         * locale/loadlocale.c (_nl_intern_locale_data): Use
30089         LOCFILE_ALIGNED_P.
30090         * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
30091         LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
30092         * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
30093         obstack data is appropriately aligned.
30094         (obstack_int32_grow_fast): Likewise.
30095         * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
30096         * locale/programs/locfile.c (add_locale_uint32): Likewise.
30097         (add_locale_uint32_array): Likewise.
30099 2013-10-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
30101         * benchtests/Makefile: Remove ARGLIST and RET variables.
30102         ($(objpfx)bench-%.c): Pass only function name to the script.
30103         * benchtests/README: Update documentation.
30104         * benchtests/acos-inputs: Add new directives.
30105         * benchtests/acosh-inputs: Likewise.
30106         * benchtests/asin-inputs: Likewise.
30107         * benchtests/asinh-inputs: Likewise.
30108         * benchtests/atan-inputs: Likewise.
30109         * benchtests/atanh-inputs: Likewise.
30110         * benchtests/cos-inputs: Likewise.
30111         * benchtests/cosh-inputs: Likewise.
30112         * benchtests/exp-inputs: Likewise.
30113         * benchtests/log-inputs: Likewise.
30114         * benchtests/pow-inputs: Likewise.
30115         * benchtests/rint-inputs: Likewise.
30116         * benchtests/sin-inputs: Likewise.
30117         * benchtests/sinh-inputs: Likewise.
30118         * benchtests/tan-inputs: Likewise.
30119         * benchtests/tanh-inputs: Likewise.
30120         * scripts/bench.pl: Add support for new directives.
30122 2013-10-07  Alan Modra  <amodra@gmail.com>
30124         * README: Fix careless merge.
30126 2013-10-05  Alan Modra  <amodra@gmail.com>
30128         * NEWS: Mention powerpc64le support and bugs fixed.
30129         * README: Both big-endian and little-endian powerpc64 supported.
30131 2013-10-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
30133         * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
30134         (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
30135         (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
30136         _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
30138 2013-10-04  Ryan S. Arnold  <ryan.arnold@linaro.org>
30140         * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
30141         match prototype.
30143 2013-10-04  Joseph Myers  <joseph@codesourcery.com>
30145         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
30146         Move -mhard-float appending from
30147         ports/sysdeps/powerpc/powerpc32/Makefile.
30148         [$(with-fp) = yes] (ASFLAGS): Likewise.
30149         [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
30150         * sysdeps/powerpc/nofpu: Move directory from
30151         ports/sysdeps/powerpc/nofpu.
30152         * sysdeps/powerpc/soft-fp: Move directory from
30153         ports/sysdeps/powerpc/soft-fp.
30154         * sysdeps/powerpc/powerpc32/405: Move directory from
30155         ports/sysdeps/powerpc/powerpc32/405.
30156         * sysdeps/powerpc/powerpc32/440: Move directory from
30157         ports/sysdeps/powerpc/powerpc32/440.
30158         * sysdeps/powerpc/powerpc32/464: Move directory from
30159         ports/sysdeps/powerpc/powerpc32/464.
30160         * sysdeps/powerpc/powerpc32/476: Move directory from
30161         ports/sysdeps/powerpc/powerpc32/476.
30162         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
30163         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
30164         * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
30165         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
30166         * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
30167         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
30168         * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
30169         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
30170         * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
30171         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
30172         * README: Update for powerpc-*-linux-gnu software floating point
30173         support in libc.
30175         * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
30176         case to powerpc/powerpc32*.
30177         * sysdeps/unix/sysv/linux/configure: Regenerated.
30179         * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
30180         (_FPU_MASK_OM): Define as 0x04.
30181         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
30182         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
30183         0x00c10080.
30184         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
30185         0x0000003c.
30186         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
30188         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
30189         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
30190         getcontext_e500.
30191         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
30192         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
30193         setcontext_e500.
30194         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
30195         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
30196         and setcontext_e500.
30198 2013-10-04  Chris Leonard  <cjl@sugarlabs,.org>
30200         * locale/iso-3166.def: Update iso-1366.def and related occurrences
30202 2013-10-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
30204         * manual/threads.texi (Default Thread Attributes): Fix typo.
30206 2013-10-04  Will Newton  <will.newton@linaro.org>
30208         * malloc/Makefile: Add tst-memalign.
30209         * malloc/tst-memalign.c: New file.
30211         * malloc/tst-posix_memalign.c: Add comments.
30212         (do_test): Add comments and call free on all potentially
30213         allocated pointers. Add space after cast.
30215         * malloc/tst-pvalloc.c: Add comments.
30216         (do_test): Add comments and call free on all potentially
30217         allocated pointers. Remove duplicate check for NULL pointer.
30218         Add space after cast.
30220         * malloc/tst-valloc.c: Add comments.
30221         (do_test): Add comments and call free on all potentially
30222         allocated pointers. Remove duplicate check for NULL pointer.
30223         Add space after cast.
30225 2013-10-04  Alan Modra  <amodra@gmail.com>
30227         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
30228         Use stdint types in rather than __attribute__((mode())).
30229         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
30231 2013-10-04  Alan Modra  <amodra@gmail.com>
30233         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
30234         Correct handling of unaligned relocs for little-endian.
30235         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
30237 2013-10-04  Alan Modra  <amodra@gmail.com>
30239         * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
30240         * configure: Regenerate.
30241         * nptl/shlib-versions: Powerpc*le starts at 2.18.
30242         * shlib-versions: Likewise.
30244 2013-10-04  Alan Modra  <amodra@gmail.com>
30246         * string/tester.c (test_memrchr): Increment reported test cycle.
30248 2013-10-04  Alan Modra  <amodra@gmail.com>
30250         * string/test-memcpy.c (do_one_test): When reporting errors, print
30251         string address and don't overrun end of string.
30253 2013-10-04  Alan Modra  <amodra@gmail.com>
30255         * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
30256         insrdi.  Make better use of reg selection to speed exit slightly.
30257         Schedule entry path a little better.  Remove useless "are we done"
30258         checks on entry to main loop.  Handle wrapping around zero address.
30259         Correct main loop count.  Handle single left-over word from main
30260         loop inline rather than by using loop_small.  Remove extra word
30261         case in loop_small caused by wrong loop count.  Add little-endian
30262         support.
30263         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
30264         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.  Use proper
30265         cache hint.
30266         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
30267         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
30268         support.  Avoid rlwimi.
30269         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
30271 2013-10-04  Alan Modra  <amodra@gmail.com>
30273         * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
30274         insrdi.  Formatting.
30275         * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
30276         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
30277         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
30278         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
30279         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
30280         * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
30282 2013-10-04  Alan Modra  <amodra@gmail.com>
30284         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
30285         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
30286         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
30287         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
30288         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
30289         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
30290         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
30291         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
30292         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise.  Make better
30293         use of regs.  Use power7 mtocrf.  Tidy function tails.
30295 2013-10-04  Alan Modra  <amodra@gmail.com>
30297         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
30298         Formatting.  Consistently use rXXX register defines or rN defines.
30299         Use early exit labels that avoid restoring unused non-volatile regs.
30300         Make cr field use more consistent with rWORDn compares.  Rename
30301         regs used as shift registers for unaligned loop, using rN defines
30302         for short lifetime/multiple use regs.
30303         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
30304         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.  Exit with
30305         addi 1,1,64 to pop stack frame.  Simplify return value code.
30306         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
30308 2013-10-04  Alan Modra  <amodra@gmail.com>
30310         * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
30311         support.  Correct typos, formatting.  Optimize tail.  Use insrdi
30312         rather than rlwimi.
30313         * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
30314         * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
30315         little-endian support.  Correct typos.
30316         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise.  Use insrdi
30317         rather than rlwimi.
30318         * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define.  Use
30319         in loop and entry code to keep "and." results.
30320         (strchr): Add little-endian support.  Comment.  Move cntlzd
30321         earlier in tail.
30322         * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
30324 2013-10-04  Alan Modra  <amodra@gmail.com>
30326         * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
30327         * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
30328         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
30329         * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
30331 2013-10-04  Alan Modra  <amodra@gmail.com>
30333         * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
30334         (rTMP): Define as r11.
30335         (strcmp): Add little-endian support.  Optimise tail.
30336         * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
30337         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
30338         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
30339         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
30340         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
30341         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
30342         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
30344 2013-10-04  Alan Modra  <amodra@gmail.com>
30346         * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
30347         little-endian support.  Remove unnecessary "are we done" tests.
30348         Handle "s" wrapping around zero and extremely large "size".
30349         Correct main loop count.  Handle single left-over word from main
30350         loop inline rather than by using small_loop.  Correct comments.
30351         Delete "zero" tail, use "end_max" instead.
30352         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
30354 2013-10-04  Alan Modra  <amodra@gmail.com>
30356         * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
30357         support.  Don't branch over align.
30358         * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
30359         * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
30360         support.  Rearrange tmp reg use to suit.  Comment.
30361         * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
30363 2013-10-04  Alan Modra  <amodra@gmail.com>
30365         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
30367 2013-10-04  Alan Modra  <amodra@gmail.com>
30369         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
30370         conditional form of branch and link when obtaining pc.
30371         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
30373 2013-10-04  Alan Modra  <amodra@gmail.com>
30375         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
30376         HIWORD/LOWORD.
30377         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
30378         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
30380 2013-10-04  Alan Modra  <amodra@gmail.com>
30382         * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
30383         * sysdeps/powerpc/novmx-longjmp.c: Likewise.
30384         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
30385         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
30386         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
30387         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
30388         * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
30389         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
30390         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
30391         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
30393 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
30394             Alistair Popple <alistair@ozlabs.au.ibm.com>
30395             Alan Modra <amodra@gmail.com>
30397         [BZ #15723]
30398         * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
30399         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
30400         _dl_hwcap access for little-endian.
30401         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.  Don't
30402         destroy vmx regs when saving unaligned.
30403         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
30404         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save.  Don't
30405         destroy vmx regs when saving unaligned.
30407 2013-10-04  Alan Modra  <amodra@gmail.com>
30409         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
30410         Don't use a union to pack hi/low value.
30412 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
30414         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
30415         for little-endian.
30416         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
30417         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
30418         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
30419         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
30420         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
30422 2013-10-04  Alan Modra  <amodra@gmail.com>
30424         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
30425         constants to usual value for .cst8 section, and remove redundant
30426         high address load.
30427         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
30428         constant for 0x1p52.  Load little-endian words of double from
30429         correct stack offsets.
30431 2013-10-04  Alan Modra  <amodra@gmail.com>
30433         * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
30434         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
30435         words of double from correct stack offsets.
30436         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
30437         * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
30438         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
30439         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
30440         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
30441         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
30442         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
30443         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
30444         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
30445         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
30446         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
30447         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
30448         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
30449         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
30450         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
30451         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
30452         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
30454 2013-10-04  Alan Modra  <amodra@gmail.com>
30456         * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
30457         64-bit int/double union.
30458         (_FPU_SETCW): Likewise.
30459         * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
30460         (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
30462 2013-10-04  Alan Modra  <amodra@gmail.com>
30464         * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
30465         * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
30467 2013-10-04  Alan Modra  <amodra@gmail.com>
30469         * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
30470         use vector int constants.
30471         (__float_and_test24, __float_and8, __float_get_exp): Likewise.
30473 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
30475         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
30476         array with long long.
30477         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
30478         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
30479         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
30480         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
30481         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
30482         * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
30483         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
30484         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
30485         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
30486         * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
30487         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
30488         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
30489         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
30491 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
30493         * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
30494         (__signbit): Likewise.  Correct for little-endian.
30495         (__signbitl): Call __signbit.
30496         (lrint): Correct for little-endian.
30497         (lrintf): Call lrint.
30499 2013-10-04  Alan Modra  <amodra@gmail.com>
30501         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
30502         union 32-bit int array member with 64-bit int array.
30503         (t515, tm256): Double rather than long double.
30504         (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
30506 2013-10-04  Alan Modra  <amodra@gmail.com>
30508         * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
30509         Delete.
30510         (IEEE854_LONG_DOUBLE_BIAS): Delete.
30511         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
30512         version of math_ldbl.h.
30514 2013-10-04  Alan Modra  <amodra@gmail.com>
30516         [BZ #15734], [BZ #15735]
30517         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
30518         all uses of ieee875 long double macros and unions.  Simplify test
30519         for 0.0L.  Correct |x|<|y| and |x|=|y| test.  Use
30520         ldbl_extract_mantissa value for ix,iy exponents.  Properly
30521         normalize after ldbl_extract_mantissa, and don't add hidden bit
30522         already handled.  Don't treat low word of ieee854 mantissa like
30523         low word of IBM long double and mask off bit when testing for
30524         zero.
30525         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
30526         all uses of ieee875 long double macros and unions.  Simplify tests
30527         for 0.0L and inf.  Correct double adjustment of k.  Delete dead code
30528         adjusting ha,hb.  Simplify code setting kld.  Delete two600 and
30529         two1022, instead use their values.  Recognise that tests for large
30530         "a" and small "b" are mutually exclusive.  Rename vars.  Comment.
30531         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
30532         Rewrite all uses of ieee875 long double macros and unions.  Simplify
30533         test for 0.0L and nan.  Correct negation.
30534         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
30535         ieee875 long double macros and unions.  Correct output for large
30536         magnitude x.  Correct absolute value calculation.
30537         (__erfcl): Likewise.
30538         * math/libm-test.inc: Add tests for errors discovered in IBM long
30539         double versions of fmodl, remainderl, erfl and erfcl.
30541 2013-10-04  Alan Modra  <amodra@gmail.com>
30543         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
30544         all uses of ieee854 long double macros and unions.  Simplify tests
30545         for long doubles that are fully specified by the high double.
30546         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
30547         Likewise.
30548         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
30549         Remove dead code too.
30550         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
30551         (__ieee754_ynl): Likewise.
30552         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
30553         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
30554         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
30555         Remove dead code too.
30556         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
30557         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
30558         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
30559         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
30560         Simplify.
30561         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
30562         Simplify.
30563         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
30564         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
30565         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
30566         Comment on variable precision.
30567         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
30568         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
30569         Likewise.
30570         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
30571         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
30572         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
30573         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
30574         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
30576 2013-10-04  Alan Modra  <amodra@gmail.com>
30578         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
30579         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
30580         all uses of ieee854 long double macros and unions.
30581         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
30582         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
30583         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
30584         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
30585         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
30586         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
30587         Likewise.
30588         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
30589         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
30590         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
30591         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
30592         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
30593         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
30594         Simplify sign and nan test too.
30595         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
30596         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
30597         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
30598         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
30599         Likewise.
30600         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
30601         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
30602         Likewise.
30603         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
30604         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
30605         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
30606         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
30607         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
30608         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
30610 2013-10-04  Alan Modra  <amodra@gmail.com>
30612         * stdio-common/printf_size.c (__printf_size): Don't use
30613         union ieee854_long_double in fpnum union.
30614         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.  Use
30615         signbit macro to retrieve sign from long double.
30616         * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
30617         retrieve sign from long double.
30618         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
30619         * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
30620         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
30621         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
30622         * math/test-misc.c (main): Don't use union ieee854_long_double.
30624 2013-10-04  Alan Modra  <amodra@gmail.com>
30626         [BZ #15680]
30627         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
30628         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
30629         (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
30630         calculation.  Remove unnecessary test for denormal exponent.
30631         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
30632         Correct handling of denormals.  Avoid undefined shift behaviour.
30633         Correct normalisation of low mantissa when low double is denormal.
30634         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
30635         (ldbl_extract_mantissa): Likewise.  Comment.  Use uint64_t* for hi64.
30636         (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
30637         Correct normalisation of low mantissa.  Test for overflow of high
30638         mantissa and normalise.
30639         (ldbl_nearbyint): Use more readable constant for two52.
30640         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
30641         (__mpn_construct_long_double): Fix test for overflow of high
30642         mantissa and correct normalisation.  Avoid undefined shift.
30644 2013-10-04  Alan Modra  <amodra@gmail.com>
30646         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
30647         (union ibm_extended_long_double): Define as an array of ieee754_double.
30648         (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
30649         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
30650         to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
30651         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
30652         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
30653         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
30654         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
30655         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
30656         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
30657         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
30658         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
30660 2013-10-03  Joseph Myers  <joseph@codesourcery.com>
30662         * locale/programs/locarchive.c (add_locale): Use constant 4096 for
30663         page size instead of calling getpagesize.
30665         * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
30666         (LOCFILE_ALIGN_MASK): Likewise.
30667         (LOCFILE_ALIGN_UP): Likewise.
30668         (LOCFILE_ALIGNED_P): Likewise.
30669         * locale/programs/ld-collate.c (collate_output): Use the new
30670         macros instead of __alignof__ (int32_t).
30671         * locale/weight.h (findidx): Likewise.
30673 2013-10-03  Ondřej Bílka  <neleai@seznam.cz>
30675         [BZ #431]
30676         * manual/string.texi: Fix strncat and wcsncat.
30678 2013-10-03  Brooks Moses  <bmoses@google.com>
30680         [BZ #15915]
30681         * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
30682         * Makerules: ...here, and adjust associated comments.
30684 2013-10-02  Will Newton  <will.newton@linaro.org>
30686         * malloc/Makefile: Add tst-pvalloc.
30687         * malloc/tst-pvalloc.c: New file.
30689 2013-10-02  Will Newton  <will.newton@linaro.org>
30691         * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
30692         improve test coverage.
30694 2013-10-02  Will Newton  <will.newton@linaro.org>
30696         * malloc/Makefile: Add tst-posix_memalign.
30697         * malloc/tst-posix_memalign.c: New file.
30699 2013-10-01  Eric Blake  <eblake@redhat.com>
30701         * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
30702         Use __THROWNL rather than __THROW on static functions.
30704 2013-09-30  Petr Machata  <pmachata@redhat.com>
30706         * elf/elf.h (R_AARCH64_ABS16): New macro.
30707         (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
30708         (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
30709         (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
30710         (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
30711         (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
30712         (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
30713         (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
30714         (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
30715         (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
30716         (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
30717         (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
30718         (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
30719         (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
30720         (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
30721         (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
30722         (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
30723         (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
30724         (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
30725         (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
30726         (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
30727         (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
30728         (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
30729         (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
30730         (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
30731         (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
30732         (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
30733         (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
30734         (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
30735         (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
30736         (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
30737         (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
30738         (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
30739         (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
30740         (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
30741         (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
30742         (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
30743         (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
30744         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
30745         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
30746         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
30747         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
30748         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
30749         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
30750         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
30751         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
30752         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
30753         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
30754         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
30755         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
30756         (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
30757         (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
30758         (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
30759         (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
30760         (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
30761         (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
30762         (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
30763         (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
30764         (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
30765         (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
30766         (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
30767         (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
30768         (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
30769         (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
30770         (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
30771         (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
30772         (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
30773         (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
30774         (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
30775         (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
30776         (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
30777         (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
30778         (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
30779         (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
30780         (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
30781         (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
30782         (R_AARCH64_TLSDESC_OFF_G1): Likewise.
30783         (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
30784         (R_AARCH64_TLSDESC_LDR): Likewise.
30785         (R_AARCH64_TLSDESC_ADD): Likewise.
30786         (R_AARCH64_TLSDESC_CALL): Likewise.
30788 2013-09-30  Andreas Schwab  <schwab@suse.de>
30790         [BZ #15048]
30791         * nscd/aicache.c (addhstaiX): Properly use the cache variable for
30792         the nss database lookup.
30793         * nscd/initgrcache.c (addinitgroupsX): Likewise.
30794         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
30796 2013-09-28  Mike Frysinger  <vapier@gentoo.org>
30798         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
30800 2013-09-28  P. J. McDermott  <pj@pehjota.net>
30802         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
30803         ${Bash-specific parameter/pattern/string} parameter expansion.
30804         * sysdeps/unix/make-syscalls.sh: Likewise.
30806 2013-09-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
30808         * sysdeps/sh/stackguard-macros.h: New file.
30810 2013-09-26  Ondřej Bílka  <neleai@seznam.cz>
30812         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
30813         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
30814         * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
30815         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
30816         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
30817         * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
30819 2013-09-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30821         * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
30822         Fix thread ID register.
30824 2013-09-25  Joseph Myers  <joseph@codesourcery.com>
30826         * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
30827         [POSIX || UNIX98]: Require rather than permitting all symbols from
30828         <time.h>.
30829         [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
30830         element of struct sched_param.
30831         [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
30832         [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
30833         [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
30834         [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
30835         constant.
30837 2013-09-24  Olivier Langlois  <olivier@olivierlanglois.net>
30839         * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
30840         argument calculation.
30842 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
30844         * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
30845         Expect macro.
30846         [POSIX] (pthread_attr_t): Do not require type.
30847         [POSIX] (pthread_cond_t): Likewise.
30848         [POSIX] (pthread_condattr_t): Likewise.
30849         [POSIX] (pthread_key_t): Likewise.
30850         [POSIX] (pthread_mutex_t): Likewise.
30851         [POSIX] (pthread_mutexattr_t): Likewise.
30852         [POSIX] (pthread_once_t): Likewise.
30853         [POSIX] (pthread_t): Likewise.
30854         [POSIX-based standards] (pthread_atfork): Expect function.
30856 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
30857             Richard Sandiford  <richard@codesourcery.com>
30859         * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
30860         (swap_endianness_p): New extern variable.
30861         (set_big_endian): New inline function.
30862         (maybe_swap_uint32): Likewise.
30863         (maybe_swap_uint32_array): Likewise.
30864         (maybe_swap_uint32_obstack): Likewise.
30865         * locale/programs/locfile.c: Include <stdbool.h>.
30866         (swap_endianness_p): New variable.
30867         (add_locale_uint32): Call maybe_swap_uint32.
30868         (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
30869         (write_locale_data): Call maybe_swap_uint32_array.
30870         * locale/programs/ld-collate.c (obstack_int32_grow): Call
30871         maybe_swap_uint32.
30872         (obstack_int32_grow_fast): Likewise.
30873         (output_weightwc): Call maybe_swap_uint32_obstack.
30874         (collate_output): Likewise.
30875         * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
30876         (OPT_LITTLE_ENDIAN): Likewise.
30877         (options): Add --little-endian and --big-endian options.
30878         (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
30879         * locale/programs/locarchive.c: Include "locfile.h".
30880         (GET): New macro.
30881         (SET): Likewise.
30882         (INC): Likewise.
30883         (create_archive): Use the new macros to access fields of
30884         structures directly mapped from or written to locale archives.
30885         (oldlocrecentcmp): Likewise.
30886         (enlarge_archive): Likewise.
30887         (insert_name): Likewise.
30888         (add_alias): Likewise.
30889         (add_locale): Likewise.
30890         (delete_locales_from_archive): Likewise.
30891         (show_archive_content): Likewise.
30892         (add_locale_to_archive): Likewise.  Use maybe_swap_uint32 on
30893         locale data.
30895 2013-09-24  Roland McGrath  <roland@hack.frob.com>
30897         * manual/freemanuals.texi: Updated from (newly) canonical copy at
30898         http://www.gnu.org/doc/freemanuals.texi.
30899         * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
30901 2013-09-24  Will Newton  <will.newton@linaro.org>
30903         * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
30904         macro.
30906 2013-09-23  Joseph Myers  <joseph@codesourcery.com>
30908         * locale/hashval.h (compute_hashval): Interpret bytes of key as
30909         unsigned char.
30911 2013-09-23  Maciej W. Rozycki  <macro@codesourcery.com>
30913         * manual/threads.texi (POSIX Threads): Fix a typo.
30915 2013-09-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
30917         [BZ #14547]
30918         * string/tst-strcoll-overflow.c: New test case.
30919         * string/Makefile (xtests): Add tst-strcoll-overflow.
30920         * string/strcoll_l.c (STRCOLL): Skip allocating memory for
30921         cache if string sizes may cause integer overflow.
30923         [BZ #14547]
30924         * string/strcoll_l.c (coll_seq): New members rule, idx,
30925         save_idx and back_us.
30926         (get_next_seq_nocache): New function.
30927         (do_compare_nocache): New function.
30928         (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
30929         when malloc fails.
30931 2013-09-23  Carlos O'Donell  <carlos@redhat.com>
30933         [BZ #15754]
30934         * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
30935         __pointer_chk_guard_local, otherwise __pointer_chk_guard.
30936         * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
30938         [BZ #15754]
30939         * elf/Makefile (tests): Add tst-ptrguard1.
30940         (tests-static): Add tst-ptrguard1-static.
30941         (tst-ptrguard1-ARGS): Define.
30942         (tst-ptrguard1-static-ARGS): Define.
30943         * elf/tst-ptrguard1.c: New file.
30944         * elf/tst-ptrguard1-static.c: New file.
30945         * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
30946         * sysdeps/i386/stackguard-macros.h: Likewise.
30947         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
30948         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
30949         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
30950         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
30951         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
30952         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
30954 2013-09-23  Hector Marco  <hecmargi@upv.es>
30955             Ismael Ripoll  <iripoll@disca.upv.es>
30956             Carlos O'Donell  <carlos@redhat.com>
30958         [BZ #15754]
30959         * sysdeps/generic/stackguard-macros.h: Define
30960         __pointer_chk_guard_local and POINTER_CHK_GUARD.
30961         * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
30962         Define __pointer_chk_guard_local.
30963         (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
30964         Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
30966 2013-09-15  Vinitha Vijayan <vinitha.vijayann@gmail.com>
30968         [BZ #15859]
30969         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
30971 2013-09-20  Andreas Schwab  <schwab@linux-m68k.org>
30973         * include/string.h (__ffs): Declare as hidden.
30974         * string/ffs.c (__ffs): Define as hidden.
30975         * sysdeps/i386/ffs.c (__ffs): Likewise.
30976         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
30977         * sysdeps/powerpc/ffs.c (__ffs): Likewise.
30978         * sysdeps/s390/ffs.c (__ffs): Likewise.
30979         * sysdeps/x86_64/ffs.c (__ffs): Likewise.
30981 2013-09-20  Alexandre Oliva <aoliva@redhat.com>
30983         * NEWS: Mention malloc probes.
30985         * malloc/arena.c (new_heap): New memory_heap_new probe.
30986         (grow_heap): New memory_heap_more probe.
30987         (shrink_heap): New memory_heap_less probe.
30988         (heap_trim): New memory_heap_free probe.
30989         * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
30990         (systrim): New memory_sbrk_less probe.
30991         * manual/probes.texi: Document them.
30993         * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
30994         * manual/probes.texi: Document it.
30996         * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
30997         (__libc_realloc): Add memory_realloc_retry probe.
30998         (__libc_memalign): Add memory_memalign_retry probe.
30999         (__libc_valloc): Add memory_valloc_retry probe.
31000         (__libc_pvalloc): Add memory_pvalloc_retry probe.
31001         (__libc_calloc): Add memory_calloc_retry probe.
31002         * manual/probes.texi: Document them.
31004         * malloc/arena.c (get_free_list): Add probe
31005         memory_arena_reuse_free_list.
31006         (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
31007         and memory_arena_reuse.
31008         (arena_get2) [!PER_THREAD]: Likewise.
31009         * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
31010         memory_arena_reuse_realloc.
31011         * manual/probes.texi: Document them.
31013         * malloc/malloc.c (__libc_free): Add
31014         memory_mallopt_free_dyn_thresholds probe.
31015         (__libc_mallopt): Add multiple memory_mallopt probes.
31016         * manual/probes.texi: Document them.
31018         * malloc/malloc.c: Include stap-probe.h.
31019         (__libc_mallopt): Add memory_mallopt probe.
31020         * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
31021         * manual/probes.texi: New.
31022         * manual/Makefile (chapters): Add probes.
31023         * manual/threads.texi: Set next node.
31025 2013-09-19  Wei-Lun Chao  <bluebat@member.fsf.org>
31027         [BZ #15963, #13985]
31028         * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
31029         czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
31030         Add `Chinese' to `nan' entry name.
31032 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
31034         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
31035         (POLYNOMIAL): Likewise.
31036         (TAYLOR_SINCOS): Likewise.
31037         (TAYLOR_SLOW): Likewise.
31038         (__sin): Use TAYLOR_SINCOS.
31039         (__cos): Likewise.
31040         (slow): Use TAYLOR_SLOW.
31041         (sloww): Likewise.
31042         (bsloww): Likewise.
31043         (csloww): Likewise.
31045 2013-09-19  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
31047         * stdlib/strtod_l.c: Fix buffer overrun.
31049 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
31051         * benchtests/Makefile (bench): Add sincos.
31052         * benchtests/bench-sincos.c: New file.
31054         * math/libm-test.inc (cos_test_data): New test inputs.
31055         (sin_test_data): Likewise.
31057         * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
31058         macro.
31059         (__sin): Use it.
31060         (__cos): Likewise.
31061         (slow1): Likewise.
31062         (slow2): Likewise.
31063         (sloww1): Likewise.
31064         (sloww2): Likewise.
31065         (bsloww1): Likewise.
31066         (bsloww2): Likewise.
31067         (cslow2): Likewise.
31068         (csloww1): Likewise.
31069         (csloww2): Likewise.
31071         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
31072         function.
31073         (__sin): Use it.
31074         (__cos): Likewise.
31076         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
31077         gotos.
31078         (__cos): Likewise.
31080 2013-09-18  Maciej W. Rozycki  <macro@codesourcery.com>
31082         * config.h.in (HAVE_MIPS_NAN2008): New macro.
31083         * elf/elf.h (EF_MIPS_NAN2008): Likewise.
31084         * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
31085         (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
31086         (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
31087         * elf/cache.c (print_entry): Handle the new cache flags.
31089 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
31090             Aldy Hernandez  <aldyh@redhat.com>
31092         * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
31093         Change condition to [_SOFT_FLOAT].
31094         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
31095         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
31096         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
31097         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
31098         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
31099         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
31100         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
31101         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
31102         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
31103         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
31104         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
31105         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
31106         [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
31107         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
31108         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
31109         [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
31110         declaration.
31112 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
31114         * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
31115         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
31116         (__longjmp): Use LOAD_GP to load saved GPRs.
31117         * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
31118         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
31119         (__sigsetjmp): Use SAVE_GP to save GPRs.
31121         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
31122         Do not append -msoft-float.
31123         [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
31125 2013-09-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
31127         * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
31129 2013-09-17  Joseph Myers  <joseph@codesourcery.com>
31131         [BZ #15966]
31132         * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
31133         (_FPU_GETCW): Use initial "__" on variable and field names but not
31134         on macro parameter name.
31135         [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise.  Use
31136         parentheses around reference to macro parameter.
31138 2013-09-13  Richard Sandiford  <richard@codesourcery.com>
31140         * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
31141         prototype.
31142         (ctype_startup): Use uint32_t in cast and sizeof for
31143         ctype->charnames.
31145 2013-09-11  Jia Liu  <proljc@gmail.com>
31147         * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
31148         __daddr_t_defined.
31149         [__FreeBSD__]: Likewise.
31151 2013-09-11  Ondřej Bílka  <neleai@seznam.cz>
31153         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
31154         (__libc_ifunc_impl_list): Remove: __strchr_sse42.
31155         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
31156         (strchr): Remove __strchr_sse42 ifunc selection.
31157         * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
31158         * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
31160 2013-09-11  Will Newton  <will.newton@linaro.org>
31162         * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
31163         parameter to RES. Remove hardcoded 1000 value.
31164         * benchtests/bench-skeleton.c (main): Pass RES parameter
31165         to TIMING_INIT and multiply result by 1000.
31167 2013-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31169         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31171 2013-09-11  Andreas Schwab  <schwab@suse.de>
31173         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
31174         if not defined.
31175         (O_TMPFILE) [__USE_GNU]: Define.
31176         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
31177         Define.
31179 2013-09-11  Will Newton  <will.newton@linaro.org>
31181         [BZ #15857]
31182         * malloc/malloc.c (__libc_memalign): Check the value of bytes
31183         does not overflow.
31185 2013-09-11  Will Newton  <will.newton@linaro.org>
31187         [BZ #15856]
31188         * malloc/malloc.c (__libc_valloc): Check the value of bytes
31189         does not overflow.
31191 2013-09-11  Will Newton  <will.newton@linaro.org>
31193         [BZ #15855]
31194         * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
31195         does not overflow.
31197 2013-09-10  Ondřej Bílka  <neleai@seznam.cz>
31199         * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
31200         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
31201         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
31202         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
31203         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
31205 2013-09-10  Allan McRae  <allan@archlinux.org>
31207         [BZ #15748]
31208         * manual/arith.texi (Parsing of Floats): Clarify
31209         cross-reference.
31211         [BZ #15849]
31212         * manual/install.texi (Running make install): Mention
31213         --enable-pt-chown.
31214         * INSTALL: Regenerated.
31216 2013-09-09  Maciej W. Rozycki  <macro@codesourcery.com>
31218         * csu/init-first.c (_init): Remove the !SHARED condition around
31219         FPU control word initialization.
31220         * elf/dl-support.c (_dl_fpu_control): New variable.
31221         (_dl_aux_init) <AT_FPUCW>: Initialize it.
31222         * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
31223         (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
31224         * math/test-fpucw-static.c: New file.
31225         * math/test-fpucw-ieee.c: New file.
31226         * math/test-fpucw-ieee-static.c: New file.
31227         * math/Makefile (tests): Add `test-fpucw-ieee' and
31228         `$(tests-static)'.
31229         (tests-static): New variable.
31230         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
31231         dependency to...
31232         [($(build-shared),yes)]
31233         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
31234         ... this.
31235         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
31236         New dependency.
31238 2013-09-09  Allan McRae  <allan@archlinux.org>
31240         [BZ #15939]
31241         * manual/string.texi (Collation Functions): Fix typo in
31242         strcoll example.
31243         Reported by Suren Karapetyan <me@suren.karapetyan.name>.
31245         [BZ #15893]
31246         * stdlib/isomac.c (get_null_defines): Fix memory leak.
31248         [BZ #15892]
31249         * libio/memstream.c (open_memstream): Fix memory leak.
31250         * libio/wmemstream.c (open_wmemstream): Likewise.
31252         [BZ #15895]
31253         * nscd/netgroupcache.c: Fix nesting of ifdefs.
31255 2013-09-09  Will Newton  <will.newton@linaro.org>
31257         * malloc/Makefile: Add tst-realloc to tests.
31258         * malloc/tst-realloc.c: New file.
31260 2013-09-09  Allan McRae  <allan@archlinux.org>
31262         [BZ #15844]
31263         * COPYING: Update from GNU website to fix FSF address.
31264         * COPYING.LIB: Likewise.
31266 2013-09-06  David S. Miller  <davem@davemloft.net>
31268         * po/zh_TW.po: Update Chinese (traditional) translation from
31269         translation project.
31271 2013-09-06  Richard Sandiford  <richard@codesourcery.com>
31272             Joseph Myers  <joseph@codesourcery.com>
31274         * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
31275         "localeinfo.h".
31276         (obstack_chunk_alloc): New macro.
31277         (obstack_chunk_free): Likewise.
31278         (record_offset): New function.
31279         (init_locale_data): Likewise.
31280         (align_locale_data): Likewise.
31281         (add_locale_empty): Likewise.
31282         (add_locale_raw_data): Likewise.
31283         (add_locale_raw_obstack): Likewise.
31284         (add_locale_string): Likewise.
31285         (add_locale_wstring): Likewise.
31286         (add_locale_uint32): Likewise.
31287         (add_locale_uint32_array): Likewise.
31288         (add_locale_char): Likewise.
31289         (start_locale_structure): Likewise.
31290         (end_locale_structure): Likewise.
31291         (start_locale_prelude): Likewise.
31292         (end_locale_prelude): Likewise.
31293         (write_locale_data): Take locale_file structure rather than an
31294         iovec.
31295         * locale/programs/locfile.h: Include "obstack.h".
31296         (struct locale_file): Change to store locale file contents instead
31297         of header.
31298         (init_locale_data): New prototype.
31299         (align_locale_data): Likewise.
31300         (add_locale_empty): Likewise.
31301         (add_locale_raw_data): Likewise.
31302         (add_locale_raw_obstack): Likewise.
31303         (add_locale_string): Likewise.
31304         (add_locale_wstring): Likewise.
31305         (add_locale_uint32): Likewise.
31306         (add_locale_uint32_array): Likewise.
31307         (add_locale_char): Likewise.
31308         (start_locale_structure): Likewise.
31309         (end_locale_structure): Likewise.
31310         (start_locale_prelude): Likewise.
31311         (end_locale_prelude): Likewise.
31312         (write_locale_data): Update prototype.
31313         * locale/programs/3level.h (struct TABLE): Remove result field.
31314         (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
31315         Use new locale_file interface.
31316         [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
31317         (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
31318         * locale/programs/ld-address.c (address_output): Use new
31319         locale_file interface.
31320         * locale/programs/ld-collate.c (NO_FINALIZE): Change to
31321         NO_ADD_LOCALE.
31322         (collate_finish): Don't call collseq_table_finalize.
31323         (collate_output): Use new locale_file interface.
31324         * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
31325         in file.
31326         (NO_FINALIZE): Change to NO_ADD_LOCALE.
31327         (TABLE): Move defines earlier in file.
31328         (ELEMENT): Likewise.
31329         (DEFAULT): Likewise.
31330         (wctrans_table_add): Move macro and inline function earlier in
31331         file.
31332         (struct wctype_table): Move type earlier in file.
31333         (add_locale_wctype_table): New static prototype.
31334         (struct locale_ctype_t): Use logical types instead of struct iovec
31335         pointers for members.
31336         (ctype_output): Use new locale_file interface.
31337         (wctype_table_finalize): Change to add_locale_wctype_table.  Use
31338         new locale_file interface.
31339         (allocate_arrays): Update for use of new locale_file interface.
31340         * locale/programs/ld-identification.c (identification_output): Use
31341         new locale_file interface.
31342         * locale/programs/ld-measurement.c (measurement_output): Likewise.
31343         * locale/programs/ld-messages.c (messages_output): Likewise.
31344         * locale/programs/ld-monetary.c (monetary_output): Likewise.
31345         * locale/programs/ld-name.c (name_output): Likewise.
31346         * locale/programs/ld-numeric.c (numeric_output): Likewise.
31347         * locale/programs/ld-paper.c (paper_output): Likewise.
31348         * locale/programs/ld-telephone.c (telephone_output): Likewise.
31349         * locale/programs/ld-time.c (time_output): Likewise.
31351 2013-09-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31353         * benchtests/Makefile: Add memrchr benchmark.
31354         * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
31355         benchmark as memrchr.
31356         * benchtests/bench-memrchr-ifunc.c: New file.
31357         * benchtests/bench-memrchr.c: New file.
31359 2013-09-06   Will Newton  <will.newton@linaro.org>
31361         * benchtests/Makefile (string-bench): Add memcpy.
31363 2013-09-05  Carlos O'Donell  <carlos@redhat.com>
31364             Cong Wang  <amwang@redhat.com>
31366         [BZ #15850]
31367         * sysdeps/unix/sysv/linux/bits/in.h
31368         [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
31369         * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
31370         before __USE_KERNEL_IPV6_DEFS uses.
31371         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
31372         IPPROTO_BEETPH.
31373         [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
31374         sockaddr_in6, or ipv6_mreq.
31376 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31378         * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
31379         memory access for final bytes in some large inputs.
31380         * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
31382 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31384         * string/test-memrchr.c: New file.
31385         * string/test-memrchr-ifunc.c: New file.
31386         * string/Makefile: Add new memrchr testcase.
31388 2013-09-05  Mike Frysinger  <vapier@gentoo.org>
31390         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
31391         fanotify_init returns EPERM.
31393 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
31395         * conform/conformtest.pl (newtoken): Treat tokens not allowed as
31396         errors.
31397         (top level): Treat second token from macro or constant entries for
31398         allowed headers as allowed.
31399         * include/complex.h: Condition internal declarations on
31400         [!_ISOMAC].
31401         * include/fenv.h: Condition include of <stdbool.h> and internal
31402         declarations on [!_ISOMAC].
31404 2013-09-04  Chris Leonard  <cjl@sugarlabs,.org>
31406         [BZ #15923]
31407         * locale/iso-4217.def: Update iso-1427.def and related occurrences.
31409 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
31411         * configure.in (--enable-versioning): Remove configure option.
31412         (libc_cv_asm_symver_directive): Remove configure test.
31413         (libc_cv_ld_version_script_option): Likewise.
31414         (VERSIONING): Remove variable and AC_SUBST.
31415         (DO_VERSIONING): Remove AC_DEFINE.
31416         * configure: Regenerated.
31417         * config.h.in (DO_VERSIONING): Remove macro.
31418         * Makerules [$(versioning) = yes]: Change conditionals to
31419         [$(build-shared) = yes].
31420         * config.make.in (versioning): Remove variable.
31421         * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
31422         [$(build-shared) = yes].
31423         * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
31424         * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
31425         * elf/Makefile [$(versioning) = yes]: Change conditionals to
31426         [$(build-shared) = yes].
31427         * extra-lib.mk [$(versioning) = yes]: Likewise.
31428         * hurd/Makefile [$(versioning) = yes]: Likewise.
31429         * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
31430         [SHARED].
31431         * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
31432         [SHARED].
31433         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
31434         [SHARED && !NO_HIDDEN].
31435         * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
31436         [SHARED].
31437         [SHARED && DO_VERSIONING]: Likewise..
31438         * libio/Makefile [$(versioning) = yes]: Change conditionals to
31439         [$(build-shared) = yes].
31440         * manual/install.texi (--disable-versioning): Remove
31441         documentation.
31442         * INSTALL: Regenerated.
31443         * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
31444         to [SHARED].
31445         * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
31446         [$(build-shared) = yes].
31447         * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
31448         * sysdeps/i386/i686/multiarch/strstr-c.c
31449         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
31450         [SHARED && !NO_HIDDEN].
31451         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
31452         [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
31453         * sysdeps/powerpc/powerpc32/dl-machine.c
31454         [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
31455         * sysdeps/powerpc/powerpc32/sysdep.h
31456         [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
31457         to [SHARED && PIC && !NO_HIDDEN].
31458         * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
31459         conditional to [SHARED].
31461 2013-09-04   Will Newton  <will.newton@linaro.org>
31463         * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
31464         * benchtests/bench-string.h: Include bench-timing.h instead
31465         of including hp-timing.h directly. (INNER_LOOP_ITERS): New
31466         define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
31467         call to HP_TIMING_DIFF_INIT.
31468         * benchtests/bench-memccpy.c: Use bench-timing.h macros
31469         instead of hp-timing.h macros.
31470         * benchtests/bench-memchr.c: Likewise.
31471         * benchtests/bench-memcmp.c: Likewise.
31472         * benchtests/bench-memcpy.c: Likewise.
31473         * benchtests/bench-memmem.c: Likewise.
31474         * benchtests/bench-memmove.c: Likewise.
31475         * benchtests/bench-memset.c: Likewise.
31476         * benchtests/bench-rawmemchr.c: Likewise.
31477         * benchtests/bench-strcasecmp.c: Likewise.
31478         * benchtests/bench-strcasestr.c: Likewise.
31479         * benchtests/bench-strcat.c: Likewise.
31480         * benchtests/bench-strchr.c: Likewise.
31481         * benchtests/bench-strcmp.c: Likewise.
31482         * benchtests/bench-strcpy.c: Likewise.
31483         * benchtests/bench-strcpy_chk.c: Likewise.
31484         * benchtests/bench-strlen.c: Likewise.
31485         * benchtests/bench-strncasecmp.c: Likewise.
31486         * benchtests/bench-strncat.c: Likewise.
31487         * benchtests/bench-strncmp.c: Likewise.
31488         * benchtests/bench-strncpy.c: Likewise.
31489         * benchtests/bench-strnlen.c: Likewise.
31490         * benchtests/bench-strpbrk.c: Likewise.
31491         * benchtests/bench-strrchr.c: Likewise.
31492         * benchtests/bench-strspn.c: Likewise.
31493         * benchtests/bench-strstr.c: Likewise.
31495 2013-09-04  Will Newton  <will.newton@linaro.org>
31497         * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
31499 2013-09-03  Joseph Myers  <joseph@codesourcery.com>
31501         [BZ #15427]
31502         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
31503         2**-30 instead of 2**-70 as threshold for returning -log(|x|).
31504         * math/libm-test.inc (lgamma_test_data): Add more tests.
31505         * sysdeps/i386/fpu/libm-test-ulps: Update.
31506         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31508 2013-09-03   Ondřej Bílka  <neleai@seznam.cz>
31510         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
31511         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
31512         Add ifunc.
31513         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
31514         Add strcmp-sse2-unaligned
31515         * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
31517 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
31519         * Versions.def (libc): Add GLIBC_2.19.
31521 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
31523         * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
31524         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
31526 2013-09-02  Joseph Myers  <joseph@codesourcery.com>
31528         [BZ #14155]
31529         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
31530         intermediate calculations in recurrence.
31531         (__ieee754_ynf): Likewise.
31532         * math/libm-test.inc (jn_test_data): Do not allow spurious
31533         underflow exception.  Add more tests.
31534         (yn_test_data): Add more tests.
31535         * sysdeps/i386/fpu/libm-test-ulps: Update.
31536         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31538 2013-09-02   Ondřej Bílka  <neleai@seznam.cz>
31540         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
31542 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
31544         * csu/init-first.c: Fix then/than typos.
31545         * locale/programs/ld-collate.c: Likewise.
31546         * locale/programs/linereader.h: Likewise.
31547         * manual/charset.texi: Likewise.
31548         * manual/filesys.texi: Likewise.
31549         * manual/stdio.texi: Likewise.
31550         * manual/string.texi: Likewise.
31551         * stdlib/fmtmsg.c: Likewise.
31552         * sysdeps/i386/stpncpy.S: Likewise.
31553         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
31554         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
31555         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
31556         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
31558 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
31560         * elf/dl-open.c: Fix typos.
31561         * iconvdata/gbbig5.c: Likewise.
31562         * iconvdata/iso-2022-jp.c: Likewise.
31563         * iconv/gconv_int.h: Likewise.
31564         * iconv/loop.c: Likewise.
31565         * nis/rpcsvc/nis.h: Likewise.
31566         * resolv/ns_name.c: Likewise.
31567         * stdio-common/vfscanf.c: Likewise.
31568         * streams/stropts.h: Likewise.
31569         * sunrpc/rpc_thread.c: Likewise.
31570         * sysdeps/i386/strpbrk.S: Likewise.
31571         * sysdeps/ieee754/k_standard.c: Likewise.
31572         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
31573         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
31574         * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
31575         * sysdeps/mach/hurd/profil.c: Likewise.
31576         * sysdeps/s390/dl-procinfo.h: Likewise.
31577         * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
31578         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
31579         * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
31580         * sysdeps/x86_64/dl-trampoline.S: Likewise.
31581         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
31583 2013-08-30  Ondřej Bílka  <neleai@seznam.cz>
31585         * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
31586         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
31588 2013-08-29  Ondřej Bílka  <neleai@seznam.cz>
31590         * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
31591         aix specific files.
31592         * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
31593         * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
31594         * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
31595         * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
31596         * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
31597         * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
31598         * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
31599         * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
31601 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
31602             Roland McGrath  <roland@hack.frob.com>
31604         * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
31605         * sysdeps/mach/hurd/bits/errno.h: Regenerate.
31607 2013-08-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
31609         * sysdeps/mach/hurd/i386/init-first.c (init1): Use
31610         __executable_start symbol instead of _start.
31612 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
31614         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
31615         (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
31616         Move macros to...
31617         * sysdeps/gnu/ldsodefs.h: ... this new file.
31619         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
31620         (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
31621         instead of ELFOSABI_LINUX.
31623         [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
31624         * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
31625         * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
31626         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
31627         Likewise.
31628         * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
31629         * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
31630         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
31631         Likewise.
31632         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
31633         (ibm_extended_long_double): Add ieee_nan member.
31634         * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
31635         (do_test): New function.
31637         * math/basic-test.c (TEST_CONVERT): New macro, renamed from
31638         TEST_TRUNC.
31639         (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
31640         functions, renamed from truncdfsf_test, trunctfsf_test,
31641         trunctfdf_test.
31642         (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
31643         functions.
31644         (do_test): Run all these.
31646 2013-08-29   Ondřej Bílka  <neleai@seznam.cz>
31648         * argp/argp-help.c: Fix typos.
31649         * argp/argp-parse.c: Likewise.
31650         * debug/backtracesyms.c: Likewise.
31651         * elf/elf.h: Likewise.
31652         * malloc/malloc.c: Likewise.
31653         * nis/nis_print.c: Likewise.
31654         * resolv/res_comp.c: Likewise.
31655         * stdlib/stdlib.h: Likewise.
31656         * sunrpc/clnt_tcp.c: Likewise.
31657         * sunrpc/clnt_udp.c: Likewise.
31658         * sunrpc/clnt_unix.c: Likewise.
31659         * sysdeps/unix/bsd/ptsname.c: Likewise.
31660         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
31661         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
31662         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
31663         Likewise.
31664         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
31665         Likewise.
31666         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
31667         Likewise.
31668         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
31670 2013-08-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
31672         * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
31673         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
31675 2013-08-27  Mike Frysinger  <vapier@gentoo.org>
31677         [BZ #15897]
31678         * dlfcn/Makefile (tests): Add bug-dl-leaf.
31679         (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
31680         ($(objpfx)bug-dl-leaf): New rule.
31681         ($(objpfx)bug-dl-leaf.so): Likewise.
31682         ($(objpfx)bug-dl-leaf.out): Likewise.
31683         ($(objpfx)bug-dl-leaf-lib.so): Likewise.
31684         ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
31685         * dlfcn/bug-dl-leaf.c: New test.
31686         * dlfcn/bug-dl-leaf-lib.c: Likewise.
31687         * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
31688         * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
31689         (dlclose): Likewise.
31690         (dlmopen): Likewise.
31692 2013-08-27  Roland McGrath  <roland@hack.frob.com>
31694         * include/netdb.h [!_ISOMAC]:
31695         Don't include <tls.h>.
31696         (h_errno, __libc_h_errno): Move declaration and macros out of
31697         [_LIBC_REENTRANT].
31699         * include/resolv.h [_RESOLV_H_]:
31700         Don't include <tls.h>.
31701         (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
31702         * resolv/res_libc.c: Don't include <tls.h>.
31703         (_res): Use __attribute__ ((nocommon)) in place of
31704         __attribute__ ((section (".bss"))).
31706         * Makefile ($(common-objpfx)linkobj/libc_pic.a):
31707         If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
31709         * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
31711         * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
31712         only under [SIOCGIFCONF && SIOCGIFNETMASK].
31714         * resolv/res_mkquery.c: Include <sys/time.h>.
31716         * inet/ifreq.c: Moved to ...
31717         * sysdeps/unix/ifreq.c: ... here.
31718         * inet/ifreq.c: New file, true stub version.
31720         * socket/sa_len.c: New file.
31721         * socket/Makefile (aux): Add it.
31722         * sysdeps/unix/sysv/linux/Makefile
31723         [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
31724         * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
31725         and #include <socket/sa_len.c>.
31726         * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
31727         HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
31729         * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
31730         * bits/socket.h: ... here.
31732         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
31733         Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
31734         (SOCK_MAX, SOCK_TYPE_MASK): New macros.
31736 2013-08-27  Andreas Schwab  <schwab@suse.de>
31738         [BZ #15736]
31739         * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
31740         * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
31741         (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
31742         * string/test-strcasecmp.c (test_main): Run tests in several
31743         locales.
31744         * string/test-strncasecmp.c (test_main): Likewise.
31746         * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
31747         (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
31748         to __strcasecmp_nonascii and __strncasecmp_nonascii.
31749         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
31750         (__strncasecmp_ssse3) [PIC]: Likewise.
31752 2013-08-26  Roland McGrath  <roland@hack.frob.com>
31754         * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
31756         * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
31757         instead of explicitly declaring xdecrypt.
31758         * nis/nss_nis/nis-publickey.c: Likewise.
31760 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
31762         [BZ #15890]
31763         * nscd/aicache.c: Include res_hconf.h.
31764         (addhstaiX): Initialize res_hconf.
31766 2013-08-26  Andreas Schwab  <schwab@suse.de>
31768         * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
31769         ($(objpfx)tst-tls-atexit): Add dependencies here instead.
31771 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
31773         * nscd/aicache.c (addhstaiX): Fix indentation.
31775 2013-08-25  Mike Frysinger  <vapier@gentoo.org>
31777         * configure.ac: Quote $build_pt_chown test.
31778         * configure: Regenerated.
31780 2013-08-23  Joseph Myers  <joseph@codesourcery.com>
31782         [BZ #15532]
31783         * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
31784         * math/s_cexpf.c (__cexpf): Likewise.
31785         * math/s_cexpl.c (__cexpl): Likewise.
31786         * math/libm-test.inc (cexp_test_data): Correct expected return
31787         value for NaN + i0.  Add another test.
31789 2013-08-22  David S. Miller  <davem@davemloft.net>
31791         * po/ca.po: Update Catalan translation from translation project.
31792         * po/uk.po: Add Ukrainian translations from translation project.
31794 2013-08-21  Joseph Myers  <joseph@codesourcery.com>
31796         [BZ #15797]
31797         * math/s_fdim.c (__fdim): Check for infinite arguments if result
31798         is infinite, not alongside NaN test.
31799         * math/s_fdimf.c (__fdimf): Likewise.
31800         * math/s_fdiml.c (__fdiml): Likewise.
31801         * math/libm-test.inc (fdim_test_data): Add more tests.  Test that
31802         errno is unchanged.
31804 2013-08-21   Ondřej Bílka  <neleai@seznam.cz>
31806         * argp/argp-help.c: Fix typos.
31807         * crypt/speeds.c: Likewise.
31808         * csu/check_fds.c: Likewise.
31809         * elf/dl-load.c: Likewise.
31810         * elf/dl-open.c: Likewise.
31811         * elf/reldep3.c: Likewise.
31812         * elf/reldep.c: Likewise.
31813         * elf/sprof.c: Likewise.
31814         * iconv/iconv_charmap.c: Likewise.
31815         * iconv/skeleton.c: Likewise.
31816         * iconv/strtab.c: Likewise.
31817         * io/lockf64.c: Likewise.
31818         * libio/libioP.h: Likewise.
31819         * resolv/gai_notify.c: Likewise.
31820         * resolv/ns_name.c: Likewise.
31821         * resolv/ns_samedomain.c: Likewise.
31822         * resolv/res_send.c: Likewise.
31823         * stdlib/random.c: Likewise.
31824         * sunrpc/rpc/xdr.h: Likewise.
31825         * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
31826         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
31827         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
31828         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
31829         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
31830         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
31831         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
31832         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
31833         * sysdeps/mach/hurd/check_fds.c: Likewise.
31834         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
31835         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
31836         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
31837         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
31838         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
31839         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
31840         * sysdeps/pthread/aio_notify.c: Likewise.
31841         * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
31842         * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
31843         * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
31844         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
31845         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
31847 2013-08-21  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
31849         * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
31850         version if bit_Slow_SSE4_2 is set.
31851         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
31852         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
31854 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31856         [BZ #15867]
31857         * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
31858         trampoline stack frame information.
31859         * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
31860         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
31861         (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
31862         (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
31863         (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
31864         * sysdeps/unix/sysv/linux/powerpc/init-first.c
31865         (_libc_vdso_platform_setup): Initialize the signal trampolines.
31866         * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
31867         sa_flags value.
31868         * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
31869         interrupting a syscall and set with option SA_SIGINFO.
31871 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
31873         [BZ #15531]
31874         * math/s_cproj.c (__cproj): Only return an infinity if one part of
31875         argument is infinite.
31876         * math/s_cprojf.c (__cprojf): Likewise.
31877         * math/s_cprojl.c (__cprojl): Likewise.
31878         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
31879         * math/libm-test.inc (cproj_test_data): Add more tests.
31881         * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
31883         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
31884         [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
31885         size.  Use __ffs to determine corresponding shift.
31887 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
31888             Roland McGrath  <roland@hack.frob.com>
31890         * Makefile (INSTALL): Remove trailing blank lines from output of
31891         makeinfo.
31893 2013-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
31895         * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
31896         Align 32 bit compat elf_greg to 8 bytes.
31898 2013-08-20  Andreas Arnez  <arnez@linux.vnet.ibm.com>
31900         * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
31902 2013-08-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
31904         * string/strcoll_l.c (coll_seq): New structure.
31905         (get_next_seq_cached): New function.
31906         (get_next_seq): New function.
31907         (do_compare): New function.
31908         (STRCOLL): Use GNU style definition.  Simplify implementation
31909         by using get_next_seq, get_next_seq_cached and do_compare.
31911 2013-08-16  Florian Weimer  <fweimer@redhat.com>
31913         [BZ #14699]
31914         CVE-2013-4237
31915         * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
31916         member.
31917         * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
31918         member.
31919         * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
31920         * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
31921         Return delayed error code.  Remove GETDENTS_64BIT_ALIGNED
31922         conditional.
31923         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
31924         GETDENTS_64BIT_ALIGNED.
31925         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
31926         * manual/filesys.texi (Reading/Closing Directory): Document
31927         ENAMETOOLONG return value of readdir_r.  Recommend readdir more
31928         strongly.
31929         * manual/conf.texi (Limits for Files): Add portability note to
31930         NAME_MAX, PATH_MAX.
31931         (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
31933 2013-08-13  Andreas Schwab  <schwab@suse.de>
31935         [BZ #15749]
31936         * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
31937         of fabs.
31938         * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
31939         LDBL_MAX_EXP >= 16384]: Add tests for it.
31941 2013-08-12  David S. Miller  <davem@davemloft.net>
31943         * version.h (RELEASE): Set to "development".
31944         (VERSION): Set to "2.18.90".
31945         * NEWS: Add 2.19 section.
31947 2013-08-03  David S. Miller  <davem@davemloft.net>
31949         * po/ko.po: Update Korean translation from translation project.
31951 2013-08-01  David S. Miller  <davem@davemloft.net>
31953         * manual/contrib.texi: Update entry for Siddhesh Poyarekar.  Add
31954         entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
31955         Bilka.
31957 2013-07-30  David S. Miller  <davem@davemloft.net>
31959         * po/fr.po: Update French translation from translation project.
31961 2013-07-28  David S. Miller  <davem@davemloft.net>
31963         * po/cs.po: Update Czech translation from translation project.
31965         * po/sv.po: Update Swedish translation from translation project.
31967 2013-07-27  David S. Miller  <davem@davemloft.net>
31969         * po/eo.po: Update Esperanto translation from translation project.
31971         * po/vi.po: Update Vietnamese translation from translation project.
31973         * po/de.po: Update German translation from translation project.
31975 2013-07-26  David S. Miller  <davem@davemloft.net>
31977         * po/bg.po: Update Bulgarian translation from translation project.
31979         * po/nl.po: Update Dutch translation from translation project.
31980         * po/pl.po: Update Polish translation from translation project.
31981         * po/ru.po: Update Russian translation from translation project.
31983 2013-07-24  David S. Miller  <davem@davemloft.net>
31985         * po/libc.pot: Update.
31987 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31989         * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
31990         variable page size.
31991         * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
31992         * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
31993         * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
31995 2013-07-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
31997         * sysdeps/s390/fpu/libm-test-ulps: Refresh.
31999 2013-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
32000             Andreas Schwab  <schwab@suse.de>
32001             Roland McGrath  <roland@hack.frob.com>
32002             Joseph Myers  <joseph@codesourcery.com>
32003             Carlos O'Donell  <carlos@redhat.com>
32005         [BZ #15755]
32006         * config.h.in: Define HAVE_PT_CHOWN.
32007         * config.make.in (build-pt-chown): New variable.
32008         * configure.in (--enable-pt_chown): New configure option.
32009         * configure: Regenerate.
32010         * login/Makefile: Include Makeconfig.  Build pt_chown only if
32011         build-pt-chown is enabled.
32012         * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
32013         pt_chown to fix pty ownership.
32014         * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
32015         CLOSE_ALL_FDS.
32016         * manual/install.texi (Configuring and compiling): Mention
32017         --enable-pt_chown. Add @findex for grantpt.
32018         * INSTALL: Regenerate.
32020 2013-07-20  David S. Miller  <davem@davemloft.net>
32022         * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
32023         difference between 32-bit and 64-bit.
32025 2013-07-15  Carlos O'Donell  <carlos@redhat.com>
32027         [BZ #15711]
32028         * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
32029         Avoid system header dependency with -ffreestanding.
32030         ($(objpfx)bits/syscall%d): Likewise.
32032 2013-07-13  David S. Miller  <davem@davemloft.net>
32034         * math/libm-test.inc (casin_test_data): Annotate more cases of missing
32035         underflows from atanl/atan2l due to bug 15319.
32036         (casinh_test_data): Likewise.
32038 2013-07-07  David S. Miller  <davem@davemloft.net>
32040         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
32042 2013-07-05  Jeroen Albers  <_jeroen_@yahoo.com>
32044         * sysdeps/i386/fpu/libm-test-ulps: Update.
32045         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32047 2013-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
32049         * configure.in (--enable-lock-elision): Fix message text.
32050         * INSTALL: Regenerate.
32051         * configure: Regenerate.
32053 2013-07-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32055         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32057 2013-07-03  Andreas Jaeger  <aj@suse.de>
32059         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
32060         define.
32061         (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
32062         (ptrace_peeksiginfo_args): Add.
32063         (__ptrace_peeksiginfo_flags): Add.
32064         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
32065         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
32066         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
32068 2013-07-03  Allan McRae  <allan@archlinux.org>
32070         * sysdeps/i386/fpu/libm-test-ulps: Update.
32072 2013-07-02  David S. Miller  <davem@davemloft.net>
32074         * sysdeps/sparc/fpu/libm-test-ulps: Update.
32076 2013-07-02  Markus Trippelsdorf  <markus@trippelsdorf.de>
32078         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
32080 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
32082         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
32083         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32085 2013-07-02  Andi Kleen <ak@linux.intel.com>
32087         * config.h.in (ENABLE_LOCK_ELISION): Add.
32088         * configure.in (--enable-lock-elision): Add option.
32089         * manual/install.texi: Document --enable lock elision.
32090         * configure: Regenerate
32091         * INSTALL: Regenerate.
32093 2013-07-02  H.J. Lu  <hongjiu.lu@intel.com>
32095         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
32096         SSE4.2 strcasecmp for libc.a.
32097         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
32099 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
32101         [BZ #13304]
32102         * soft-fp/op-common.h (_FP_FMA): New macro.
32103         * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
32104         (_FP_MUL_MEAT_DW_1_imm): Likewise.  Split out of ...
32105         (_FP_MUL_MEAT_1_imm): ... here.
32106         (_FP_MUL_MEAT_DW_1_wide): New macro.  Split out of ...
32107         (_FP_MUL_MEAT_1_wide): ... here.
32108         (_FP_MUL_MEAT_DW_1_hard): Likewise.  Split out of ...
32109         (_FP_MUL_MEAT_1_hard): ... here.
32110         * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
32111         (_FP_MUL_MEAT_DW_2_wide): Likewise.  Split out of ...
32112         (_FP_MUL_MEAT_2_wide): ... here.
32113         (_FP_MUL_MEAT_DW_2_wide_3mul): New macro.  Split out of ...
32114         (_FP_MUL_MEAT_2_wide_3mul): ... here.
32115         (_FP_MUL_MEAT_DW_2_gmp): New macro.  Split out of ...
32116         (_FP_MUL_MEAT_2_gmp): ... here.
32117         * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
32118         (_FP_MUL_MEAT_DW_4_wide): Likewise.  Split out of ...
32119         (_FP_MUL_MEAT_4_wide): ... here.
32120         (_FP_MUL_MEAT_DW_4_gmp): New macro.  Split out of ...
32121         (_FP_MUL_MEAT_4_gmp): ... here.
32122         * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
32123         (_FP_WFRACBITS_DW_S): Likewise.
32124         (_FP_WFRACXBITS_DW_S): Likewise.
32125         (_FP_HIGHBIT_DW_S): Likewise.
32126         (FP_FMA_S): Likewise.
32127         (_FP_FRAC_HIGH_DW_S): Likewise.
32128         * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
32129         (_FP_WFRACBITS_DW_D): Likewise.
32130         (_FP_WFRACXBITS_DW_D): Likewise.
32131         (_FP_HIGHBIT_DW_D): Likewise.
32132         (FP_FMA_D): Likewise.
32133         (_FP_FRAC_HIGH_DW_D): Likewise.
32134         * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
32135         (_FP_WFRACBITS_DW_E): Likewise.
32136         (_FP_WFRACXBITS_DW_E): Likewise.
32137         (_FP_HIGHBIT_DW_E): Likewise.
32138         (FP_FMA_E): Likewise.
32139         (_FP_FRAC_HIGH_DW_E): Likewise.
32140         * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
32141         (_FP_WFRACBITS_DW_Q): Likewise.
32142         (_FP_WFRACXBITS_DW_Q): Likewise.
32143         (_FP_HIGHBIT_DW_Q): Likewise.
32144         (FP_FMA_Q): Likewise.
32145         (_FP_FRAC_HIGH_DW_Q): Likewise.
32146         * soft-fp/fmasf4.c: New file.
32147         * soft-fp/fmadf4.c: Likewise.
32148         * soft-fp/fmatf4.c: Likewise.
32150 2013-06-28  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
32152         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
32153         bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
32154         Silvermont.
32155         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
32156         macro.
32157         (index_Slow_SSE4_2): Likewise.
32158         (index_Prefer_PMINUB_for_stringop): Likewise.
32159         * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
32160         bit_Slow_SSE4_2 is set.
32161         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
32162         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
32164 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
32166         * sysdeps/powerpc/Makefile: Add comment about generating an offset to
32167         rtld_global._dl_hwcap2.
32168         * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
32169         POWER8.
32170         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
32171         POWER8 feature descriptions defined in _dl_hwcap2.
32172         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
32173         string handling for POWER8 feature bits.
32174         (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
32175         (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
32176         _dl_powerpc_cap_flags.
32177         (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
32178         * sysdeps/powerpc/rtld-global-offsets.sym
32179         (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
32180         _dl_hwcap2 in the rtld_global_ro structure.
32182 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
32184         * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
32185         hardware capabilities in support of AT_HWCAP2.
32186         (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
32187         * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
32188         GLRO(dl_hwcap2).
32189         (_dl_show_auxv): Add support for calling _dl_procinfo to display
32190         AT_HWCAP2.  If a platform doesn't chose to handle displaying AT_HWCAP2
32191         explicitly the unknown a_type display mechanism is used.
32192         * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
32193         * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
32194         struct member.
32195         * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
32196         to macro prototype for AT_HWCAP2 support.
32197         * sysdeps/i386/dl-procinfo.h: Likewise.
32198         * sysdeps/s390/dl-procinfo.h: Likewise.
32199         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
32200         macro prototype for AT_HWCAP2 support.  Make WORD unsigned long int
32201         rather than signed int.  Stub in handler for TYPE == AT_HWCAP2 to
32202         return -1 for unknown a_type display fallback.
32203         * sysdeps/sparc/dl-procinfo.h: Likewise.
32204         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
32205         * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
32207 2013-06-28  Joseph Myers  <joseph@codesourcery.com>
32209         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
32210         instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
32212 2013-06-28  Pierre Ynard  <linkfanel@yahoo.fr>
32214         [BZ #12492]
32215         * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
32216         mprotect making __stack_prot writable.
32218 2013-06-28  Nathan Froyd  <froydnj@codesourcery.com>
32219             Joseph Myers  <joseph@codesourcery.com>
32221         * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
32222         as being properly aligned.
32224 2013-06-28  Maciej W. Rozycki  <macro@codesourcery.com>
32226         * dlfcn/modstatic5.c: New file.
32227         * dlfcn/tststatic5.c: New file.
32228         * dlfcn/Makefile (tests): Add tststatic5.
32229         (tests-static): Likewise.
32230         (modules-names): Add modstatic5.
32231         (tststatic5-ENV): New variable.
32232         ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
32234         [BZ #15022]
32235         * elf/dl-support.c (_dl_main_map): New variable.
32236         (_dl_ns): Use it to initialize [LM_ID_BASE] element.
32237         (_dl_nns, _dl_load_adds): Set to 1.
32238         (_dl_initial_searchlist): Refer to _dl_main_map.
32239         (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
32240         * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
32241         call to _dl_get_origin.
32242         * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
32243         around call_map.
32244         (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
32245         * dlfcn/modstatic3.c: New file.
32246         * dlfcn/tststatic3.c: New file.
32247         * dlfcn/tststatic4.c: New file.
32248         * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
32249         (tests-static): Likewise.
32250         (modules-names): Add modstatic3.
32251         (tststatic3-ENV, tststatic4-ENV): New variables.
32252         ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
32253         ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
32255 2013-06-26  Joseph Myers  <joseph@codesourcery.com>
32257         * configure.in (CC): Require GCC version 4.4 or later.
32258         * configure: Regenerated.
32259         * manual/install.texi (Tools for Compilation): Update GCC version
32260         requirement.
32261         * INSTALL: Regenerated.
32263 2013-06-26  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
32265         [BZ #15674]
32266         * string/test-memcmp.c (check2): New.
32267         (main): Call check2.
32269         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
32271 2013-06-26  Maciej W. Rozycki  <macro@codesourcery.com>
32273         [BZ #15022]
32274         * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
32275         over to...
32276         (dl_open_worker) [!SHARED]: ... here.
32278 2013-06-26  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
32280         * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
32282 2013-06-25  Richard Henderson  <rth@redhat.com>
32284         * locale/programs/locarchive.c: Include <libc-internal.h>
32286 2013-06-25  Joseph Myers  <joseph@codesourcery.com>
32288         * manual/texinfo.tex: Update to version 2013-06-21.17, with
32289         trailing whitespace removed.
32291 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
32293         [BZ #10283]
32294         * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
32295         * locale/programs/locarchive.c: Include libc-mmap.h.
32296         (prepare_address_space): Take two new outputs (the mmap base and len).
32297         Align p to MAP_FIXED_ALIGNMENT.  Set mmap base and len to the right
32298         values.
32299         (create_archive): Declare new mmap base and len values for
32300         prepare_address_space, and store the result in ah.
32301         (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
32302         (enlarge_archive): If ah->mmap_base is not NULL, use that and
32303         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
32304         Declare new mmap base and len values for
32305         prepare_address_space, and store the result in new_ah.
32306         (open_archive): Declare new mmap base and len values for
32307         prepare_address_space, and store the result in ah.
32308         (close_archive): If ah->mmap_base is not NULL, use that and
32309         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
32310         * sysdeps/generic/libc-mmap.h: New file.
32312 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
32314         * include/libc-internal.h (ALIGN_DOWN): New helper macro.
32315         (ALIGN_UP): Likewise.
32316         (PTR_ALIGN_DOWN): Likewise.
32317         (PTR_ALIGN_UP): Likewise.
32319 2013-06-24  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
32321         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
32322         entry mapped to PPC_PLATFORM_POWER8.
32323         * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
32324         POWER8.
32325         (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
32326         (_dl_string_platform): Add case for exporting platform position for
32327         POWER8.
32328         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
32329         search path to sysdeps/powerpc/powerpc32/power8 directory.
32330         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
32331         search path to sysdeps/powerpc/powerpc64/power8 directory.
32332         * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
32333         power7 directories.
32334         * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
32335         power7 directories.
32337 2013-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
32339         * INSTALL: Regenerate.
32341         * nscd/connections.c (nscd_init): Fix comment.
32343 2013-06-22  Joseph Myers  <joseph@codesourcery.com>
32345         * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
32347         [BZ #15667]
32348         * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
32349         to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
32351 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
32353         * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
32354         DL_DST_REQ_STATIC.
32355         (DL_DST_REQ_STATIC): Remove macro.
32357 2013-06-21  Joseph Myers  <joseph@codesourcery.com>
32359         [BZ #7006]
32360         * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
32361         with a shift of 0 bits.
32363 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
32365         * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
32366         $(tststatic-ENV).
32368 2013-06-21  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
32370         [BZ #15655]
32371         * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
32373 2013-06-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32375         * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
32376         * configure.in (libc_cv_cc_loop_to_function): Check if compiler
32377         accepts -fno-tree-loop-distribute-patterns.
32378         * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
32379         * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
32380         recursive call.
32381         * string/memset.c (memset): Likewise.
32382         * string/test-memmove.c (simple_memmove): Disable loop transformation
32383         to library calls.
32384         * string/test-memset.c (simple_memset): Likewise.
32385         * benchtests/bench-memmove.c (simple_memmove): Likewise.
32386         * benchtests/bench-memset.c (simple_memset): Likewise.
32387         * configure: Regenerated.
32389 2013-06-20  Joseph Myers  <joseph@codesourcery.com>
32391         * math/test-misc.c (main): Ignore fesetround failure when failures
32392         of subsequent rounding tests would be ignored.
32394         [BZ #15654]
32395         * math/fedisblxcpt.c (fedisableexcept): Return 0.
32396         * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
32397         * math/fegetenv.c (__fegetenv): Return 0.
32398         * math/fegetexcept.c (fegetexcept): Return 0.
32399         * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
32400         FE_TONEAREST.
32401         * math/feholdexcpt.c (feholdexcept): Return 0.
32402         * math/fesetenv.c (__fesetenv): Return 0.
32403         * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
32404         argument FE_TONEAREST.
32405         * math/feupdateenv.c (__feupdateenv): Return 0.
32406         * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
32408 2013-06-18  Roland McGrath  <roland@hack.frob.com>
32410         * elf/rtld-Rules (rtld-compile-command.S): New variable.
32411         (rtld-compile-command.s, rtld-compile-command.c): New variables.
32412         ($(objpfx)rtld-%.os rules): Use them.
32414 2013-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32416         * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
32417         fields.
32419 2013-06-17  Roland McGrath  <roland@hack.frob.com>
32421         * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
32422         length of target pattern, then descending length of dependency pattern.
32423         * configure.in (AWK): Require gawk 3.1.2 or newer.
32424         * manual/install.texi (Tools for Compilation): Say that we do.
32425         * configure: Regenerated.
32427         * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
32428         ($(common-objpfx)sysd-rules): Replace shell logic with running ...
32429         * scripts/sysd-rules.awk: ... this new script.
32430         * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
32431         than a glob-style pattern.
32433 2013-06-17  Joseph Myers  <joseph@codesourcery.com>
32435         * math/test-misc.c (main): Do not treat incorrectly rounded
32436         conversions as failure unless ROUNDING_TESTS passes.
32438 2013-06-15  Joseph Myers  <joseph@codesourcery.com>
32440         [BZ #15631]
32441         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
32442         restore exception state around main square root computation, then
32443         check for inexactness explicitly.
32445         * math/libm-test.inc (fma_test_data): Add another test.
32447 2013-06-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
32449         * manual/threads.texi (Non-POSIX Extensions): New document
32450         node.  Document pthread_getattr_default_np and
32451         pthread_setattr_default_np.
32453         * Versions.def (libpthread): Add GLIBC_2.18.
32454         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
32455         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
32456         Likewise.
32457         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
32458         Likewise.
32459         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
32460         Likewise.
32461         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
32462         Likewise.
32463         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
32464         Likewise.
32465         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
32466         Likewise.
32467         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
32468         Likewise.
32469         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
32470         Likewise.
32471         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
32472         Likewise.
32474 2013-06-14  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
32476         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
32477         Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
32479 2013-06-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
32480             H.J. Lu  <hjl.tools@gmail.com>
32482         [BZ #15627]
32483         * sysdeps/x86_64/rtld-memset.c: Remove file.
32484         * sysdeps/x86_64/rtld-memset.S: New file.
32486 2013-06-14  Joseph Myers  <joseph@codesourcery.com>
32488         * stdlib/tst-strtod-round.c: Include <math-tests.h>.
32489         (test_in_one_mode): Take arguments for whether the rounding mode
32490         is supported for each floating-point type.
32491         (do_test): Pass new arguments to test_in_one_mode using
32492         ROUNDING_TESTS.
32494 2013-06-13  Roland McGrath  <roland@hack.frob.com>
32496         * posix/tst-waitid.c (do_test): Distinguish different instances of
32497         stopped/continued in CHECK_SIGCHLD uses.  Insert a delay between
32498         sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
32499         before entering the kernel for waitpid.
32501 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
32503         * NEWS: Fix note on clock function precision.  Text by Roland
32504         McGrath.
32506 2013-06-13  Roland McGrath  <roland@hack.frob.com>
32508         * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
32509         it into place only when and if the sanity check passes.
32511 2013-06-13  Joseph Myers  <joseph@codesourcery.com>
32513         * stdlib/gen-tst-strtod-round.c (round_str): Always generate
32514         output for whether conversion result is exact.  Take argument
32515         indicating whether type is IBM long double.
32516         (round_for_all): Change need_exact field to ibm_ld.
32517         * stdlib/tst-strtod-round.c (struct exactness): New type.
32518         (struct test): Change bool ld_ok field to struct exactness exact.
32519         (TEST): Update all definitions for change to field.
32520         (tests): Regenerate array contents.
32521         (test_in_one_mode): Take pointer to new field instead of old ld_ok
32522         field value.  Check for IBM long double here.
32523         (do_test): Update calls to test_in_one_mode.
32525 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
32527         [BZ #12515]
32528         * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
32529         CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
32531 2013-06-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32533         [BZ #15605]
32534         * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
32535         generated by the compiler on loop optimizations.
32536         * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
32537         general definitions.
32539 2013-06-12  Joseph Myers  <joseph@codesourcery.com>
32541         * math/bug-nextafter.c: Include <math-tests.h>.
32542         (main): Only test for exceptions if EXCEPTION_TESTS is true for
32543         the relevant type.
32544         * math/bug-nexttoward.c: Include <math-tests.h>.
32545         (main): Only test for exceptions if EXCEPTION_TESTS is true for
32546         the relevant type.
32547         * math/test-misc.c: Include <math-tests.h>.
32548         (main): Only test for exceptions if EXCEPTION_TESTS is true for
32549         the relevant type.
32551 2013-06-12  Andreas Jaeger  <aj@suse.de>
32553         * po/ia.po: Update Interlingua translation from translation
32554         project.
32556 2013-06-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
32558         * include/fenv.h: Include stdbool.h.
32559         (struct rm_ctx): New structure.
32560         * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
32561         Define macro.
32562         (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
32563         (SET_RESTORE_ROUNDF): Likewise.
32564         (SET_RESTORE_ROUNDL): Likewise.
32565         (SET_RESTORE_ROUND_NOEX): Likewise.
32566         (SET_RESTORE_ROUND_NOEXF): Likewise.
32567         (SET_RESTORE_ROUND_NOEXL): Likewise.
32568         (SET_RESTORE_ROUND_53BIT): Likewise.
32569         [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
32570         (libc_feresetround_noexf_ctx): Likewise.
32571         (libc_feresetround_noexl_ctx): Likewise.
32572         (libc_feholdsetround_53bit_ctx): Likewise.
32573         (libc_feresetround_53bit_ctx): Likewise.
32574         * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
32575         (libc_feholdexcept_setround_sse_ctx): New function.
32576         (libc_fesetenv_sse_ctx): Likewise.
32577         (libc_feupdateenv_sse_ctx): Likewise.
32578         (libc_feholdexcept_setround_387_prec_ctx): Likewise.
32579         (libc_feholdexcept_setround_387_ctx): Likewise.
32580         (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
32581         (libc_feholdsetround_387_prec_ctx): Likewise.
32582         (libc_feholdsetround_387_ctx): Likewise.
32583         (libc_feholdsetround_387_53bit_ctx): Likewise.
32584         (libc_feholdsetround_sse_ctx): Likewise.
32585         (libc_feresetround_sse_ctx): Likewise.
32586         (libc_feresetround_387_ctx): Likewise.
32587         (libc_feupdateenv_387_ctx): Likewise.
32588         (libc_feholdexcept_setroundf_ctx): Define macro.
32589         (libc_fesetenvf_ctx): Likewise.
32590         (libc_feupdateenvf_ctx): Likewise.
32591         (libc_feholdsetroundf_ctx): Likewise.
32592         (libc_feresetroundf_ctx): Likewise.
32593         (libc_feholdexcept_setround_ctx): Likewise.
32594         (libc_fesetenv_ctx): Likewise.
32595         (libc_feupdateenv_ctx): Likewise.
32596         (libc_feholdsetround_ctx): Likewise.
32597         (libc_feresetround_ctx): Likewise.
32598         (libc_feholdexcept_setroundl_ctx): Likewise.
32599         (libc_feupdateenvl_ctx): Likewise.
32600         (libc_feholdsetroundl_ctx): Likewise.
32601         (libc_feresetroundl_ctx): Likewise.
32602         [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
32603         (libc_feresetround_53bit_ctx): Likewise.
32605 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
32607         * locale/iso-639.def: Convert to UTF-8.
32609 2013-06-11  Joseph Myers  <joseph@codesourcery.com>
32611         * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
32612         (EXCEPTION_TESTS_double): Likewise.
32613         (EXCEPTION_TESTS_long_double): Likewise.
32614         (EXCEPTION_TESTS): Likewise.
32615         * math/libm-test.inc (test_exceptions): Only test exceptions if
32616         EXCEPTION_TESTS (FLOAT).
32618 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
32620         * benchtests/Makefile (string-bench): Add strcpy_chk and
32621         stpcpy_chk.
32622         * benchtests/bench-stpcpy_chk-ifunc.c: New file.
32623         * benchtests/bench-stpcpy_chk.c: New file.
32624         * benchtests/bench-strcpy_chk-ifunc.c: New file.
32625         * benchtests/bench-strcpy_chk.c: New file.
32626         * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
32627         code.
32628         (do_test): Likewise.
32630 2013-06-11  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
32632         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
32633         ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
32634         * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
32635         with tabs where appropriate.
32636         [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
32637         dl-procinfo.h.
32638         [PPC_PLATFORM_PPC440]: Likewise.
32639         [PPC_PLATFORM_PPC464]: Likewise.
32640         [PPC_PLATFORM_PPC476]: Likewise.
32641         (_dl_string_platform): Add support for detecting ppc405, ppc440,
32642         ppc464, and ppc476 platform strings merging from ports/
32643         dl-procinfo.h.
32645 2013-06-11  Andreas Schwab  <schwab@suse.de>
32647         [BZ #14991]
32648         * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
32649         (from_ucs4_idx): Regenerate.
32650         (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
32651         (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
32652         (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
32653         (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
32654         (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
32655         (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
32656         (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
32657         (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
32658         from FROM_LOOP and TO_LOOP specific macros.
32659         (BODY): Handle combining characters.
32660         * iconvdata/BIG5HKSCS.irreversible: Update.
32661         * iconvdata/BIG5HKSCS.precomposed: New file.
32662         * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
32663         characters.
32664         * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
32666 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
32668         * include/sys/time.h: Fix indentation and add copyright header.
32670         * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
32671         (do_test): Likewise.
32672         * string/test-memchr.c (do_one_test): Likewise.
32673         (do_test): Likewise.
32674         * string/test-memcmp.c (do_one_test): Likewise.
32675         (do_test): Likewise.
32676         * string/test-memcpy.c (do_one_test): Likewise.
32677         (do_test): Likewise.
32678         * string/test-memmem.c (do_one_test): Likewise.
32679         (do_test): Likewise.
32680         (do_random_tests): Likewise.
32681         * string/test-memmove.c (do_one_test): Likewise.
32682         (do_test): Likewise.
32683         * string/test-memset.c (do_one_test): Likewise.
32684         (do_test): Likewise.
32685         * string/test-rawmemchr.c (do_one_test): Likewise.
32686         (do_test): Likewise.
32687         * string/test-strcasecmp.c (do_one_test): Likewise.
32688         (do_test): Likewise.
32689         * string/test-strcasestr.c (do_one_test): Likewise.
32690         (do_test): Likewise.
32691         * string/test-strcat.c (do_one_test): Likewise.
32692         (do_test): Likewise.
32693         * string/test-strchr.c (do_one_test): Likewise.
32694         (do_test): Likewise.
32695         * string/test-strcmp.c (do_one_test): Likewise.
32696         (do_test): Likewise.
32697         * string/test-strcpy.c (do_one_test): Likewise.
32698         (do_test): Likewise.
32699         * string/test-string.h: Likewise.
32700         (test_init): Likewise.
32701         * string/test-strlen.c (do_one_test): Likewise.
32702         (do_test): Likewise.
32703         * string/test-strncasecmp.c (do_one_test): Likewise.
32704         (do_test): Likewise.
32705         * string/test-strncat.c (do_one_test): Likewise.
32706         (do_test): Likewise.
32707         * string/test-strncmp.c (do_one_test): Likewise.
32708         (do_test_limit): Likewise.
32709         (do_test): Likewise.
32710         * string/test-strncpy.c (do_one_test): Likewise.
32711         (do_test): Likewise.
32712         * string/test-strnlen.c (do_one_test): Likewise.
32713         (do_test): Likewise.
32714         * string/test-strpbrk.c (do_one_test): Likewise.
32715         (do_test): Likewise.
32716         * string/test-strrchr.c (do_one_test): Likewise.
32717         (do_test): Likewise.
32718         * string/test-strspn.c (do_one_test): Likewise.
32719         (do_test): Likewise.
32720         * string/test-strstr.c (do_one_test): Likewise.
32721         (do_test): Likewise.
32723         * benchtests/Makefile (string-bench): Add string benchmarks.
32724         * benchtests/bench-bcopy-ifunc.c: New file.
32725         * benchtests/bench-bcopy.c: New file.
32726         * benchtests/bench-bzero-ifunc.c: New file.
32727         * benchtests/bench-bzero.c: New file.
32728         * benchtests/bench-memccpy-ifunc.c: New file.
32729         * benchtests/bench-memccpy.c: New file.
32730         * benchtests/bench-memchr-ifunc.c: New file.
32731         * benchtests/bench-memchr.c: New file.
32732         * benchtests/bench-memcmp-ifunc.c: New file.
32733         * benchtests/bench-memcmp.c: New file.
32734         * benchtests/bench-memmem-ifunc.c: New file.
32735         * benchtests/bench-memmem.c: New file.
32736         * benchtests/bench-memmove-ifunc.c: New file.
32737         * benchtests/bench-memmove.c: New file.
32738         * benchtests/bench-mempcpy-ifunc.c: New file.
32739         * benchtests/bench-mempcpy.c: New file.
32740         * benchtests/bench-memset-ifunc.c: New file.
32741         * benchtests/bench-memset.c: New file.
32742         * benchtests/bench-rawmemchr-ifunc.c: New file.
32743         * benchtests/bench-rawmemchr.c: New file.
32744         * benchtests/bench-stpcpy-ifunc.c: New file.
32745         * benchtests/bench-stpcpy.c: New file.
32746         * benchtests/bench-stpncpy-ifunc.c: New file.
32747         * benchtests/bench-stpncpy.c: New file.
32748         * benchtests/bench-strcasecmp-ifunc.c: New file.
32749         * benchtests/bench-strcasecmp.c: New file.
32750         * benchtests/bench-strcasestr-ifunc.c: New file.
32751         * benchtests/bench-strcasestr.c: New file.
32752         * benchtests/bench-strcat-ifunc.c: New file.
32753         * benchtests/bench-strcat.c: New file.
32754         * benchtests/bench-strchr-ifunc.c: New file.
32755         * benchtests/bench-strchr.c: New file.
32756         * benchtests/bench-strchrnul-ifunc.c: New file.
32757         * benchtests/bench-strchrnul.c: New file.
32758         * benchtests/bench-strcmp-ifunc.c: New file.
32759         * benchtests/bench-strcmp.c: New file.
32760         * benchtests/bench-strcpy-ifunc.c: New file.
32761         * benchtests/bench-strcpy.c: New file.
32762         * benchtests/bench-strcspn-ifunc.c: New file.
32763         * benchtests/bench-strcspn.c: New file.
32764         * benchtests/bench-strlen-ifunc.c: New file.
32765         * benchtests/bench-strlen.c: New file.
32766         * benchtests/bench-strncasecmp-ifunc.c: New file.
32767         * benchtests/bench-strncasecmp.c: New file.
32768         * benchtests/bench-strncat-ifunc.c: New file.
32769         * benchtests/bench-strncat.c: New file.
32770         * benchtests/bench-strncmp-ifunc.c: New file.
32771         * benchtests/bench-strncmp.c: New file.
32772         * benchtests/bench-strncpy-ifunc.c: New file.
32773         * benchtests/bench-strncpy.c: New file.
32774         * benchtests/bench-strnlen-ifunc.c: New file.
32775         * benchtests/bench-strnlen.c: New file.
32776         * benchtests/bench-strpbrk-ifunc.c: New file.
32777         * benchtests/bench-strpbrk.c: New file.
32778         * benchtests/bench-strrchr-ifunc.c: New file.
32779         * benchtests/bench-strrchr.c: New file.
32780         * benchtests/bench-strspn-ifunc.c: New file.
32781         * benchtests/bench-strspn.c: New file.
32782         * benchtests/bench-strstr-ifunc.c: New file.
32783         * benchtests/bench-strstr.c: New file.
32785         * benchtests/Makefile: Disable parallel execution of targets.
32786         (string-bench): Add memcpy.
32787         (benchset): New variable to store a list of benchmark sets.
32788         (bench-func): Renamed from bench.
32789         (bench-set): New target.
32790         (bench): Depend on bench-func and bench-set.
32791         * benchtests/README: Add section on benchmark sets.
32792         * benchtests/bench-memcpy-ifunc.c: New file.
32793         * benchtests/bench-memcpy.c: New file.
32794         * benchtests/bench-string.h: New file.
32796 2013-06-11  Andreas Schwab  <schwab@suse.de>
32798         [BZ #15577]
32799         * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
32800         * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
32801         values in the triple.
32802         * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
32803         terminator in the group key.
32805 2013-06-11  Andreas Jaeger  <aj@suse.de>
32807         * po/zh_TW.po: Update Chinese (traditional) translation from
32808         translation project.
32810 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
32812         * include/time.h (__clock_gettime): Add libc_hidden_proto.
32813         * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
32814         __clock_getcpuclockid.  Add weak_alias and libc_hidden_def.
32815         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
32816         (clock_getcpuclockid): Likewise.
32817         * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
32818         Add weak_alias and libc_hidden_def.
32819         * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
32820         * rt/clock_gettime.c (clock_gettime): Rename to
32821         __clock_gettime.  Add weak_alias and libc_hidden_def.
32822         * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
32823         * rt/clock_nanosleep.c (clock_nanosleep): Rename to
32824         __clock_nanosleep.  Add weak_alias and libc_hidden_def.
32825         * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
32826         * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
32827         Likewise.
32828         * rt/clock_settime.c (clock_settime): Rename to
32829         __clock_settime.  Add weak_alias and libc_hidden_def.
32830         * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
32832 2013-06-10  Joseph Myers  <joseph@codesourcery.com>
32834         * mach/err_boot.sub: Remove trailing whitespace.
32835         * mach/err_ipc.sub: Likewise.
32836         * mach/err_mach.sub: Likewise.
32838         * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
32839         (ROUNDING_TESTS_double): Likewise.
32840         (ROUNDING_TESTS_long_double): Likewise.
32841         (ROUNDING_TESTS): Likewise.
32842         * math/libm-test.inc: Include <math-tests.h>.
32843         (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
32844         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
32845         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
32846         (IF_ROUND_INIT_FE_UPWARD): Likewise.
32848 2013-06-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
32850         * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
32851         of assigning.
32853 2013-06-08  Joseph Myers  <joseph@codesourcery.com>
32855         * sysdeps/gnu/errlist.awk: Do not generate space at end of
32856         otherwise empty TRANS lines.
32857         * sysdeps/gnu/errlist.c: Regenerated.
32859         * catgets/gencat.c (error_print): Use (void) in function
32860         definition.
32861         * crypt/crypt_util.c (__init_des): Likewise.
32862         * crypt/speeds.c (Stop): Likewise.
32863         (main): Likewise.
32864         * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
32865         * inet/ruserpass.c (token): Likewise.
32866         * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
32867         * intl/localealias.c (extend_alias_table): Likewise.
32868         * intl/plural-exp.c (init_germanic_plural): Likewise.
32869         * libio/fcloseall.c (__fcloseall): Likewise.
32870         * libio/genops.c (_IO_flush_all): Likewise.
32871         (_IO_flush_all_linebuffered): Likewise.
32872         (_IO_cleanup): Likewise.
32873         (_IO_iter_begin): Likewise.
32874         (_IO_iter_end): Likewise.
32875         (_IO_list_lock): Likewise.
32876         (_IO_list_unlock): Likewise.
32877         (_IO_list_resetlock): Likewise.
32878         * libio/getchar.c (getchar): Likewise.
32879         * libio/getchar_u.c (getchar_unlocked): Likewise.
32880         * libio/getwchar.c (getwchar): Likewise.
32881         * libio/getwchar_u.c (getwchar_unlocked): Likewise.
32882         * libio/oldstdfiles.c (_IO_check_libio): Likewise.
32883         * login/getpt.c (__getpt): Likewise.
32884         * login/tst-utmp.c (main): Likewise.
32885         * malloc/hooks.c (__malloc_check_init): Likewise.
32886         * malloc/malloc.c (__malloc_stats): Likewise.
32887         * malloc/mtrace.c (tr_break): Likewise.
32888         (mtrace): Likewise.
32889         (muntrace): Likewise.
32890         * misc/fstab.c (endfsent): Likewise.
32891         * misc/getclktck.c (__getclktck): Likewise.
32892         * misc/getdtsz.c (__getdtablesize): Likewise.
32893         * misc/gethostid.c (gethostid): Likewise.
32894         * misc/getpagesize.c (__getpagesize): Likewise.
32895         * misc/getsysstats.c (__get_nprocs_conf): Likewise.
32896         (__get_nprocs): Likewise.
32897         (__get_phys_pages): Likewise.
32898         (__get_avphys_pages): Likewise.
32899         * misc/getttyent.c (getttyent): Likewise.
32900         (setttyent): Likewise.
32901         (endttyent): Likewise.
32902         * misc/getusershell.c (getusershell): Likewise.
32903         (endusershell): Likewise.
32904         (setusershell): Likewise.
32905         (initshells): Likewise.
32906         * misc/hsearch.c (__hdestroy): Likewise.
32907         * misc/sync.c (sync): Likewise.
32908         * misc/syslog.c (closelog_internal): Likewise.
32909         (closelog): Likewise.
32910         * misc/ttyslot.c (ttyslot): Likewise.
32911         * misc/vhangup.c (vhangup): Likewise.
32912         * posix/fork.c (__fork): Likewise.
32913         * posix/getegid.c (__getegid): Likewise.
32914         * posix/geteuid.c (__geteuid): Likewise.
32915         * posix/getgid.c (__getgid): Likewise.
32916         * posix/getpid.c (__getpid): Likewise.
32917         * posix/getppid.c (__getppid): Likewise.
32918         * posix/getuid.c (__getuid): Likewise.
32919         * posix/pause.c (pause): Likewise.
32920         * posix/setpgrp.c (setpgrp): Likewise.
32921         * posix/setsid.c (__setsid): Likewise.
32922         * posix/test-vfork.c (noop): Likewise.
32923         * resolv/gethnamaddr.c (_endhtent): Likewise.
32924         (_gethtent): Likewise.
32925         (ht_endhostent): Likewise.
32926         (gethostent): Likewise.
32927         (dns_service): Likewise.
32928         * stdlib/drand48.c (drand48): Likewise.
32929         * stdlib/lrand48.c (lrand48): Likewise.
32930         * stdlib/mrand48.c (mrand48): Likewise.
32931         * stdlib/rand.c (rand): Likewise.
32932         * stdlib/random.c (__random): Likewise.
32933         * stdlib/setenv.c (clearenv): Likewise.
32934         * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
32935         * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
32936         * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
32937         * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
32938         (__get_nprocs): Likewise.
32939         (__get_phys_pages): Likewise.
32940         (__get_avphys_pages): Likewise.
32941         * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
32942         * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
32943         * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
32944         * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
32945         * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
32946         * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
32947         * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
32948         * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
32949         * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
32950         * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
32951         * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
32952         * sysdeps/mach/hurd/sync.c (sync): Likewise.
32953         * sysdeps/posix/clock.c (clock): Likewise.
32954         * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
32955         * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
32956         * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
32957         * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
32958         * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
32959         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
32960         (__get_nprocs_conf): Likewise.
32961         (__get_phys_pages): Likewise.
32962         (__get_avphys_pages): Likewise.
32963         * time/clock.c (clock): Likewise.
32964         * time/tzset.c (__tzname_max): Likewise.
32966 2013-06-07  Joseph Myers  <joseph@codesourcery.com>
32968         * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
32969         (__bswap_32): Do not use "register".
32970         * crypt/crypt.c (_ufc_doit_r): Likewise.
32971         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
32972         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
32973         * gmon/gmon.c (__monstartup): Likewise.
32974         * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
32975         * hurd/hurdmalloc.c (more_memory): Likewise.
32976         (malloc): Likewise.
32977         (free): Likewise.
32978         (realloc): Likewise.
32979         (malloc_fork_prepare): Likewise.
32980         (malloc_fork_parent): Likewise.
32981         (malloc_fork_child): Likewise.
32982         * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
32983         (_svcauth_des): Likewise.
32984         * inet/inet_lnaof.c (inet_lnaof): Likewise.
32985         * inet/inet_net.c (inet_network): Likewise.
32986         * inet/inet_netof.c (inet_netof): Likewise.
32987         * inet/rcmd.c (__validuser2_sa): Likewise.
32988         * io/fts.c (fts_open): Likewise.
32989         (fts_load): Likewise.
32990         (fts_close): Likewise.
32991         (fts_read): Likewise.
32992         (fts_children): Likewise.
32993         (fts_build): Likewise.
32994         (fts_stat): Likewise.
32995         (fts_sort): Likewise.
32996         (fts_alloc): Likewise.
32997         (fts_lfree): Likewise.
32998         * libio/fileops.c (_IO_new_file_xsputn): Likewise.
32999         (_IO_file_xsgetn): Likewise.
33000         (_IO_file_xsgetn_mmap): Likewise.
33001         * libio/iofopncook.c (_IO_cookie_read): Likewise.
33002         (_IO_cookie_write): Likewise.
33003         * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
33004         * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
33005         * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
33006         * malloc/obstack.c (_obstack_begin): Likewise.
33007         (_obstack_begin_1): Likewise.
33008         (_obstack_newchunk): Likewise.
33009         (_obstack_allocated_p): Likewise.
33010         (obstack_free): Likewise.
33011         (_obstack_memory_used): Likewise.
33012         * misc/getttyent.c (getttynam): Likewise.
33013         (getttyent): Likewise.
33014         (skip): Likewise.
33015         (value): Likewise.
33016         * misc/getusershell.c (initshells): Likewise.
33017         * misc/syslog.c (__vsyslog_chk): Likewise.
33018         * misc/ttyslot.c (ttyslot): Likewise.
33019         * nis/nis_hash.c (__nis_hash): Likewise.
33020         * posix/fnmatch_loop.c (FCT): Likewise.
33021         * posix/getconf.c (print_all): Likewise.
33022         (main): Likewise.
33023         * posix/getopt.c (exchange): Likewise.
33024         * posix/glob.c (globfree): Likewise.
33025         (prefix_array): Likewise.
33026         (__glob_pattern_type): Likewise.
33027         * resolv/arpa/nameser.h (NS_GET16): Likewise.
33028         (NS_GET32): Likewise.
33029         (NS_PUT16): Likewise.
33030         (NS_PUT32): Likewise.
33031         * resolv/gethnamaddr.c (getanswer): Likewise.
33032         (gethostbyname2): Likewise.
33033         (gethostbyaddr): Likewise.
33034         (_gethtent): Likewise.
33035         (_gethtbyname2): Likewise.
33036         (_gethtbyaddr): Likewise.
33037         * resolv/ns_print.c (dst_s_get_int16): Likewise.
33038         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
33039         * resolv/res_init.c (__res_vinit): Likewise.
33040         (net_mask): Likewise.
33041         * resolv/res_mkquery.c (outchar): Likewise.
33042         (PRINT): Likewise.
33043         * stdio-common/printf_fp.c (outchar): Likewise.
33044         (PRINT): Likewise.
33045         * stdio-common/printf_fphex.c (outchar): Likewise.
33046         (PRINT): Likewise.
33047         * stdio-common/printf_size.c (outchar): Likewise.
33048         (PRINT): Likewise.
33049         * stdio-common/test_rdwr.c (main): Likewise.
33050         * stdio-common/tfformat.c (matches): Likewise.
33051         * stdio-common/vfprintf.c (outchar): Likewise.
33052         (printf_unknown): Likewise.
33053         (buffered_vfprintf): Likewise.
33054         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
33055         * stdio-common/xbug.c (AppendToBuffer): Likewise.
33056         (ReadFile): Likewise.
33057         * stdlib/qsort.c (SWAP): Likewise.
33058         (_quicksort): Likewise.
33059         * stdlib/setenv.c (__add_to_environ): Likewise.
33060         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
33061         * stdlib/strtol_l.c (__strtol_l): Likewise.
33062         * stdlib/tst-strtod.c (main): Likewise.
33063         * stdlib/tst-strtol.c (main): Likewise.
33064         * stdlib/tst-strtoll.c (main): Likewise.
33065         * string/bits/string2.h (__strcmp_cc): Likewise.
33066         (__strcmp_cg): Likewise.
33067         (__strcspn_c1): Likewise.
33068         (__strcspn_c2): Likewise.
33069         (__strcspn_c3): Likewise.
33070         (__strspn_c1): Likewise.
33071         (__strspn_c2): Likewise.
33072         (__strspn_c3): Likewise.
33073         (__strsep_1c): Likewise.
33074         (__strsep_2c): Likewise.
33075         (__strsep_3c): Likewise.
33076         * string/memccpy.c (__memccpy): Likewise.
33077         * string/stpcpy.c (__stpcpy): Likewise.
33078         * string/strcmp.c (strcmp): Likewise.
33079         * string/strrchr.c (strrchr): Likewise.
33080         * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
33081         Likewise.
33082         * sysdeps/mach/hurd/getcwd.c
33083         (_hurd_canonicalize_directory_name_internal): Likewise.
33084         * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
33085         * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
33086         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
33087         * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
33088         Likewise, in both definitions.
33089         * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
33090         definitions.
33091         [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
33092         64] (__bswap_64): Likewise.
33093         * time/test_time.c (main): Likewise.
33094         * time/tzfile.c (__tzfile_read): Likewise.
33095         (__tzfile_compute): Likewise.
33096         * time/tzset.c (__tzset_parse_tz): Likewise.
33097         (tzset_internal): Likewise.
33098         (compute_change): Likewise.
33099         * wcsmbs/wcscat.c (__wcscat): Likewise.
33100         * wcsmbs/wcschr.c (wcschr): Likewise.
33101         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
33102         * wcsmbs/wcscspn.c (wcscspn): Likewise.
33103         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
33104         * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
33105         * wcsmbs/wcsspn.c (wcsspn): Likewise.
33106         * wcsmbs/wcsstr.c (wcsstr): Likewise.
33107         * wcsmbs/wmemchr.c (wmemchr): Likewise.
33108         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
33109         * wcsmbs/wmemset.c (wmemset): Likewise.
33111 2013-06-06  Joseph Myers  <joseph@codesourcery.com>
33113         * scripts/config.guess: Update to version 2013-05-16.
33114         * scripts/config.sub: Update to version 2013-04-24.
33115         * scripts/install-sh: Update to version 2011-11-20.07.
33116         * scripts/mkinstalldirs: Update to version 2009-04-28.21.
33117         * scripts/move-if-change: Update to version 2012-01-06 07:23.
33119 2013-06-06   Ondřej Bílka  <neleai@seznam.cz>
33121         * debug/fgetws_u_chk.c: Fix leading whitespaces.
33122         * elf/sln.c: Likewise.
33123         * hurd/hurd/ioctl.h: Likewise.
33124         * hurd/hurdmalloc.c: Likewise.
33125         * hurd/xattr.c: Likewise.
33126         * include/shlib-compat.h: Likewise.
33127         * inet/ruserpass.c: Likewise.
33128         * libio/iofgets_u.c: Likewise.
33129         * libio/iofgetws_u.c: Likewise.
33130         * locale/programs/ld-identification.c: Likewise.
33131         * locale/programs/ld-time.c: Likewise.
33132         * mach/msg-destroy.c: Likewise.
33133         * nss/nss_files/files-netgrp.c: Likewise.
33134         * resolv/res_data.c: Likewise.
33135         * soft-fp/op-1.h: Likewise.
33136         * soft-fp/op-2.h: Likewise.
33137         * soft-fp/op-4.h: Likewise.
33138         * soft-fp/op-common.h: Likewise.
33139         * stdio-common/printf_fphex.c: Likewise.
33140         * stdlib/strtod_l.c: Likewise.
33141         * sunrpc/rpc/clnt.h: Likewise.
33142         * sysdeps/generic/framestate.c: Likewise.
33143         * sysdeps/i386/bsd-_setjmp.S: Likewise.
33144         * sysdeps/i386/bsd-setjmp.S: Likewise.
33145         * sysdeps/i386/__longjmp.S: Likewise.
33146         * sysdeps/i386/setjmp.S: Likewise.
33147         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
33148         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
33149         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
33150         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
33151         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
33152         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
33153         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
33154         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
33155         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
33156         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
33157         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
33158         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
33159         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
33160         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
33161         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
33162         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
33163         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
33164         * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
33165         * sysdeps/ieee754/support.c: Likewise.
33166         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
33167         * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
33168         * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
33169         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
33170         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
33171         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
33172         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
33173         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
33174         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
33175         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
33176         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
33177         * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
33178         * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
33179         * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
33180         * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
33181         * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
33182         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
33183         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
33185 2013-06-05  Ondřej Bílka  <neleai@seznam.cz>
33187         * posix/transbug.c: Remove executable mode.
33189 2013-06-05  Joseph Myers  <joseph@codesourcery.com>
33191         * crypt/speeds.c: Remove trailing whitespace.
33192         * dlfcn/default.c: Likewise.
33193         * elf/ifuncdep2.c: Likewise.
33194         * elf/ifuncmain1.c: Likewise.
33195         * elf/ifuncmain1vis.c: Likewise.
33196         * elf/testobj.h: Likewise.
33197         * elf/tst-stackguard1.c: Likewise.
33198         * gmon/sys/gmon.h: Likewise.
33199         * hurd/hurdmsg.c: Likewise.
33200         * hurd/new-fd.c: Likewise.
33201         * hurd/ports-get.c: Likewise.
33202         * iconvdata/ibm1008_420.c: Likewise.
33203         * inet/tst-getni1.c: Likewise.
33204         * inet/tst-getni2.c: Likewise.
33205         * libio/ioungetc.c: Likewise.
33206         * libio/wfiledoalloc.c: Likewise.
33207         * manual/libm-err-tab.pl: Likewise.
33208         * math/w_dremf.c: Likewise.
33209         * misc/ftruncate.c: Likewise.
33210         * posix/bug-glob2.c: Likewise.
33211         * posix/tst-pcre.c: Likewise.
33212         * posix/wait4.c: Likewise.
33213         * resolv/README: Likewise.
33214         * resolv/res_debug.h: Likewise.
33215         * resolv/tst-inet_ntop.c: Likewise.
33216         * setjmp/bug269-setjmp.c: Likewise.
33217         * soft-fp/extended.h: Likewise.
33218         * soft-fp/op-1.h: Likewise.
33219         * soft-fp/op-2.h: Likewise.
33220         * soft-fp/op-4.h: Likewise.
33221         * soft-fp/op-8.h: Likewise.
33222         * soft-fp/testit.c: Likewise.
33223         * stdio-common/bug16.c: Likewise.
33224         * stdlib/random.c: Likewise.
33225         * sunrpc/rpcsvc/rquota.x: Likewise.
33226         * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
33227         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
33228         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
33229         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
33230         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
33231         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
33232         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
33233         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
33234         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
33235         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
33236         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
33237         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
33238         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
33239         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
33240         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
33241         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
33242         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
33243         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
33244         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
33245         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
33246         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
33247         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
33248         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
33249         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
33250         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
33251         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
33252         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
33253         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
33254         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
33255         * sysdeps/ieee754/s_lib_version.c: Likewise.
33256         * sysdeps/mach/hurd/check_fds.c: Likewise.
33257         * sysdeps/mach/hurd/getsockname.c: Likewise.
33258         * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
33259         * sysdeps/mach/hurd/recvfrom.c: Likewise.
33260         * sysdeps/powerpc/bits/link.h: Likewise.
33261         * sysdeps/powerpc/dl-procinfo.c: Likewise.
33262         * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
33263         * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
33264         * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
33265         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
33266         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
33267         * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
33268         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
33269         * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
33270         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
33271         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
33272         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
33273         * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
33274         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
33275         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
33276         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
33277         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
33278         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
33279         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
33280         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
33281         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
33282         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
33283         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
33284         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
33285         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
33286         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
33287         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
33288         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
33289         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
33290         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
33291         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
33292         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
33293         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
33294         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
33295         * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
33296         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
33297         * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
33298         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
33299         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
33300         * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
33301         * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
33302         * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
33303         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
33304         * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
33305         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
33306         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
33307         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
33308         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
33309         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
33310         * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
33311         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
33312         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
33313         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
33314         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
33315         * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
33316         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
33317         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
33318         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
33319         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
33320         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
33321         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
33322         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
33323         * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
33324         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
33325         * sysdeps/powerpc/sysdep.h: Likewise.
33326         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
33327         * sysdeps/s390/s390-64/sub_n.S: Likewise.
33328         * sysdeps/sh/dl-trampoline.S: Likewise.
33329         * sysdeps/sh/memset.S: Likewise.
33330         * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
33331         * sysdeps/sh/strlen.S: Likewise.
33332         * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
33333         * sysdeps/sparc/sparc32/dotmul.S: Likewise.
33334         * sysdeps/sparc/sparc32/memcpy.S: Likewise.
33335         * sysdeps/sparc/sparc32/rem.S: Likewise.
33336         * sysdeps/sparc/sparc32/sdiv.S: Likewise.
33337         * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
33338         * sysdeps/sparc/sparc32/strchr.S: Likewise.
33339         * sysdeps/sparc/sparc32/udiv.S: Likewise.
33340         * sysdeps/sparc/sparc32/urem.S: Likewise.
33341         * sysdeps/sparc/sparc64/add_n.S: Likewise.
33342         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
33343         * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
33344         * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
33345         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
33346         * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
33347         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
33348         * sysdeps/sparc/sparc64/strncpy.S: Likewise.
33349         * sysdeps/unix/bsd/times.c: Likewise.
33350         * sysdeps/unix/sysv/linux/a.out.h: Likewise.
33351         * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
33352         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
33353         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
33354         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
33355         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
33356         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
33357         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
33358         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
33359         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
33360         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
33361         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
33362         * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
33363         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
33364         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
33365         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
33366         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
33367         * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
33368         * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
33369         * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
33370         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
33371         * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
33372         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
33373         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
33374         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
33375         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
33376         * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
33377         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
33378         * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
33379         * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
33380         * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
33381         * sysdeps/x86_64/strcspn.S: Likewise.
33383 2013-06-05  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
33385         * locale/C-translit.h: Revert #include <stdint.h> because this is a
33386         generated file.  Regenerate properly from gen-translit.pl.
33387         * locale/gen-translit.pl: Add #include <stdint.h>.  This generates
33388         locale/C-translit.h.
33390 2013-06-05  Andreas Schwab  <schwab@suse.de>
33392         [BZ #15100]
33393         * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
33394         week as 6 instead of -1.
33395         * time/tst-strptime.c (day_tests): Add test case.
33397 2013-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
33399         * sysdeps/generic/math_private.h
33400         (libc_feholdexcept_setround_53bit): Replace with
33401         libc_feholdsetround_53bit.
33402         (libc_feupdateenv_53bit): Replace with
33403         libc_feresetround_53bit.
33404         (SET_RESTORE_ROUND_53BIT): Adjust.
33406 2013-06-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
33408         * string/test-strchrnul.c: Add copyright header.
33410         * posix/tst-getaddrinfo4.c: Increase test timeout.
33412 2013-06-03  Carlos O'Donell  <carlos@redhat.com>
33414         [BZ #15536]
33415         * math/libm-test.inc (MAX_EXP): Remove
33416         (MIN_EXP): Define.
33417         (ulp): Use MIN_EXP - MANT_DIG.
33418         (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
33420 2013-05-31  Carlos O'Donell  <carlos@redhat.com>
33422         * po/be.po: Revert last change.
33423         * po/zh_CN.po: Likewise.
33424         * po/header.pot: Likewise.
33426 2013-05-31  Joseph Myers  <joseph@codesourcery.com>
33428         * Makefile ($(common-objpfx)linkobj/libc.so): Define
33429         link-libc-deps to empty as target-specific variable.
33430         * Makerules (link-libc-args): New variable.
33431         (libc-for-link): Likewise.
33432         (link-libc-deps): Likewise.
33433         (lib%.so): Depend on $(link-libc-deps).  Link with
33434         $(link-libc-args).
33435         (build-module): Link with $(link-libc-args).
33436         (build-module-asneeded): Likewise.
33437         (build-module-helper-objlist): Filter out $(link-libc-deps) from
33438         list of objects.
33439         ($(common-objpfx)libc.so): Define link-libc-deps to empty as
33440         target-specific variable.
33441         ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
33442         $(link-libc-deps) instead of libc.so and libc_nonshared.a.
33443         * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
33444         libc.
33445         * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
33446         libc and ld.so.
33447         ($(objpfx)libpcprofile.so): Likewise.
33448         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
33449         libc_nonshared.a.
33450         ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
33451         * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
33452         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
33453         $(link-libc-deps).
33454         ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
33455         * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
33456         * login/Makefile ($(objpfx)libutil.so): Likewise.
33457         * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
33458         * math/Makefile ($(objpfx)libm.so): Likewise.
33459         * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
33460         $(objpfx)libnsl.so): Define libc-for-link as target-specific
33461         variable instead of depending directly on libc.
33462         * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
33463         ($(objpfx)/libnss_test1.so): Change dependencies on libc to
33464         $(link-libc-deps).
33465         * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
33466         libc.
33467         [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
33468         ($(objpfx)libnss_dns.so): Remove dependencies on libc.
33469         ($(objpfx)libanl.so): Likewise.
33470         * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
33471         ld.so.
33472         * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
33473         $(link-libc-deps).
33474         * sysdeps/i386/fpu/Makefile: Remove file.
33475         * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
33476         ($(objpfx)libm.so): Remove dependency on ld.so.
33478 2013-05-30  Patsy Franklin  <pfrankli@redhat.com>
33480         [BZ # 15553]
33481         * nis/yp_xdr.c (XDRMAXNAME): Define.
33482         (XDRMAXRECORD): Define.
33483         (xdr_domainname): Use XDRMAXNAME.
33484         (xdr_mapname): Likewise.
33485         (xdr_peername): Likewise.
33486         (xdr_keydat): Use XDRMAXRECORD.
33487         (xdr_valdat): Likewise.
33489 2013-05-30  Jeff Law  <law@redhat.com>
33491         [BZ #14256]
33492         * manual/errno.texi (ESTALE): Update to account for more than
33493         just NFS file systems.
33494         * sysdeps/gnu/errlist.c: Regenerated.
33496 2013-05-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
33498         [BZ #15465]
33499         * elf/Makefile (tests): Add tst-null-argv.
33500         (modules-names):  Add tst-null-argv-lib.
33501         ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
33502         (tst-null-argv-ENV): Set environment for tst-null-argv.
33503         * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
33504         (RTLD_PROGNAME): New macro.
33505         * elf/tst-null-argv.c: New test case.
33506         * elf/tst-null-argv-lib.c: Library for test case.
33507         * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
33508         * elf/dl-deps.c (_dl_map_object_deps): Likewise.
33509         * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
33510         * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
33511         * elf/dl-init.c (call_init): Likewise.
33512         (_dl_init): Likewise.
33513         * elf/dl-load.c (print_search_path): Likewise.
33514         (_dl_map_object): Likewise.
33515         * elf/dl-lookup.c (do_lookup_x): Likewise.
33516         (add_dependency): Likewise.
33517         (_dl_lookup_symbol_x): Likewise.
33518         (_dl_debug_bindings): Likewise.
33519         * elf/dl-open.c (_dl_show_scope): Likewise.
33520         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
33521         * elf/dl-version.c (match_symbol): Likewise.
33522         (_dl_check_map_versions): Likewise.
33523         * elf/rtld.c (dl_main): Likewise.
33524         (print_unresolved): Use RTLD_PROGNAME.
33525         (print_missing_version): Likewise.
33526         * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
33527         (elf_machine_rela): Likewise.
33528         * sysdeps/powerpc/powerpc32/dl-machine.c
33529         (__process_machine_rela): Likewise.
33530         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
33531         Likewise.
33532         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
33533         Likewise.
33534         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
33535         Likewise.
33536         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
33537         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
33538         Likewise.
33539         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
33540         Likewise.
33541         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
33543 2013-05-28  Carlos O'Donell  <carlos@redhat.com>
33545         * po/be.po: Add descriptive title.
33546         * po/zh_CN.po: Likewise.
33547         * po/header.pot: Likewise.
33549 2013-05-28  Mike Frysinger  <vapier@gentoo.org>
33551         * locale/programs/locarchive.c (create_archive): Inlucde fname in
33552         error message.
33553         (enlarge_archive): Likewise.
33555 2013-05-28  Ben North  <ben@redfrontdoor.org>
33557         * manual/arith.texi (frexp): It is the magnitude of the return
33558         value which lies in [0.5, 1), not the return value itself.
33560 2013-05-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33562         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33564 2013-05-26  Thomas Schwinge  <thomas@codesourcery.com>
33566         * stdio-common/bug26.c (main): Correct fscanf template.
33568         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
33569         declare _dl_skip_args.
33571         * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
33572         Don't declare.
33574         * manual/platform.texi: Add missing @end deftypefun.
33576 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
33578         [BZ #15529]
33579         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
33580         bit of mantissa of 2^16382.
33581         * math/libm-test.inc (hypot_test_data): Add more tests.
33583         * math/libm-test.inc: Add drem and pow10 to list of tested
33584         functions.
33585         (pow10_test): New function.
33586         (drem_test): Likewise.
33587         (drem_test_tonearest): Likewise.
33588         (drem_test_towardzero): Likewise.
33589         (drem_test_downward): Likewise.
33590         (drem_test_upward): Likewise.
33591         (main): Call the new functions.
33593         * math/libm-test.inc (finite_test_data): Remove.
33594         (finite_test): Run tests from isfinite_test_data.
33595         (gamma_test_data): Remove.
33596         (gamma_test): Run tests from lgamma_test_data.
33597         * sysdeps/i386/fpu/libm-test-ulps: Update.
33598         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33600 2013-05-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33602         * manual/platform.texi: Add PowerPC PPR function set documentation.
33603         * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
33604         implementation.
33606 2013-05-24  Carlos O'Donell  <carlos@redhat.com>
33608         * math/libm-test.inc (MAX_EXP): Define.
33609         (ULPDIFF): Define.
33610         (ulp): New function.
33611         (check_float_internal): Use ULPDIFF.
33612         (cpow_test): Disable failing test.
33613         (check_ulp): Test ulp() implemetnation.
33614         (main): Call check_ulp before starting tests.
33616 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
33618         * math/gen-libm-test.pl (generate_testfile): Do not handle
33619         START_DATA and END_DATA.
33620         * math/libm-test.inc (acos_test_data): Do not use START_DATA and
33621         END_DATA.
33622         (acos_tonearest_test_data): Likewise.
33623         (acos_towardzero_test_data): Likewise.
33624         (acos_downward_test_data): Likewise.
33625         (acos_upward_test_data): Likewise.
33626         (acosh_test_data): Likewise.
33627         (asin_test_data): Likewise.
33628         (asin_tonearest_test_data): Likewise.
33629         (asin_towardzero_test_data): Likewise.
33630         (asin_downward_test_data): Likewise.
33631         (asin_upward_test_data): Likewise.
33632         (asinh_test_data): Likewise.
33633         (atan_test_data): Likewise.
33634         (atanh_test_data): Likewise.
33635         (atan2_test_data): Likewise.
33636         (cabs_test_data): Likewise.
33637         (cacos_test_data): Likewise.
33638         (cacosh_test_data): Likewise.
33639         (carg_test_data): Likewise.
33640         (casin_test_data): Likewise.
33641         (casinh_test_data): Likewise.
33642         (catan_test_data): Likewise.
33643         (catanh_test_data): Likewise.
33644         (cbrt_test_data): Likewise.
33645         (ccos_test_data): Likewise.
33646         (ccosh_test_data): Likewise.
33647         (ceil_test_data): Likewise.
33648         (cexp_test_data): Likewise.
33649         (cimag_test_data): Likewise.
33650         (clog_test_data): Likewise.
33651         (clog10_test_data): Likewise.
33652         (conj_test_data): Likewise.
33653         (copysign_test_data): Likewise.
33654         (cos_test_data): Likewise.
33655         (cos_tonearest_test_data): Likewise.
33656         (cos_towardzero_test_data): Likewise.
33657         (cos_downward_test_data): Likewise.
33658         (cos_upward_test_data): Likewise.
33659         (cosh_test_data): Likewise.
33660         (cosh_tonearest_test_data): Likewise.
33661         (cosh_towardzero_test_data): Likewise.
33662         (cosh_downward_test_data): Likewise.
33663         (cosh_upward_test_data): Likewise.
33664         (cpow_test_data): Likewise.
33665         (cproj_test_data): Likewise.
33666         (creal_test_data): Likewise.
33667         (csin_test_data): Likewise.
33668         (csinh_test_data): Likewise.
33669         (csqrt_test_data): Likewise.
33670         (ctan_test_data): Likewise.
33671         (ctan_tonearest_test_data): Likewise.
33672         (ctan_towardzero_test_data): Likewise.
33673         (ctan_downward_test_data): Likewise.
33674         (ctan_upward_test_data): Likewise.
33675         (ctanh_test_data): Likewise.
33676         (ctanh_tonearest_test_data): Likewise.
33677         (ctanh_towardzero_test_data): Likewise.
33678         (ctanh_downward_test_data): Likewise.
33679         (ctanh_upward_test_data): Likewise.
33680         (erf_test_data): Likewise.
33681         (erfc_test_data): Likewise.
33682         (exp_test_data): Likewise.
33683         (exp_tonearest_test_data): Likewise.
33684         (exp_towardzero_test_data): Likewise.
33685         (exp_downward_test_data): Likewise.
33686         (exp_upward_test_data): Likewise.
33687         (exp10_test_data): Likewise.
33688         (exp2_test_data): Likewise.
33689         (expm1_test_data): Likewise.
33690         (fabs_test_data): Likewise.
33691         (fdim_test_data): Likewise.
33692         (finite_test_data): Likewise.
33693         (floor_test_data): Likewise.
33694         (fma_test_data): Likewise.
33695         (fma_towardzero_test_data): Likewise.
33696         (fma_downward_test_data): Likewise.
33697         (fma_upward_test_data): Likewise.
33698         (fmax_test_data): Likewise.
33699         (fmin_test_data): Likewise.
33700         (fmod_test_data): Likewise.
33701         (fpclassify_test_data): Likewise.
33702         (frexp_test_data): Likewise.
33703         (gamma_test_data): Likewise.
33704         (hypot_test_data): Likewise.
33705         (ilogb_test_data): Likewise.
33706         (isfinite_test_data): Likewise.
33707         (isgreater_test_data): Likewise.
33708         (isgreaterequal_test_data): Likewise.
33709         (isinf_test_data): Likewise.
33710         (isless_test_data): Likewise.
33711         (islessequal_test_data): Likewise.
33712         (islessgreater_test_data): Likewise.
33713         (isnan_test_data): Likewise.
33714         (isnormal_test_data): Likewise.
33715         (issignaling_test_data): Likewise.
33716         (isunordered_test_data): Likewise.
33717         (j0_test_data): Likewise.
33718         (j1_test_data): Likewise.
33719         (jn_test_data): Likewise.
33720         (ldexp_test_data): Likewise.
33721         (lgamma_test_data): Likewise.
33722         (lrint_test_data): Likewise.
33723         (lrint_tonearest_test_data): Likewise.
33724         (lrint_towardzero_test_data): Likewise.
33725         (lrint_downward_test_data): Likewise.
33726         (lrint_upward_test_data): Likewise.
33727         (llrint_test_data): Likewise.
33728         (llrint_tonearest_test_data): Likewise.
33729         (llrint_towardzero_test_data): Likewise.
33730         (llrint_downward_test_data): Likewise.
33731         (llrint_upward_test_data): Likewise.
33732         (log_test_data): Likewise.
33733         (log10_test_data): Likewise.
33734         (log1p_test_data): Likewise.
33735         (log2_test_data): Likewise.
33736         (logb_test_data): Likewise.
33737         (logb_downward_test_data): Likewise.
33738         (lround_test_data): Likewise.
33739         (llround_test_data): Likewise.
33740         (modf_test_data): Likewise.
33741         (nearbyint_test_data): Likewise.
33742         (nextafter_test_data): Likewise.
33743         (nexttoward_test_data): Likewise.
33744         (pow_test_data): Likewise.
33745         (pow_tonearest_test_data): Likewise.
33746         (pow_towardzero_test_data): Likewise.
33747         (pow_downward_test_data): Likewise.
33748         (pow_upward_test_data): Likewise.
33749         (remainder_test_data): Likewise.
33750         (remainder_tonearest_test_data): Likewise.
33751         (remainder_towardzero_test_data): Likewise.
33752         (remainder_downward_test_data): Likewise.
33753         (remainder_upward_test_data): Likewise.
33754         (remquo_test_data): Likewise.
33755         (rint_test_data): Likewise.
33756         (rint_tonearest_test_data): Likewise.
33757         (rint_towardzero_test_data): Likewise.
33758         (rint_downward_test_data): Likewise.
33759         (rint_upward_test_data): Likewise.
33760         (round_test_data): Likewise.
33761         (scalb_test_data): Likewise.
33762         (scalbn_test_data): Likewise.
33763         (scalbln_test_data): Likewise.
33764         (signbit_test_data): Likewise.
33765         (sin_test_data): Likewise.
33766         (sin_tonearest_test_data): Likewise.
33767         (sin_towardzero_test_data): Likewise.
33768         (sin_downward_test_data): Likewise.
33769         (sin_upward_test_data): Likewise.
33770         (sincos_test_data): Likewise.
33771         (sinh_test_data): Likewise.
33772         (sinh_tonearest_test_data): Likewise.
33773         (sinh_towardzero_test_data): Likewise.
33774         (sinh_downward_test_data): Likewise.
33775         (sinh_upward_test_data): Likewise.
33776         (sqrt_test_data): Likewise.
33777         (tan_test_data): Likewise.
33778         (tan_tonearest_test_data): Likewise.
33779         (tan_towardzero_test_data): Likewise.
33780         (tan_downward_test_data): Likewise.
33781         (tan_upward_test_data): Likewise.
33782         (tanh_test_data): Likewise.
33783         (tgamma_test_data): Likewise.
33784         (trunc_test_data): Likewise.
33785         (y0_test_data): Likewise.
33786         (y1_test_data): Likewise.
33787         (yn_test_data): Likewise.
33788         (significand_test_data): Likewise.
33790         * math/gen-libm-test.pl (@functions): Remove variable.
33791         (generate_testfile): Don't handle START and END lines.
33792         * math/libm-test.inc (START): New macro.
33793         (END): Likewise.
33794         (END_COMPLEX): Likewise.
33795         (acos_test): Use END macro without arguments.
33796         (acos_test_tonearest): Likewise.
33797         (acos_test_towardzero): Likewise.
33798         (acos_test_downward): Likewise.
33799         (acos_test_upward): Likewise.
33800         (acosh_test): Likewise.
33801         (asin_test): Likewise.
33802         (asin_test_tonearest): Likewise.
33803         (asin_test_towardzero): Likewise.
33804         (asin_test_downward): Likewise.
33805         (asin_test_upward): Likewise.
33806         (asinh_test): Likewise.
33807         (atan_test): Likewise.
33808         (atanh_test): Likewise.
33809         (atan2_test): Likewise.
33810         (cabs_test): Likewise.
33811         (cacos_test): Use END_COMPLEX macro without arguments.
33812         (cacosh_test): Likewise.
33813         (carg_test): Use END macro without arguments.
33814         (casin_test): Use END_COMPLEX macro without arguments.
33815         (casinh_test): Likewise.
33816         (catan_test): Likewise.
33817         (catanh_test): Likewise.
33818         (cbrt_test): Use END macro without arguments.
33819         (ccos_test): Use END_COMPLEX macro without arguments.
33820         (ccosh_test): Likewise.
33821         (ceil_test): Use END macro without arguments.
33822         (cexp_test): Use END_COMPLEX macro without arguments.
33823         (cimag_test): Use END macro without arguments.
33824         (clog_test): Use END_COMPLEX macro without arguments.
33825         (clog10_test): Likewise.
33826         (conj_test): Likewise.
33827         (copysign_test): Use END macro without arguments.
33828         (cos_test): Likewise.
33829         (cos_test_tonearest): Likewise.
33830         (cos_test_towardzero): Likewise.
33831         (cos_test_downward): Likewise.
33832         (cos_test_upward): Likewise.
33833         (cosh_test): Likewise.
33834         (cosh_test_tonearest): Likewise.
33835         (cosh_test_towardzero): Likewise.
33836         (cosh_test_downward): Likewise.
33837         (cosh_test_upward): Likewise.
33838         (cpow_test): Use END_COMPLEX macro without arguments.
33839         (cproj_test): Likewise.
33840         (creal_test): Use END macro without arguments.
33841         (csin_test): Use END_COMPLEX macro without arguments.
33842         (csinh_test): Likewise.
33843         (csqrt_test): Likewise.
33844         (ctan_test): Likewise.
33845         (ctan_test_tonearest): Likewise.
33846         (ctan_test_towardzero): Likewise.
33847         (ctan_test_downward): Likewise.
33848         (ctan_test_upward): Likewise.
33849         (ctanh_test): Likewise.
33850         (ctanh_test_tonearest): Likewise.
33851         (ctanh_test_towardzero): Likewise.
33852         (ctanh_test_downward): Likewise.
33853         (ctanh_test_upward): Likewise.
33854         (erf_test): Use END macro without arguments.
33855         (erfc_test): Likewise.
33856         (exp_test): Likewise.
33857         (exp_test_tonearest): Likewise.
33858         (exp_test_towardzero): Likewise.
33859         (exp_test_downward): Likewise.
33860         (exp_test_upward): Likewise.
33861         (exp10_test): Likewise.
33862         (exp2_test): Likewise.
33863         (expm1_test): Likewise.
33864         (fabs_test): Likewise.
33865         (fdim_test): Likewise.
33866         (finite_test): Likewise.
33867         (floor_test): Likewise.
33868         (fma_test): Likewise.
33869         (fma_test_towardzero): Likewise.
33870         (fma_test_downward): Likewise.
33871         (fma_test_upward): Likewise.
33872         (fmax_test): Likewise.
33873         (fmin_test): Likewise.
33874         (fmod_test): Likewise.
33875         (fpclassify_test): Likewise.
33876         (frexp_test): Likewise.
33877         (gamma_test): Likewise.
33878         (hypot_test): Likewise.
33879         (ilogb_test): Likewise.
33880         (isfinite_test): Likewise.
33881         (isgreater_test): Likewise.
33882         (isgreaterequal_test): Likewise.
33883         (isinf_test): Likewise.
33884         (isless_test): Likewise.
33885         (islessequal_test): Likewise.
33886         (islessgreater_test): Likewise.
33887         (isnan_test): Likewise.
33888         (isnormal_test): Likewise.
33889         (issignaling_test): Likewise.
33890         (isunordered_test): Likewise.
33891         (j0_test): Likewise.
33892         (j1_test): Likewise.
33893         (jn_test): Likewise.
33894         (ldexp_test): Likewise.
33895         (lgamma_test): Likewise.
33896         (lrint_test): Likewise.
33897         (lrint_test_tonearest): Likewise.
33898         (lrint_test_towardzero): Likewise.
33899         (lrint_test_downward): Likewise.
33900         (lrint_test_upward): Likewise.
33901         (llrint_test): Likewise.
33902         (llrint_test_tonearest): Likewise.
33903         (llrint_test_towardzero): Likewise.
33904         (llrint_test_downward): Likewise.
33905         (llrint_test_upward): Likewise.
33906         (log_test): Likewise.
33907         (log10_test): Likewise.
33908         (log1p_test): Likewise.
33909         (log2_test): Likewise.
33910         (logb_test): Likewise.
33911         (logb_test_downward): Likewise.
33912         (lround_test): Likewise.
33913         (llround_test): Likewise.
33914         (modf_test): Likewise.
33915         (nearbyint_test): Likewise.
33916         (nextafter_test): Likewise.
33917         (nexttoward_test): Likewise.
33918         (pow_test): Likewise.
33919         (pow_test_tonearest): Likewise.
33920         (pow_test_towardzero): Likewise.
33921         (pow_test_downward): Likewise.
33922         (pow_test_upward): Likewise.
33923         (remainder_test): Likewise.
33924         (remainder_test_tonearest): Likewise.
33925         (remainder_test_towardzero): Likewise.
33926         (remainder_test_downward): Likewise.
33927         (remainder_test_upward): Likewise.
33928         (remquo_test): Likewise.
33929         (rint_test): Likewise.
33930         (rint_test_tonearest): Likewise.
33931         (rint_test_towardzero): Likewise.
33932         (rint_test_downward): Likewise.
33933         (rint_test_upward): Likewise.
33934         (round_test): Likewise.
33935         (scalb_test): Likewise.
33936         (scalbn_test): Likewise.
33937         (scalbln_test): Likewise.
33938         (signbit_test): Likewise.
33939         (sin_test): Likewise.
33940         (sin_test_tonearest): Likewise.
33941         (sin_test_towardzero): Likewise.
33942         (sin_test_downward): Likewise.
33943         (sin_test_upward): Likewise.
33944         (sincos_test): Likewise.
33945         (sinh_test): Likewise.
33946         (sinh_test_tonearest): Likewise.
33947         (sinh_test_towardzero): Likewise.
33948         (sinh_test_downward): Likewise.
33949         (sinh_test_upward): Likewise.
33950         (sqrt_test): Likewise.
33951         (tan_test): Likewise.
33952         (tan_test_tonearest): Likewise.
33953         (tan_test_towardzero): Likewise.
33954         (tan_test_downward): Likewise.
33955         (tan_test_upward): Likewise.
33956         (tanh_test): Likewise.
33957         (tgamma_test): Likewise.
33958         (trunc_test): Likewise.
33959         (y0_test): Likewise.
33960         (y1_test): Likewise.
33961         (yn_test): Likewise.
33962         (significand_test): Likewise.
33964 2013-05-24  Ondřej Bílka  <neleai@seznam.cz>
33966         [BZ #15381]
33967         * libio/genops.c (_IO_no_init): Initialize wide struct info.
33969 2013-05-23  Edjunior Machado  <emachado@linux.vnet.ibm.com>
33971         [BZ #14894]
33972         * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
33973         __ppc_mdoio and __ppc_mdoom.
33974         * manual/platform.texi: Document new functions __ppc_yield,
33975         __ppc_mdoio and __ppc_mdoom.
33977 2013-05-22  Carlos O'Donell  <carlos@redhat.com>
33979         * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
33980         (main): Mention "tls" pseudo-hwcap is legacy.
33981         * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
33983 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
33985         * math/gen-libm-test.pl (parse_args): Output only string of
33986         arguments as text for test name, not full call or descriptions of
33987         tests for extra outputs.
33988         (generate_testfile): Do not pass function name to parse_args.
33989         Generate this_func variable from START.
33990         * math/libm-test.inc (struct test_f_f_data): Rename test_name
33991         field to arg_str.
33992         (struct test_ff_f_data): Likewise.
33993         (test_ff_f_data_nexttoward): Likewise.
33994         (struct test_fi_f_data): Likewise.
33995         (struct test_fl_f_data): Likewise.
33996         (struct test_if_f_data): Likewise.
33997         (struct test_fff_f_data): Likewise.
33998         (struct test_c_f_data): Likewise.
33999         (struct test_f_f1_data): Likewise.  Remove field extra_name.
34000         (struct test_fF_f1_data): Likewise.
34001         (struct test_ffI_f1_data): Likewise.
34002         (struct test_c_c_data): Rename test_name field to arg_str.
34003         (struct test_cc_c_data): Likewise.
34004         (struct test_f_i_data): Likewise.
34005         (struct test_ff_i_data): Likewise.
34006         (struct test_f_l_data): Likewise.
34007         (struct test_f_L_data): Likewise.
34008         (struct test_fFF_11_data): Likewise.  Remove fields extra1_name
34009         and extra2_name.
34010         (COMMON_TEST_SETUP): New macro.
34011         (EXTRA_OUTPUT_TEST_SETUP): Likewise.
34012         (COMMON_TEST_CLEANUP): Likewise.
34013         (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
34014         (RUN_TEST_f_f): Take argument string.  Call new setup and cleanup
34015         macros.
34016         (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
34017         (RUN_TEST_2_f): Take argument string.  Call new setup and cleanup
34018         macros.
34019         (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
34020         (RUN_TEST_fff_f): Take argument string.  Call new setup and
34021         cleanup macros.
34022         (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
34023         (RUN_TEST_c_f): Take argument string.  Call new setup and cleanup
34024         macros.
34025         (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
34026         (RUN_TEST_f_f1): Take argument string.  Call new setup and cleanup
34027         macros.
34028         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
34029         (RUN_TEST_fF_f1): Take argument string.  Call new setup and
34030         cleanup macros.
34031         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
34032         (RUN_TEST_fI_f1): Take argument string.  Call new setup and
34033         cleanup macros.
34034         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
34035         (RUN_TEST_ffI_f1): Take argument string.  Call new setup and
34036         cleanup macros.
34037         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
34038         (RUN_TEST_c_c): Take argument string.  Call new setup and cleanup
34039         macros.
34040         (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
34041         (RUN_TEST_cc_c): Take argument string.  Call new setup and cleanup
34042         macros.
34043         (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
34044         (RUN_TEST_f_i): Take argument string.  Call new setup and cleanup
34045         macros.
34046         (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
34047         (RUN_TEST_f_i_tg): Take argument string.  Call new setup and
34048         cleanup macros.
34049         (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
34050         (RUN_TEST_ff_i_tg): Take argument string.  Call new setup and
34051         cleanup macros.
34052         (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
34053         (RUN_TEST_f_b): Take argument string.  Call new setup and cleanup
34054         macros.
34055         (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
34056         (RUN_TEST_f_b_tg): Take argument string.  Call new setup and
34057         cleanup macros.
34058         (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
34059         (RUN_TEST_f_l): Take argument string.  Call new setup and cleanup
34060         macros.
34061         (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
34062         (RUN_TEST_f_L): Take argument string.  Call new setup and cleanup
34063         macros.
34064         (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
34065         (RUN_TEST_fFF_11): Take argument string.  Call new setup and
34066         cleanup macros.
34067         (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
34069 2013-05-22  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
34071         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
34072         to _sifields.sigfault.
34073         (si_addr_lsb): Define new macro.
34074         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
34075         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
34076         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
34078 2013-05-03  Carlos O'Donell  <carlos at redhat.com>
34080         [BZ #15441]
34081         * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
34082         returns -1.
34083         (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
34084         null return -1.
34085         * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
34086         loading the domain.
34088 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
34090         * math/gen-libm-test.pl (parse_args): Do not include expected
34091         result in test name.
34092         * sysdeps/i386/fpu/libm-test-ulps: Update test names.
34093         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
34094         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
34095         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
34096         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
34097         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34099 2013-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
34101         * benchtests/Makefile: Sort function entries.
34103         * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
34104         tanh, asinh, acosh, atanh.
34105         * benchtests/acos-inputs: New file.
34106         * benchtests/acosh-inputs: New file.
34107         * benchtests/asin-inputs: New file.
34108         * benchtests/asinh-inputs: New file.
34109         * benchtests/atanh-inputs: New file.
34110         * benchtests/cosh-inputs: New file.
34111         * benchtests/log-inputs: New file.
34112         * benchtests/sinh-inputs: New file.
34113         * benchtests/tanh-inputs: New file.
34115 2013-05-21  Dmitry V. Levin  <ldv@altlinux.org>
34117         [BZ #15339]
34118         * posix/tst-getaddrinfo4.c: New test.
34119         * posix/Makefile (tests): Add it.
34121 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
34123         [BZ #15339]
34124         * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
34125         when no services were used.
34126         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
34127         Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
34129 2013-05-21  Andreas Schwab  <schwab@suse.de>
34131         [BZ #15014]
34132         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
34133         [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
34134         successful.
34135         * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
34136         redundant variable declarations and reallocation of buffer when
34137         parsing as IPv6 address.  Always set NSS status when called from
34138         reentrant functions.  Use NETDB_INTERNAL instead of TRY_AGAIN when
34139         buffer too small.  Correct computation of needed size.
34140         * nss/Makefile (tests): Add test-digits-dots.
34141         * nss/test-digits-dots.c: New test.
34143 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
34145         * benchtests/Makefile: Remove instructions for adding
34146         benchmark tests.
34147         * benchtests/README: New file to explain how to execute and
34148         enhance the benchmark tests.
34150 2013-05-21  Andreas Schwab  <schwab@suse.de>
34152         [BZ #15493]
34153         * setjmp/Makefile (tests): Add tst-sigsetjmp.
34154         * setjmp/tst-sigsetjmp.c: New test.
34156 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
34158         * sysdeps/x86_64/memset.S (memset): New implementation.
34159         (__bzero): Likewise.
34160         (__memset_tail): New function.
34162 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
34164         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
34165         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
34166         __memcpy_sse2_unaligned ifunc selection.
34167         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
34168         Add memcpy-sse2-unaligned.S.
34169         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
34170         Add: __memcpy_sse2_unaligned.
34172 2013-05-19  Joseph Myers  <joseph@codesourcery.com>
34174         [BZ #15490]
34175         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
34176         math_force_eval before restoring floating-point envrionment.
34177         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
34178         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
34179         Likewise.
34180         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
34181         <math_private.h>.
34182         (__nearbyintl): Use math_force_eval before restoring
34183         floating-point environment.
34184         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
34186         * math/gen-libm-test.pl (special_functions): Remove.
34187         (parse_args): Don't handle TEST_extra.  Handle functions with no
34188         return value.
34189         * math/libm-test.inc (struct test_sincos_data): Replace with
34190         struct test_fFF_11_data.
34191         (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
34192         (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
34193         (sincos_test_data): Change element type to struct
34194         test_fFF_11_data.  Use TEST_fFF_11 instead of TEST_extra.
34195         (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
34196         RUN_TEST_LOOP_sincos.
34197         * math/README.libm-test: Don't mention special handling of
34198         individual functions.
34199         * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
34200         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
34201         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
34202         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
34203         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
34204         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34206         * math/gen-libm-test.pl (get_variable): Remove function.
34207         (parse_args): Don't show pointer parameters to call in test
34208         names.  Use "extra output N" in test names for extra outputs
34209         rather than naming variables.
34211 2013-05-18  Joseph Myers  <joseph@codesourcery.com>
34213         [BZ #15488]
34214         * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
34215         __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
34216         * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
34217         double tests.
34218         * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
34219         disable.
34220         (do_test) [NO_LONG_DOUBLE]: Do not disable call to
34221         check_long_double.
34223         * math/gen-libm-test.pl (@tests): Remove variable.
34224         ($count): Likewise.
34225         (new_test): Remove function.
34226         (show_exceptions): New function.
34227         (special_functions): Use show_exceptions instead of new_test.
34228         (parse_args): Likewise.
34229         (generate_testfile): Pass only function name in generated call to
34230         print_max_error or print_complex_max_error.
34231         (get_ulps): Do not handle complex tests specially.
34232         (output_test): Rename to ...
34233         (get_all_ulps_for_test): ... this.  Return a string rather than
34234         printing to a file.  Require ulps to be present.
34235         (output_ulps): Generate arrays rather than #defines.
34236         * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
34237         (struct ulp_data): New type.
34238         (BUILD_COMPLEX_ULP): Remove macro.
34239         (compare_ulp_data): New function.
34240         (find_ulps): Likewise.
34241         (find_test_ulps): Likewise.
34242         (find_function_ulps): Likewise.
34243         (find_complex_function_ulps): Likewise.
34244         (print_max_error): Determine allowed ulps using
34245         find_function_ulps.
34246         (print_complex_max_error): Determine allowed ulps using
34247         find_complex_function_ulps.
34248         (check_float_internal): Determine max ulps using find_test_ulps.
34249         (check_float): Do not take max_ulp parameter.  Update call to
34250         check_float_internal.
34251         (check_complex): Likewise.
34252         (check_int): Do not take max_ulp parameter.
34253         (check_long): Likewise.
34254         (check_bool): Likewise.
34255         (check_longlong): Likewise.
34256         (struct test_f_f_data): Remove max_ulp field.
34257         (struct test_ff_f_data): Likewise.
34258         (struct test_ff_f_data_nexttoward): Likewise.
34259         (struct test_fi_f_data): Likewise.
34260         (struct test_fl_f_data): Likewise.
34261         (struct test_if_f_data): Likewise.
34262         (struct test_fff_f_data): Likewise.
34263         (struct test_c_f_data): Likewise.
34264         (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
34265         (struct test_fF_f1_data): Likewise.
34266         (struct test_ffI_f1_data): Likewise.
34267         (struct test_c_c_data): Remove max_ulp field.
34268         (struct test_cc_c_data): Likewise.
34269         (struct test_f_i_data): Likewise.
34270         (struct test_ff_i_data): Likewise.
34271         (struct test_f_l_data): Likewise.
34272         (struct test_f_L_data): Likewise.
34273         (struct test_sincos_data): Likewise.
34274         (RUN_TEST_f_f): Do not handle ulps.
34275         (RUN_TEST_LOOP_f_f): Likewise.
34276         (RUN_TEST_2_f): Likewise.
34277         (RUN_TEST_LOOP_2_f): Likewise.
34278         (RUN_TEST_fff_f): Likewise.
34279         (RUN_TEST_LOOP_fff_f): Likewise.
34280         (RUN_TEST_c_f): Likewise.
34281         (RUN_TEST_LOOP_c_f): Likewise.
34282         (RUN_TEST_f_f1): Likewise.
34283         (RUN_TEST_LOOP_f_f1): Likewise.
34284         (RUN_TEST_fF_f1): Likewise.
34285         (RUN_TEST_LOOP_fF_f1): Likewise.
34286         (RUN_TEST_fI_f1): Likewise.
34287         (RUN_TEST_LOOP_fI_f1): Likewise.
34288         (RUN_TEST_ffI_f1): Likewise.
34289         (RUN_TEST_LOOP_ffI_f1): Likewise.
34290         (RUN_TEST_c_c): Likewise.
34291         (RUN_TEST_LOOP_c_c): Likewise.
34292         (RUN_TEST_cc_c): Likewise.
34293         (RUN_TEST_LOOP_cc_c): Likewise.
34294         (RUN_TEST_f_i): Likewise.
34295         (RUN_TEST_LOOP_f_i): Likewise.
34296         (RUN_TEST_f_i_tg): Likewise.
34297         (RUN_TEST_LOOP_f_i_tg): Likewise.
34298         (RUN_TEST_ff_i_tg): Likewise.
34299         (RUN_TEST_LOOP_ff_i_tg): Likewise.
34300         (RUN_TEST_f_b): Likewise.
34301         (RUN_TEST_LOOP_f_b): Likewise.
34302         (RUN_TEST_f_b_tg): Likewise.
34303         (RUN_TEST_LOOP_f_b_tg): Likewise.
34304         (RUN_TEST_f_l): Likewise.
34305         (RUN_TEST_LOOP_f_l): Likewise.
34306         (RUN_TEST_f_L): Likewise.
34307         (RUN_TEST_LOOP_f_L): Likewise.
34308         (RUN_TEST_sincos): Likewise.
34309         (RUN_TEST_LOOP_sincos): Likewise.
34311 2013-05-17  Joseph Myers  <joseph@codesourcery.com>
34313         [BZ #15480]
34314         [BZ #15485]
34315         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
34316         main case of finite arguments, set rounding mode to FE_TONEAREST
34317         and discard exceptions.
34318         * math/libm-test.inc (remainder_test_data): Disallow "inexact"
34319         exceptions.
34320         (remainder_tonearest_test_data): New variable.
34321         (remainder_test_tonearest): New function.
34322         (remainder_towardzero_test_data): New variable.
34323         (remainder_test_towardzero): New function.
34324         (remainder_downward_test_data): New variable.
34325         (remainder_test_downward): New function.
34326         (remainder_upward_test_data): New variable.
34327         (remainder_test_upward): New function.
34328         (main): Call the new test functions.
34330         * math/libm-test.inc (struct test_f_f1_data): Remove field
34331         extra_init.
34332         (struct test_fF_f1_data): Likewise.
34333         (struct test_ffI_f1_data): Likewise.
34334         (RUN_TEST_f_f1): Remove argument EXTRA_INIT.  Initialize EXTRA_VAR
34335         based on value of EXTRA_EXPECTED.
34336         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
34337         (RUN_TEST_fF_f1): Remove argument EXTRA_INIT.  Initialize
34338         EXTRA_VAR based on value of EXTRA_EXPECTED.
34339         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
34340         (RUN_TEST_fI_f1): Remove argument EXTRA_INIT.  Initialize
34341         EXTRA_VAR based on value of EXTRA_EXPECTED.
34342         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
34343         (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT.  Initialize
34344         EXTRA_VAR based on value of EXTRA_EXPECTED.
34345         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
34346         * math/gen-libm-test.pl (parse_args): Don't output initializers
34347         for extra output values.
34349         * math/libm-test.inc (check_int): Expect result to be exactly
34350         equal to expected value and do not handle ulps.
34351         (check_long): Likewise.
34352         (check_longlong): Likewise.
34354         * math/libm-test.inc (ceil_test_data): Test for "inexact"
34355         exceptions.
34356         (cimag_test_data): Likewise.
34357         (conj_test_data): Likewise.
34358         (copysign_test_data): Likewise.
34359         (cproj_test_data): Likewise.
34360         (creal_test_data): Likewise.
34361         (fabs_test_data): Likewise.
34362         (fdim_test_data): Likewise.
34363         (finite_test_data): Likewise.
34364         (floor_test_data): Likewise.
34365         (fmax_test_data): Likewise.
34366         (fmin_test_data): Likewise.
34367         (fmod_test_data): Likewise.
34368         (fpclassify_test_data): Likewise.
34369         (frexp_test_data): Likewise.
34370         (ilogb_test_data): Likewise.
34371         (isfinite_test_data): Likewise.
34372         (isgreater_test_data): Likewise.
34373         (isgreaterequal_test_data): Likewise.
34374         (isinf_test_data): Likewise.
34375         (isless_test_data): Likewise.
34376         (islessequal_test_data): Likewise.
34377         (islessgreater_test_data): Likewise.
34378         (isnan_test_data): Likewise.
34379         (isnormal_test_data): Likewise.
34380         (issignaling_test_data): Likewise.
34381         (isunordered_test_data): Likewise.
34382         (ldexp_test_data): Likewise.
34383         (lrint_test_data): Likewise.
34384         (lrint_test_data) [TEST_FLOAT]: Disable one test.
34385         (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
34386         (lrint_tonearest_test_data): Test for "inexact" exceptions.
34387         (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
34388         (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
34389         (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
34390         test input.
34391         (lrint_towardzero_test_data): Test for "inexact" exceptions.
34392         (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
34393         (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
34394         (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
34395         that test input.
34396         (lrint_downward_test_data): Test for "inexact" exceptions.
34397         (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
34398         (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
34399         (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
34400         test input.
34401         (lrint_upward_test_data): Test for "inexact" exceptions.
34402         (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
34403         test input.
34404         (llrint_test_data): Test for "inexact" exceptions.
34405         (llrint_test_data) [TEST_FLOAT]: Disable one test.
34406         (llrint_tonearest_test_data): Test for "inexact" exceptions.
34407         (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
34408         (llrint_towardzero_test_data): Test for "inexact" exceptions.
34409         (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
34410         (llrint_downward_test_data): Test for "inexact" exceptions.
34411         (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
34412         (llrint_upward_test_data): Test for "inexact" exceptions.
34413         (logb_test_data): Likewise.
34414         (logb_downward_test_data): Likewise.
34415         (nextafter_test_data): Likewise.
34416         (nexttoward_test_data): Likewise.
34417         (remainder_test_data): Likewise.
34418         (remquo_test_data): Likewise.
34419         (scalbn_test_data): Likewise.
34420         (scalbln_test_data): Likewise.
34421         (signbit_test_data): Likewise.
34422         (sqrt_test_data): Likewise.
34423         (significand_test_data): Likewise.
34425 2013-05-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
34427         [BZ #15424]
34428         * benchtests/bench-modf.c (struct args): Mark arg0 as
34429         volatile.
34430         * scripts/bench.pl: Mark members of struct args as volatile.
34432 2013-05-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34434         [BZ # 15497]
34435         * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
34436         negative infinity on POWER6 or lower.
34437         * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
34439 2013-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
34441         [BZ #15442]
34442         * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
34443         (_FP_FRAC_SNANP_SEMIRAW): Likewise.
34444         (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
34445         (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
34446         (_FP_SETQNAN): New macro.
34447         (_FP_SETQNAN_SEMIRAW): Likewise.
34448         (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
34449         (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
34450         (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
34451         (FP_EXTEND): Use _FP_FRAC_SNANP.
34452         (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
34453         * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
34454         into account.
34455         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
34456         New macro.
34457         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
34458         Likewise.
34460 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
34462         * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
34463         with DIVIDE_BY_ZERO_EXCEPTION.
34464         (gamma_test_data): Likewise.
34465         (lgamma_test_data): Likewise.
34466         (log_test_data): Likewise.
34467         (log10_test_data): Likewise.
34468         (log2_test_data): Likewise.
34469         (tgamma_test_data): Likewise.
34471         * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
34472         (acos_test_tonearest): Likewise.
34473         (acos_test_towardzero): Likewise.
34474         (acos_test_downward): Likewise.
34475         (acos_test_upward): Likewise.
34476         (acosh_test): Likewise.
34477         (asin_test): Likewise.
34478         (asin_test_tonearest): Likewise.
34479         (asin_test_towardzero): Likewise.
34480         (asin_test_downward): Likewise.
34481         (asin_test_upward): Likewise.
34482         (asinh_test): Likewise.
34483         (atan_test): Likewise.
34484         (atanh_test): Likewise.
34485         (atan2_test): Likewise.
34486         (cabs_test): Likewise.
34487         (cacos_test): Likewise.
34488         (cacosh_test): Likewise.
34489         (casin_test): Likewise.
34490         (casinh_test): Likewise.
34491         (catan_test): Likewise.
34492         (catanh_test): Likewise.
34493         (cbrt_test): Likewise.
34494         (ccos_test): Likewise.
34495         (ccosh_test): Likewise.
34496         (cexp_test): Likewise.
34497         (clog_test): Likewise.
34498         (clog10_test): Likewise.
34499         (cos_test): Likewise.
34500         (cos_test_tonearest): Likewise.
34501         (cos_test_towardzero): Likewise.
34502         (cos_test_downward): Likewise.
34503         (cos_test_upward): Likewise.
34504         (cosh_test): Likewise.
34505         (cosh_test_tonearest): Likewise.
34506         (cosh_test_towardzero): Likewise.
34507         (cosh_test_downward): Likewise.
34508         (cosh_test_upward): Likewise.
34509         (cpow_test): Likewise.
34510         (csin_test): Likewise.
34511         (csinh_test): Likewise.
34512         (csqrt_test): Likewise.
34513         (ctan_test): Likewise.
34514         (ctan_test_tonearest): Likewise.
34515         (ctan_test_towardzero): Likewise.
34516         (ctan_test_downward): Likewise.
34517         (ctan_test_upward): Likewise.
34518         (ctanh_test): Likewise.
34519         (ctanh_test_tonearest): Likewise.
34520         (ctanh_test_towardzero): Likewise.
34521         (ctanh_test_downward): Likewise.
34522         (ctanh_test_upward): Likewise.
34523         (erf_test): Likewise.
34524         (erfc_test): Likewise.
34525         (exp_test): Likewise.
34526         (exp_test_tonearest): Likewise.
34527         (exp_test_towardzero): Likewise.
34528         (exp_test_downward): Likewise.
34529         (exp_test_upward): Likewise.
34530         (exp10_test): Likewise.
34531         (exp2_test): Likewise.
34532         (expm1_test): Likewise.
34533         (fmod_test): Likewise.
34534         (gamma_test): Likewise.
34535         (hypot_test): Likewise.
34536         (j0_test): Likewise.
34537         (j1_test): Likewise.
34538         (jn_test): Likewise.
34539         (lgamma_test): Likewise.
34540         (log_test): Likewise.
34541         (log10_test): Likewise.
34542         (log1p_test): Likewise.
34543         (log2_test): Likewise.
34544         (logb_test_downward): Likewise.
34545         (pow_test): Likewise.
34546         (pow_test_tonearest): Likewise.
34547         (pow_test_towardzero): Likewise.
34548         (pow_test_downward): Likewise.
34549         (pow_test_upward): Likewise.
34550         (remainder_test): Likewise.
34551         (remquo_test): Likewise.
34552         (sin_test): Likewise.
34553         (sin_test_tonearest): Likewise.
34554         (sin_test_towardzero): Likewise.
34555         (sin_test_downward): Likewise.
34556         (sin_test_upward): Likewise.
34557         (sincos_test): Likewise.
34558         (sinh_test): Likewise.
34559         (sinh_test_tonearest): Likewise.
34560         (sinh_test_towardzero): Likewise.
34561         (sinh_test_downward): Likewise.
34562         (sinh_test_upward): Likewise.
34563         (sqrt_test): Likewise.
34564         (tan_test): Likewise.
34565         (tan_test_tonearest): Likewise.
34566         (tan_test_towardzero): Likewise.
34567         (tan_test_downward): Likewise.
34568         (tan_test_upward): Likewise.
34569         (tanh_test): Likewise.
34570         (tgamma_test): Likewise.
34571         (y0_test): Likewise.
34572         (y1_test): Likewise.
34573         (yn_test): Likewise.
34575         * math/gen-libm-test.pl (adjust_arg): Remove function.
34576         (special_function): Remove argument $in_func.  Only handle
34577         generating output for tables of tests, not inside functions.
34578         (parse_args): Likewise.
34579         (generate_testfile): Remove variable $in_func.  Update call to
34580         parse_args.
34581         * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
34582         (MINUS_ZERO_INIT): Rename macro to minus_zero.
34583         (PLUS_INFTY_INIT): Rename macro to plus_infty.
34584         (MINUS_INFTY_INIT): Rename macro to minus_infty.
34585         (QNAN_VALUE_INIT): Rename macro to qnan_value.
34586         (MAX_VALUE_INIT): Rename macro to max_value.
34587         (MIN_VALUE_INIT): Rename macro to min_value.
34588         (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
34589         (plus_zero): Remove variable.
34590         (minus_zero): Likewise.
34591         (plus_infty): Likewise.
34592         (minus_infty): Likewise.
34593         (qnan_value): Likewise.
34594         (max_value): Likewise.
34595         (min_value): Likewise.
34596         (min_subnorm_value): Likewise.
34598 2013-05-16  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
34600         * crypt/sha512-block.c: Add missing #include <stdint.h> due to
34601         uint64_t or uint32_t usage.
34602         * crypt/sha256-block.c: Likewise.
34603         * crypt/sha256-crypt.c: Likewise.
34604         * crypt/sha256.c: Likewise.
34605         * crypt/sha512-block.c: Likewise.
34606         * crypt/sha512-crypt.c: Likewise.
34607         * crypt/sha512.c: Likewise.
34608         * debug/backtrace-tst.c: Likewise.
34609         * debug/pcprofiledump.c: Likewise.
34610         * elf/cache.c: Likewise.
34611         * elf/dl-cache.c: Likewise.
34612         * elf/dl-misc.c: Likewise.
34613         * elf/dl-profile.c: Likewise.
34614         * elf/dl-support.c: Likewise.
34615         * elf/ldconfig.c: Likewise.
34616         * elf/sprof.c: Likewise.
34617         * iconv/dummy-repertoire.c: Likewise.
34618         * iconv/iconv_charmap.c: Likewise.
34619         * iconv/skeleton.c: Likewise.
34620         * iconvdata/8bit-generic.c: Likewise.
34621         * iconvdata/cp737.h: Likewise.
34622         * iconvdata/cp775.h: Likewise.
34623         * iconvdata/ibm1008.h: Likewise.
34624         * iconvdata/ibm1025.h: Likewise.
34625         * iconvdata/ibm1046.h: Likewise.
34626         * iconvdata/ibm1097.h: Likewise.
34627         * iconvdata/ibm1112.h: Likewise.
34628         * iconvdata/ibm1122.h: Likewise.
34629         * iconvdata/ibm1123.h: Likewise.
34630         * iconvdata/ibm1124.h: Likewise.
34631         * iconvdata/ibm1129.h: Likewise.
34632         * iconvdata/ibm1130.h: Likewise.
34633         * iconvdata/ibm1132.h: Likewise.
34634         * iconvdata/ibm1133.h: Likewise.
34635         * iconvdata/ibm1137.h: Likewise.
34636         * iconvdata/ibm1140.h: Likewise.
34637         * iconvdata/ibm1141.h: Likewise.
34638         * iconvdata/ibm1142.h: Likewise.
34639         * iconvdata/ibm1143.h: Likewise.
34640         * iconvdata/ibm1144.h: Likewise.
34641         * iconvdata/ibm1145.h: Likewise.
34642         * iconvdata/ibm1146.h: Likewise.
34643         * iconvdata/ibm1147.h: Likewise.
34644         * iconvdata/ibm1148.h: Likewise.
34645         * iconvdata/ibm1149.h: Likewise.
34646         * iconvdata/ibm1153.h: Likewise.
34647         * iconvdata/ibm1154.h: Likewise.
34648         * iconvdata/ibm1155.h: Likewise.
34649         * iconvdata/ibm1156.h: Likewise.
34650         * iconvdata/ibm1157.h: Likewise.
34651         * iconvdata/ibm1158.h: Likewise.
34652         * iconvdata/ibm1160.h: Likewise.
34653         * iconvdata/ibm1161.h: Likewise.
34654         * iconvdata/ibm1162.h: Likewise.
34655         * iconvdata/ibm1163.h: Likewise.
34656         * iconvdata/ibm1164.h: Likewise.
34657         * iconvdata/ibm1166.h: Likewise.
34658         * iconvdata/ibm1167.h: Likewise.
34659         * iconvdata/ibm12712.h: Likewise.
34660         * iconvdata/ibm1390.h: Likewise.
34661         * iconvdata/ibm1399.h: Likewise.
34662         * iconvdata/ibm16804.h: Likewise.
34663         * iconvdata/ibm4517.h: Likewise.
34664         * iconvdata/ibm4899.h: Likewise.
34665         * iconvdata/ibm4909.h: Likewise.
34666         * iconvdata/ibm4971.h: Likewise.
34667         * iconvdata/ibm5347.h: Likewise.
34668         * iconvdata/ibm803.h: Likewise.
34669         * iconvdata/ibm856.h: Likewise.
34670         * iconvdata/ibm901.h: Likewise.
34671         * iconvdata/ibm902.h: Likewise.
34672         * iconvdata/ibm9030.h: Likewise.
34673         * iconvdata/ibm9066.h: Likewise.
34674         * iconvdata/ibm921.h: Likewise.
34675         * iconvdata/ibm922.h: Likewise.
34676         * iconvdata/ibm9448.h: Likewise.
34677         * iconvdata/isiri-3342.h: Likewise.
34678         * iconvdata/jis0201.h: Likewise.
34679         * include/link.h: Likewise.
34680         * include/netdb.h: Likewise.
34681         * inet/check_native.c: Likewise.
34682         * inet/check_pf.c: Likewise.
34683         * inet/getipv4sourcefilter.c: Likewise.
34684         * inet/getnameinfo.c: Likewise.
34685         * inet/getsourcefilter.c: Likewise.
34686         * inet/htonl.c: Likewise.
34687         * inet/setipv4sourcefilter.c: Likewise.
34688         * inet/setsourcefilter.c: Likewise.
34689         * inet/test-inet6_opt.c: Likewise.
34690         * inet/tst-network.c: Likewise.
34691         * locale/C-collate.c: Likewise.
34692         * locale/C-ctype.c: Likewise.
34693         * locale/C-time.c: Likewise.
34694         * locale/C-translit.h: Likewise.
34695         * locale/loadarchive.c: Likewise.
34696         * locale/programs/3level.h: Likewise.
34697         * locale/programs/charmap.c: Likewise.
34698         * locale/programs/charmap.h: Likewise.
34699         * locale/programs/ld-address.c: Likewise.
34700         * locale/programs/ld-collate.c: Likewise.
34701         * locale/programs/ld-ctype.c: Likewise.
34702         * locale/programs/ld-identification.c: Likewise.
34703         * locale/programs/ld-measurement.c: Likewise.
34704         * locale/programs/ld-messages.c: Likewise.
34705         * locale/programs/ld-monetary.c: Likewise.
34706         * locale/programs/ld-name.c: Likewise.
34707         * locale/programs/ld-numeric.c: Likewise.
34708         * locale/programs/ld-paper.c: Likewise.
34709         * locale/programs/ld-telephone.c: Likewise.
34710         * locale/programs/ld-time.c: Likewise.
34711         * locale/programs/linereader.c: Likewise.
34712         * locale/programs/locale.c: Likewise.
34713         * locale/programs/locarchive.c: Likewise.
34714         * locale/programs/locfile.h: Likewise.
34715         * locale/programs/repertoire.c: Likewise.
34716         * locale/programs/simple-hash.c: Likewise.
34717         * locale/programs/simple-hash.h: Likewise.
34718         * malloc/memusage.c: Likewise.
34719         * malloc/memusagestat.c: Likewise.
34720         * nis/nis_defaults.c: Likewise.
34721         * nis/nis_hash.c: Likewise.
34722         * nis/nis_print.c: Likewise.
34723         * nis/nis_xdr.c: Likewise.
34724         * nscd/connections.c: Likewise.
34725         * nscd/hstcache.c: Likewise.
34726         * nscd/nscd_gethst_r.c: Likewise.
34727         * nscd/nscd_getserv_r.c: Likewise.
34728         * nscd/nscd_helper.c: Likewise.
34729         * nscd/servicescache.c: Likewise.
34730         * nss/makedb.c: Likewise.
34731         * nss/nss_db/db-XXX.c: Likewise.
34732         * nss/nss_db/db-initgroups.c: Likewise.
34733         * nss/nss_db/db-netgrp.c: Likewise.
34734         * nss/nss_files/files-network.c: Likewise.
34735         * nss/nss_files/files-parse.c: Likewise.
34736         * posix/bug-regex5.c: Likewise.
34737         * posix/fnmatch_loop.c: Likewise.
34738         * posix/regcomp.c: Likewise.
34739         * posix/regexec.c: Likewise.
34740         * posix/tst-rfc3484-2.c: Likewise.
34741         * posix/tst-rfc3484-3.c: Likewise.
34742         * posix/tst-rfc3484.c: Likewise.
34743         * resolv/nss_dns/dns-canon.c: Likewise.
34744         * resolv/nss_dns/dns-network.c: Likewise.
34745         * resolv/res_init.c: Likewise.
34746         * resolv/res_mkquery.c: Likewise.
34747         * resolv/tst-aton.c: Likewise.
34748         * stdlib/cxa_atexit.c: Likewise.
34749         * stdlib/cxa_finalize.c: Likewise.
34750         * stdlib/gen-fpioconst.c: Likewise.
34751         * stdlib/strtol_l.c: Likewise.
34752         * string/tst-endian.c: Likewise.
34753         * sunrpc/auth_des.c: Likewise.
34754         * sunrpc/clnt_udp.c: Likewise.
34755         * sunrpc/rtime.c: Likewise.
34756         * sunrpc/svcauth_des.c: Likewise.
34757         * sunrpc/xdr.c: Likewise.
34758         * sunrpc/xdr_intXX_t.c: Likewise.
34759         * sunrpc/xdr_rec.c: Likewise.
34760         * sysdeps/generic/ldconfig.h: Likewise.
34761         * sysdeps/generic/ldsodefs.h: Likewise.
34762         * sysdeps/generic/memusage.h: Likewise.
34763         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
34764         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
34765         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
34766         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
34767         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
34768         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
34769         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
34770         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
34771         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
34772         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
34773         * sysdeps/posix/getaddrinfo.c: Likewise.
34774         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
34775         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
34776         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
34777         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
34778         * sysdeps/powerpc/test-gettimebase.c: Likewise.
34779         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
34780         * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
34781         * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
34782         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
34783         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
34784         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
34785         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
34786         * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
34787         * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
34788         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
34789         * sysdeps/x86_64/dl-tls.h: Likewise.
34790         * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
34791         * time/alt_digit.c: Likewise.
34792         * time/era.c: Likewise.
34793         * wcsmbs/tst-c16c32-1.c: Likewise.
34795 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
34797         * math/libm-test.inc (struct test_sincos_data): New type.
34798         (RUN_TEST_LOOP_sincos): New macro.
34799         (sincos_test_data): New variable.
34800         (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
34802 2013-05-16  Richard Henderson  <rth@redhat.com>
34804         * math/atest-exp2.c (LIMB64): New macro.
34805         (CONSTSZ): New macro.
34806         (mp_exp1, mp_exp_m1, mp_log2): New variables.
34807         (hexdig): Move ...
34808         (print_mpn_fp): ... to function scope.
34809         (read_mpn_hex): Remove.
34810         (get_log2): Remove.
34811         (exp2_mpn): Use mp_log2.
34812         (main): Use mp_exp1.
34814 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
34816         * math/libm-test.inc: Remove comment about not testing "inexact"
34817         exceptions.
34818         (INEXACT_EXCEPTION): New macro.
34819         (NO_INEXACT_EXCEPTION): Likewise.
34820         (INVALID_EXCEPTION_OK): Update value.
34821         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
34822         (OVERFLOW_EXCEPTION_OK): Likewise.
34823         (UNDERFLOW_EXCEPTION_OK): Likewise.
34824         (IGNORE_ZERO_INF_SIGN): Likewise.
34825         (ERRNO_UNCHANGED): Likewise.
34826         (ERRNO_EDOM): Likewise.
34827         (ERRNO_ERANGE): Likewise.
34828         (test_exceptions): Handle testing "inexact" exceptions.
34829         (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
34830         (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
34831         (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
34832         (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
34833         INEXACT_EXCEPTION.
34834         (rint_towardzero_test_data): Likewise.
34835         (rint_downward_test_data): Likewise.
34836         (rint_upward_test_data): Likewise.
34838         * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
34839         with OVERFLOW_EXCEPTION.
34840         (exp10_test_data): Likewise.
34841         (exp2_test_data): Likewise.
34842         (expm1_test_data): Likewise.
34843         (lgamma_test_data): Likewise.
34844         (pow_test_data): Likewise.
34845         (tgamma_test_data): Likewise.
34846         (yn_test_data): Remove duplicate test of overflow.
34848         * math/libm-test.inc (struct test_cc_c_data): New type.
34849         (RUN_TEST_LOOP_cc_c): New macro.
34850         (cpow_test_data): New variable.
34851         (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
34853         * math/libm-test.inc (struct test_f_L_data): New type.
34854         (RUN_TEST_LOOP_f_L): New macro.
34855         (llrint_test_data): New variable.
34856         (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
34857         (llrint_tonearest_test_data): New variable.
34858         (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
34859         (llrint_towardzero_test_data): New variable.
34860         (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
34861         (llrint_downward_test_data): New variable.
34862         (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
34863         (llrint_upward_test_data): New variable.
34864         (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
34865         (llround_test_data): New variable.
34866         (llround_test): Run tests with RUN_TEST_LOOP_f_L.
34868 2013-05-13  Peter Collingbourne  <pcc@google.com>
34870         * math/atest-exp2.c (get_log2): Remove const attribute.
34872 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
34874         * math/libm-test.inc (struct test_f_l_data): New type.
34875         (RUN_TEST_LOOP_f_l): New macro.
34876         (lrint_test_data): New variable.
34877         (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
34878         (lrint_tonearest_test_data): New variable.
34879         (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
34880         (lrint_towardzero_test_data): New variable.
34881         (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
34882         (lrint_downward_test_data): New variable.
34883         (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
34884         (lrint_upward_test_data): New variable.
34885         (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
34886         (lround_test_data): New variable.
34887         (lround_test): Run tests with RUN_TEST_LOOP_f_l.
34889 2013-05-15  Peter Collingbourne  <pcc@google.com>
34891         * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
34892         (EXTRACT_WORDS64) Use where appropriate.
34893         (INSERT_WORDS64) Likewise.
34895         * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
34896         constraints with x constraints.
34897         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
34899         * malloc/obstack.c (_obstack_compat): Add initializer.
34901 2013-05-15  Edjunior Machado  <emachado@linux.vnet.ibm.com>
34903         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
34904         si_trapno and add si_addr_lsb to _sifields.sigfault.
34905         (si_trapno): Remove macro.
34906         (si_addr_lsb): Define new macro.
34907         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
34909 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
34911         * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
34912         instead of TEST_f_l.
34913         (llrint_test_tonearest): Likewise.
34914         (llrint_test_towardzero): Likewise.
34915         (llrint_test_downward): Likewise.
34916         (llrint_test_upward): Likewise.
34917         (llround_test): Likewise.
34919         * math/libm-test.inc (struct test_f_i_data): Add comment.
34920         (RUN_TEST_LOOP_f_b): New macro.
34921         (RUN_TEST_LOOP_f_b_tg): Likewise.
34922         (finite_test_data): New variable.
34923         (finite_test): Run tests with RUN_TEST_LOOP_f_b.
34924         (isfinite_test_data): New variable.
34925         (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
34926         (isinf_test_data): New variable.
34927         (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
34928         (isnan_test_data): New variable.
34929         (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
34930         (isnormal_test_data): New variable.
34931         (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
34932         (issignaling_test_data): New variable.
34933         (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
34934         (signbit_test_data): New variable.
34935         (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
34937         * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
34938         with INVALID_EXCEPTION.
34939         (acosh_test_data): Likewise.
34940         (asin_test_data): Likewise.
34941         (atanh_test_data): Likewise.
34942         (fmod_test_data): Likewise.
34943         (log_test_data): Likewise.
34944         (log10_test_data): Likewise.
34945         (log2_test_data): Likewise.
34946         (pow_test_data): Likewise.
34947         (sqrt_test_data): Likewise.
34948         (y0_test_data): Likewise.
34949         (y1_test_data): Likewise.
34950         (yn_test_data): Likewise.
34952         * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
34953         function contents.
34955         * math/libm-test.inc (struct test_ff_i_data): New type.
34956         (RUN_TEST_LOOP_ff_i_tg): New macro.
34957         (isgreater_test_data): New variable.
34958         (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
34959         (isgreaterequal_test_data): New variable.
34960         (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
34961         (isless_test_data): New variable.
34962         (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
34963         (islessequal_test_data): New variable.
34964         (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
34965         (islessgreater_test_data): New variable.
34966         (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
34967         (isunordered_test_data): New variable.
34968         (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
34970 2013-05-14  David S. Miller  <davem@davemloft.net>
34972         * sysdeps/sparc/fpu/libm-test-ulps: Update.
34974 2013-05-14  Joseph Myers  <joseph@codesourcery.com>
34976         * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
34978         * math/libm-test.inc (struct test_fF_f1_data): Change type of
34979         extra_test to int.
34980         (struct test_f_i_data): Change type of max_ulp to int.
34982         * math/libm-test.inc (test_ffI_f1_data): New type.
34983         (RUN_TEST_LOOP_ffI_f1): New macro.
34984         (remquo_test_data): New variable.
34985         (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
34987         * setjmp/tst-setjmp-fp.c: New file.
34988         * setjmp/Makefile (tests): Add tst-setjmp-fp.
34989         (link-libm): New variable.
34990         ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
34992         * math/libm-test.inc (struct test_f_i_data): New type.
34993         (RUN_TEST_LOOP_f_i): New macro.
34994         (RUN_TEST_LOOP_f_i_tg): Likewise.
34995         (fpclassify_test_data): New variable.
34996         (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
34997         (ilogb_test_data): New variable.
34998         (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
35000         * math/libm-test.inc (scalbln_test): Correct function name in END
35001         call.
35003         * math/libm-test.inc (struct test_f_f1_data): Add comment.
35004         (RUN_TEST_LOOP_fI_f1): New macro.
35005         (frexp_test_data): New variable.
35006         (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
35008         * math/libm-test.inc (struct test_fF_f1_data): New type.
35009         (RUN_TEST_LOOP_fF_f1): New macro.
35010         (modf_test_data): New variable.
35011         (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
35013         * math/libm-test.inc (struct test_f_f1_data): New type.
35014         (RUN_TEST_LOOP_f_f1): New macro.
35015         (gamma_test_data): New variable.
35016         (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
35017         (lgamma_test_data): New variable.
35018         (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
35020 2013-05-13  Carlos O'Donell  <carlos@redhat.com>
35022         * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
35023         * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
35024         (main): Comment "tls" pseudo-hwcap.
35026 2013-05-13  Joseph Myers  <joseph@codesourcery.com>
35028         * math/libm-test.inc (struct test_fl_f_data): New type.
35029         (RUN_TEST_LOOP_fl_f): New variable.
35030         (scalbln_test_data): New variable.
35031         (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
35033         * math/libm-test.inc (struct test_fi_f_data): New type.
35034         (RUN_TEST_LOOP_fi_f): New macro.
35035         (ldexp_test_data): New variable.
35036         (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
35037         (scalbn_test_data): New variable.
35038         (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
35040         * math/libm-test.inc (struct test_c_f_data): New type.
35041         (RUN_TEST_LOOP_c_f): New macro.
35042         (cabs_test_data): New variable.
35043         (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
35044         (carg_test_data): New variable.
35045         (carg_test): Run tests with RUN_TEST_LOOP_c_f.
35046         (cimag_test_data): New variable.
35047         (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
35048         (creal_test_data): New variable.
35049         (creal_test): Run tests with RUN_TEST_LOOP_c_f.
35051         * math/libm-test.inc (struct test_if_f_data): New type.
35052         (RUN_TEST_LOOP_if_f): New macro.
35053         (jn_test_data): New variable.
35054         (jn_test): Run tests with RUN_TEST_LOOP_if_f.
35055         (yn_test_data): New variable.
35056         (yn_test): Run tests with RUN_TEST_LOOP_if_f.
35058         * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
35060 2013-05-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35062         * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
35063         (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
35065 2013-05-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
35067         * benchtests/Makefile (CPPFLAGS-nonlib): Add
35068         -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
35069         (bench-deps): Add bench-timing.h.
35070         * benchtests-bench-skeleton.c: Include bench-timing.h.
35071         (main): Use TIMING_* macros instead of clock_gettime.
35072         * benchtests/bench-timing.h: New file.
35074         [BZ #14582]
35075         * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
35076         Renamed from _LIB_VERSION.
35077         (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
35079 2013-05-12  Joseph Myers  <joseph@codesourcery.com>
35081         * math/libm-test.inc (struct test_fff_f_data): New type.
35082         (RUN_TEST_LOOP_fff_f): New macro.
35083         (fma_test_data): New variable.
35084         (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
35085         (fma_towardzero_test_data): New variable.
35086         (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
35087         (fma_downward_test_data): New variable.
35088         (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
35089         (fma_upward_test_data): New variable.
35090         (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
35092         * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
35093         (struct test_c_c_data): New type.
35094         (RUN_TEST_LOOP_c_c): New macro.
35095         (cacos_test_data): New variable.
35096         (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
35097         (cacosh_test_data): New variable.
35098         (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
35099         (casin_test_data): New variable.
35100         (casin_test): Run tests with RUN_TEST_LOOP_c_c.
35101         (casinh_test_data): New variable.
35102         (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
35103         (catan_test_data): New variable.
35104         (catan_test): Run tests with RUN_TEST_LOOP_c_c.
35105         (catanh_test_data): New variable.
35106         (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
35107         (ccos_test_data): New variable.
35108         (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
35109         (ccosh_test_data): New variable.
35110         (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
35111         (cexp_test_data): New variable.
35112         (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
35113         (clog_test_data): New variable.
35114         (clog_test): Run tests with RUN_TEST_LOOP_c_c.
35115         (clog10_test_data): New variable.
35116         (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
35117         (conj_test_data): New variable.
35118         (conj_test): Run tests with RUN_TEST_LOOP_c_c.
35119         (cproj_test_data): New variable.
35120         (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
35121         (csin_test_data): New variable.
35122         (csin_test): Run tests with RUN_TEST_LOOP_c_c.
35123         (csinh_test_data): New variable.
35124         (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
35125         (csqrt_test_data): New variable.
35126         (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
35127         (ctan_test_data): New variable.
35128         (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
35129         (ctan_tonearest_test_data): New variable.
35130         (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
35131         (ctan_towardzero_test_data): New variable.
35132         (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
35133         (ctan_downward_test_data): New variable.
35134         (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
35135         (ctan_upward_test_data): New variable.
35136         (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
35137         (ctanh_test_data): New variable.
35138         (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
35139         (ctanh_tonearest_test_data): New variable.
35140         (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
35141         (ctanh_towardzero_test_data): New variable.
35142         (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
35143         (ctanh_downward_test_data): New variable.
35144         (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
35145         (ctanh_upward_test_data): New variable.
35146         (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
35147         * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
35148         of BUILD_COMPLEX.
35150         * math/libm-test.inc (struct test_ff_f_data): New type.
35151         (struct test_ff_f_data_nexttoward): Likewise.
35152         (RUN_TEST_LOOP_2_f): New macro.
35153         (RUN_TEST_LOOP_ff_f): Likewise.
35154         (atan2_test_data): New variable.
35155         (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
35156         (copysign_test_data): New variable.
35157         (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
35158         (fdim_test_data): New variable.
35159         (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
35160         (fmax_test_data): New variable.
35161         (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
35162         (fmin_test_data): New variable.
35163         (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
35164         (fmod_test_data): New variable.
35165         (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
35166         (hypot_test_data): New variable.
35167         (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
35168         (nextafter_test_data): New variable.
35169         (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
35170         (nexttoward_test_data): New variable.
35171         (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
35172         (pow_test_data): New variable.
35173         (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
35174         (pow_tonearest_test_data): New variable.
35175         (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
35176         (pow_towardzero_test_data): New variable.
35177         (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
35178         (pow_downward_test_data): New variable.
35179         (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
35180         (pow_upward_test_data): New variable.
35181         (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
35182         (remainder_test_data): New variable.
35183         (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
35184         (scalb_test_data): New variable.
35185         (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
35186         * sysdeps/i386/fpu/libm-test-ulps: Update.
35188 2013-05-11  Joseph Myers  <joseph@codesourcery.com>
35190         * math/libm-test.inc (fma_test): Use max_value instead of local
35191         variable fltmax.
35192         (nextafter_test): Likewise.
35194         * math/libm-test.inc (acos_towardzero_test_data): New variable.
35195         (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
35196         (acos_downward_test_data): New variable.
35197         (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
35198         (acos_upward_test_data): New variable.
35199         (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
35200         (acosh_test_data): New variable.
35201         (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
35202         (asin_test_data): New variable.
35203         (asin_test): Run tests with RUN_TEST_LOOP_f_f.
35204         (asin_tonearest_test_data): New variable.
35205         (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
35206         (asin_towardzero_test_data): New variable.
35207         (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
35208         (asin_downward_test_data): New variable.
35209         (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
35210         (asin_upward_test_data): New variable.
35211         (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
35212         (asinh_test_data): New variable.
35213         (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
35214         (atan_test_data): New variable.
35215         (atan_test): Run tests with RUN_TEST_LOOP_f_f.
35216         (atanh_test_data): New variable.
35217         (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
35218         (cbrt_test_data): New variable.
35219         (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
35220         (ceil_test_data): New variable.
35221         (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
35222         (cos_test_data): New variable.
35223         (cos_test): Run tests with RUN_TEST_LOOP_f_f.
35224         (cos_tonearest_test_data): New variable.
35225         (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
35226         (cos_towardzero_test_data): New variable.
35227         (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
35228         (cos_downward_test_data): New variable.
35229         (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
35230         (cos_upward_test_data): New variable.
35231         (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
35232         (cosh_test_data): New variable.
35233         (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
35234         (cosh_tonearest_test_data): New variable.
35235         (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
35236         (cosh_towardzero_test_data): New variable.
35237         (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
35238         (cosh_downward_test_data): New variable.
35239         (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
35240         (cosh_upward_test_data): New variable.
35241         (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
35242         (erf_test_data): New variable.
35243         (erf_test): Run tests with RUN_TEST_LOOP_f_f.
35244         (erfc_test_data): New variable.
35245         (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
35246         (exp_test_data): New variable.
35247         (exp_test): Run tests with RUN_TEST_LOOP_f_f.
35248         (exp_tonearest_test_data): New variable.
35249         (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
35250         (exp_towardzero_test_data): New variable.
35251         (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
35252         (exp_downward_test_data): New variable.
35253         (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
35254         (exp_upward_test_data): New variable.
35255         (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
35256         (exp10_test_data): New variable.
35257         (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
35258         (exp2_test_data): New variable.
35259         (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
35260         (expm1_test_data): New variable.
35261         (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
35262         (fabs_test_data): New variable.
35263         (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
35264         (floor_test_data): New variable.
35265         (floor_test): Run tests with RUN_TEST_LOOP_f_f.
35266         (j0_test_data): New variable.
35267         (j0_test): Run tests with RUN_TEST_LOOP_f_f.
35268         (j1_test_data): New variable.
35269         (j1_test): Run tests with RUN_TEST_LOOP_f_f.
35270         (log_test_data): New variable.
35271         (log_test): Run tests with RUN_TEST_LOOP_f_f.
35272         (log10_test_data): New variable.
35273         (log10_test): Run tests with RUN_TEST_LOOP_f_f.
35274         (log1p_test_data): New variable.
35275         (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
35276         (log2_test_data): New variable.
35277         (log2_test): Run tests with RUN_TEST_LOOP_f_f.
35278         (logb_test_data): New variable.
35279         (logb_test): Run tests with RUN_TEST_LOOP_f_f.
35280         (logb_downward_test_data): New variable.
35281         (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
35282         (nearbyint_test_data): New variable.
35283         (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
35284         (rint_test_data): New variable.
35285         (rint_test): Run tests with RUN_TEST_LOOP_f_f.
35286         (rint_tonearest_test_data): New variable.
35287         (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
35288         (rint_towardzero_test_data): New variable.
35289         (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
35290         (rint_downward_test_data): New variable.
35291         (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
35292         (rint_upward_test_data): New variable.
35293         (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
35294         (round_test_data): New variable.
35295         (round_test): Run tests with RUN_TEST_LOOP_f_f.
35296         (sin_test_data): New variable.
35297         (sin_test): Run tests with RUN_TEST_LOOP_f_f.
35298         (sin_tonearest_test_data): New variable.
35299         (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
35300         (sin_towardzero_test_data): New variable.
35301         (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
35302         (sin_downward_test_data): New variable.
35303         (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
35304         (sin_upward_test_data): New variable.
35305         (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
35306         (sinh_test_data): New variable.
35307         (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
35308         (sinh_tonearest_test_data): New variable.
35309         (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
35310         (sinh_towardzero_test_data): New variable.
35311         (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
35312         (sinh_downward_test_data): New variable.
35313         (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
35314         (sinh_upward_test_data): New variable.
35315         (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
35316         (sqrt_test_data): New variable.
35317         (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
35318         (tan_test_data): New variable.
35319         (tan_test): Run tests with RUN_TEST_LOOP_f_f.
35320         (tan_tonearest_test_data): New variable.
35321         (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
35322         (tan_towardzero_test_data): New variable.
35323         (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
35324         (tan_downward_test_data): New variable.
35325         (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
35326         (tan_upward_test_data): New variable.
35327         (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
35328         (tanh_test_data): New variable.
35329         (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
35330         (tgamma_test_data): New variable.
35331         (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
35332         (trunc_test_data): New variable.
35333         (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
35334         (y0_test_data): New variable.
35335         (y0_test): Run tests with RUN_TEST_LOOP_f_f.
35336         (y1_test_data): New variable.
35337         (y1_test): Run tests with RUN_TEST_LOOP_f_f.
35338         (significand_test_data): New variable.
35339         (significand_test): Run tests with RUN_TEST_LOOP_f_f.
35341 2013-05-10  Christian Grönke  <cgr_bugs@sysgo.com>
35343         [BZ #12387]
35344         * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
35346 2013-05-10  Pino Toscano  <toscano.pino@tiscali.it>
35348         * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
35350 2013-05-10  Andreas Jaeger  <aj@suse.de>
35352         [BZ #15448]
35353         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
35354         (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
35356 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
35358         * math/gen-libm-test.pl (adjust_arg): New function.
35359         (special_functions): Handle generating output in both functions
35360         and arrays.
35361         (parse_args): Likewise.
35362         (generate_testfile): Handle START_DATA and END_DATA.  Pass extra
35363         $in_func argument to parse_args.
35364         * math/libm-test.inc (struct test_f_f_data): New type.
35365         (IF_ROUND_INIT_): New macro.
35366         (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
35367         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
35368         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
35369         (IF_ROUND_INIT_FE_UPWARD): Likewise.
35370         (ROUND_RESTORE_): Likewise.
35371         (ROUND_RESTORE_FE_DOWNWARD): Likewise.
35372         (ROUND_RESTORE_FE_TONEAREST): Likewise.
35373         (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
35374         (ROUND_RESTORE_FE_UPWARD): Likewise.
35375         (RUN_TEST_LOOP_f_f): New macro.
35376         (acos_test_data): New variable.
35377         (acos_test): Run tests with RUN_TEST_LOOP_f_f.
35378         (acos_tonearest_test_data): New variable.
35379         (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
35381 2013-05-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
35383         * benchtests/bench-skeleton.c (startup): Fix coding style.
35385 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
35387         [BZ #6809]
35388         * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
35389         negative infinity argument.
35390         * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
35391         negative infinity argument.
35392         * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
35393         negative infinity argument.
35394         * math/libm-test.inc (tgamma_test): Expect errno to be set for
35395         domain errors.
35397 2013-05-10  Florian Weimer  <fweimer@redhat.com>
35399         * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
35400         * iconv/iconv_charmap.c (charmap_conversion): Likewise.
35401         * iconv/iconv_prog.c (main): Likewise.
35402         * locale/programs/charmap-dir.c (charmap_readdir)
35403         (fopen_uncompressed): Likewise.
35404         * locale/programs/locfile.c (siblings_uncached)
35405         (write_locale_data): Use lstat64 instead of lstat.
35406         * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
35407         stat.
35409 2013-05-10  Andreas Jaeger  <aj@suse.de>
35411         [BZ #15395]
35412         * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
35413         localization.
35414         Include <locale.h>.
35416 2013-05-09  Carlos O'Donell  <carlos@redhat.com>
35418         * elf/dl-close.c (_dl_close_worker): Add comments.
35420 2013-05-09  Joseph Myers  <joseph@codesourcery.com>
35422         [BZ #15359]
35423         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
35424         high part of pi/2.
35425         (__ieee754_rem_pio2l): Update comments.
35427         [BZ #15429]
35428         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
35429         high part of pi/2.
35430         (__ieee754_rem_pio2l): Update comments.
35432         * math/libm-test.inc (M_SQRT_2_2): Remove macro.
35433         (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
35435         * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
35436         M_PI_4l.
35438         * math/libm-test.inc (M_PI_34l): Define using decimal constant.
35439         (M_PI_34_LOG10El): Likewise.
35440         (M_PI2_LOG10El): Likewise.
35441         (M_PI4_LOG10El): Likewise.
35442         (M_PI_LOG10El): Likewise.
35444 2013-05-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35446         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35448 2013-05-08  Joseph Myers  <joseph@codesourcery.com>
35450         * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
35451         (MINUS_ZERO_INIT): Likewise.
35452         (PLUS_INFTY_INIT): Likewise.
35453         (MINUS_INFTY_INIT): Likewise.
35454         (QNAN_VALUE_INIT): Likewise.
35455         (MAX_VALUE_INIT): Likewise.
35456         (MIN_VALUE_INIT): Likewise.
35457         (MIN_SUBNORM_VALUE_INIT): Likewise.
35458         (plus_zero): Initialize with PLUS_ZERO_INIT.
35459         (minus_zero): Initialize with MINUS_ZERO_INIT.
35460         (plus_infty): Initialize with PLUS_INFTY_INIT.
35461         (minus_infty): Initialize with MINUS_INFTY_INIT.
35462         (qnan_value): Initialize with QNAN_VALUE_INIT.
35463         (max_value): Initialize with MAX_VALUE_INIT.
35464         (min_value): Initialize with MIN_VALUE_INIT.
35465         (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
35467         * math/libm-test.inc (RUN_TEST_if_f): New macro.
35468         (jn_test): Use TEST_if_f instead of TEST_ff_f.
35469         (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
35470         (yn_test): Use TEST_if_f instead of TEST_ff_f.
35472         * math/libm-test.inc (RUN_TEST_f_f): New macro.
35473         (RUN_TEST_2_f): Likewise.
35474         (RUN_TEST_ff_f): Likewise.
35475         (RUN_TEST_fi_f): Likewise.
35476         (RUN_TEST_fl_f): Likewise.
35477         (RUN_TEST_fff_f): Likewise.
35478         (RUN_TEST_c_f): Likewise.
35479         (RUN_TEST_f_f1): Likewise.
35480         (RUN_TEST_fF_f1): Likewise.
35481         (RUN_TEST_fI_f1): Likewise.
35482         (RUN_TEST_ffI_f1): Likewise.
35483         (RUN_TEST_c_c): Likewise.
35484         (RUN_TEST_cc_c): Likewise.
35485         (RUN_TEST_f_i): Likewise.
35486         (RUN_TEST_f_i_tg): Likewise.
35487         (RUN_TEST_ff_i_tg): Likewise.
35488         (RUN_TEST_f_b): Likewise.
35489         (RUN_TEST_f_b_tg): Likewise.
35490         (RUN_TEST_f_l): Likewise.
35491         (RUN_TEST_f_L): Likewise.
35492         (RUN_TEST_sincos): Likewise.
35493         * math/gen-libm-test.pl (new_test): Take new argument to indicate
35494         whether to show exceptions.  Do not include ");\n" in return
35495         value.
35496         (special_functions): Output call to RUN_TEST_sincos instead of
35497         check_float calls.  Update calls to new_test.
35498         (parse_args): Output call to single RUN_TEST_* macro instead of
35499         check_* calls and other assignments.  Update calls to new_test.
35501         [BZ #2546]
35502         [BZ #2560]
35503         [BZ #5159]
35504         [BZ #15426]
35505         * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
35506         input to result for tgamma overflow.
35507         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
35508         (gamma_coeff): New variable.
35509         (NCOEFF): New macro.
35510         (gamma_positive): New function.
35511         (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
35512         underflow here.  Use gamma_positive instead of exp (lgamma) for
35513         other arguments.
35514         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
35515         (gamma_coeff): New variable.
35516         (NCOEFF): New macro.
35517         (gammaf_positive): New function.
35518         (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
35519         underflow here.  Use gamma_positive instead of exp (lgamma) for
35520         other arguments.
35521         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
35522         (gamma_coeff): New variable.
35523         (NCOEFF): New macro.
35524         (gammal_positive): New function.
35525         (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
35526         underflow here.  Use gamma_positive instead of exp (lgamma) for
35527         other arguments.
35528         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
35529         (gamma_coeff): New variable.
35530         (NCOEFF): New macro.
35531         (gammal_positive): New function.
35532         (__ieee754_gammal_r): Handle positive infinity, overflow and
35533         underflow here.  Handle NaN the same as positive infinity.  Remove
35534         check x < 0xffffffff for negative integers.  Use gamma_positive
35535         instead of exp (lgamma) for other arguments.
35536         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
35537         (gamma_coeff): New variable.
35538         (NCOEFF): New macro.
35539         (gammal_positive): New function.
35540         * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
35541         * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
35542         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
35543         * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
35544         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
35545         * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
35546         * sysdeps/generic/math_private.h (__gamma_productf): New
35547         prototype.
35548         (__gamma_product): Likewise.
35549         (__gamma_productl): Likewise.
35550         * math/Makefile (libm-calls): Add gamma_product.
35551         * math/libm-test.inc (tgamma_test): Add more tests.
35552         * sysdeps/i386/fpu/libm-test-ulps: Update.
35553         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35555 2013-05-08  Ondřej Bílka  <neleai@seznam.cz>
35557         * benchtests/bench-skeleton.c (main): Preheat CPU.
35559 2013-05-07  Aurelien Jarno <aurelien@aurel32.net>
35561         * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
35563 2013-05-07  Roland McGrath  <roland@hack.frob.com>
35565         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
35566         and _dl_skip_args_internal.
35568 2013-05-07  Carlos O'Donell  <carlos@redhat.com>
35570         * manual/message.texi (Message Translation): Talk about users.
35571         Message to key mapping impacts design.
35573 2013-05-06  Roland McGrath  <roland@hack.frob.com>
35575         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
35577         * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
35579         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
35580         * sysdeps/wordsize-64/glob64.c: ... here.
35582         * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
35583         (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
35584         New macros.
35586         * debug/getlogin_r_chk.c: Moved to ...
35587         * login/getlogin_r_chk.c: ... here.
35588         * debug/Makefile (routines): Move getlogin_r_chk to ...
35589         * login/Makefile (routines): ... here.
35590         * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
35591         * login/Versions (libc: GLIBC_2.4): ... here.
35593         * io/poll.c (__poll): Renamed from poll.
35594         Add libc_hidden_def.
35595         (poll): Define as weak alias.
35597         * debug/ptsname_r_chk.c: Moved to ...
35598         * login/ptsname_r_chk.c: ... here.
35599         * debug/Makefile (routines): Move ptsname_r_chk to ...
35600         * login/Makefile (routines): ... here.
35601         * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
35602         * login/Versions (libc: GLIBC_2.4): ... here.
35604         * posix/getlogin.c: Moved to ...
35605         * login/getlogin.c: ... here.
35606         * posix/getlogin_r.c: Moved to ...
35607         * login/getlogin_r.c: ... here.
35608         * posix/getlogin_r.c: Moved to ...
35609         * login/getlogin_r.c: ... here.
35610         * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
35611         * login/Makefile (routines): ... here.
35612         * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
35613         * login/Versions (libc: GLIBC_2.0): ... here.
35615         * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
35616         (setrlimit): Define as weak alias.
35618         * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
35619         Call __ names for open, ftruncate, and close.
35620         For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
35621         (truncate): Define as weak alias.
35623 2013-05-06  Joseph Myers  <joseph@codesourcery.com>
35625         * math/gen-libm-test.pl (parse_args): Initialize x before each
35626         test of frexp, modf and remquo.
35628         * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
35629         test signgam value.
35631 2013-05-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35633         [BZ #15418]
35634         [BZ #15419]
35635         * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
35636         internal tests.
35637         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
35639 2013-05-06  Roland McGrath  <roland@hack.frob.com>
35641         * elf/dl-writev.h: New file.
35642         * elf/dl-misc.c: Include it.
35643         (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
35644         * sysdeps/unix/sysv/linux/dl-writev.h: New file.
35646 2013-05-04  Joseph Myers  <joseph@codesourcery.com>
35648         * math/libm-test.inc (noXFails): Remove variable.
35649         (noXPasses): Likewise.
35650         (BUILD_COMPLEX_INT): Remove macro.
35651         (print_screen): Remove xfail argument.
35652         (print_screen_max_error): Likewise.
35653         (update_stats): Likewise.
35654         (print_max_error): Likewise.  Update calls to other affected
35655         functions.
35656         (print_complex_max_error): Likewise.
35657         (test_single_exception): Update calls to print_screen.
35658         (test_single_errno): Likewise.
35659         (check_float_internal): Remove xfail argument.  Update calls to
35660         other affected functions.
35661         (check_float): Likewise.
35662         (check_complex): Likewise.
35663         (check_int): Likewise.
35664         (check_long): Likewise.
35665         (check_bool): Likewise.
35666         (check_longlong): Likewise.
35667         (main): Don't print noXFails and noXPasses.
35668         * math/gen-libm-test.pl (top level): Don't mention expected
35669         failure handling in comment.
35670         (new_test): Don't handle expected failures.
35671         (parse_args): Don't mention expected failure handling in comment.
35672         (generate_testfile): Don't handle expected failures.
35673         (parse_ulps): Likewise.
35674         (print_ulps_file): Likewise.
35675         (get_failure): Remove function.
35676         (output_test): Don't handle expected failures.
35677         * make/README.libm-test: Don't mention expected failure handling.
35679         * math/libm-test.inc (plus_zero): Make const.  Add initializer.
35680         (minus_zero): Likewise.
35681         (plus_infty): Likewise.
35682         (minus_infty): Likewise.
35683         (qnan_value): Likewise.
35684         (max_value): Likewise.
35685         (min_value): Likewise.
35686         (min_subnorm_value): Likewise.
35687         (initialize): Do not initialize those variables dynamically.
35689 2013-05-03  Roland McGrath  <roland@hack.frob.com>
35691         * io/open.c (__open_2): Moved to ...
35692         * io/open_2.c: ... this new file.
35693         * io/open64.c (__open64_2): Moved to ...
35694         * io/open64_2.c: ... this new file.
35695         * io/openat.c (__openat_2): Moved to ...
35696         * io/openat_2.c: ... this new file.
35697         * io/openat64.c (__openat64_2): Moved to ...
35698         * io/openat64_2.c: ... this new file.
35699         * io/Makefile (routines): Add them.
35700         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
35701         * sysdeps/unix/sysv/linux/open_2.c: File removed.
35702         * sysdeps/unix/sysv/linux/open64_2.c: File removed.
35703         * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
35704         * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
35705         * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
35706         (__openat64): Add hidden_ver.
35707         * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
35708         * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
35710         * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
35711         Separately conditionalize setting of GLRO(dl_sysinfo) so
35712         that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
35713         as well, but the actual setting is only under [NEED_DL_SYSINFO].
35715 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35717         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
35718         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
35719         definition.
35720         (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
35721         * sysdeps/unix/sysv/linux/powerpc/init-first.c
35722         (_libc_vdso_platform_setup): Add __vdso_time initialization.
35723         * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
35724         for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
35726 2013-05-03  Joseph Myers  <joseph@codesourcery.com>
35728         * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
35729         test signgam value.
35731         * math/libm-test.inc (hypot_test): Do not use
35732         IGNORE_ZERO_INF_SIGN.
35734 2013-05-03  Andreas Jaeger  <aj@suse.de>
35736         * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
35737         Linux 3.9.
35738         * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
35739         (PF_MAX): Adjust for VSOCK change.
35741 2013-05-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35743         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35745 2013-05-02  Carlos O'Donell  <carlos@redhat.com>
35747         [BZ #15264]
35748         * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
35749         * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
35750         * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
35752 2013-05-02  David S. Miller  <davem@davemloft.net>
35754         * sysdeps/sparc/fpu/libm-test-ulps: Update.
35756 2013-05-01  Ondřej Bílka  <neleai@seznam.cz>
35758         * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
35760 2013-05-01  Roland McGrath  <roland@hack.frob.com>
35762         * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
35764 2013-05-01  Richard Smith  <richard@metafoo.co.uk>
35766         [BZ #14952]
35767         * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
35768         [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
35769         Use __attribute__ ((__gnu_inline__)).
35770         [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
35771         Don't use __attribute__ ((__gnu_inline__)).
35773 2013-05-01  Joseph Myers  <joseph@codesourcery.com>
35775         [BZ #15423]
35776         * math/s_catan.c (__catan): Handle small real or imaginary part of
35777         input specially to avoid spurious underflow.
35778         * math/s_catanf.c (__catanf): Likewise.
35779         * math/s_catanh.c (__catanh): Likewise.
35780         * math/s_catanhf.c (__catanhf): Likewise.
35781         * math/s_catanhl.c (__catanhl): Likewise.
35782         * math/s_catanl.c (__catanl): Likewise.
35783         * math/libm-test.inc (catan_test): Add more tests.
35784         (catanh_test): Likewise.
35785         * sysdeps/i386/fpu/libm-test-ulps: Update.
35786         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35788 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35790         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35792 2013-04-30  Joseph Myers  <joseph@codesourcery.com>
35794         [BZ #15416]
35795         * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
35796         accurately for denominator in atan2.
35797         * math/s_catanf.c (__catanf): Likewise.
35798         * math/s_catanh.c (__catanh): Likewise.
35799         * math/s_catanhf.c (__catanhf): Likewise.
35800         * math/s_catanhl.c (__catanhl): Likewise.
35801         * math/s_catanl.c (__catanl): Likewise.
35802         * math/libm-test.inc (catan_test): Add more tests.
35803         (catanh_test): Likewise.
35804         * sysdeps/i386/fpu/libm-test-ulps: Update.
35805         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35807 2013-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
35809         * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
35811         * benchtests/Makefile (bench): Remove slow benchmarks.
35812         * benchtests/atan-inputs: Add slow benchmark inputs.
35813         * benchtests/bench-modf.c (NUM_VARIANTS): Define.
35814         (BENCH_FUNC): Accept variant offset.
35815         (VARIANT): Define.
35816         * benchtests/bench-skeleton.c (main): Run benchmark for each
35817         variant.
35818         * benchtests/cos-inputs: Add slow benchmark inputs.
35819         * benchtests/exp-inputs: Likewise.
35820         * benchtests/pow-inputs: Likewise.
35821         * benchtests/sin-inputs: Likewise.
35822         * benchtests/slowatan-inputs: Remove.
35823         * benchtests/slowatan.c: Remove.
35824         * benchtests/slowcos-inputs: Remove.
35825         * benchtests/slowcos.c: Remove.
35826         * benchtests/slowexp-inputs: Remove.
35827         * benchtests/slowexp.c: Remove.
35828         * benchtests/slowpow-inputs: Remove.
35829         * benchtests/slowpow.c: Remove.
35830         * benchtests/slowsin-inputs: Remove.
35831         * benchtests/slowsin.c: Remove.
35832         * benchtests/slowtan-inputs: Remove.
35833         * benchtests/slowtan.c: Remove.
35834         * benchtests/tan-inputs: Add slow benchmark inputs.
35835         * scripts/bench.pl: Parse comments and directives.
35837         * benchtests/Makefile: Remove *-ITER.  Define BENCH_DURATION
35838         in CPPFLAGS.
35839         ($(objpfx)bench-%.c): Remove *-ITER.
35840         * benchtests/bench-modf.c: Remove definition of ITER.
35841         * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
35842         (main): Loop for DURATION seconds instead of fixed number of
35843         iterations.
35844         * scripts/bench.pl: Don't expect iterations in parameters.
35846 2013-04-29  Roland McGrath  <roland@hack.frob.com>
35848         * io/fchdir.c (__fchdir): Renamed from fchdir.
35849         (fchdir): Define as weak alias.
35851 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
35853         * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
35854         (ERRNO_EDOM): Likewise.
35855         (ERRNO_ERANGE): Likewise.
35856         (noErrnoTests): New variable.
35857         (init_max_error): Set errno to 0.
35858         (test_single_errno): New function.
35859         (test_errno): Likewise.
35860         (check_float_internal): Call test_errno.  Set errno to 0.
35861         (check_complex): Refer to errno tests in comment.
35862         (check_int): Call test_errno.  Set errno to 0.
35863         (check_long): Likewise.
35864         (check_bool): Likewise.
35865         (check_longlong): Likewise.
35866         (cos_test): Use ERRNO_* flags for errno tests instead of
35867         check_int.
35868         (expm1_test): Likewise.
35869         (fmod_test): Likewise.
35870         (ilogb_test): Likewise.
35871         (lgamma_test): Likewise.
35872         (pow_test): Likewise.
35873         (remainder_test): Likewise.
35874         (sin_test): Likewise.
35875         (tan_test): Likewise.
35876         (yn_test): Likewise.
35877         (initialize): Set errno to 0.
35878         (main): Print number of errno tests.
35879         * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
35881 2013-04-29  Andreas Jaeger  <aj@suse.de>
35883         [BZ #15084]
35884         * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
35885         and RES_USEVC.
35887         [BZ #15085]
35888         * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
35889         * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
35890         unimplemented.
35892         [BZ #15380]
35893         * stdlib/random.c (__initstate): Return NULL if
35894         __initstate fails.
35896         [BZ #15086]
35897         * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
35898         RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
35899         RES_SNGLKUPREOP.
35901 2013-04-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35903         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35905 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
35907         * math/libm-test.inc (cacos_test): Add missing semicolons at ends
35908         of individual tests.
35909         (casin_test): Likewise.
35910         (casinh_test): Likewise.
35912 2013-04-27  Joseph Myers  <joseph@codesourcery.com>
35914         [BZ #15409]
35915         * math/s_catan.c (__catan): Handle arguments with large real or
35916         imaginary part separately without squaring.
35917         * math/s_catanf.c (__catanf): Likewise.
35918         * math/s_catanh.c (__catanh): Likewise.
35919         * math/s_catanhf.c (__catanhf): Likewise.
35920         * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
35921         and redefine.
35922         (__catanhl): Handle arguments with large real or imaginary part
35923         separately without squaring.
35924         * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
35925         and redefine.
35926         (__catanl): Handle arguments with large real or imaginary part
35927         separately without squaring.
35928         * math/libm-test.inc (catan_test): Add more tests.
35929         (catanh_test): Likewise.
35930         * sysdeps/i386/fpu/libm-test-ulps: Update.
35931         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35933 2013-04-27  Andreas Jaeger  <aj@suse.de>
35935         [BZ #15007]
35936         * stdlib/stdlib.h: Update guards for qecvt.
35937         * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
35938         <stdlib.h>.
35940 2013-04-27  Allan McRae  <allan@archlinux.org>
35942         * sysdeps/i386/fpu/libm-test-ulps: Update.
35944 2013-04-26  Joseph Myers  <joseph@codesourcery.com>
35946         [BZ #15406]
35947         * math/s_catan.c: Include <float.h>.
35948         (__catan): Ensure underflow exception occurs for underflowed
35949         result.
35950         * math/s_catanf.c: Include <float.h>.
35951         (__catanf): Ensure underflow exception occurs for underflowed
35952         result.
35953         * math/s_catanh.c: Include <float.h>.
35954         (__catanh): Ensure underflow exception occurs for underflowed
35955         result.
35956         * math/s_catanhf.c: Include <float.h>.
35957         (__catanhf): Ensure underflow exception occurs for underflowed
35958         result.
35959         * math/s_catanhl.c: Include <float.h>.
35960         (__catanhl): Ensure underflow exception occurs for underflowed
35961         result.
35962         * math/s_catanl.c: Include <float.h>.
35963         (__catanl): Ensure underflow exception occurs for underflowed
35964         result.
35965         * math/libm-test.inc (catan_test): Add more tests.
35966         (catanh_test): Likewise.
35968         [BZ #15405]
35969         * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
35970         underflowed result.
35971         * math/s_ccoshf.c (__ccoshf): Likewise.
35972         * math/s_ccoshl.c (__ccoshl): Likewise.
35973         * math/s_csin.c (__csin): Likewise.
35974         * math/s_csinf.c (__csinf): Likewise.
35975         * math/s_csinh.c (__csinh): Likewise.
35976         * math/s_csinhf.c (__csinhf): Likewise.
35977         * math/s_csinhl.c (__csinhl): Likewise.
35978         * math/s_csinl.c (__csinl): Likewise.
35979         * math/libm-test.inc (ccos_test): Add more tests.
35980         (ccosh_test): Likewise.
35981         (csin_test): Likewise.
35982         (csinh_test): Likewise.
35984 2013-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35986         * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
35987         * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
35988         * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
35989         * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
35990         * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
35991         powerpc/power5+/fpu folders.
35992         * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
35995 2013-04-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
35997         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
35999 2013-04-25  Joseph Myers  <joseph@codesourcery.com>
36001         * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
36002         additions to variable.
36003         [$(config-machine) = x86_64] (modules-names): Likewise.
36004         ($(objpfx)tst-audit3): Remove dependency.
36005         ($(objpfx)tst-audit3.out): Likewise.
36006         ($(objpfx)tst-audit4): Likewise.
36007         ($(objpfx)tst-audit4.out): Likewise.
36008         ($(objpfx)tst-audit5): Likewise.
36009         ($(objpfx)tst-audit5.out): Likewise.
36010         ($(objpfx)tst-audit6): Likewise.
36011         ($(objpfx)tst-audit6.out): Likewise.
36012         ($(objpfx)tst-audit7): Likewise.
36013         ($(objpfx)tst-audit7.out): Likewise.
36014         (tst-audit3-ENV): Remove variable.
36015         (tst-audit4-ENV): Likewise.
36016         (tst-audit5-ENV): Likewise.
36017         (tst-audit6-ENV): Likewise.
36018         (tst-audit7-ENV): Likewise.
36019         [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
36020         [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
36021         addition to variable.
36022         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
36023         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
36024         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
36025         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
36026         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
36027         * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
36028         tst-audit3, tst-audit4 and tst-audit5.
36029         [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
36030         tst-audit6 and tst-audit7.
36031         [$(subdir) = elf] (modules-names): Add audit modules for those
36032         tests.
36033         [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
36034         [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
36035         [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
36036         [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
36037         [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
36038         [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
36039         [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
36040         [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
36041         [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
36042         [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
36043         [$(subdir) = elf] (tst-audit3-ENV): New variable.
36044         [$(subdir) = elf] (tst-audit4-ENV): Likewise.
36045         [$(subdir) = elf] (tst-audit5-ENV): Likewise.
36046         [$(subdir) = elf] (tst-audit6-ENV): Likewise.
36047         [$(subdir) = elf] (tst-audit7-ENV): Likewise.
36048         [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
36049         Likewise.
36050         [$(subdir) = elf && $(config-cflags-avx) = yes]
36051         (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
36052         [$(subdir) = elf && $(config-cflags-avx) = yes]
36053         (CFLAGS-tst-auditmod4a.c): Likewise.
36054         [$(subdir) = elf && $(config-cflags-avx) = yes]
36055         (CFLAGS-tst-auditmod4b.c): Likewise.
36056         [$(subdir) = elf && $(config-cflags-avx) = yes]
36057         (CFLAGS-tst-auditmod6b.c): Likewise.
36058         [$(subdir) = elf && $(config-cflags-avx) = yes]
36059         (CFLAGS-tst-auditmod6c.c): Likewise.
36060         [$(subdir) = elf && $(config-cflags-avx) = yes]
36061         (CFLAGS-tst-auditmod7b.c): Likewise.
36062         * elf/tst-audit3.c: Move to ...
36063         * sysdeps/x86_64/tst-audit3.c: ... here.
36064         * elf/tst-audit4.c: Move to ...
36065         * sysdeps/x86_64/tst-audit4.c: ... here.
36066         * elf/tst-audit5.c: Move to ...
36067         * sysdeps/x86_64/tst-audit5.c: ... here.
36068         * elf/tst-audit6.c: Move to ...
36069         * sysdeps/x86_64/tst-audit6.c: ... here.
36070         * elf/tst-audit7.c: Move to ...
36071         * sysdeps/x86_64/tst-audit7.c: ... here.
36072         * elf/tst-auditmod3a.c: Move to ...
36073         * sysdeps/x86_64/tst-auditmod3a.c: ... here.
36074         * elf/tst-auditmod3b.c: Move to ...
36075         * sysdeps/x86_64/tst-auditmod3b.c: ... here.
36076         * elf/tst-auditmod4a.c: Move to ...
36077         * sysdeps/x86_64/tst-auditmod4a.c: ... here.
36078         * elf/tst-auditmod4b.c: Move to ...
36079         * sysdeps/x86_64/tst-auditmod4b.c: ... here.
36080         * elf/tst-auditmod5a.c: Move to ...
36081         * sysdeps/x86_64/tst-auditmod5a.c: ... here.
36082         * elf/tst-auditmod5b.c: Move to ...
36083         * sysdeps/x86_64/tst-auditmod5b.c: ... here.
36084         * elf/tst-auditmod6a.c: Move to ...
36085         * sysdeps/x86_64/tst-auditmod6a.c: ... here.
36086         * elf/tst-auditmod6b.c: Move to ...
36087         * sysdeps/x86_64/tst-auditmod6b.c: ... here.
36088         * elf/tst-auditmod6c.c: Move to ...
36089         * sysdeps/x86_64/tst-auditmod6c.c: ... here.
36090         * elf/tst-auditmod7a.c: Move to ...
36091         * sysdeps/x86_64/tst-auditmod7a.c: ... here.
36092         * elf/tst-auditmod7b.c: Move to ...
36093         * sysdeps/x86_64/tst-auditmod7b.c: ... here.
36095 2013-04-25  Paul Pluzhnikov  <ppluzhnikov@google.com>
36097         [BZ #15366]
36098         * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
36099         define unconditionally.
36100         * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
36101         define unconditionally.
36102         (INT8_C, INT16_C, etc.): Likewise.
36104 2013-04-25  Maciej W. Rozycki  <macro@codesourcery.com>
36106         * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
36107         __ehdr_start with hidden visibility.
36109         * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
36111 2013-04-24  Carlos O'Donell  <carlos@redhat.com>
36113         * math/libm-test.inc (cos_test): Use accurate hex constants.
36114         (sincost_test): Likewise.
36116 2013-04-24  Joseph Myers  <joseph@codesourcery.com>
36118         * math/libm-test.inc (catan_test): Add more tests.
36119         (catanh_test): Likewise.
36121         * math/s_catanf.c (__catanf): Use suffixed floating-point
36122         constants.
36123         * math/s_catanhf.c (__catanhf): Likewise.
36124         * math/s_catanhl.c (__catanhl): Likewise.
36125         * math/s_catanl.c (__catanl): Likewise.
36127         [BZ #15394]
36128         * math/s_catan.c (__catan): Calculate imaginary part of result
36129         with log1p not log unless computing log of number close to 0.
36130         * math/s_catanf.c (__catanf): Likewise.
36131         * math/s_catanl.c (__catanl): Likewise.
36132         * math/s_catanh.c (__catanh): Calculate real part of result with
36133         log1p not log unless computing log of number close to 0.
36134         * math/s_catanhf.c (__catanhf): Likewise.
36135         * math/s_catanhl.c (__catanhl): Likewise.
36136         * math/libm-test.inc (catan_test): Add more tests.
36137         (catanh_test): Likewise.
36138         * sysdeps/i386/fpu/libm-test-ulps: Update.
36139         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36141 2013-04-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
36143         * benchtests/Makefile: Mention files in which fast and slow
36144         paths of math functions are implemented.
36146 2013-04-23  Roland McGrath  <roland@hack.frob.com>
36148         * sysdeps/posix/timespec_get.c: New file.
36150 2013-04-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36152         * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
36153         POWER.
36154         * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
36155         for POWER.
36156         * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
36157         powerpc/power5/fpu folders.
36158         * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
36159         * benchtests/Makefile: Add modf testcase.
36160         * benchtests/bench-modf.c: New file: Benchmark test for mo
36162 2013-04-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
36164         [BZ #14888]
36165         * time/Makefile (tests): Add tst-strptime-whitespace.
36166         * time/strptime_l.c (get_number): Use ISSPACE.
36167         (__strptime_internal): Likewise.
36168         * time/tst-strptime-whitespace.c: New test case.
36170 2013-04-23  Andreas Schwab  <schwab@linux-m68k.org>
36172         * nss/nss_files/files-init.c (TF): Don't initialize flexible array
36173         member.
36174         (_nss_files_init): Set it here.
36176 2013-04-23  Heiko Carstens  <heiko.carstens@de.ibm.com>
36178         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
36179         f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
36180         unsigned.
36182 2013-04-22  Jan-Benedict Glaw  <jbglaw@getslash.de>
36184         * nss/getent.c (shadow_keys): Call endspent, not endpwent.
36186 2013-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
36188         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
36189         size just once.
36191 2013-04-21  David S. Miller  <davem@davemloft.net>
36193         * po/ru.po: Update Russion translation from translation project.
36195 2013-04-17  Adam Conrad  <adconrad@0c3.net>
36197         * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
36198         and setfsgid.
36200 2013-04-17  Carlos O'Donell  <carlos@redhat.com>
36202         * configure.in: Remove i386 configure warning. Remove i386 case.
36203         * configure: Regenerate.
36204         * sysdeps/i386/configure.in: Raise error if config_machine is i386.
36205         Add example to error message.
36206         * sysdeps/i386/configure: Regenerate.
36208 2013-04-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
36210         * benchtests/Makefile (bench): Add cos, tan, slowcos and
36211         slowtan.
36212         * benchtests/cos-inputs: New file.
36213         * benchtests/slowcos-inputs: New file.
36214         * benchtests/slowcos.c: New file.
36215         * benchtests/slowtan-inputs: New file.
36216         * benchtests/slowtan.c: New file.
36217         * benchtests/tan-inputs: New file.
36219 2013-04-16  Roland McGrath  <roland@hack.frob.com>
36221         * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
36222         considered kosher.
36224 2013-04-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
36226         * benchtests/Makefile: Include cppflags-iterator.mk to add
36227         -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
36229         * Makefile.in (bench-clean): New target.
36230         * benchtests/Makefile (bench-clean): Likewise.
36232 2013-04-16  David Holsgrove  <david.holsgrove@xilinx.com>
36234         * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
36236 2013-04-15  Thomas Schwinge  <thomas@codesourcery.com>
36238         * stdio-common/tstdiomisc.c: Fix coding-style violation.
36240 2013-04-15  Andreas Schwab  <schwab@suse.de>
36242         * nscd/grpcache.c (cache_addgr): Properly check for short write.
36243         * nscd/initgrcache.c (addinitgroupsX): Likewise.
36244         * nscd/pwdcache.c (cache_addpw): Likewise.
36245         * nscd/servicescache.c (cache_addserv): Likewise.  Don't write
36246         more than recsize.
36248 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
36250         * benchtests/Makefile (bench): Write all output to
36251         bench-out.tmp together.
36253 2013-04-15  Andreas Schwab  <schwab@suse.de>
36255         * nscd/nscd.c (main): Don't fork again after closing files.
36257 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
36259         * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
36261         * benchtests/Rules (bench-deps): Collect dependencies into a
36262         single variable.  Add Makefile to dependencies.
36263         ($(objpfx)bench-%.c): Depend on bench-deps.
36265 2013-04-12  Roland McGrath  <roland@hack.frob.com>
36266             Xavier Roche  <roche+kml2@exalead.com>
36268         [BZ #15361]
36269         * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
36270         just that it's a file descriptor.
36271         * manual/llio.texi (Synchronizing AIO Operations): Update description
36272         for EBADF error from aio_fsync.
36274 2013-04-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
36276         * Rules (bench): Move target definition...
36277         * benchtests/Makefile: ... here.
36279 2013-04-11  Carlos O'Donell  <carlos@redhat.com>
36281         * math/libm-test.inc (cos_test): Fix PI/2 test.
36282         (sincos_test): Likewise.
36283         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
36284         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
36286 2013-04-11  Andreas Schwab  <schwab@suse.de>
36288         [BZ #13988]
36289         * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
36290         accept exponent character only when digits were seen.
36291         * stdio-common/Makefile (tests): Add bug26.
36292         * stdio-common/bug26.c: New file.
36294         [BZ #14293]
36295         * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
36296         non-freeable.
36298 2013-04-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
36300         * Makeconfig (rtld-prefix): Define built linker prefix.
36301         * Rules (run-bench): Use it.
36302         * math/Makefile (run-regen-ulps): Likewise.
36304         * Rules (bench): Remove eval.
36306 2013-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
36307             Roland McGrath  <roland@hack.frob.com>
36308             Ondrej Bilka  <neleai@seznam.cz>
36310         [BZ #15346]
36311         * time/getdate.c: Include ctype.h and alloca.h.
36312         (__getdate_r): Trim leading and trailing spaces of input.
36313         * time/tst-getdate.c (tests): Add tests with leading and
36314         trailing spaces.
36316 2013-04-08  Roland McGrath  <roland@hack.frob.com>
36318         [BZ #14280]
36319         * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
36320         when computing value.
36322 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
36324         * math/README.libm-test (How can I generate "libm-test-ulps"?):
36325         Use testrun.sh to run libm tests.
36327         [BZ #15309]
36328         * elf/dl-open.c (dl_open_worker): memset all of seen array.
36330 2013-04-06  Marko Myllynen  <myllynen@redhat.com>
36332         [BZ #15264]
36333         * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
36335 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
36337         * Makefile.in (regen-ulps): New target.
36338         * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
36339         [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
36340         [ifneq (no,$(PERL)] (regen-ulps): New target.
36341         [ifeq (no,$(PERL)] (regen-ulps): New target.
36342         * math/libm-test.inc (ulps_file_name): Define.
36343         (output_dir): New variable.
36344         (options): Add "output-dir" option.
36345         (parse_opt): Handle 'o' case.
36346         (main): If output_dir is non-NULL use it as a prefix
36347         otherwise use "".
36348         * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
36350 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
36352         [BZ #10060, #10062]
36353         * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
36354         * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
36355         fail configure if __sync_val_compare_and_swap is not inlined.
36356         * sysdeps/i386/configure: Regenerate.
36357         * configure.in: Build for i686 when configured for i386.
36358         * configure: Regenerate.
36359         * README: Remove i386 reference.
36361 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
36363         * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
36364         * sysdeps/s390/s390-64/sysdep.h: Likewise.
36366 2013-04-05  Thomas Schwinge  <thomas@codesourcery.com>
36368         * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
36369         (lmsnanval): New variables.
36370         (F): Add conversion tests.
36371         * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
36372         * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
36374         * stdio-common/tstdiomisc.c (F): Properly collect individual
36375         tests' results.
36377         [BZ #14686, #15336]
36378         * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
36379         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
36380         Instead, use input NaN values or generate a qNaN by arithmetic
36381         operation.  Also fix bugs to comply with the standard.
36382         * math/libm-test.inc (remainder_test): Add more tests.
36384         [BZ #15335, #15342]
36385         * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
36386         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
36387         input NaN values or generate a qNaN by arithmetic operation.
36389         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
36390         unreachable code.
36392         * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
36393         definitions.
36395 2013-04-03  Joseph Myers  <joseph@codesourcery.com>
36397         [BZ #14478]
36398         * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
36399         underflowed result.
36400         * math/s_cexpf.c (__cexpf): Likewise.
36401         * math/s_cexpl.c (__cexpl): Likewise.
36402         * math/libm-test.inc (cexp_test): Add more tests.
36404 2013-04-03  Andreas Schwab  <schwab@suse.de>
36406         [BZ #15330]
36407         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
36408         order arrays from heap if bigger than alloca cutoff.
36410 2013-04-03  Thomas Schwinge  <thomas@codesourcery.com>
36412         * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
36413         (SNAN_TESTS_double): Refer to GCC PR56831.
36414         * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
36415         GCC PR56828.
36417 2013-04-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
36419         * Rules (bench): Move bench.out after the run is complete.
36421         * Rules (bench): Echo currently running benchmark.
36423         * benchtests/Makefile (bench): Add atan and slowatan.
36424         * benchtests/atan-inputs: New file.
36425         * benchtests/slowatan-inputs: New file.
36426         * benchtests/slowatan.c: New file.
36428         * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
36429         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
36430         its value.
36432         [BZ #15305]
36433         * sysdeps/unix/sysv/linux/kernel-features.h
36434         [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
36435         __ASSUME_XFS_RESTRICTED_CHOWN.
36436         * sysdeps/unix/sysv/linux/pathconf.c
36437         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
36438         Save and restore errno.
36440 2013-04-02  Joseph Myers  <joseph@codesourcery.com>
36442         [BZ #15327]
36443         * math/s_cacosh.c (__cacosh): Implement for finite nonzero
36444         arguments using __kernel_casinh.
36445         * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
36446         arguments using __kernel_casinhf.
36447         * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
36448         arguments using __kernel_casinhl.
36449         * math/libm-test.inc (cacosh_test): Add more tests.
36450         * sysdeps/i386/fpu/libm-test-ulps: Update.
36451         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36453 2013-04-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
36455         * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
36456         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
36458         * bench/Makefile (bench): Add sin and slowsin.
36459         * benchtests/sin-inputs: New file.
36460         * benchtests/slowsin-inputs: New file.
36461         * benchtests/slowsin.c: New file.
36463         * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
36464         (bench): Add slowexp and slowpow.
36465         (exp-ITER): Increase iterations.
36466         (pow-ITER): Likewise.
36467         * benchtests/exp-inputs: Change input.
36468         * benchtests/pow-inputs: Likewise.
36469         * benchtests/slowexp-inputs: New file.
36470         * benchtests/slowexp.c: New file.
36471         * benchtests/slowpow-inputs: New file.
36472         * benchtests/slowpow.c: New file.
36474 2013-04-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36476         * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
36477         instructions.
36478         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
36479         * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
36480         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
36481         * benchtests/Makefile: Add rint benchtest.
36482         * benchtests/rint-inputs: Input for rint benchtest.
36484 2013-04-02  Thomas Schwinge  <thomas@codesourcery.com>
36486         * Versions.def (libm): Add GLIBC_2.18.
36487         * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
36488         hidden libm prototypes.
36489         [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
36490         * math/Makefile (libm-calls): Add s_issignaling.
36491         * math/Versions (libm: GLIBC_2.18): Add __issignaling,
36492         __issignalingf, __issignalingl.  Adjust all libm.abilist files.
36493         * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
36494         declaration.
36495         * math/math.h [__USE_GNU] (issignaling): New macro.
36496         * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
36497         * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
36498         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
36499         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
36500         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
36501         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
36502         * manual/arith.texi (issignaling): New section.
36503         * manual/libm-err-tab.pl (@all_functions): Update comment.
36504         * math/gen-libm-test.pl (parse_args): Apply special handling for
36505         issignaling.
36506         * math/libm-test.inc (print_float, issignaling_test): New
36507         functions.
36508         (check_float_internal): Add issignaling checks.
36509         * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
36510         default definition.
36511         * sysdeps/powerpc/math-tests.h: New file.
36512         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
36513         tests.
36514         * math/test-snan.c (TEST_FUNC): Likewise.
36516 2013-03-30  David S. Miller  <davem@davemloft.net>
36518         * po/de.po: Update from translation team.
36520 2013-03-30  Joseph Myers  <joseph@codesourcery.com>
36522         [BZ #10357]
36523         * math/k_casinh.c (__kernel_casinh): Handle arguments with
36524         imaginary part less than 1.0 and real part less than 0.5
36525         specially.
36526         * math/k_casinhf.c (__kernel_casinhf): Likewise.
36527         * math/k_casinhl.c (__kernel_casinhl): Likewise.
36528         * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
36529         (cacos_test): Add more tests.
36530         (casin_test): Likewise.
36531         (casinh_test): Likewise.
36532         * sysdeps/i386/fpu/libm-test-ulps: Update.
36533         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36535 2013-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
36537         * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
36538         ONE with its value.
36540         * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
36541         (__pow_mp): Replace ONE and MONE with their values.
36542         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
36543         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
36544         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
36545         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
36546         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
36547         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
36549         * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
36551         * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
36552         (__pow_mp): Replace ZERO and MZERO with their values.
36553         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
36554         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
36555         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
36556         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
36557         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
36558         * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
36559         (__sqr): Likewise.
36561         * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
36563         * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
36565 2013-03-28  Roland McGrath  <roland@hack.frob.com>
36567         * include/stdlib.h [!SHARED] (__call_tls_dtors):
36568         Declare with __attribute__ ((weak)).
36569         * stdlib/exit.c (__libc_atexit) [!SHARED]:
36570         Call __call_tls_dtors only if it's not NULL.
36572 2013-03-28  Roland McGrath  <roland@hack.frob.com>
36574         * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
36575         didn't do it already, then set _dl_phdr and _dl_phnum based on the
36576         magic __ehdr_start linker symbol if it's defined.
36577         * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
36578         them up here if it was already done.
36580         * elf/dl-support.c (_dl_phdr): Make pointer to const.
36581         (_dl_aux_init): Use const in cast when setting it.
36582         * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
36583         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
36584         * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
36586         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
36587         Declare them here.
36588         * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
36589         * csu/libc-tls.c: Nor here.
36590         * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
36592         * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
36593         (__libc_message): Never call vsyslog.
36595 2013-03-28  Alan Modra  <amodra@gmail.com>
36597         * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
36598         Define as empty.
36599         * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
36600         Likewise.
36602 2013-03-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36604         [BZ #15214]
36605         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
36606         underflow.
36607         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36609 2013-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
36611         [BZ #15304]
36612         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
36613         Don't add gid passed as argument.
36615         * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
36617 2013-03-27  Joseph Myers  <joseph@codesourcery.com>
36619         [BZ #15307]
36620         * math/k_casinh.c (__kernel_casinh): Handle arguments with
36621         imaginary part between 1.0 and 1.5 and real part less than 0.5
36622         specially.
36623         * math/k_casinhf.c (__kernel_casinhf): Likewise.
36624         * math/k_casinhl.c (__kernel_casinhl): Likewise.
36625         * math/libm-test.inc (cacos_test): Add more tests.
36626         (casin_test): Likewise.
36627         (casinh_test): Likewise.
36628         * sysdeps/i386/fpu/libm-test-ulps: Update.
36629         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36631 2013-03-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
36633         * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
36634         constants.
36635         (norm): Likewise.
36636         (denorm): Likewise.
36637         (__dbl_mp): Likewise.
36638         (add_magnitudes): Likewise.
36639         (sub_magnitudes): Likewise.
36640         (__add): Likewise.
36641         (__sub): Likewise.
36642         (__mul): Likewise.
36643         (__sqr): Likewise.
36644         (__inv): Likewise.
36645         (__dvd): Likewise.
36647         * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
36648         commented code.
36649         * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
36650         (__dubcos): Likewise.
36651         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
36652         (__ieee754_acos): Likewise.
36653         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
36654         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
36655         (__exp1): Likewise.
36656         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
36657         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
36658         (log1): Likewise.
36659         (my_log2): Likewise.
36660         (checkint): Likewise.
36661         * sysdeps/ieee754/dbl-64/e_remainder.c
36662         (__ieee754_remainder): Likewise.
36663         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
36664         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
36665         (bsloww): Likewise.
36666         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
36668         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
36669         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
36670         MANTISSA_STORE_T to store computations on mantissa.  Use
36671         macros for rounding and division.
36672         (denorm): Likewise.
36673         (__dbl_mp): Likewise.
36674         (add_magnitudes): Likewise.
36675         (sub_magnitudes): Likewise.
36676         (__mul): Likewise.
36677         (__sqr): Likewise.
36678         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
36679         powers of two in terms of TWOPOW macro.
36680         (mp_no): Make type of mantissa as MANTISSA_T.
36681         [!RADIXI]: Define RADIXI.
36682         [!TWO52]: Define TWO52.
36683         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
36685 2013-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36687         * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
36688         llroundl symbol when building for PPC32.
36690 2013-03-24  Mark H Weaver  <mhw@netris.org>
36692         * manual/arith.texi (Normalization Functions): Fix prototypes for
36693         scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
36695 2013-03-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36697         [BZ #13889]
36698         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
36699         high value to check if expl overflow.
36700         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
36701         to check for underflow and overflow.
36702         * math/libm-test.inc: Add exp test.
36704 2013-03-21  Dmitry V. Levin  <ldv@altlinux.org>
36706         [BZ #11120]
36707         * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
36708         with NOT_IN_libc.
36710 2013-03-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36712         * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
36713         symbol.
36715 2013-03-21  Thomas Schwinge  <thomas@codesourcery.com>
36717         * math/gen-libm-test.pl (parse_args, special_functions): Properly
36718         wrap blocks consisting of several statements.
36720         * sysdeps/generic/math-tests.h: New file.
36721         * sysdeps/i386/fpu/math-tests.h: Likewise.
36722         * math/test-snan.c: Include it.
36723         (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
36725 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
36727         [BZ #15285]
36728         * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
36729         (__ieee754_j0l): Do not improve calculations using cos of twice
36730         input for inputs above LDBL_MAX / 2.0L.
36731         (__ieee754_y0l): Likewise.
36732         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
36733         (__ieee754_j1l): Do not improve calculations using cos of twice
36734         input for inputs above LDBL_MAX / 2.0L.
36735         (__ieee754_y1l): Likewise.
36736         * math/libm-test.inc (j0_test): Add another test.
36737         (j1_test): Likewise.
36738         (y0_test): Likewise.
36739         (y1_test): Likewise.
36740         * sysdeps/i386/fpu/libm-test-ulps: Update.
36742 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
36744         * Rules ($(objpfx)bench-%.c): Include code from a C source
36745         file.
36747 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
36749         [BZ #15287]
36750         * math/k_casinh.c (__kernel_casinh): Handle arguments with
36751         imaginary part 1.0 and real part less than 0.5 specially.
36752         * math/k_casinhf.c (__kernel_casinhf): Likewise.
36753         * math/k_casinhl.c (__kernel_casinhl): Likewise.
36754         * math/libm-test.inc (cacos_test): Add more tests.
36755         (casin_test): Likewise.
36756         (casinh_test): Likewise.
36757         * sysdeps/i386/fpu/libm-test-ulps: Update.
36758         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36760 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
36762         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
36763         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
36765 2013-03-20  Joseph Myers  <joseph@codesourcery.com>
36767         * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
36768         * config.make.in (config-cflags-sse4): Remove variable.
36769         (config-cflags-avx): Likewise.
36770         (config-cflags-sse2avx): Likewise.
36771         (config-cflags-novzeroupper): Likewise.
36772         (config-asflags-i686): Likewise.
36773         (have-mfma4): Likewise.
36774         (have-as-vis3): Likewise.
36775         (MIG): Likewise.
36776         * configure.in (MIG): Do not AC_SUBST.
36777         (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
36778         (libc_cv_cc_sse4): Do not AC_SUBST.
36779         (libc_cv_cc_avx): Likewise.
36780         (libc_cv_cc_sse2avx): Likewise.
36781         (libc_cv_cc_novzeroupper): Likewise.
36782         (libc_cv_cc_fma4): Likewise.
36783         (libc_cv_as_i686): Likewise.
36784         (libc_cv_sparc_as_vis3): Likewise.
36785         * sysdeps/i386/configure.in (config-cflags-sse4): Set using
36786         LIBC_CONFIG_VAR.
36787         (config-asflags-i686): Likewise.
36788         (config-cflags-avx): Likewise.
36789         (config-cflags-sse2avx): Likewise.
36790         (have-mfma4): Likewise.
36791         (config-cflags-novzeroupper): Likewise.
36792         * sysdeps/mach/configure.in (MIG): Likewise.
36793         * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
36794         * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
36795         LIBC_CONFIG_VAR.
36796         (config-cflags-avx): Likewise.
36797         (config-cflags-sse2avx): Likewise.
36798         (have-mfma4): Likewise.
36799         (config-cflags-novzeroupper): Likewise.
36800         * configure: Regenerated.
36801         * sysdeps/i386/configure: Likewise.
36802         * sysdeps/mach/configure: Likewise.
36803         * sysdeps/sparc/configure: Likewise.
36804         * sysdeps/x86_64/configure: Likewise.
36806 2013-03-20  Roland McGrath  <roland@hack.frob.com>
36808         [BZ #14812]
36809         * locale/programs/localedef.c (options): Put N_ translation marker
36810         on argument names, not just descriptions.
36812 2013-03-20  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
36814         * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
36816 2013-03-20  Ondřej Bílka  <neleai@seznam.cz>
36818         [BZ #14176]
36819         * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
36821 2013-03-19  Roland McGrath  <roland@hack.frob.com>
36823         * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
36824         [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
36825         [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
36826         [!BEFORE_ABORT] (before_abort): New function.
36827         [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
36828         * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
36829         (writev_for_fatal): New function.
36830         (WRITEV_FOR_FATAL): New macro; call that.
36831         (backtrace_and_maps): New function.
36832         (BEFORE_ABORT): New macro; call that.
36833         (struct str_list): Type removed.
36834         (__libc_message, __libc_fatal): Functions removed.
36835         Include <sysdeps/posix/libc_fatal.c> instead.
36837 2013-03-19  Joseph Myers  <joseph@codesourcery.com>
36839         * math/k_casinhf.c (__kernel_casinhf): Consistently use float
36840         constants.
36841         * math/k_casinhl.c (__kernel_casinhl): Consistently use long
36842         double constants.
36844 2013-03-19  Andreas Schwab  <schwab@suse.de>
36846         * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
36847         * sysdeps/gnu/configure: Regenerate.
36849         * configure.in: Substitute libc_cv_rtlddir.
36850         * configure: Regenerate.
36851         * config.make.in (rtlddir): Set from libc_cv_rtlddir.
36852         * Makeconfig (rtlddir, inst_rtlddir): New variables.
36853         (rtld-LDFLAGS): Use them with $(rtld-installed-name).
36854         * elf/Makefile (install-others, CFLAGS-interp.c)
36855         (ldso_install, common-ldd-rewrite): Likewise.
36856         ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
36857         $(inst_slibdir)/$(rtld-installed-name).
36858         * scripts/rellns-sh: Add -p option.
36859         * Makerules (make-shlib-link): Use rellns-sh to get relative name
36860         for source.
36862 2013-03-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
36864         * manual/nptl.texi: Renamed to ...
36865         * manual/threads.texi: ... this.
36866         * manual/Makefile (chapters): Update.
36868 2013-03-18  Roland McGrath  <roland@hack.frob.com>
36870         [BZ #14812]
36871         * argp/argp-parse.c (argp_default_options): Put N_ translation marker
36872         on argument names, not just descriptions.
36873         * malloc/memusagestat.c (options): Likewise.
36874         * nss/getent.c (options): Likewise.
36876 2013-03-18  Benno Schulenberg  <bensberg@justemail.net>
36878         [BZ #14812]
36879         * iconv/iconv_prog.c (options): Put N_ translation marker
36880         on argument names, not just descriptions.
36881         * iconv/iconvconfig.c (options): Likewise.
36883 2013-03-18  Ondrej Bilka  <neleai@seznam.cz>
36885         * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
36886         implementation which is faster on all x86_64 architectures.
36887         Tested on AMD, Intel Nehalem, SNB, IVB.
36888         * sysdeps/x86_64/strnlen.S: Likewise.
36890         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
36891         Remove all multiarch strlen and strnlen versions.
36892         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
36893         Remove strlen and strnlen related parts.
36895         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
36896         Inline strlen part.
36897         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
36899         * sysdeps/x86_64/multiarch/strlen.S: Remove.
36900         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
36901         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
36902         * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
36903         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
36904         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
36906 2013-03-17  Carlos O'Donell  <carlos@redhat.com>
36908         * manual/memory.texi (Malloc Tunable Parameters):
36909         Sort parameters alphabetically. Add comments for missing entries.
36911 2013-03-17  David S. Miller  <davem@davemloft.net>
36913         * sysdeps/sparc/fpu/libm-test-ulps: Update.
36915 2013-03-16  Joseph Myers  <joseph@codesourcery.com>
36917         [BZ #15283]
36918         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
36919         for arguments at most half maximum finite value.
36920         * math/libm-test.inc (j0_test): Add more tests.
36921         (j1_test): Likewise.
36922         (y0_test): Likewise.
36923         (y1_test): Likewise.
36924         * sysdeps/i386/fpu/libm-test-ulps: Update.
36925         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36927         [BZ #14155]
36928         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
36929         1 / x and functions P and Q for arguments above 0x1p256L.
36930         (__ieee754_y0l): Likewise.
36931         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
36932         (__ieee754_y1l): Likewise.
36933         * math/libm-test.inc (j0_test): Do not allow spurious underflows.
36934         (j1_test): Likewise.
36935         (y0_test): Likewise.
36936         (y1_test): Likewise.
36938 2013-03-16  Thomas Schwinge  <thomas@codesourcery.com>
36940         * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
36941         variable.
36943 2013-03-15  Roland McGrath  <roland@hack.frob.com>
36945         * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
36946         (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
36947         zero since it's initialized to EXEC_PAGESIZE.
36949         * sysdeps/unix/sysv/linux/ldsodefs.h
36950         (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
36951         * sysdeps/generic/ldsodefs.h: ... here.
36953 2013-03-15  Thomas Schwinge  <thomas@codesourcery.com>
36955         * math/libm-test.inc (ldexp_test): Add missing START/END markers.
36957         * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
36958         math/test-snan.c.
36959         * math/test-snan.c: Renamed from
36960         sysdeps/powerpc/fpu/test-powerpc-snan.c.
36961         * math/Makefile (tests): Add test-snan.
36962         * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
36963         test-powerpc-snan.
36965         * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
36966         SUFFIX.  Initialize qNaN_var with __builtin_nan family of
36967         functions.
36968         (TEST_TRUNC): Add SUFFIX argument.  Initialize qNaN_var with
36969         __builtin_nan family of functions.
36970         * math/libm-test.inc (initialize): Initialize qnan_value with
36971         __builtin_nan family of functions.
36972         * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
36973         Remove variables.
36974         (init_signaling_nan, snan_float, snan_double, snan_ldouble):
36975         Remove functions.
36976         (TEST_FUNC): Add SUFFIX argument.  Move sNaN_var into static
36977         storage class.  Initialize qNaN_var and sNaN_var with
36978         __builtin_nan and __builtin_nans families of functions,
36979         respectively.
36981         * math/libm-test.inc (acosh_test): Also test with qNaN input.
36982         (sqrt_test): Remove duplicate test with qNaN input.
36983         (lrint_test, llrint_test, lround_test, llround_test, rint_test)
36984         (round_test, signbit_test, significand_test): Note missing +/-Inf
36985         as well as qNaN tests.
36987         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
36988         qNaN_var.  Fix a few strings, too.
36989         * math/libm-test.inc (nan_value): Rename to qnan_value.
36990         * math/gen-libm-test.pl (%beautify): Adjust to that.
36991         * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
36992         * math/test-misc.c (main): Likewise.
36993         * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
36994         to __qnan_bytes, and __qnan_union, respectively.
36995         * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
36996         Likewise.
36997         * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
36998         and lqnanval, respectively.
36999         * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
37000         * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
37001         * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
37002         and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
37004         * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
37005         * math/test-misc.c (main) [__x86_64__]: Enable test for long
37006         doubles.
37008         * math/test-misc.c (main): Fix copy'n'pastos.
37009         * misc/tst-efgcvt.c (special): Likewise.
37011         * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
37012         Remove declarations.
37014 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
37016         * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
37017         * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
37018         * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
37019         * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
37021 2013-03-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37023         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
37024         macro to return vdso values correctly in IFUNC implementations.
37025         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
37026         Optimization by using IFUNC.
37028 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
37029             Richard Henderson  <rth@redhat.com>
37030             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
37032         * Makefile.in (bench): New target.
37033         * NEWS: Mention the benchmark framework.
37034         * Rules (bench): Likewise.
37035         (binaries-bench): Generate binaries for functions to
37036         benchmark.
37037         * benchtests/Makefile: New makefile for benchmark tests.
37038         * benchtests/bench-skeleton.c: New skeleton file for benchmark
37039         programs.
37040         * benchtests/exp-inputs: New input file for EXP function.
37041         * benchtests/pow-inputs: New input file for POW function.
37042         * scripts/bench.pl: New script to generate source files for
37043         benchmark programs.
37045 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
37047         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
37048         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
37049         computations on mantissa.  Use macros for rounding and
37050         division.
37051         (denorm): Likewise.
37052         (__dbl_mp): Likewise.
37053         (add_magnitudes): Likewise.
37054         (sub_magnitudes): Likewise.
37055         (__mul): Likewise.
37056         (__sqr): Likewise.
37057         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
37058         powers of two in terms of TWOPOW macro.
37059         (mp_no): Make type of mantissa as MANTISSA_T.
37060         [!RADIXI]: Define RADIXI.
37061         [!TWO52]: Define TWO52.
37062         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
37064         * manual/nptl.texi (cindex): Modify threads to pthreads.
37066 2013-03-15  Joseph Myers  <joseph@codesourcery.com>
37068         * sysdeps/x86_64/preconfigure: Regenerated.
37070 2013-03-14  Joseph Myers  <joseph@codesourcery.com>
37072         [BZ #14155]
37073         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
37074         0x1p28 and above.
37075         (qzero): Return -0.125 / x for arguments 0x1p28 and above.
37076         * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
37077         0x1p28 and above.
37078         (qzero): Return 0.375 / x for arguments 0x1p28 and above.
37079         * math/libm-test.inc (j0_test): Do not allow one spurious
37080         underflow exception.
37081         (y1_test): Likewise.
37083 2013-03-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
37085         * manual/Makefile (chapters): Add nptl.
37086         * manual/debug.texi (Debugging Support): Add link to Threads
37087         chapter.
37088         * manual/nptl.texi: New file.
37090         * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
37092 2013-03-14  Petr Baudis  <pasky@ucw.cz>
37094         * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
37095         for non-NULL pointer before the memory validity test. Pointed
37096         out by Holger Brunck <holger.brunck@keymile.com>.
37098 2013-03-13  Andreas Schwab  <schwab@suse.de>
37100         * extra-lib.mk (extra-objs): Add static-only-routines as .oS
37101         instead of .os.
37103 2013-03-13  Joseph Myers  <joseph@codesourcery.com>
37105         * timezone/zic.c: Update from tzcode 2013b.
37107 2013-03-12  Carlos O'Donell  <carlos@redhat.com>
37109         * manual/install.texi (Configuring and compiling):
37110         Mention i686 and i586.
37111         * INSTALL: Regenerate.
37113 2013-03-12  Roland McGrath  <roland@hack.frob.com>
37115         * sysdeps/init_array/elf-init.c: New file.
37116         * csu/elf-init.c
37117         (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
37118         (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
37120         * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
37121         __gmon_start__ as global, but as static with a .preinit_array pointer.
37122         * sysdeps/init_array/gmon-start.c: New file.  Use that.
37123         * sysdeps/init_array/crti.S: New file, empty except for comments.
37124         * sysdeps/init_array/crtn.S: Likewise.
37126 2013-03-11  Ondřej Bílka  <neleai@seznam.cz>
37128         * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
37129         definining bcopy.
37130         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
37131         Remove Prefer_SSE_for_memop.
37132         * sysdeps/x86_64/multiarch/init-arch.h: Remove
37133         bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
37134         HAS_PREFER_SSE_FOR_MEMOP.
37135         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
37136         memset-x86-64.
37137         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
37138         Remove bzero, memset ifunc support.
37139         * sysdeps/x86_64/multiarch/bzero.S: Remove file.
37140         * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
37141         * sysdeps/x86_64/multiarch/memset.S: Likewise.
37142         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
37144 2013-03-11  Andreas Schwab  <schwab@suse.de>
37146         [BZ #15234]
37147         * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
37148         by SHLIB_COMPAT.
37149         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
37150         (GLIBC_2.16): Remove pthread_atfork.
37152 2013-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
37154         * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
37155         (ptestcases.h): Likewise.
37157 2013-03-08  Roland McGrath  <roland@hack.frob.com>
37159         * Makeconfig ($(common-objpfx)config.status): Depend on
37160         sysdeps/*/preconfigure{,.in} too.
37162 2013-03-08  Joseph Myers  <joseph@codesourcery.com>
37164         * malloc/malloc.h (__malloc_ptr_t): Remove macro.
37165         (__free_hook): Use void * instead of __malloc_ptr_t.
37166         (__malloc_hook): Likewise.
37167         (__realloc_hook): Likewise.
37168         (__memalign_hook): Likewise.
37169         (__after_morecore_hook): Likewise.
37170         * malloc/arena.c (save_malloc_hook): Likewise.
37171         (save_free_hook): Likewise.
37172         * malloc/hooks.c (malloc_hook_ini): Likewise.
37173         (realloc_hook_ini): Likewise.
37174         (memalign_hook_ini): Likewise.
37175         * malloc/malloc.c (malloc_hook_ini): Likewise.
37176         (realloc_hook_ini): Likewise.
37177         (memalign_hook_ini): Likewise.
37178         (__free_hook): Likewise.
37179         (__malloc_hook): Likewise.
37180         (__realloc_hook): Likewise.
37181         (__memalign_hook): Likewise.
37182         (__libc_malloc): Likewise.
37183         (__libc_free): Likewise.
37184         (__libc_realloc): Likewise.
37185         (__libc_memalign): Likewise.
37186         (__libc_valloc): Likewise.
37187         (__libc_pvalloc): Likewise.
37188         (__libc_calloc): Likewise.
37189         (__posix_memalign): Likewise.
37190         * malloc/morecore.c (__sbrk): Likewise.
37191         (__default_morecore): Likewise.
37193         * malloc/morecore.c (__default_morecore): Use ISO C prototype.
37195         * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
37196         * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
37197         __malloc_ptrdiff_t.
37199         * malloc/malloc.h (__malloc_size_t): Remove macro.
37200         * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
37201         __malloc_size_t.
37202         (old_memalign_hook): Likewise.
37203         (old_realloc_hook): Likewise.
37204         (struct hdr): Likewise.
37205         (flood): Likewise.
37206         (mallochook): Likewise.
37207         (memalignhook): Likewise.
37208         (reallochook): Likewise.
37209         * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
37210         (tr_old_realloc_hook): Likewise.
37211         (tr_old_memalign_hook): Likewise.
37212         (tr_mallochook): Likewise.
37213         (tr_reallochook): Likewise.
37214         (tr_memalignhook): Likewise.
37216 2013-03-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37218         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
37219         default_ldbl_pack and using as default implementation.
37220         (ldbl_unpack): Rename to default_ldbl_unpack and using as default
37221         implementation.
37222         * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
37223         redundant definition.
37224         (ldbl_insert_mantissa): Likewise.
37225         (ldbl_canonicalize): Likewise.
37226         (ldbl_nearbyint): Likewise.
37227         (ldbl_pack): Rename to ldbl_pack_ppc.
37228         (ldbl_unpack): Rename to ldbl_unpack_ppc.
37229         * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
37230         * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
37232 2013-03-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
37234         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
37235         * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
37236         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
37237         * sysdeps/powerpc/power4/fpu/Makefile: ... here.
37238         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
37239         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
37240         * sysdeps/powerpc/powerpc32/power4/Implies: New file.
37241         * sysdeps/powerpc/powerpc64/power4/Implies: New file.
37243 2013-03-07  Andreas Jaeger  <aj@suse.de>
37245         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
37246         bits/mman-linux.h.
37248 2013-03-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
37250         * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
37251         Include mpa.h and declare __MPEXP.
37252         [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
37253         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
37254         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
37255         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
37256         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
37257         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
37258         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
37260         * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
37261         (__slowpow): Use long double EXPL and LOGL functions to
37262         compute POW.
37263         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
37264         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
37265         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
37266         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
37267         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
37268         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
37270         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
37271         intermediate variable to calculate exponent.
37272         (__sqr): Likewise.
37273         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
37274         Likewise.
37275         (__sqr): Likewise.
37277         * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
37278         [!NO__SQR]: Define __sqr.
37279         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
37280         and NO__SQR.  Remove all code except __mul and __sqr.  Include
37281         sysdeps/ieee754/dbl-64/mpa.c.
37282         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
37284         [BZ #12723]
37285         * posix/Makefile (tests): Add tst-pathconf.
37286         * posix/tst-pathconf.c: New test case.
37287         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
37288         _PC_PIPE_BUF.
37289         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
37291 2013-03-06  Patsy Franklin  <pfrankli@redhat.com>
37293         * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
37295 2013-03-06  Andreas Jaeger  <aj@suse.de>
37297         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
37298         definition via __MAP_ANONYMOUS.
37300         * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
37301         it's not part of Linux headers.
37303         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
37304         (MAP_HUGE_MASK): Define.
37306         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
37307         Define.
37308         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
37309         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
37310         Define.
37311         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
37312         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
37313         Define.
37314         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
37315         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
37316         Define.
37317         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
37319         * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
37320         * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
37321         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
37322         * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
37323         * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
37324         * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
37326         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
37327         Handle f2fs.
37329         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
37330         Handle f2fs and efivarfs.
37332         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
37333         f2fs.
37335         * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
37336         (EFIVARFS_MAGIC): Add.
37337         (F2FS_LINK_MAX): Add.
37339 2013-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
37341         * stdio-common/vfprintf.c: Replace __builtin_expect with
37342         __glibc_unlikely.
37344 2013-03-06  Joseph Myers  <joseph@codesourcery.com>
37346         [BZ #13550]
37347         * sysdeps/generic/bp-sym.h: Remove file.
37348         * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
37349         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
37350         <bp-sym.h> and <bp-asm.h>.
37351         (__longjmp): Don't use BP_SYM.
37352         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
37353         and <bp-asm.h>.
37354         (memcpy): Don't use BP_SYM.
37355         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
37356         <bp-sym.h> and <bp-asm.h>.
37357         (memcpy): Don't use BP_SYM.
37358         * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
37359         <bp-asm.h>.
37360         (memcpy): Don't use BP_SYM.
37361         * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
37362         <bp-asm.h>.
37363         (memset): Don't use BP_SYM.
37364         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
37365         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
37366         (__bzero): Don't use BP_SYM.
37367         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
37368         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
37369         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
37370         <bp-sym.h> and <bp-asm.h>.
37371         (memcmp): Don't use BP_SYM.  Remove comment about bounded
37372         pointers.
37373         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
37374         <bp-sym.h> and <bp-asm.h>.
37375         (memcpy): Don't use BP_SYM.
37376         * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
37377         <bp-sym.h> and <bp-asm.h>.
37378         (memset): Don't use BP_SYM.
37379         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
37380         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
37381         (__bzero): Don't use BP_SYM.
37382         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
37383         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
37384         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
37385         <bp-sym.h> and <bp-asm.h>.
37386         (strncmp): Don't use BP_SYM.  Remove comment about bounded
37387         pointers.
37388         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
37389         <bp-sym.h> and <bp-asm.h>.
37390         (memcpy): Don't use BP_SYM.
37391         * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
37392         <bp-sym.h> and <bp-asm.h>.
37393         (memset): Don't use BP_SYM.
37394         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
37395         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
37396         (__bzero): Don't use BP_SYM.
37397         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
37398         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
37399         * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
37400         <bp-sym.h> and <bp-asm.h>.
37401         (__memchr): Don't use BP_SYM.
37402         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
37403         <bp-sym.h> and <bp-asm.h>.
37404         (memcmp): Don't use BP_SYM.  Remove comment about bounded
37405         pointers.
37406         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
37407         <bp-sym.h> and <bp-asm.h>.
37408         (memcpy): Don't use BP_SYM.
37409         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
37410         <bp-sym.h> and <bp-asm.h>.
37411         (__mempcpy): Don't use BP_SYM.
37412         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
37413         <bp-sym.h> and <bp-asm.h>.
37414         (__memrchr): Don't use BP_SYM.
37415         * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
37416         <bp-sym.h> and <bp-asm.h>.
37417         (memset): Don't use BP_SYM.
37418         (__bzero): Likewise.
37419         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
37420         <bp-sym.h> and <bp-asm.h>.
37421         (__rawmemchr): Don't use BP_SYM.
37422         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
37423         <bp-sym.h> and <bp-asm.h>.
37424         (__STRCMP): Don't use BP_SYM.
37425         * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
37426         <bp-sym.h> and <bp-asm.h>.
37427         (strchr): Don't use BP_SYM.
37428         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
37429         <bp-sym.h> and <bp-asm.h>.
37430         (__strchrnul): Don't use BP_SYM.
37431         * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
37432         <bp-sym.h> and <bp-asm.h>.
37433         (strlen): Don't use BP_SYM.
37434         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
37435         <bp-sym.h> and <bp-asm.h>.
37436         (strncmp): Don't use BP_SYM.  Remove comment about bounded
37437         pointers.
37438         * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
37439         <bp-sym.h> and <bp-asm.h>.
37440         (__strnlen): Don't use BP_SYM.
37441         * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
37442         <bp-sym.h> and <bp-asm.h>.
37443         (__GI__setjmp): Don't use BP_SYM.
37444         (_setjmp): Likewise.
37445         (__sigsetjmp): Likewise.
37446         * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
37447         (L(start_addresses)): Don't use BP_SYM.
37448         (_start): Likewise.
37449         * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
37450         <bp-asm.h>.
37451         (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
37452         STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
37453         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
37454         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
37455         * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
37456         <bp-asm.h>.
37457         (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
37458         CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE.  Remove comment
37459         about bounded pointers.
37460         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
37461         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
37462         * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
37463         <bp-asm.h>.
37464         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
37465         about bounded pointers.  Remove GKM FIXME comments.
37466         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
37467         * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
37468         <bp-asm.h>.
37469         (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
37470         STORE_RETURN_BOUNDS.  Remove comment about bounded pointers.
37471         Remove GKM FIXME comments.
37472         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
37473         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
37474         * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
37475         <bp-asm.h>.
37476         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
37477         about bounded pointers.  Remove GKM FIXME comment.
37478         * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
37479         and <bp-asm.h>.
37480         (strncmp): Don't use BP_SYM.  Remove comment about bounded
37481         pointers.
37482         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
37483         <bp-sym.h> and <bp-asm.h>.
37484         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
37485         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
37486         <bp-sym.h> and <bp-asm.h>.
37487         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
37488         comment.
37490 2013-03-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
37492         * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
37493         call free(NULL).
37495 2013-03-05  David S. Miller  <davem@davemloft.net>
37497         * po/es.po: Update from translation team.
37499 2013-03-05  Andreas Jaeger  <aj@suse.de>
37501         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
37502         <bits/mman-linux.h>.
37503         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
37504         is fine.
37505         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
37506         <bits/mman-linux.h> to end of file.
37507         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
37508         is fine.
37509         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
37510         <bits/mman-linux.h> to end of file.
37511         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
37512         is fine.
37513         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
37514         <bits/mman-linux.h> to end of file.
37516         * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
37517         (MCL_CURRENT, MCL_FUTURE): Define here.
37519 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
37521         [BZ #15232]
37522         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
37523         attribute_hidden.
37524         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
37526 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
37528         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
37529         fourth parameter needed for rt_sigprocmask syscall.
37530         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
37531         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
37532         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
37533         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
37534         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
37535         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
37537 2013-03-04  Joseph Myers  <joseph@codesourcery.com>
37539         [BZ #13550]
37540         * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
37541         comment about bounded pointers.
37542         * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
37543         * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
37545 2013-03-04  Andreas Jaeger  <aj@suse.de>
37547         * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
37548         common definitions.
37550         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
37551         provided by bits/mman-linux.h and include <bits/mman-linux.h>.
37552         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
37553         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
37554         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
37555         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
37557 2013-03-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37559         [BZ #15055]
37560         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
37561         __ieee754_sqrl instead of __sqrl.
37563 2013-03-01  Joseph Myers  <joseph@codesourcery.com>
37565         * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
37566         * sysdeps/powerpc/fpu_control.h: ... here.
37567         * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
37568         * sysdeps/powerpc/bits/fenvinline.h: ... here.
37569         * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
37570         * sysdeps/powerpc/bits/mathinline.h: ... here.
37572 2013-03-01  Roland McGrath  <roland@hack.frob.com>
37574         * elf/dl-hwcaps.c (_dl_important_hwcaps):
37575         Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
37576         to just [NEED_DL_SYSINFO_DSO].
37577         * elf/dl-support.c: Likewise.
37578         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
37579         * elf/rtld.c (dl_main): Likewise.
37580         * elf/setup-vdso.h (setup_vdso): Likewise.
37581         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
37582         * sysdeps/unix/sysv/linux/dl-sysdep.c
37583         (_dl_discover_osversion): Likewise.
37585 2013-03-01  Carlos O'Donell  <carlos@redhat.com>
37587         * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
37588         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
37590 2013-03-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
37592         * NEWS: Mention libm performance improvements and non-x86 PI
37593         futex support.
37595         * csu/libc-start.c (__pthread_initialize_minimal): Change
37596         function arguments.
37597         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
37599 2013-02-28  Joseph Myers  <joseph@codesourcery.com>
37601         [BZ #13550]
37602         * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
37603         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
37604         <bp-sym.h> and <bp-asm.h>.
37605         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
37606         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
37607         and <bp-asm.h>.
37608         (memcpy): Don't use BP_SYM.
37609         * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
37610         <bp-asm.h>.
37611         (__mpn_add_n): Don't use BP_SYM.
37612         (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
37613         * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
37614         and <bp-asm.h>.
37615         (__mpn_addmul_1): Don't use BP_SYM.
37616         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
37617         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
37618         <bp-sym.h>.
37619         (_setjmp): Don't use BP_SYM.
37620         (__novmx_setjmp): Likewise.
37621         (__GI__setjmp): Likewise.
37622         (__vmx_setjmp): Likewise.
37623         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
37624         <bp-sym.h>.
37625         * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
37626         (__bzero): Don't use BP_SYM.
37627         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
37628         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
37629         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
37630         <bp-sym.h> and <bp-asm.h>.
37631         (memcpy): Don't use BP_SYM.
37632         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
37633         <bp-sym.h> and <bp-asm.h>.
37634         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
37635         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
37636         <bp-sym.h> and <bp-asm.h>.
37637         (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
37638         * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
37639         <bp-asm.h>.
37640         (__mpn_lshift): Don't use BP_SYM.
37641         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
37642         * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
37643         <bp-asm.h>.
37644         (memset): Don't use BP_SYM.
37645         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
37646         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
37647         * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
37648         <bp-asm.h>.
37649         (__mpn_mul_1): Don't use BP_SYM.
37650         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
37651         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
37652         <bp-sym.h> and <bp-asm.h>.
37653         (memcmp): Don't use BP_SYM.
37654         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
37655         <bp-sym.h> and <bp-asm.h>.
37656         (memcpy): Don't use BP_SYM.
37657         * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
37658         <bp-sym.h> and <bp-asm.h>.
37659         (memset): Don't use BP_SYM.
37660         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
37661         <bp-sym.h> and <bp-asm.h>.
37662         (strncmp): Don't use BP_SYM.
37663         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
37664         <bp-sym.h> and <bp-asm.h>.
37665         (memcpy): Don't use BP_SYM.
37666         * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
37667         <bp-sym.h> and <bp-asm.h>.
37668         (memset): Don't use BP_SYM.
37669         * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
37670         <bp-sym.h> and <bp-asm.h>.
37671         (__memchr): Don't use BP_SYM.
37672         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
37673         <bp-sym.h> and <bp-asm.h>.
37674         (memcmp): Don't use BP_SYM.
37675         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
37676         <bp-sym.h> and <bp-asm.h>.
37677         (memcpy): Don't use BP_SYM.
37678         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
37679         <bp-sym.h> and <bp-asm.h>.
37680         (__mempcpy): Don't use BP_SYM.
37681         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
37682         <bp-sym.h> and <bp-asm.h>.
37683         (__memrchr): Don't use BP_SYM.
37684         * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
37685         <bp-sym.h> and <bp-asm.h>.
37686         (memset): Don't use BP_SYM.
37687         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
37688         <bp-sym.h> and <bp-asm.h>.
37689         (__rawmemchr): Don't use BP_SYM.
37690         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
37691         <bp-sym.h> and <bp-asm.h>.
37692         (__STRCMP): Don't use BP_SYM.
37693         * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
37694         <bp-sym.h> and <bp-asm.h>.
37695         (strchr): Don't use BP_SYM.
37696         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
37697         <bp-sym.h> and <bp-asm.h>.
37698         (__strchrnul): Don't use BP_SYM.
37699         * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
37700         <bp-sym.h> and <bp-asm.h>.
37701         (strlen): Don't use BP_SYM.
37702         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
37703         <bp-sym.h> and <bp-asm.h>.
37704         (strncmp): Don't use BP_SYM.
37705         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
37706         <bp-sym.h> and <bp-asm.h>.
37707         (__strnlen): Don't use BP_SYM.
37708         * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
37709         <bp-asm.h>.
37710         (__mpn_rshift): Don't use BP_SYM.
37711         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
37712         * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
37713         <bp-sym.h> and <bp-asm.h>.
37714         (__sigsetjmp): Don't use BP_SYM.
37715         * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
37716         (L(start_addresses)): Don't use BP_SYM.
37717         (_start): Likewise.
37718         * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
37719         <bp-asm.h>.
37720         (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
37721         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
37722         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
37723         * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
37724         <bp-asm.h>.
37725         (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
37726         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
37727         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
37728         * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
37729         <bp-asm.h>.
37730         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
37731         comments.
37732         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
37733         * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
37734         <bp-asm.h>.
37735         (strcpy): Don't use BP_SYM and macros from bp-asm.h.  Remove GKM
37736         FIXME comments.
37737         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
37738         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
37739         * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
37740         <bp-asm.h>.
37741         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
37742         comment.
37743         * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
37744         and <bp-asm.h>.
37745         (strncmp): Don't use BP_SYM,
37746         * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
37747         <bp-asm.h>.
37748         (__mpn_sub_n): Don't use BP_SYM.
37749         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
37750         * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
37751         and <bp-asm.h>.
37752         (__mpn_submul_1): Don't use BP_SYM.
37753         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
37754         * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
37755         <bp-sym.h> and <bp-asm.h>.
37756         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
37757         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
37758         <bp-sym.h> and <bp-asm.h>.
37759         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
37760         comment.
37762 2013-02-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
37764         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
37765         Use ZK to minimize writes to Z.
37766         (sub_magnitudes): Simplify code a bit.
37767         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
37768         Use ZK to minimize writes to Z.
37769         (sub_magnitudes): Simplify code a bit.
37771 2013-02-27  Roland McGrath  <roland@hack.frob.com>
37773         * csu/gmon-start.c: Add special exception to license text.
37775 2013-02-27  Richard Henderson  <rth@redhat.com>
37777         * scripts/config.guess: Update from config.git.
37778         * scripts/config.sub: Likewise.
37780 2013-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
37782         * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
37784         * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
37786         * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
37788         * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
37790         * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
37792 2013-02-26  Roland McGrath  <roland@hack.frob.com>
37794         * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
37795         [$(build-shared = yes].
37797 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
37799         * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
37800         (__mul): Reduce iterations for calculating mantissa.
37802         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
37803         MPTWO.
37804         (__mpranred): Likewise.
37806         [BZ #15160]
37807         * malloc/memusagestat.c (main): Draw graphs for heap and stack
37808         only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
37810 2013-02-26  Paul Eggert  <eggert@cs.ucla.edu>
37812         * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
37813         Define __attribute__.
37815 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
37817         * locale/elem-hash.h (elem_hash): Mark as pure and possibly
37818         unused.
37819         * posix/regex_internal.h (__attribute): Remove.
37820         [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
37821         (re_string_context_at): Likewise.
37822         (bitset_not): Use __attribute__ and mark function as possibly
37823         unused.
37824         (bitset_merge): Likewise.
37825         (bitset_mask): Likewise.
37826         (re_string_char_size_at): Likewise.
37827         (re_string_wchar_at): Likewise.
37828         (re_string_elem_size_at): Likewise.
37830 2013-02-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
37832         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
37833         code.
37834         (cc32): Likewise.
37836         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
37837         (__acr): Likewise.
37838         (__cpy): Likewise.
37839         (norm): Likewise.
37840         (denorm): Likewise.
37841         (__dbl_mp): Likewise.
37842         (add_magnitudes): Likewise.
37843         (sub_magnitudes): Likewise.
37844         (__mul): Likewise.
37845         (__inv): Likewise.
37847         * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
37848         style.
37850         * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
37851         style.
37853         * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
37854         code.
37856         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
37857         up changes with default code.
37858         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
37859         Likewise.
37861 2013-02-24  Allan McRae  <allan@archlinux.org>
37863         * manual/socket.texi (The Internet Namespace): Order menu items
37864         to match that in the file.
37866         * manual/libc-texinfo.sh: Use @detailmenu around the detailed
37867         node listing of the info page menu.
37869 2013-02-21  Joseph Myers  <joseph@codesourcery.com>
37871         [BZ #13550]
37872         * sysdeps/i386/bp-asm.h: Remove file.
37873         * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
37874         (PARMS): Do not use macros from bp-asm.h.
37875         (S1): Likewise.
37876         (S2): Likewise.
37877         (SIZE): Likewise.
37878         (__mpn_add_n): Do not use BP_SYM
37879         * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
37880         "bp-asm.h".
37881         (PARMS): Do not use macros from bp-asm.h.
37882         (S1): Likewise.
37883         (SIZE): Likewise.
37884         (__mpn_addmul_1): Do not use BP_SYM
37885         * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
37886         "bp-asm.h".
37887         (PARMS): Do not use macros from bp-asm.h.
37888         (SIGMSK): Likewise.
37889         (_setjmp): Likewise.  Do not use BP_SYM.
37890         * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
37891         "bp-asm.h".
37892         (PARMS): Do not use macros from bp-asm.h.
37893         (SIGMSK): Likewise.
37894         (setjmp): Likewise.  Do not use BP_SYM.
37895         * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
37896         "bp-asm.h".
37897         (PARMS): Do not use macros from bp-asm.h.
37898         (__frexp): Do not use BP_SYM.
37899         (frexp): Likewise.
37900         * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
37901         "bp-asm.h".
37902         (PARMS): Do not use macros from bp-asm.h.
37903         (__frexpf): Do not use BP_SYM.
37904         (frexpf): Likewise.
37905         * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
37906         "bp-asm.h".
37907         (PARMS): Do not use macros from bp-asm.h.
37908         (__frexpl): Do not use BP_SYM.
37909         (frexpl): Likewise.
37910         * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
37911         "bp-asm.h".
37912         (PARMS): Do not use macros from bp-asm.h.
37913         (__remquo): Do not use BP_SYM.
37914         (remquo): Likewise.
37915         * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
37916         "bp-asm.h".
37917         (PARMS): Do not use macros from bp-asm.h.
37918         (__remquof): Do not use BP_SYM.
37919         (remquof): Likewise.
37920         * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
37921         "bp-asm.h".
37922         (PARMS): Do not use macros from bp-asm.h.
37923         (__remquol): Do not use BP_SYM.
37924         (remquol): Likewise.
37925         * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
37926         "bp-asm.h".
37927         (PARMS): Do not use macros from bp-asm.h.
37928         (DEST): Likewise.
37929         (SRC): Likewise.
37930         (strcat): Remove GKM FIXME comment.  Do not use BP_SYM.
37931         * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
37932         "bp-asm.h".
37933         (PARMS): Do not use macros from bp-asm.h.
37934         (strlen): Do not use BP_SYM.
37935         * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
37936         "bp-asm.h".
37937         (PARMS): Do not use macros from bp-asm.h.
37938         (S1): Likewise.
37939         (S2): Likewise.
37940         (SIZE): Likewise.
37941         (__mpn_add_n): Do not use BP_SYM.
37942         * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
37943         "bp-asm.h".
37944         (PARMS): Do not use macros from bp-asm.h.
37945         (S1): Likewise.
37946         (SIZE): Likewise.
37947         (__mpn_addmul_1): Do not use BP_SYM.
37948         * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
37949         weak_alias.
37950         (bzero): Likewise.
37951         * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
37952         "bp-asm.h".
37953         (PARMS): Do not use macros from bp-asm.h.
37954         (S): Likewise.
37955         (SIZE): Likewise.
37956         (__mpn_lshift): Do not use BP_SYM.
37957         * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
37958         "bp-asm.h".
37959         (PARMS): Do not use macros from bp-asm.h.
37960         (DEST): Likewise.
37961         (SRC): Likewise.
37962         (LEN): Likewise.
37963         (memcpy): Likewise.  Do not use BP_SYM.
37964         * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
37965         libc_hidden_def and weak_alias.
37966         (mempcpy): Do not use BP_SYM in weak_alias.
37967         * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
37968         "bp-asm.h".
37969         (PARMS): Do not use macros from bp-asm.h.
37970         (DEST): Likewise.
37971         (LEN): Likewise.
37972         [!BZERO_P] (CHR): Likewise.
37973         (memset): Likewise.  Do not use BP_SYM.
37974         * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
37975         "bp-asm.h".
37976         (PARMS): Do not use macros from bp-asm.h.
37977         (S1): Likewise.
37978         (SIZE): Likewise.
37979         (__mpn_mul_1): Do not use BP_SYM.
37980         * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
37981         "bp-asm.h".
37982         (PARMS): Do not use macros from bp-asm.h.
37983         (S): Likewise.
37984         (SIZE): Likewise.
37985         (__mpn_rshift): Do not use BP_SYM.
37986         * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
37987         "bp-asm.h".
37988         (PARMS): Do not use macros from bp-asm.h.
37989         (STR): Likewise.
37990         (CHR): Likewise.
37991         (strchr): Likewise.  Do not use BP_SYM.
37992         (index): Do not use BP_SYM in weak_alias.
37993         * sysdeps/i386/i586/strcpy.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         (STRCPY): Likewise.  Remove GKM FIXME comment.  Do not use BP_SYM.
37999         * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
38000         "bp-asm.h".
38001         (PARMS): Do not use macros from bp-asm.h.
38002         (strlen): Do not use BP_SYM.
38003         * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
38004         "bp-asm.h".
38005         (PARMS): Do not use macros from bp-asm.h.
38006         (S1): Likewise.
38007         (S2): Likewise.
38008         (SIZE): Likewise.
38009         (__mpn_sub_n): Do not use BP_SYM.
38010         * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
38011         "bp-asm.h".
38012         (PARMS): Do not use macros from bp-asm.h.
38013         (S1): Likewise.
38014         (SIZE): Likewise.
38015         (__mpn_submul_1): Do not use BP_SYM.
38016         * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
38017         "bp-asm.h".
38018         (PARMS): Do not use macros from bp-asm.h.
38019         (S1): Likewise.
38020         (S2): Likewise.
38021         (SIZE): Likewise.
38022         (__mpn_add_n): Do not use BP_SYM.
38023         * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
38024         weak_alias.
38025         (bzero): Likewise.
38026         * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
38027         "bp-asm.h".
38028         (PARMS): Do not use macros from bp-asm.h.
38029         (BLK2): Likewise.
38030         (LEN): Likewise.
38031         (memcmp): Do not use BP_SYM.
38032         (bcmp): Do not use BP_SYM in weak_alias.
38033         * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
38034         "bp-asm.h".
38035         (PARMS): Do not use macros from bp-asm.h.
38036         (DEST): Likewise.
38037         (SRC): Likewise.
38038         (LEN): Likewise.
38039         (memcpy): Likewise.  Do not use BP_SYM.
38040         * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
38041         "bp-asm.h".
38042         (PARMS): Do not use macros from bp-asm.h.
38043         (DEST): Likewise.
38044         (SRC): Likewise.
38045         (LEN): Likewise.
38046         (memmove): Likewise.  Do not use BP_SYM.
38047         * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
38048         "bp-asm.h".
38049         (PARMS): Do not use macros from bp-asm.h.
38050         (DEST): Likewise.
38051         (SRC): Likewise.
38052         (LEN): Likewise.
38053         (__mempcpy): Likewise.  Do not use BP_SYM.
38054         (mempcpy): Do not use BP_SYM in weak_alias.
38055         * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
38056         "bp-asm.h".
38057         (PARMS): Do not use macros from bp-asm.h.
38058         (DEST): Likewise.
38059         (LEN): Likewise.
38060         [!BZERO_P] (CHR): Likewise.
38061         (memset): Likewise.  Do not use BP_SYM.
38062         * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
38063         "bp-asm.h".
38064         (PARMS): Do not use macros from bp-asm.h.
38065         (STR2): Likewise.
38066         (strcmp): Do not use BP_SYM.
38067         * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
38068         "bp-asm.h".
38069         (PARMS): Do not use macros from bp-asm.h.
38070         (STR): Likewise.
38071         (DELIM): Likewise.
38072         [USE_AS_STRTOK_R] (SAVE): Likewise.
38073         (FUNCTION): Likewise.  Do not use BP_SYM.
38074         * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
38075         aliases.
38076         (strtok_r): Likewise.
38077         (__GI___strtok_r): Likewise.
38078         * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
38079         (PARMS): Do not use macros from bp-asm.h.
38080         (S): Likewise.
38081         (SIZE): Likewise.
38082         (__mpn_lshift): Do not use BP_SYM.
38083         * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
38084         (PARMS): Do not use macros from bp-asm.h.
38085         (STR): Likewise.
38086         (CHR): Likewise.
38087         (__memchr): Do not use BP_SYM.
38088         (memchr): Do not use BP_SYM in weak_alias.
38089         * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
38090         (PARMS): Do not use macros from bp-asm.h.
38091         (BLK2): Likewise.
38092         (LEN): Likewise.
38093         (memcmp): Do not use BP_SYM.
38094         (bcmp): Do not use BP_SYM in weak_alias.
38095         * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
38096         (PARMS): Do not use macros from bp-asm.h.
38097         (S1): Likewise.
38098         (SIZE): Likewise.
38099         (__mpn_mul_1): Do not use BP_SYM.
38100         * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
38101         "bp-asm.h".
38102         (PARMS): Do not use macros from bp-asm.h.
38103         (STR): Likewise.
38104         (CHR): Likewise.
38105         (__rawmemchr): Do not use BP_SYM.
38106         (rawmemchr): Do not use BP_SYM in weak_alias.
38107         * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
38108         (PARMS): Do not use macros from bp-asm.h.
38109         (S): Likewise.
38110         (SIZE): Likewise.
38111         (__mpn_rshift): Do not use BP_SYM.
38112         * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
38113         (PARMS): Do not use macros from bp-asm.h.
38114         (SIGMSK): Likewise.
38115         (__sigsetjmp): Likewise.  Do not use BP_SYM.
38116         * sysdeps/i386/start.S: Do not include "bp-sym.h".
38117         (_start): Do not use BP_SYM.
38118         * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
38119         (PARMS): Do not use macros from bp-asm.h.
38120         (DEST): Likewise.
38121         (SRC): Likewise.
38122         (__stpcpy): Likewise.  Do not use BP_SYM.
38123         (stpcpy): Do not use BP_SYM in weak_alias.
38124         * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
38125         "bp-asm.h".
38126         (PARMS): Do not use macros from bp-asm.h.
38127         (DEST): Likewise.
38128         (SRC): Likewise.
38129         (LEN): Likewise.
38130         (__stpncpy): Likewise.  Do not use BP_SYM.
38131         (stpncpy): Do not use BP_SYM in weak_alias.
38132         * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
38133         (PARMS): Do not use macros from bp-asm.h.
38134         (STR): Likewise.
38135         (CHR): Likewise.
38136         (strchr): Likewise.  Do not use BP_SYM.
38137         * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
38138         "bp-asm.h".
38139         (PARMS): Do not use macros from bp-asm.h.
38140         (STR): Likewise.
38141         (CHR): Likewise.
38142         (__strchrnul): Likewise.  Do not use BP_SYM.
38143         (strchrnul): Do not use BP_SYM in weak_alias.
38144         * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
38145         "bp-asm.h".
38146         (PARMS): Do not use macros from bp-asm.h.
38147         (STOP): Likewise.
38148         (strcspn): Do not use BP_SYM.
38149         * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
38150         "bp-asm.h".
38151         (PARMS): Do not use macros from bp-asm.h.
38152         (STR): Likewise.
38153         (STOP): Likewise.
38154         (strpbrk): Likewise.  Do not use BP_SYM.
38155         * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
38156         "bp-asm.h".
38157         (PARMS): Do not use macros from bp-asm.h.
38158         (STR): Likewise.
38159         (CHR): Likewise.
38160         (strrchr): Likewise.  Do not use BP_SYM.
38161         * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
38162         (PARMS): Do not use macros from bp-asm.h.
38163         (SKIP): Likewise.
38164         (strspn): Do not use BP_SYM.
38165         * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
38166         (PARMS): Do not use macros from bp-asm.h.
38167         (STR): Likewise.
38168         (DELIM): Likewise.
38169         (SAVE): Likewise.
38170         (FUNCTION): Likewise.  Do not use BP_SYM.
38171         * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
38172         aliases.
38173         (strtok_r): Likewise.
38174         (__GI___strtok_r): Likewise.
38175         * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
38176         (PARMS): Do not use macros from bp-asm.h.
38177         (S1): Likewise.
38178         (S2): Likewise.
38179         (SIZE): Likewise.
38180         (__mpn_sub_n): Do not use BP_SYM.
38181         * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
38182         "bp-asm.h".
38183         (PARMS): Do not use macros from bp-asm.h.
38184         (S1): Likewise.
38185         (SIZE): Likewise.
38186         (__mpn_submul_1): Do not use BP_SYM.
38187         * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
38188         <bp-sym.h>.
38189         * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
38190         and <bp-asm.h>.
38191         (PARMS): Do not use macros from bp-asm.h.
38192         (FLAGS): Likewise.
38193         (PTID): Likewise.
38194         (TLS): Likewise.
38195         (CTID): Likewise.
38196         (__clone): Do not use BP_SYM.
38197         (clone): Do not use BP_SYM in weak_alias.
38198         * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
38199         and <bp-asm.h>.
38200         (PARMS): Do not use macros from bp-asm.h.
38201         (LEN): Likewise.
38202         (__mmap64): Do not use BP_SYM.
38203         (mmap64): Do not use BP_SYM in weak_alias.
38204         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
38205         <bp-sym.h> and <bp-asm.h>.
38206         (PARMS): Do not use macros from bp-asm.h.
38207         (__posix_fadvise64_l64): Do not use BP_SYM.
38208         * sysdeps/unix/sysv/linux/i386/semtimedop.S
38209         (PARMS): Do not use macros from bp-asm.h.
38210         (NSOPS): Likewise.
38211         (semtimedop): Do not use BP_SYM.
38212         * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
38213         and <bp-asm.h>.
38215 2013-02-21  Allan McRae  <allan@archlinux.org>
38217         * manual/message.texi (Charset conversion in gettext):
38218         Move @end statement to beginning of line.
38220 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
38222         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
38223         static.
38224         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
38225         Likewise.
38227         * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
38228         (denorm): Likewise.
38229         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
38230         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
38232 2013-02-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
38234         * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
38235         tail-call to the resolved function if pltexit isn't needed.
38237 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
38239         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
38240         or Y being zero as being unlikely.
38241         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
38242         Likewise.
38244 2013-02-20  Carlos O'Donell  <carlos@redhat.com>
38246         * manual/nss.texi (System Databases and Name Service Switch):
38247         Remove frobnicate @pxref.
38249 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
38251         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
38252         __attribute__ ((unused)) to __attribute__ ((__unused__)).
38254 2013-02-20  Petr Machata  <pmachata@redhat.com>
38256         * elf/elf.h (R_ARM_TARGET1): New macro.
38257         (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
38258         (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
38259         (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
38260         (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
38261         (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
38262         (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
38263         (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
38264         (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
38265         (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
38266         (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
38267         (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
38268         (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
38269         (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
38270         (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
38271         (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
38272         (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
38273         (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
38274         (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
38275         (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
38276         (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
38277         (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
38278         (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
38279         (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
38280         (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
38281         (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
38282         (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
38283         (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
38284         (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
38285         (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
38286         (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
38287         (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
38288         (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
38289         (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
38290         (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
38291         (R_ARM_THM_GOT_BREL12): Likewise.
38292         (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
38293         (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
38294         (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
38295         (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
38296         (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
38297         (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
38298         (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
38299         (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
38300         (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
38302 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
38304         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
38305         __attribute_used__ to __attribute__ ((unused)).
38307 2013-02-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
38309         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
38310         powerpc mpa.c.
38311         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
38312         comment formatting.
38313         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
38315 2013-02-19  Joseph Myers  <joseph@codesourcery.com>
38317         [BZ #13550]
38318         * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
38319         Remove macro.
38320         (ENTER): Remove both macro definitions.
38321         (LEAVE): Likewise.
38322         (CHECK_BOUNDS_LOW): Likewise.
38323         (CHECK_BOUNDS_HIGH): Likewise.
38324         (CHECK_BOUNDS_BOTH): Likewise.
38325         (CHECK_BOUNDS_BOTH_WIDE): Likewise.
38326         (RETURN_BOUNDED_POINTER): Likewise.
38327         (RETURN_NULL_BOUNDED_POINTER): Likewise.
38328         (PUSH_ERRNO_LOCATION_RETURN): Likewise.
38329         (POP_ERRNO_LOCATION_RETURN): Likewise.
38330         * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
38331         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
38332         * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
38333         macros.
38334         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
38335         * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
38336         * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
38337         * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
38338         * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
38339         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
38340         * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
38341         * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
38342         * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
38343         * sysdeps/i386/i486/strcat.S (strcat): Likewise.
38344         * sysdeps/i386/i486/strlen.S (strlen): Likewise.
38345         * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
38346         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
38347         * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
38348         removed macros.
38349         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
38350         * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
38351         macros.
38352         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
38353         * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
38354         * sysdeps/i386/i586/memset.S (memset): Likewise.
38355         * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
38356         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
38357         * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
38358         macros.
38359         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
38360         * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
38361         Change uses of L(2) to L(out).
38362         * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
38363         * sysdeps/i386/i586/strlen.S (strlen): Likewise.
38364         * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
38365         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
38366         * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
38367         removed macros.
38368         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
38369         * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
38370         macros.
38371         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
38372         * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
38373         (RETURN): Do not use macro LEAVE.
38374         * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
38375         * sysdeps/i386/i686/memmove.S (memmove): Likewise.
38376         * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
38377         * sysdeps/i386/i686/memset.S (memset): Likewise.
38378         * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
38379         (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
38380         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
38381         * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
38382         Likewise.
38383         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
38384         (FUNCTION): Do not use removed macros.  Combine labels L(1_1),
38385         L(1_2) and L(1_3) into L(1).
38386         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
38387         * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
38388         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
38389         * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
38390         (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
38391         * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
38392         * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
38393         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
38394         * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
38395         macros.
38396         * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
38397         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
38398         * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
38399         * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
38400         * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
38401         (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
38402         * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
38403         * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
38404         * sysdeps/i386/strcspn.S (strcspn): Likewise.
38405         * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
38406         * sysdeps/i386/strrchr.S (strrchr): Likewise.
38407         * sysdeps/i386/strspn.S (strspn): Likewise.
38408         * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
38409         conditional code.
38410         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
38411         (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
38412         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
38413         (FUNCTION): Do not use removed macros.  Combine labels L(1_2) and
38414         L(1_3) into L(1_1).
38415         * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
38416         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
38417         * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
38418         macros.
38419         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
38421 2013-02-19  Jakub Jelinek  <jakub@redhat.com>
38423         * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
38424         macro.
38426 2013-02-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
38428         * math/atest-exp.c (exp_mpn): Remove ROUND.
38429         * math/atest-exp2.c (exp_mpn): Likewise.
38430         * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
38432         * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
38433         * stdlib/tst-tls-atexit-lib.c: Likewise.
38434         * stdlib/tst-tls-atexit.c: Likewise.
38436 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
38438         * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
38439         and __attribute_alloc_size__.
38441 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
38443         * include/programs/xmalloc.h: Change __attribute_alloc_size to
38444         __attribute_alloc_size__.
38445         * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
38446         * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
38448 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
38450         * include/programs/xmalloc.h: New file.
38451         * catgets/gencat.c: Include it.
38452         (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
38453         * elf/pldd.c: Likewise.
38454         * iconv/iconv_charmap.c: Likewise.
38455         * iconv/iconvconfig.c: Likewise.
38456         * iconv/strtab.c: Likewise.
38457         * locale/programs/locale.c: Likewise.
38458         * locale/programs/localedef.h: Likewise.
38459         * locale/programs/simple-hash.c: Likewise.
38460         * nscd/nscd.h: Likewise.
38461         * nss/makedb.c: Likewise.
38462         * sysdeps/generic/ldconfig.h: Likewise.
38464 2013-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
38466         * Versions.def: Add GLIBC_2.18.
38467         * include/link.h (struct link_map): New member l_tls_dtor_count.
38468         * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
38469         (__call_tls_dtors): Likewise.
38470         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
38471         __cxa_thread_atexit_impl.
38472         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
38473         Likewise.
38474         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
38475         Likewise.
38476         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
38477         Likewise.
38478         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
38479         Likewise.
38480         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
38481         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
38482         Likewise.
38483         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
38484         Likewise.
38485         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
38486         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
38487         Likewise.
38488         * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
38489         (tests): Add test case tst-tls-atexit.
38490         (modules-names): Add shared library for tst-tls-atexit.
38491         * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
38492         (GLIBC_PRIVATE): Add __call_tls_dtors.
38493         * stdlib/cxa_thread_atexit_impl.c: New file with helper function
38494         for libstdc++.
38495         * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
38496         * stdlib/tst-tls-atexit.c: New test case.
38497         * stdlib/tst-tls-atexit-lib.c: New test case.
38499         * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
38501         * elf/Versions (ld): Add _dl_find_dso_for_object.
38502         * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
38503         * elf/dl-open.c (_dl_find_dso_for_object): New function.
38504         (dl_open_worker): Use _dl_find_dso_for_object.
38505         * elf/dl-sym.c (do_sym): Likewise.
38506         * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
38508 2013-02-18  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
38510         * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
38511         Syntactic changes only.
38512         (_dl_runtime_profile): Do a tail-call to the resolved function.
38514 2013-02-17  Joseph Myers  <joseph@codesourcery.com>
38516         [BZ #13550]
38517         * sysdeps/x86_64/bp-asm.h: Remove file.
38518         * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
38519         <bp-sym.h> and <bp-asm.h>.
38520         (__clone): Do not use BP_SYM.
38521         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
38522         <bp-sym.h> and <bp-asm.h>.
38523         * sysdeps/unix/x86_64/sysdep.S: Likewise.
38524         * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
38525         "bp-asm.h".
38526         (_setjmp): Do not use BP_SYM.
38527         * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
38528         "bp-asm.h".
38529         (setjmp): Do not use BP_SYM.
38530         * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
38531         libc_hidden_def.
38532         (mempcpy): Do not use BP_SYM in weak_alias.
38533         * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
38534         "bp-asm.h".
38535         (strchr): Do not use BP_SYM.
38536         * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
38537         "bp-asm.h".
38538         * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
38539         * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
38540         (_start): Do not use BP_SYM.
38541         * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
38542         "bp-asm.h".
38543         (strcat): Do not use BP_SYM.
38544         * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
38545         "bp-asm.h".
38546         (STRCMP): Do not use BP_SYM.
38547         * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
38548         "bp-asm.h".
38549         (STRCPY): Do not use BP_SYM.
38550         * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
38551         "bp-asm.h".
38552         * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
38553         "bp-asm.h".
38554         (FUNCTION): Do not use BP_SYM.
38555         * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
38556         weak_alias.
38557         (__GI___strtok_r): Do not use BP_SYM in strong_alias.
38559 2013-02-17  Andreas Jaeger  <aj@suse.de>
38561         * time/Versions: Sort entries.
38562         * string/Versions: Likewise.
38563         * resolv/Versions: Likewise.
38564         * posix/Versions: Likewise.
38565         * iconv/Versions: Likewise.
38566         * elf/Versions: Likewise.
38567         * wcsmbs/Versions: Likewise.
38569 2013-02-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
38571         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
38572         loop termination condition.
38574         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
38575         variable to calculate EZ.
38576         (__sqr): Likewise.
38578         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
38579         the lower precision input.
38581 2013-02-15  Joseph Myers  <joseph@codesourcery.com>
38583         [BZ #13550]
38584         * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
38585         [!link-extra-libs] (link-extra-libs-bounded): Likewise.
38586         (run-via-rtld-prefix): Do not handle %-bp tests.
38587         (test-via-rtld-prefix): Do not mention %-bp tests in comment.
38588         (all-object-suffixes): Remove .ob.
38589         (bppfx): Remove variable.
38590         [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
38591         [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
38592         [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
38593         [$(build-bounded) = yes] (libtype.ob): Likewise.
38594         * Makerules (elide-routines.ob): Remove variable.
38595         (do-tests-clean): Do not handle *-bp.out.
38596         (common-mostlyclean): Do not handle *-bp and *-bp.out.
38597         * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
38598         [$(build-bounded) = yes] (xtests-bp.out): Likewise.
38599         (tests): Do not include $(tests-bp.out).
38600         (xtests): Do not include $(xtests-bp.out).
38601         [$(build-bounded) = yes] (binaries-bounded): Remove variable.
38602         [$(build-bounded) = yes] ($(addprefix
38603         $(objpfx),$(binaries-bounded))): Remove rule.
38604         ($(objpfx)%-bp.out): Remove rule.
38605         * config.make.in (build-bounded): Remove variable.
38606         * crypt/Makefile [$(build-bounded) = yes]
38607         ($(tests:%=$(objpfx)%-bp)): Remove dependency.
38608         * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
38609         append to variable.
38610         [$(build-bounded) = yes] (install-lib): Likewise.
38611         [$(build-bounded) = yes] (generated): Likewise.
38612         [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
38613         Remove rule.
38614         * intl/Makefile [$(build-bounded) = yes]
38615         ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
38616         * math/Makefile [$(build-bounded) = yes]
38617         ($(tests:%=$(objpfx)%-bp): Likewise.
38618         * misc/Makefile [$(build-bounded) = yes]
38619         ($(objpfx)tst-tsearch-bp): Likewise.
38620         * nptl/Makeconfig (bounded-thread-library): Remove variable.
38621         * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
38622         Remove dependency.
38623         * string/Makefile (o-objects.ob): Remove variable.
38624         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
38625         (CFLAGS-.ob): Remove variable.
38626         [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
38627         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
38628         both definitions of variable.
38629         * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
38630         (ASFLAGS-.ob): Remove variable.
38632 2013-02-14  Joseph Myers  <joseph@codesourcery.com>
38634         [BZ #13550]
38635         * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
38636         Remove __BOUNDED_POINTERS__ from condition.
38637         * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
38638         * string/bits/string2.h [!__NO_STRING_INLINES &&
38639         !__BOUNDED_POINTERS__]: Likewise.
38640         * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
38641         Likewise.
38642         * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
38643         Remove conditional code.
38644         * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
38645         __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
38646         !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
38647         condition.
38649         [BZ #13550]
38650         * csu/libc-start.c: Do not include <bp-sym.h>.
38651         [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
38652         * elf/dl-open.c: Do not include <bp-sym.h>.
38653         (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
38654         * math/fegetenv.c: Do not include <bp-sym.h>.
38655         (fegetenv): Do not use BP_SYM in versioned symbols.
38656         * nptl/sysdeps/pthread/bits/libc-lockP.h
38657         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
38658         <bp-sym.h>.
38659         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
38660         (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
38661         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
38662         (__pthread_mutex_destroy): Likewise.
38663         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
38664         (__pthread_mutex_lock): Likewise.
38665         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
38666         (__pthread_mutex_trylock): Likewise.
38667         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
38668         (__pthread_mutex_unlock): Likewise.
38669         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
38670         (__pthread_mutexattr_init): Likewise.
38671         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
38672         (__pthread_mutexattr_destroy): Likewise.
38673         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
38674         (__pthread_mutexattr_settype): Likewise.
38675         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
38676         (__pthread_rwlock_init): Likewise.
38677         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
38678         (__pthread_rwlock_destroy): Likewise.
38679         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
38680         (__pthread_rwlock_rdlock): Likewise.
38681         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
38682         (__pthread_rwlock_tryrdlock): Likewise.
38683         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
38684         (__pthread_rwlock_wrlock): Likewise.
38685         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
38686         (__pthread_rwlock_trywrlock): Likewise.
38687         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
38688         (__pthread_rwlock_unlock): Likewise.
38689         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
38690         (__pthread_key_create): Likewise.
38691         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
38692         (__pthread_setspecific): Likewise.
38693         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
38694         (__pthread_getspecific): Likewise.
38695         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
38696         Likewise.
38697         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
38698         (_pthread_cleanup_push_defer): Likewise.
38699         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
38700         (_pthread_cleanup_pop_restore): Likewise.
38701         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
38702         (pthread_setcancelstate): Likewise.
38703         * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
38704         <bp-sym.h>.
38705         [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
38706         (memchr): Do not use BP_SYM in weak_alias.
38707         * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
38708         (fegetenv): Do not use BP_SYM in versioned symbols.
38709         * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
38710         (fesetenv): Do not use BP_SYM in versioned symbols.
38711         * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
38712         (feupdateenv): Do not use BP_SYM in versioned symbols.
38713         * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
38714         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
38715         * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
38716         (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
38717         (open64): Do not use BP_SYM in weak_alias.
38718         * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
38719         (fegetenv): Do not use BP_SYM in versioned symbols.
38720         * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
38721         (fesetenv): Do not use BP_SYM in versioned symbols.
38722         * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
38723         (feupdateenv): Do not use BP_SYM in versioned symbols.
38724         * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
38725         (fegetexceptflag): Do not use BP_SYM in versioned symbols.
38726         * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
38727         (feraiseexcept): Do not use BP_SYM in versioned symbols.
38728         * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
38729         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
38730         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
38731         <bp-sym.h>.
38732         (__libc_start_main): Do not use BP_SYM.
38734 2013-02-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
38736         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
38737         redundant return line.
38738         (norm): Likewise.
38739         (denorm): Likewise.
38740         (dbl_mp): Likewise.
38741         (sub_magnitudes): Likewise.
38742         (__add): Likewise.
38743         (__sub): Likewise.
38744         (__mul): Likewise.
38745         (__inv): Likewise.
38746         (__dvd): Likewise.
38747         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
38748         (norm): Likewise.
38749         (denorm): Likewise.
38750         (dbl_mp): Likewise.
38751         (sub_magnitudes): Likewise.
38752         (__add): Likewise.
38753         (__sub): Likewise.
38754         (__mul): Likewise.
38755         (__inv): Likewise.
38756         (__dvd): Likewise.
38758         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
38759         instead of __mul.
38760         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
38761         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
38762         (cc32): Likewise.
38764         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
38765         * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
38766         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
38767         of __mul for squares.
38768         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
38769         function
38770         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
38771         Likewise.
38772         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
38773         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
38775 2013-02-13  Joseph Myers  <joseph@codesourcery.com>
38777         [BZ #13550]
38778         * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
38779         code.
38780         * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
38781         prototype or function definition.  Rename ubp_* variables and
38782         parameters.  Remove argv definitions conditional on
38783         [__BOUNDED_POINTERS__].
38784         * debug/backtrace.c (__backtrace): Do not use __unbounded.
38785         * elf/dl-runtime.c (_dl_fixup): Likewise.
38786         * include/set-hooks.h (RUN_HOOK): Likewise.
38787         * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
38788         definition.
38789         * string/strcpy.c (strcpy): Do not use __unbounded.
38790         * sysdeps/generic/frame.h (struct layout): Likewise.
38791         * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
38792         * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
38793         * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
38794         * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
38795         * sysdeps/sparc/backtrace.c (struct layout): Likewise.
38796         (__backtrace): Likewise.
38797         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
38798         use __ptrvalue.
38799         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
38800         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
38801         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
38802         Likewise.
38803         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
38804         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
38805         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
38806         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
38807         * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
38808         Do not use __unbounded.
38809         * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
38810         Rename __unboundedrlimits parameter to rlimits in prototype.
38811         * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
38812         Do not use __unbounded.
38813         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
38814         not use __ptrvalue.
38815         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
38816         * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
38817         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
38818         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
38819         __ptrvalue or __unbounded.
38820         (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
38821         * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
38822         use __unbounded.
38823         (__new_msgctl): Do not use __ptrvalue.
38824         * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
38825         __unbounded.
38826         (__libc_msgrcv): Do not use __ptrvalue.
38827         * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
38828         startup_info): Do not use __unbounded.
38829         (__libc_start_main): Likewise.  Rename ubp_* variables and
38830         parameters.  Remove argv definitions conditional on
38831         [__BOUNDED_POINTERS__].
38832         * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
38833         __ptrvalue.
38834         * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
38835         use __unbounded.
38836         * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
38837         or __ptrvalue.
38838         * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
38839         use __unbounded.
38840         (__new_shmctl): Do not use __ptrvalue.
38841         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
38842         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
38843         Likewise.
38844         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
38845         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
38846         (__libc_sigaction): Likewise.
38847         * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
38848         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
38849         Likewise.
38850         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
38852 2013-02-13   Ondřej Bílka  <neleai@seznam.cz>
38854         * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
38856         * string/mempcpy.c: Implement by calling memcpy.
38858 2013-02-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
38860         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
38862         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
38863         evaluation.
38865         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
38866         values in the mantissa.
38868         * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
38869         minimize writes to Z.
38870         (sub_magnitudes): Simplify code a bit.
38872 2013-02-12  Roland McGrath  <roland@hack.frob.com>
38874         * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
38875         from the message.  The linker prefixes all warnings with that already.
38877 2013-02-12  Andreas Schwab  <schwab@suse.de>
38879         [BZ #15078]
38880         * posix/regexec.c (extend_buffers): Add parameter min_len.
38881         (check_matching): Pass minimum needed length.
38882         (clean_state_log_if_needed): Likewise.
38883         (get_subexp): Likewise.
38884         * posix/Makefile (tests): Add bug-regex34.
38885         (bug-regex34-ENV): Define.
38886         * posix/bug-regex34.c: New file.
38888         [BZ #11561]
38889         * posix/regcomp.c (parse_bracket_exp): When looking up collating
38890         elements compare against the byte sequence of it, not its name.
38891         * posix/Makefile (tests): Add bug-regex35.
38892         (bug-regex35-ENV): Define.
38893         * posix/bug-regex35.c: New file.
38895 2013-02-11  Tom de Vries  <tom@codesourcery.com>
38897         * string/str-two-way.h:  Fix typo RESULT_TYPE -> RETURN_TYPE in
38898         comment.
38899         Add RET0_IF_0 and CHECK_EOL to macro list in comment.
38900         (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
38901         (CHECK_EOL): Add undef.
38903 2013-02-11   Ondřej Bílka  <neleai@seznam.cz>
38905         * bits/stdlib-bsearch.h: New file.
38906         * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
38907         * stdlib/stdlib.h: Likewise.
38909 2013-02-11  Roland McGrath  <roland@hack.frob.com>
38911         * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
38912         * manual/errno.texi (Error Messages): Fix typo in error_print_progname
38913         declaration.
38914         * manual/search.texi (Array Search Function): Add missing const in
38915         lfind prototype.
38916         * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
38917         declaration to use rlim_t.
38918         (Basic Scheduling Functions): Remove erroneous const from
38919         sched_getparam prototype.  Remove erroneous * from
38920         sched_get_priority_max and sched_get_priority_min prototypes.
38921         (Resource Usage): Fix summary @comment on vtimes to refer to
38922         sys/vtimes.h rather than vtimes.h.
38923         Add missing *s in vtimes prototype.
38924         (Limits on Resources): Fix ulimit prototype to return long int.
38925         * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
38926         prototypes to use long int rather than double.
38927         (BSD Random): Fix initstate and setstate to use char *, not void *.
38928         * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
38929         prototype to make second argument 'struct aiocb64 *const[]'.
38930         Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
38931         (Status of AIO Operations): Remove erroneous const in aio_return and
38932         aio_return64 prototypes.
38933         (Synchronizing I/O): Fix sync prototype to return void.
38934         * manual/startup.texi (Suboptions): Remove an erroneous const in
38935         getsubopt prototype.
38936         * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
38937         * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
38938         use size_t rather than int.
38939         (Scanning All Users): Likewise for getpwent_r.
38940         (Setting Groups): Add missing const to setgroups prototype.
38941         * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
38942         * manual/socket.texi (Host Names): Fix gethostbyaddr and
38943         gethostbyaddr_r prototypes to use socklen_t rather than size_t and
38944         'const void *' rather than 'const char *'.
38945         (Host Address Functions): Likewise for inet_ntop.
38946         (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
38947         (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
38948         ssize_t for return value.
38949         (Sending Data): Likewise for send, sendto, sendmsg.
38950         (Socket Option Functions): Add a missing const in setsockopt prototype.
38951         * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
38952         use wchar_t for the argument.
38953         (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
38954         * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
38955         take no arguments.
38956         (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
38957         double/float/long double for second argument.
38958         Fix return types of significand, significandf, significandl.
38959         * manual/filesys.texi (Setting Permissions): Use mode_t for second
38960         argument in fchmod prototype.
38961         (File Owner): Use uid_t and gid_t in fchown prototype.
38962         (File Times): Add const to utimes, futimes, and lutimes prototypes.
38963         (Making Special Files): Use mode_t and dev_t in mknod prototype.
38964         (Scanning Directory Content): Fix scandir and scandir64 prototypes to
38965         use 'const struct dirent **' as argument types to CMP function pointer
38966         argument.
38967         (Symbolic Links): Fix readlink prototype with ssize_t as return value.
38968         (File Times): Fix summary magic @comment for struct utimbuf and utime
38969         to refer to utime.h, not time.h.
38970         * manual/string.texi (Argz Functions): Add missing const in
38971         argz_extract and argz_next prototypes.
38972         (Finding Tokens in a String): Likewise for basename.
38973         (String/Array Comparison): Fix typo in wcscasecmp prototype.
38974         (Copying and Concatenation): Fix typo in wmemmove prototype.
38975         * manual/signal.texi (Using Pause): Use (void) in pause prototype.
38976         (Signal Stack): Remove erroneous const in sigstack prototype.
38977         * manual/time.texi (Setting an Alarm): Add missing const in setitimer
38978         prototype.
38979         (Simple Calendar Time): Likewise for stime.
38980         * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
38981         prototype.
38982         * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
38983         say sys/sysctl.h instead.
38984         * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
38985         and vsyslog prototypes.
38987 2013-02-11  Tom de Vries  <tom@codesourcery.com>
38989         * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
38990         Remove.
38992 2013-02-11  Roland McGrath  <roland@hack.frob.com>
38994         * misc/sys/mman.h: Fix typo in mremap comment.
38996 2013-02-08  Roland McGrath  <roland@hack.frob.com>
38998         * manual/examples/mkfsock.c (make_named_socket): Don't add one for
38999         the '\0' terminator.
39001 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
39003         [BZ #13550]
39004         * debug/segfault.c: Don't include <bp-checks.h>.
39005         * sysdeps/generic/bp-checks.h: Remove file.
39006         * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
39007         (__GETDENTS): Don't use CHECK_N.
39008         * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
39009         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
39010         (__getgroups): Don't use CHECK_N.
39011         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
39012         (setgroups): Don't use CHECK_N.
39013         * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
39014         * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
39015         (__libc_msgrcv): Don't use CHECK_N.
39016         * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
39017         (__libc_msgsnd): Don't use CHECK_N.
39018         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
39019         <bp-checks.h>.
39020         (__libc_pread): Don't use CHECK_N.
39021         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
39022         include <bp-checks.h>.
39023         (__libc_pread64): Don't use CHECK_N.
39024         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
39025         include <bp-checks.h>.
39026         (__libc_pwrite): Don't use CHECK_N.
39027         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
39028         include <bp-checks.h>.
39029         (__libc_pwrite64): Don't use CHECK_N.
39030         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
39031         <bp-checks.h>.
39032         (__libc_pread): Don't use CHECK_N.
39033         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
39034         include <bp-checks.h>.
39035         (__libc_pread64): Don't use CHECK_N.
39036         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
39037         include <bp-checks.h>.
39038         (__libc_pwrite): Don't use CHECK_N.
39039         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
39040         include <bp-checks.h>.
39041         (__libc_pwrite64): Don't use CHECK_N.
39042         * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
39043         (do_pread): Don't use CHECK_N.
39044         * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
39045         (do_pread64): Don't use CHECK_N.
39046         * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
39047         (do_pwrite): Don't use CHECK_N.
39048         * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
39049         (do_pwrite64): Don't use CHECK_N.
39050         * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
39051         (__libc_readv): Don't use CHECK_N.
39052         * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
39053         (semop): Don't use CHECK_N.
39054         * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
39055         <bp-checks.h>.
39056         (semtimedop): Don't use CHECK_N.
39057         * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
39058         (__libc_pread): Don't use CHECK_N.
39059         * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
39060         <bp-checks.h>.
39061         (__libc_pread64): Don't use CHECK_N.
39062         * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
39063         <bp-checks.h>.
39064         (__libc_pwrite): Don't use CHECK_N.
39065         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
39066         <bp-checks.h>.
39067         (__libc_pwrite64): Don't use CHECK_N.
39068         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
39069         <bp-checks.h>.
39070         (__libc_msgrcv): Don't use CHECK_N.
39071         * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
39072         (__sysctl): Don't use CHECK_N.  Remove GKM FIXME comment.
39073         * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
39074         (__libc_writev): Don't use CHECK_N.
39076 2013-02-08  Roland McGrath  <roland@hack.frob.com>
39078         * string/strcpy.c: Removed unused variable.
39080         * Makeconfig (+sysdep-includes): Define with := rather than =.
39081         Use an existing include/ subdir of each sysdeps dir before it.
39083 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
39085         * nscd/connection.c (register_traced_file): Comment function.
39086         [HAVE_INOTIFY] (union __inev): Define.
39087         [HAVE_INOTIFY] (inotify_check_files): New function.
39088         [HAVE_INOTIFY] (clear_db_cache): Likewise.
39089         [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
39090         clear_db_cache.
39091         [HAVE_INOTIFY] (main_loop_epoll): Likewise.
39093 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
39095         * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
39096         loaded if not already and that a failure is permanent.
39098 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
39100         [BZ #15006]
39101         * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
39102         * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
39104 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
39106         [BZ #13550]
39107         * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
39108         (CHECK_1_NULL_OK): Likewise.
39109         * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
39110         (__fxstat): Do not use CHECK_1.
39111         * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
39112         <bp-checks.h>.
39113         (___fxstat64): Do not use CHECK_1.
39114         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
39115         <bp-checks.h>.
39116         (__fxstatat): Do not use CHECK_1.
39117         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
39118         <bp-checks.h>.
39119         (__fxstatat64): Do not use CHECK_1.
39120         * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
39121         <bp-checks.h>.
39122         (__fxstat): Do not use CHECK_1.
39123         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
39124         <bp-checks.h>.
39125         (__fxstatat): Do not use CHECK_1.
39126         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
39127         <bp-checks.h>.
39128         (__getresgid): Do not use CHECK_1.
39129         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
39130         <bp-checks.h>.
39131         (__getresuid): Do not use CHECK_1.
39132         * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
39133         <bp-checks.h>.
39134         (__lxstat): Do not use CHECK_1.
39135         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
39136         <bp-checks.h>.
39137         (__old_msgctl): Do not use CHECK_1.
39138         (__new_msgctl): Likewise.
39139         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
39140         <bp-checks.h>.
39141         (__new_setrlimit): Do not use CHECK_1.
39142         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
39143         <bp-checks.h>.
39144         (__old_shmctl): Do not use CHECK_1.
39145         (__new_shmctl): Likewise.
39146         * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
39147         <bp-checks.h>.
39148         (__xstat): Do not use CHECK_1.
39149         * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
39150         (__lxstat): Do not use CHECK_1.
39151         * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
39152         <bp-checks.h>.
39153         (___lxstat64): Do not use CHECK_1.
39154         * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
39155         (__old_msgctl): Do not use CHECK_1.
39156         (__new_msgctl): Likewise.
39157         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
39158         <bp-checks.h>.
39159         (__gettimeofday): Do not use CHECK_1.
39160         * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
39161         (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
39162         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
39163         <bp-checks.h>.
39164         (__gettimeofday): Do not use CHECK_1.
39165         * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
39166         (__old_shmctl): Do not use CHECK_1_NULL_OK.
39167         (__new_shmctl): Do not use CHECK_1.
39168         * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
39169         <bp-checks.h>.
39170         (do_sigtimedwait): Do not use CHECK_1.
39171         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
39172         <bp-checks.h>.
39173         (do_sigwaitinfo): Do not use CHECK_1.
39174         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
39175         <bp-checks.h>.
39176         (msgctl): Do not use CHECK_1.
39177         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
39178         <bp-checks.h>.
39179         (shmctl): Do not use CHECK_1.
39180         * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
39181         (ustat): Do not use CHECK_1.
39182         * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
39183         <bp-checks.h>.
39184         (__fxstat): Do not use CHECK_1.
39185         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
39186         <bp-checks.h>.
39187         (__fxstatat): Do not use CHECK_1.
39188         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
39189         <bp-checks.h>.
39190         (__lxstat): Do not use CHECK_1.
39191         * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
39192         <bp-checks.h>.
39193         (__xstat): Do not use CHECK_1.
39194         * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
39195         (__xstat): Do not use CHECK_1.
39196         * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
39197         (___xstat64): Do not use CHECK_1.
39199         [BZ #13550]
39200         * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
39201         definitions.
39202         (CHECK_BOUNDS_HIGH): Likewise.
39203         * string/strcpy.c: Do not include <bp-checks.h>.
39204         (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
39206 2013-02-07  Roland McGrath  <roland@hack.frob.com>
39208         * nscd/nscd-client.h (__nscd_drop_map_ref):
39209         Add __attribute__ ((unused)).
39210         * nis/nss-nisplus.h (niserr2nss): Likewise.
39212         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
39213         under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
39215         * csu/libc-tls.c (init_static_tls, init_slotinfo):
39216         Remove inline keyword.
39217         * include/rounding-mode.h (round_away): Likewise.
39218         * libio/wfileops.c (adjust_wide_data): Likewise.
39219         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
39220         (__m128i_strloadu_tolower): Likewise.
39221         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
39222         (__m128i_strloadu_tolower): Likewise.
39223         * time/mktime.c (ydhms_diff): Likewise.
39224         * locale/elem-hash.h (elem_hash): Likewise.
39225         * locale/setlocale.c (setdata): Likewise.
39226         * posix/regex_internal.h (re_string_char_size_at): Likewise.
39227         (re_string_wchar_at): Likewise.
39228         (bitset_not, bitset_merge, bitset_mask): Likewise.
39229         [!(__GNUC__ > 3)] (inline): Remove macro.
39230         * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
39231         * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
39232         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
39233         (_dl_tlsdesc_wake_up_held_fixups): Likewise.
39234         * string/memcmp.c (memcmp_bytes): Likewise.
39235         * locale/programs/locarchive.c (compute_hashval): Likewise.
39236         * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
39237         * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
39238         * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
39239         * nss/getent.c (print_rpc, print_protocols): Likewise.
39240         (print_passwd, print_group, print_aliases): Likewise.
39241         * nis/nss-nisplus.h (niserr2nss): Likewise.
39242         * nscd/connections.c (restart_p): Likewise.
39243         Change return type to bool.
39245 2013-02-05  Roland McGrath  <roland@hack.frob.com>
39247         * Makeconfig (all-Depend-files): Add existing
39248         $(sorted-subdirs:=/Depend) files.
39249         (all-subdirs): Remove nss.
39250         * sysdeps/unix/inet/Subdirs: Add it here instead.
39251         * hesiod/Depend: New file.
39253         * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
39254         instead of calling alloca.
39256         * io/lseek.c (__lseek): Rename to __libc_lseek.
39257         Define __lseek as an alias.
39259         * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
39261 2013-02-04  Carlos O'Donell  <carlos@redhat.com>
39263         * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
39264         else clause and remove check for non-standard endianness.
39266 2013-02-04  David S. Miller  <davem@davemloft.net>
39268         * sysdeps/sparc/fpu/libm-test-ulps: Update.
39270 2013-02-04  Joseph Myers  <joseph@codesourcery.com>
39272         [BZ #13550]
39273         * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
39274         (__ubp_memchr): Remove prototype.
39275         [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
39276         [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
39277         [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
39278         [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
39279         * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
39280         Remove alias.
39281         * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
39282         (__ubp_memchr): Likewise.
39283         * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
39284         (__ubp_memchr): Likewise.
39285         * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
39286         (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
39287         (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
39288         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
39289         CHECK_STRING.
39290         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
39291         * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
39292         (__getcwd): Do not use CHECK_STRING.
39293         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
39294         <bp-checks.h>.
39295         (__real_chown): Do not use CHECK_STRING.
39296         * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
39297         <bp-checks.h>.
39298         (fchownat): Do not use CHECK_STRING.
39299         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
39300         CHECK_STRING.
39301         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
39302         <bp-checks.h>.
39303         (__lchown): Do not use CHECK_STRING.
39304         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
39305         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
39306         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
39307         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
39308         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
39309         include <bp-checks.h>.
39310         (truncate64): Do not use CHECK_STRING.
39311         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
39312         <bp-checks.h>.
39313         (__real_chown): Do not use CHECK_STRING.
39314         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
39315         <bp-checks.h>.
39316         (__lchown): Do not use CHECK_STRING.
39317         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
39318         <bp-checks.h>.
39319         (__chown): Do not use CHECK_STRING.
39320         * sysdeps/unix/sysv/linux/truncate64.c: Do not include
39321         <bp-checks.h>.
39322         (truncate64): Do not use CHECK_STRING.
39323         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
39324         Likewise.
39325         * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
39326         (__xmknod): Do not use CHECK_STRING.
39327         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
39328         <bp-checks.h>.
39329         (__xmknodat): Do not use CHECK_STRING.
39330         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
39331         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
39333 2013-02-04  Andreas Schwab  <schwab@suse.de>
39335         [BZ #14142]
39336         * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
39337         * include/netdb.h: Likewise for h_errno.
39338         * elf/tst-stackguard1.c: Include <tls.h>.
39340 2013-02-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
39342         * elf/link.h (struct link_map): Extend the l_addr comment.
39343         * include/link.h (struct link_map): Likewise.
39345 2013-02-01  Joseph Myers  <joseph@codesourcery.com>
39347         [BZ #13550]
39348         * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
39349         (BOUNDED_1): Remove macro.
39350         * debug/backtrace.c: Don't include <bp-checks.h>.
39351         (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
39352         (__backtrace): Likewise.
39353         * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
39354         <bp-checks.h>.
39355         (__backtrace): Don't use BOUNDED_1.
39356         * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
39357         <bp-checks.h>.
39358         (__backtrace): Don't use BOUNDED_1.
39359         * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
39360         (__backtrace): Don't use BOUNDED_1.
39361         * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
39362         (shmat): Don't use BOUNDED_N.
39364 2013-01-31  Joseph Myers  <joseph@codesourcery.com>
39366         [BZ #13550]
39367         * sysdeps/generic/bp-start.h: Remove file.
39368         * csu/libc-start.c: Don't include <bp-start.h>.
39369         (LIBC_START_MAIN): Set up __environ directly instead of using
39370         INIT_ARGV_and_ENVIRON.
39371         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
39372         <bp-start.h>.
39374         [BZ #13550]
39375         * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
39376         definitions.
39377         (CHECK_FCNTL): Likewise.
39378         (CHECK_N_PAGES): Likewise.
39380         [BZ #13550]
39381         * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
39382         definitions.
39383         (CHECK_SIGSET_NULL_OK): Likewise.
39384         * sysdeps/unix/sysv/linux/sigpending.c: Don't include
39385         <bp-checks.h>.
39386         (sigpending): Don't use CHECK_SIGSET.
39387         * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
39388         <bp-checks.h>.
39389         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
39390         * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
39391         <bp-checks.h>.
39392         (do_sigsuspend): Don't use CHECK_SIGSET.
39393         * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
39394         use CHECK_SIGSET.
39395         * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
39396         (do_sigwait): Don't use CHECK_SIGSET.
39397         * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
39398         use CHECK_SIGSET.
39399         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
39400         include <bp-checks.h>.
39401         (sigpending): Don't use CHECK_SIGSET.
39402         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
39403         include <bp-checks.h>.
39404         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
39405         * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
39406         <bp-checks.h>.
39407         (sigpending): Don't use CHECK_SIGSET.
39408         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
39409         <bp-checks.h>.
39410         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
39412         [BZ #13550]
39413         * sysdeps/generic/bp-semctl.h: Remove file.
39414         * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
39415         <bp-checks.h> and <bp-semctl.h>.
39416         (__old_semctl): Don't use CHECK_SEMCTL.
39417         (__new_semctl): Likewise.
39418         * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
39419         and <bp-semctl.h>.
39420         (__old_semctl): Don't use CHECK_SEMCTL.
39421         (__new_semctl): Likewise.
39422         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
39423         <bp-checks.h> and <bp-semctl.h>.
39424         (__old_semctl): Don't use CHECK_SEMCTL.
39425         (__new_semctl): Likewise.
39426         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
39427         <bp-checks.h> and <bp-semctl.h>.
39428         (semctl): Don't use CHECK_SEMCTL.
39430         [BZ #13550]
39431         * Makerules (elide-bp-thunks): Remove variable.
39432         (elide-routines.oS): Don't use $(elide-bp-thunks).
39433         (elide-routines.os): Likewise.
39434         (elide-routines.o): Likewise.
39435         (elide-routines.op): Likewise.
39436         (elide-routines.og): Likewise.
39437         (objects): Don't use $(bp-thunks).
39438         * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
39439         include.
39440         (common-generated): Do not add s-proto-bp.d.
39441         * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
39442         (int): Likewise.
39443         (typ): Likewise.
39444         Do not generate makefile rules for bounded-pointer thunks.
39445         * sysdeps/generic/bp-thunks.h: Remove file.
39446         * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
39447         * sysdeps/unix/s-proto-bp.S: Likewise.
39449         [BZ #15062]
39450         * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
39451         parts of result separately when argument is not close to line from
39452         -i to i and one part of argument is small.
39453         * math/k_casinhf.c (__kernel_casinhf): Likewise.
39454         * math/k_casinhl.c (__kernel_casinhl): Likewise.
39455         * math/libm-test.inc (cacos_test): Add more tests.
39456         (casin_test): Likewise.
39457         (casinh_test): Likewise.
39458         * sysdeps/i386/fpu/libm-test-ulps: Update.
39459         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39461 2013-01-31  David S. Miller  <davem@davemloft.net>
39463         * po/de.po: Update from translation team.
39465 2013-01-25  Maxim Kuvyrkov  <maxim.kuvyrkov@gmail.com>
39467         * time/tzfile.c: Include stdint.h for SIZE_MAX.
39469 2013-01-25  Thomas Schwinge  <thomas@codesourcery.com>
39471         * configure.in (_AC_PROG_CC_C89): New definition.
39472         * configure: Regenerate.
39474         * configure.in (AC_PROG_CPP): New definition.
39475         * configure: Regenerate.
39477 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
39479         * debug/tst-backtrace.h: New file.
39480         * debug/tst-backtrace2.c: Include tst-backtrace.h.
39481         (ret): Remove variable.
39482         (x): Likewise.
39483         (FAIL): Remove macro.
39484         (NO_INLINE): Likewise.
39485         (fn1): Use match function instead of strstr.
39486         * debug/tst-backtrace3.c: Include tst-backtrace.h.
39487         (ret): Remove variable.
39488         (x): Likewise.
39489         (FAIL): Remove macro.
39490         (NO_INLINE): Likewise.
39491         (fn): Use match function instead of strstr.
39492         * debug/tst-backtrace4.c: Include tst-backtrace.h.
39493         (ret): Remove variable.
39494         (x): Likewise.
39495         (FAIL): Remove macro.
39496         (NO_INLINE): Likewise.
39497         (handle_signal): Use match function instead of strstr.
39498         * debug/tst-backtrace5.c: Include tst-backtrace.h.
39499         (ret): Remove variable.
39500         (x): Likewise.
39501         (FAIL): Remove macro.
39502         (NO_INLINE): Likewise.
39503         (handle_signal): Use match function instead of strstr.
39505 2013-01-23  Roland McGrath  <roland@hack.frob.com>
39507         * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
39509 2013-01-23  David S. Miller  <davem@davemloft.net>
39511         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
39512         (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
39513         argument of CAS if possible.
39514         * sysdeps/sparc/sparc64/bits/atomic.h
39515         (__arch_compare_and_exchange_val_32_acq): Likewise.
39516         (__arch_compare_and_exchange_val_64_acq): Likewise.
39518 2013-01-23  Pino Toscano  <toscano.pino@tiscali.it>
39520         * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
39521         * sysdeps/posix/ulimit.c: ... this.
39522         Include <limits.h>.
39523         * sysdeps/unix/bsd/ulimit.c: Remove file.
39525 2013-01-23  Adam Conrad  <adconrad@0c3.net>
39527         * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
39528         (LDFLAGS-tst-array5): Likewise.
39530 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
39532         [BZ #15036]
39533         * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
39534         based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
39535         (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
39536         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
39538 2013-01-21  David S. Miller  <davem@davemloft.net>
39540         * sysdeps/sparc/backtrace.c: New file.
39541         * sysdeps/sparc/sparc32/backtrace.h: New file.
39542         * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
39543         * sysdeps/sparc/sparc64/backtrace.h: New file.
39544         * sysdeps/sparc/sparc64/backtrace.c: Delete.
39545         * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
39546         -funwind-tables.
39548 2013-01-21  Andreas Schwab  <schwab@suse.de>
39550         [BZ #15020]
39551         * posix/wordexp.c (exec_comm): Avoid busy loop when command has
39552         closed its stdout.
39554 2013-01-20  Andreas Schwab  <schwab@linux-m68k.org>
39556         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
39557         "mpa2.h".
39558         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
39560 2013-01-18  Joseph Myers  <joseph@codesourcery.com>
39561             Mark Mitchell  <mark@codesourcery.com>
39562             Tom de Vries  <tom@codesourcery.com>
39563             Paul Pluzhnikov  <ppluzhnikov@google.com>
39565         * debug/tst-backtrace2.c: New file.
39566         * debug/tst-backtrace3.c: Likewise.
39567         * debug/tst-backtrace4.c: Likewise.
39568         * debug/tst-backtrace5.c: Likewise.
39569         * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
39570         (CFLAGS-tst-backtrace3.c): Likewise.
39571         (CFLAGS-tst-backtrace4.c): Likewise.
39572         (CFLAGS-tst-backtrace5.c): Likewise.
39573         (LDFLAGS-tst-backtrace2): Likewise.
39574         (LDFLAGS-tst-backtrace3): Likewise.
39575         (LDFLAGS-tst-backtrace4): Likewise.
39576         (LDFLAGS-tst-backtrace5): Likewise.
39577         (tests): Add new tests tst-backtrace2, tst-backtrace3,
39578         tst-backtrace4 and tst-backtrace5.
39580 2013-01-18  Anton Blanchard  <anton@samba.org>
39581             Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
39583         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
39584         __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
39585         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
39586         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
39587         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
39588         (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
39589         "+r" and remove output regs list as redundant.  Add explicit inline
39590         asm to specify register of return val to work around compiler codegen
39591         bug.  Remove (int) cast on return value.  Add return type parameter to
39592         use in macro so that this macro does not truncate return value for
39593         64-bit values.
39594         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
39595         pass to INTERNAL_VSYSCALL_NCS.
39596         (INLINE_VSYSCALL): Add 'long int' as return type to
39597         INTERNAL_VSYSCALL_NCS macro invocation.
39598         (INTERNAL_VSYSCALL): Add 'long int' as return type to
39599         INTERNAL_VSYSCALL_NCS macro invocation.
39600         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
39602 2013-01-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
39604         [BZ #14496]
39605         * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
39606         Fix application of SIMD FP exception mask.
39608         * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
39609         mp_no from a power of two.
39610         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
39611         __mpexp_twomm1.  Use __pow_mp.
39613         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
39614         multiplication.
39616 2013-01-17  David S. Miller  <davem@davemloft.net>
39618         * sysdeps/sparc/fpu/libm-test-ulps: Update.
39620 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
39622         [BZ #15023]
39623         * include/complex.h: Condition contents on [!_COMPLEX_H].
39624         (__kernel_casinhf): New prototype.
39625         (__kernel_casinh): Likewise.
39626         (__kernel_casinhl): Likewise.
39627         * math/Makefile (libm_calls): Add k_casinh.
39628         * math/k_casinh.c: New file.
39629         * math/k_casinhf.c: Likewise.
39630         * math/k_casinhl.c: Likewise.
39631         * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
39632         finite nonzero arguments.
39633         * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
39634         finite nonzero arguments.
39635         * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
39636         finite nonzero arguments.
39637         * math/s_casinh.c: Do not include <float.h>.
39638         (__casinh): Move code for finite nonzero arguments to k_casinh.c.
39639         * math/s_casinhf.c: Do not include <float.h>.
39640         (__casinhf): Move code for finite nonzero arguments to
39641         k_casinhf.c.
39642         * math/s_casinhl.c: Do not include <float.h>.
39643         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
39644         redefine.
39645         (__casinhl): Move code for finite nonzero arguments to
39646         k_casinhl.c.
39647         * math/libm-test.inc (cacos_test): Add more tests.
39648         * sysdeps/i386/fpu/libm-test-ulps: Update.
39649         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39651 2013-01-17  Pino Toscano  <toscano.pino@tiscali.it>
39653         * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
39654         * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
39655         [!HAVE_MREMAP]: Remove [defined linux] case.
39656         * malloc/arena.c: Do not include <malloc-sysdep.h>.
39658 2013-01-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
39660         * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
39662 2013-01-17  H.J. Lu  <hongjiu.lu@intel.com>
39664         * elf/elf.h (R_386_SIZE32): New relocation.
39665         * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
39666         R_386_SIZE32.
39667         (elf_machine_rela): Likewise.
39668         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
39669         R_X86_64_SIZE64 and R_X86_64_SIZE32.
39671 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
39673         * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
39674         (FP_FAST_FMA): Do not define.
39675         [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
39676         * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
39677         && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
39678         * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
39679         !_SOFT_FLOAT]: Likewise.
39680         * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
39681         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
39682         value.
39683         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
39684         [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
39685         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
39686         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
39687         [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
39688         [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
39689         file.
39691 2013-01-16  Andreas Schwab  <schwab@suse.de>
39693         [BZ #14327]
39694         * include/stdlib.h (__mktemp): Add declaration.
39695         * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
39696         * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
39698 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
39700         * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
39701         definitions.
39702         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
39703         * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
39704         * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
39705         definitions here.
39706         * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
39707         * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
39708         definitions.
39709         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
39710         and ONE.
39711         * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
39712         * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
39713         * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
39714         definitions.
39715         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
39716         * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
39717         definitions.
39718         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
39720         * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
39722 2013-01-15  David S. Miller  <davem@davemloft.net>
39724         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
39725         trunc{,f} to libm-sysdep_routes.
39726         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
39727         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
39728         file.
39729         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
39730         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
39731         file.
39732         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
39733         file.
39734         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
39735         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
39736         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
39737         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
39738         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
39739         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
39740         * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
39741         * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
39743         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
39744         nearbyint{,f} to libm-sysdep_routes.
39745         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
39746         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
39747         New file.
39748         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
39749         file.
39750         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
39751         New file.
39752         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
39753         file.
39754         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
39755         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
39756         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
39757         file.
39758         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
39759         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
39760         file.
39761         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
39762         * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
39763         * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
39765         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
39766         libc_feholdexcept and libc_fesetenv.
39768 2013-01-15  Mike Frysinger  <vapier@gentoo.org>
39770         * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
39772 2013-01-14  David S. Miller  <davem@davemloft.net>
39774         * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
39775         (SPARC_ASM_VIS2_IFUNC): Likewise.
39776         (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
39777         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
39778         use of 'siam' instruction.
39779         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
39780         Likewise.
39781         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
39782         Likewise.
39783         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
39784         Likewise.
39785         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
39786         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
39787         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
39788         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
39789         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
39790         file.
39791         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
39792         file.
39793         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
39794         file.
39795         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
39796         file.
39797         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
39798         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
39799         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
39800         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
39801         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
39802         new VIS2 routines.
39803         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
39804         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
39805         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
39806         Likewise.
39807         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
39808         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
39809         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
39810         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
39811         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
39812         routines to libm-sysdep_routines.
39813         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
39815         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
39816         fdim/fdimf to libm-sysdep_routines.
39817         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
39818         file.
39819         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
39820         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
39821         file.
39822         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
39823         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
39824         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
39825         * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
39826         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
39827         * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
39828         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
39830 2013-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
39832         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
39833         to optimize copies.
39835         * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
39836         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
39837         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
39839         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
39840         local variable MPTWO.
39841         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
39842         Likewise.
39844 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
39846         * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
39847         GLOB_NOESCAPE.
39849 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
39851         * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
39853 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
39855         * manual/pattern.texi (glob_t): Document gl_flags.
39856         (glob64_t): Likewise.
39858 2013-01-11  David S. Miller  <davem@davemloft.net>
39860         * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
39861         * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
39862         (gmp-sysdep_routines): New variable.  Add VIS3 optimized GMP routines.
39863         * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
39864         * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
39865         * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
39866         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
39867         * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
39868         * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
39869         * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
39870         * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
39871         * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
39872         * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
39874         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
39875         sparc V9 rather than using V8 code.
39876         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
39877         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
39879         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
39880         Move to...
39881         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
39882         Here.
39884 2013-01-11  Roland McGrath  <roland@hack.frob.com>
39886         * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
39887         not in the main loop.
39888         * configure: Regenerated.
39890 2013-01-11  Joseph Myers  <joseph@codesourcery.com>
39892         * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
39893         * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
39894         to just #else.
39895         * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise.  Remove
39896         [!__GLIBC_HAVE_LONG_LONG] case.
39897         * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
39898         condition to just #else.
39899         * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
39900         __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
39901         [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
39902         * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
39903         unconditional.
39904         * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
39905         * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
39906         #elif condition to just #else.
39907         * sysdeps/unix/sysv/linux/sys/sysmacros.h
39908         [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
39909         * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
39910         #elif condition to just #else.
39912 2013-01-11  Steve Ellcey  <sellcey@mips.com>
39914         * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
39915         (EF_MIPS_ARCH_64): Fix value.
39916         (EF_MIPS_ARCH_32R2): New.
39917         (EF_MIPS_ARCH_64R2): New.
39919 2013-01-11  H.J. Lu  <hongjiu.lu@intel.com>
39921         * Makeconfig (+link-pie-before-libc): New.
39922         (+link-pie-after-libc): Likewise.
39923         (+link-pie-tests): Likewise.
39924         (+link-pie): Rewritten.
39925         (link-before-libc): Remove $(config-LDFLAGS).
39926         (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
39927         (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
39928         (config-LDFLAGS): Renamed to ...
39929         (rtld-LDFLAGS): This.
39930         (rtld-tests-LDFLAGS): New macro.
39931         (link-libc-rpath-link): Likewise.
39932         (link-libc-tests-rpath-link): Likewise.
39933         (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
39934         (link-libc): Prepand $(link-libc-rpath-link).
39935         (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
39936         (test-program-prefix): New macro.
39937         (test-via-rtld-prefix): Likewise.
39938         (test-program-cmd): Likewise.
39939         (host-test-program-cmd): Likewise.
39940         * Makefile ($(common-objpfx)testrun.sh): Replace
39941         $(run-program-prefix) with $(test-program-prefix).
39942         * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
39943         $(rtld-LDFLAGS).
39944         ($(common-objpfx)shlib.lds): Likewise.
39945         (build-module-helper): Likewise.
39946         ($(common-objpfx)format.lds): Likewise.
39947         * Rules (binaries-pie-tests): New.
39948         (binaries-pie-notests): Likewise.
39949         (binaries-pie): Rewritten.
39950         ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
39951         ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
39952         ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
39953         (make-test-out): Replace $(host-built-program-cmd) with
39954         $(host-test-program-cmd).
39955         * config.make.in (build-hardcoded-path-in-tests): New variable.
39956         * configure.in (--enable-hardcoded-path-in-tests): New configure
39957         option.
39958         (hardcoded_path_in_tests): New AC_SUBST.
39959         * configure: Regenerated.
39960         * catgets/Makefile ($(objpfx)test-gencat.out): Replace
39961         $(built-program-cmd) with $(test-program-cmd).
39962         * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
39963         (test_program_cmd): This.
39964         * elf/Makefile ($(objpfx)order.out): Run test with
39965         $(test-program-prefix).
39966         ($(objpfx)order2.out): Likewise.
39967         ($(objpfx)tst-initorder.out): Likewise.
39968         ($(objpfx)tst-initorder2.out): Likewise.
39969         ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
39970         $(test-program-cmd).
39971         ($(objpfx)tst-array1-static.out): Likewise.
39972         ($(objpfx)tst-array2.out): Likewise.
39973         ($(objpfx)tst-array3.out): Likewise.
39974         ($(objpfx)tst-array4.out): Likewise.
39975         ($(objpfx)tst-array5.out): Likewise.
39976         ($(objpfx)tst-array5-static.out): Likewise.
39977         (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
39978         $(test-program-cmd).
39979         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
39980         $(run-program-prefix) with $(test-program-prefix).
39981         * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
39982         (test_program_prefix): This.
39983         * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
39984         $(run-program-prefix) with $(test-program-prefix).
39985         * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
39986         (test_program_prefix): This.
39987         * iconvdata/tst-tables.sh: Likewise.
39988         * intl/Makefile ($(objpfx)tst-gettext.out): Replace
39989         $(run-program-prefix) with $(test-program-prefix).
39990         ($(objpfx)tst-translit.out): Likewise.
39991         ($(objpfx)tst-gettext2.out): Likewise.
39992         ($(objpfx)tst-gettext4.out): Likewise.
39993         ($(objpfx)tst-gettext6.out): Likewise.
39994         * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
39995         (test_program_prefix): This.
39996         * intl/tst-gettext2.sh: Likewise.
39997         * intl/tst-gettext4.sh  Likewise.
39998         * intl/tst-gettext6.sh: Likewise.
39999         * intl/tst-translit.sh: Likewise.
40000         * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
40001         with $(test-program-cmd).
40002         * libio/Makefile ($(objpfx)test-freopen.out): Replace
40003         $(run-program-prefix) with $(test-program-prefix).
40004         * libio/test-freopen.sh (run_program_prefix): Renamed to ...
40005         (test_program_prefix): This.
40006         * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
40007         $(run-program-prefix) with $(test-program-prefix).
40008         * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
40009         (test_program_prefix): This.
40010         * manual/install.texi: Document --enable-hardcoded-path-in-tests.
40011         * posix/Makefile ($(objpfx)globtest.out): Replace
40012         $(run-via-rtld-prefix) and $(test-wrapper) with
40013         $(test-program-prefix) and $(test-via-rtld-prefix).
40014         ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
40015         $(test-program-prefix).
40016         (tst-exec-ARGS): Replace $(host-built-program-cmd) with
40017         $(host-test-program-cmd).
40018         (tst-spawn-ARGS): Likewise.
40019         ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
40020         $(test-program-prefix).
40021         * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
40022         (test_via_rtld_prefix): This.
40023         (test_wrapper): Renamed to ...
40024         (test_program_prefix): This.
40025         (run_program_prefix): Replaced by test_program_prefix.
40026         * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
40027         (test_program_prefix): This.
40028         * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
40029         with $(host-test-program-cmd).
40030         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
40031         $(run-program-prefix) with $(test-program-prefix).
40032         ($(objpfx)tst-printf.out): Likewise.
40033         ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
40034         $(test-program-cmd).
40035         * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
40036         (test_program_prefix): This.
40037         * stdio-common/tst-unbputc.sh: Likewise.
40038         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
40039         $(run-program-prefix) with $(test-program-prefix).
40040         * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
40041         (test_program_prefix): This.
40042         * string/Makefile ($(objpfx)tst-svc.out):  Replace
40043         $(built-program-cmd) with $(test-program-cmd).
40045 2013-01-11  Andreas Jaeger  <aj@suse.de>
40047         [BZ #15003]
40048         * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
40049         value. Sync with Linux 3.7.
40051 2013-01-10  David S. Miller  <davem@davemloft.net>
40053         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
40054         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
40055         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
40057 2013-01-10  Roland McGrath  <roland@hack.frob.com>
40059         * configure.in (sysnames): Drop use of $m0sub and $msub, which are
40060         never set.
40061         * configure: Regenerated.
40063 2013-01-10  David S. Miller  <davem@davemloft.net>
40065         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
40066         sparc V9 rather than using V8 code.
40067         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
40068         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
40070 2013-01-10  Roland McGrath  <roland@hack.frob.com>
40072         * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
40073         (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
40074         (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
40075         (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
40076         (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
40077         (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
40078         (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
40079         (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
40080         (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
40081         (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
40082         (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
40083         (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
40084         (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
40085         (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
40086         (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
40087         (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
40088         (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
40089         (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
40090         (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
40091         (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
40092         (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
40093         (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
40094         (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
40095         (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
40096         (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
40097         (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
40098         (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
40100 2013-01-10  David S. Miller  <davem@davemloft.net>
40102         * sysdeps/sparc/fpu/libm-test-ulps: Update.
40104 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
40106         * posix/Makefile (tests-static): New variable.
40107         (tests): Add $(tests-static).
40108         (tst-exec-static-ARGS): New variable.
40109         (tst-spawn-static-ARGS): Likewise.
40110         * posix/tst-exec-static.c: New file.
40111         * posix/tst-spawn-static.c: Likewise.
40112         * posix/tst-exec.c: Support run directly.
40113         * posix/tst-spawn.c: Likewise.
40115 2013-01-10  Joseph Myers  <joseph@codesourcery.com>
40117         * elf/link.h (struct dl_phdr_info): Use __extension__ with long
40118         long.
40119         * math/bits/mathcalls.h (llrint): Likewise.
40120         (llround): Likewise.
40121         * stdlib/stdlib.h (struct drand48_data): Likewise.
40122         * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
40123         * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
40124         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
40125         Likewise.
40126         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
40127         Likewise.
40128         * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
40129         (elf_greg_t): Likewise.
40130         * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
40131         (__jmp_buf): Likewise.
40132         * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
40133         definitions.
40134         (llrint): Likewise, for all definitions.
40135         (llrintl): Likewise.
40137         * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
40138         Remove [__GNUC__] condition.
40139         * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
40140         condition to just [__USE_ISOC99].
40141         [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
40143 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
40145         [BZ #14200]
40146         * sysdeps/unix/sysv/linux/x86/bits/environments.h
40147         (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
40148         defined.
40149         (_POSIX_V6_ILP32_OFF32): Likewise.
40150         (_XBS5_ILP32_OFF32): Likewise.
40151         (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
40152         (__ILP32_OFFBIG_LDFLAGS): Likewise.
40154 2013-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
40156         * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
40158         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
40159         doubles __mpexp_twomm1.  Adjust usage.
40160         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
40161         Remove.
40163 2013-01-10  Andreas Schwab  <schwab@suse.de>
40165         [BZ #14964]
40166         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
40167         (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
40169 2013-01-09  David S. Miller  <davem@davemloft.net>
40171         [BZ #15003]
40172         * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
40173         (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
40174         (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
40175         (TCP_FASTOPEN): Define.
40176         (tcp_repair_opt): New structure.
40177         (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
40178         enum values.
40179         (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
40180         (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
40181         (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
40182         (tcp_cookie_transactions): New structure.
40184 2013-01-09  Anton Blanchard  <anton@samba.org>
40186         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
40187         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
40188         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
40189         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
40191 2013-01-09  Joseph Myers  <joseph@codesourcery.com>
40193         * include/features.h (__USE_ANSI): Remove.
40195 2013-01-09  Roland McGrath  <roland@hack.frob.com>
40197         * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
40199         * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
40201 2013-01-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
40203         * sysdeps/s390/fpu/libm-test-ulps: Update.
40205         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40207         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
40208         (__acr): Likewise.
40209         (__cpy): Likewise.
40210         (norm): Likewise.
40211         (denorm): Likewise.
40212         (__mp_dbl): Likewise.
40213         (__dbl_mp): Likewise.
40214         (add_magnitudes): Likewise.
40215         (sub_magnitudes): Likewise.
40216         (__add): Likewise.
40217         (__sub): Likewise.
40218         (__mul): Likewise.
40219         (__inv): Likewise.
40220         (__dvd): Likewise.
40221         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
40222         (__acr): Likewise.
40223         (__cpy): Likewise.
40224         (norm): Likewise.
40225         (denorm): Likewise.
40226         (__mp_dbl): Likewise.
40227         (__dbl_mp): Likewise.
40228         (add_magnitudes): Likewise.
40229         (sub_magnitudes): Likewise.
40230         (__add): Likewise.
40231         (__sub): Likewise.
40232         (__mul): Likewise.
40233         (__inv): Likewise.
40234         (__dvd): Likewise.
40235         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
40236         (__acr): Likewise.
40237         (__cpy): Likewise.
40238         (norm): Likewise.
40239         (denorm): Likewise.
40240         (__mp_dbl): Likewise.
40241         (__dbl_mp): Likewise.
40242         (add_magnitudes): Likewise.
40243         (sub_magnitudes): Likewise.
40244         (__add): Likewise.
40245         (__sub): Likewise.
40246         (__mul): Likewise.
40247         (__inv): Likewise.
40248         (__dvd): Likewise.
40250 2013-01-08  Joseph Myers  <joseph@codesourcery.com>
40252         * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
40253         __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
40254         * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
40255         2 && __USE_EXTERN_INLINES]: Likewise.
40257 2013-01-08  Andreas Jaeger  <aj@suse.de>
40259         [BZ# 14985]
40260         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
40261         Remove.
40262         * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
40263         * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
40265 2013-01-07  Anton Blanchard  <anton@samba.org>
40267         * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
40268         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
40269         * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
40270         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
40271         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
40272         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
40273         * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
40274         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
40275         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
40276         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
40277         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
40278         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
40279         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
40280         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
40281         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
40282         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
40283         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
40284         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
40285         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
40286         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
40287         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
40288         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
40289         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
40290         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
40291         * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
40292         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
40293         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
40294         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
40295         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
40296         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
40297         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
40298         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
40299         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
40300         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
40301         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
40302         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
40303         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
40304         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
40305         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
40306         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
40307         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
40308         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
40309         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
40311 2013-01-07  Joseph Myers  <joseph@codesourcery.com>
40313         * malloc/malloc.h (__MALLOC_P): Remove all definitions.
40314         (__MALLOC_PMT): Likewise.
40315         [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
40316         [__GNUC__], only on [_LIBC].
40317         [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
40318         [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
40319         [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
40320         * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
40321         forward declaration.
40322         (realloc_hook_ini): Likewise.
40323         (memalign_hook_ini): Likewise.
40324         (__libc_memalign): Do not use __MALLOC_PMT in variable
40325         declaration.
40326         (__libc_valloc): Likewise.
40327         (__libc_pvalloc): Likewise.
40328         (__libc_calloc): Likewise.
40329         (__posix_memalign): Likewise.
40331         [BZ #14996]
40332         * math/s_casinh.c: Include <float.h>.
40333         (__casinh): Do not do computation with squaring and square root
40334         for large arguments.
40335         * math/s_casinhf.c: Include <float.h>.
40336         (__casinhf): Do not do computation with squaring and square root
40337         for large arguments.
40338         * math/s_casinhl.c: Include <float.h>.
40339         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
40340         (__casinhl): Do not do computation with squaring and square root
40341         for large arguments.
40342         * math/libm-test.inc (casin_test): Add more tests.
40343         (casinh_test): Likewise.
40344         * sysdeps/i386/fpu/libm-test-ulps: Update.
40345         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40347 2013-01-04  H.J. Lu  <hongjiu.lu@intel.com>
40349         * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
40350         (__x86_64_raw_data_cache_size): Likewise.
40351         (__x86_64_data_cache_size_half): Likewise.
40352         (__x86_64_raw_data_cache_size_half): Likewise.
40353         (__x86_64_shared_cache_size): Likewise.
40354         (__x86_64_raw_shared_cache_size): Likewise.
40355         (__x86_64_shared_cache_size_half): Likewise.
40356         (__x86_64_raw_shared_cache_size_half): Likewise.
40357         * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
40358         to ...
40359         (__x86_data_cache_size): This.
40360         (__x86_64_raw_data_cache_size): Renamed to ...
40361         (__x86_raw_data_cache_size): This.
40362         (__x86_64_data_cache_size_half): Renamed to ...
40363         (__x86_data_cache_size_half): This.
40364         (__x86_64_raw_data_cache_size_half): Renamed to ...
40365         (__x86_raw_data_cache_size_half): This.
40366         (__x86_64_shared_cache_size): Renamed to ...
40367         (__x86_shared_cache_size): This.
40368         (__x86_64_raw_shared_cache_size): Renamed to ...
40369         (__x86_raw_shared_cache_size): This.
40370         (__x86_64_shared_cache_size_half): Renamed to ...
40371         (__x86_shared_cache_size_half): This.
40372         (__x86_64_raw_shared_cache_size_half): Renamed to ...
40373         (__x86_raw_shared_cache_size_half): This.
40374         * sysdeps/x86_64/memcpy.S: Updated.
40375         * sysdeps/x86_64/memset.S: Likewise.
40376         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
40377         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
40378         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
40380 2013-01-04  David S. Miller  <davem@davemloft.net>
40382         * sysdeps/sparc/fpu/libm-test-ulps: Update.
40384 2013-01-04  Andreas Schwab  <schwab@linux-m68k.org>
40386         * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
40387         1 to avoid redefinition warning.
40388         (__USE_GNU): Don't define.
40389         (init_signaling_nan): Protoize.
40391         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40393 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
40395         * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
40396         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
40397         (__cpymn): Likewise.
40398         (norm): Remove commented code.
40399         (denorm): Likewise.
40400         (__mp_dbl): Likewise.
40401         (__inv): Likewise.
40402         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
40403         (__cpymn): Likewise.
40404         (norm): Remove commented code.
40405         (denorm): Likewise.
40406         (__mp_dbl): Likewise.
40407         (__inv): Likewise.
40409         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
40410         mp_no value for 1.0 and 2.0.
40411         (norm): Use RADIXI instead of radixi.d.
40412         (denorm): Likewise.
40413         (__mul): Use 0.0 instead of zero.d.
40414         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
40415         mp_no value for 1.0 and 2.0.
40416         (norm): Use RADIXI instead of radixi.d.
40417         (denorm): Likewise.
40418         (__mul): Use 0.0 instead of zero.d.
40420 2013-01-04  Joseph Myers  <joseph@codesourcery.com>
40422         [BZ #14994]
40423         * math/s_casinh.c (__casinh): Reduce finite argument to first
40424         quadrant then set signs of results at the end.
40425         * math/s_casinhf.c (__casinhf): Likewise.
40426         * math/s_casinhl.c (__casinhl): Likewise.
40427         * math/libm-test.inc (casin_test): Add more tests.
40428         (casinh_test): Likewise.
40429         * sysdeps/i386/fpu/libm-test-ulps: Update.
40430         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40432 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
40434         * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
40436         * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
40438         * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
40439         declarations.
40440         (denorm): Likewise.
40441         (__mp_dbl): Likewise.
40442         (__inv): Likewise.
40444         * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
40445         and adjust the header comment.
40447         * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
40448         variable name from declaration.
40450 2013-01-03  H.J. Lu  <hongjiu.lu@intel.com>
40452         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
40453         Initialize COMMON_CPUID_INDEX_7 element.
40454         * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
40455         (CPUID_RTM): Likewise.
40456         (HAS_RTM): Likewise.
40457         (COMMON_CPUID_INDEX_7): New enum.
40459 2013-01-03  Andreas Schwab  <schwab@linux-m68k.org>
40461         [BZ #14981]
40462         * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
40463         size is zero, record memory as freed.
40465 2013-01-03  Andreas Jaeger  <aj@suse.de>
40467         * po/ia.po: Add new Interlingua translation.
40469 2012-01-03  Allan McRae  <allan@archlinux.org>
40471         * locale/programs/localedef.c: Fix description of '--posix' flag.
40473 2013-01-02  Joseph Myers  <joseph@codesourcery.com>
40475         * NEWS: Update dates in second copyright notice.
40476         * README: Update copyright dates in example.
40477         * manual/libc.texinfo: Update copyright dates.
40478         * scripts/test-installation.pl: Update copyright date in --version
40479         output.
40481         * hurd/ctty-input.c: Fix copyright notice formatting.
40482         * hurd/ctty-output.c: Likewise.
40483         * hurd/dtable.c: Likewise.
40484         * hurd/hurd-raise.c: Likewise.
40485         * hurd/hurdprio.c: Likewise.
40486         * hurd/msgportdemux.c: Likewise.
40487         * misc/sys/file.h: Likewise.
40488         * misc/sys/ioctl.h: Likewise.
40489         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
40490         * sysdeps/mach/hurd/chdir.c: Likewise.
40491         * sysdeps/mach/hurd/fchdir.c: Likewise.
40492         * sysdeps/mach/hurd/rename.c: Likewise.
40493         * sysdeps/mach/hurd/rmdir.c: Likewise.
40494         * sysdeps/mach/hurd/seekdir.c: Likewise.
40495         * sysdeps/mach/hurd/setsid.c: Likewise.
40496         * sysdeps/posix/wait3.c: Likewise.
40498         * All files with FSF copyright notices: Update copyright dates
40499         using scripts/update-copyrights.
40500         * intl/plural.c: Regenerated.
40501         * locale/programs/charmap-kw.h: Likewise.
40502         * locale/programs/locfile-kw.h: Likewise.
40504 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
40506         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
40507         four values.
40509         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
40510         calculation loop and add branch prediction.
40512         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
40513         check access beyond bounds of m1np.
40515         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
40516         MPTWO.
40517         (__inv): Remove local variable MPTWO to use the global
40518         constant.
40519         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
40520         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
40521         variable MPTWO.
40522         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
40523         MP3HALFS static const.
40525 2013-01-01  David S. Miller  <davem@davemloft.net>
40527         * po/ca.po: Update from translation team.
40529 2013-01-01  Joseph Myers  <joseph@codesourcery.com>
40531         * scripts/update-copyrights: New file.
40532         * Makeconfig: Reformat copyright notice.
40533         * ctype/ctype.h: Likewise.
40534         * debug/swprintf_chk.c: Likewise.
40535         * elf/dl-cache.c: Likewise.
40536         * elf/dl-debug.c: Likewise.
40537         * elf/dl-object.c: Likewise.
40538         * grp/initgroups.c: Likewise.
40539         * hurd/Makefile: Likewise.
40540         * hurd/hurd/signal.h: Likewise.
40541         * hurd/hurdfault.c: Likewise.
40542         * hurd/hurdioctl.c: Likewise.
40543         * hurd/hurdlookup.c: Likewise.
40544         * hurd/intr-msg.c: Likewise.
40545         * iconv/gconv_open.c: Likewise.
40546         * libio/swprintf.c: Likewise.
40547         * locale/lc-ctype.c: Likewise.
40548         * locale/nl_langinfo.c: Likewise.
40549         * mach/Machrules: Likewise.
40550         * mach/Makefile: Likewise.
40551         * malloc/obstack.h: Likewise.
40552         * manual/Makefile: Likewise.
40553         * manual/tsort.awk: Likewise.
40554         * misc/bits/stab.def: Likewise.
40555         * nis/nis_print_group_entry.c: Likewise.
40556         * nis/nis_table.c: Likewise.
40557         * nis/nss_compat/compat-pwd.c: Likewise.
40558         * nis/nss_compat/compat-spwd.c: Likewise.
40559         * po/Makefile: Likewise.
40560         * posix/fnmatch.c: Likewise.
40561         * posix/regex.h: Likewise.
40562         * resolv/Makefile: Likewise.
40563         * resolv/nss_dns/dns-network.c: Likewise.
40564         * resolv/res_hconf.c: Likewise.
40565         * scripts/gen-sorted.awk: Likewise.
40566         * soft-fp/soft-fp.h: Likewise.
40567         * stdio-common/printf.h: Likewise.
40568         * stdlib/monetary.h: Likewise.
40569         * stdlib/random.c: Likewise.
40570         * stdlib/random_r.c: Likewise.
40571         * sysdeps/generic/Makefile: Likewise.
40572         * sysdeps/gnu/Makefile: Likewise.
40573         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
40574         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
40575         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
40576         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
40577         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
40578         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
40579         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
40580         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
40581         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
40582         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
40583         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
40584         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
40585         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
40586         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
40587         * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
40588         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
40589         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
40590         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
40591         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
40592         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
40593         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
40594         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
40595         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
40596         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
40597         * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
40598         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
40599         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
40600         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
40601         * sysdeps/mach/hurd/errnos.awk: Likewise.
40602         * sysdeps/mach/hurd/fork.c: Likewise.
40603         * sysdeps/mach/hurd/getcwd.c: Likewise.
40604         * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
40605         * sysdeps/mach/hurd/mmap.c: Likewise.
40606         * sysdeps/mach/hurd/utimes.c: Likewise.
40607         * sysdeps/mach/hurd/xmknod.c: Likewise.
40608         * sysdeps/posix/profil.c: Likewise.
40609         * sysdeps/posix/readdir_r.c: Likewise.
40610         * sysdeps/powerpc/bits/mathdef.h: Likewise.
40611         * sysdeps/powerpc/bits/setjmp.h: Likewise.
40612         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
40613         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
40614         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
40615         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
40616         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
40617         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
40618         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
40619         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
40620         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
40621         * sysdeps/pthread/lio_listio.c: Likewise.
40622         * sysdeps/sparc/dl-procinfo.h: Likewise.
40623         * sysdeps/unix/i386/sysdep.S: Likewise.
40624         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
40625         * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
40626         * sysdeps/unix/sysv/linux/getdents.c: Likewise.
40627         * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
40628         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
40629         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
40630         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
40631         * sysdeps/unix/sysv/linux/speed.c: Likewise.
40632         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
40633         * sysdeps/wordsize-32/divdi3.c: Likewise.
40634         * time/sys/time.h: Likewise.
40635         * wcsmbs/Makefile: Likewise.
40637 2013-01-01  David S. Miller  <davem@davemloft.net>
40639         * po/fr.po: Update from translation team.
40641         * catgets/gencat.c: Update copyright year.
40642         * csu/version.c: Likewise.
40643         * debug/catchsegv.sh: Likewise.
40644         * debug/pcprofiledump.c: Likewise.
40645         * debug/xtrace.sh: Likewise.
40646         * elf/ldconfig.c: Likewise.
40647         * elf/ldd.bash.in: Likewise.
40648         * elf/pldd.c: Likewise.
40649         * elf/sotruss.ksh: Likewise.
40650         * elf/sprof.c: Likewise.
40651         * iconv/iconv_prog.c: Likewise.
40652         * iconv/iconvconfig.c: Likewise.
40653         * locale/programs/locale.c: Likewise.
40654         * locale/programs/localedef.c: Likewise.
40655         * login/programs/pt_chown.c: Likewise.
40656         * malloc/memusage.sh: Likewise.
40657         * malloc/memusagestat.c: Likewise.
40658         * malloc/mtrace.pl: Likewise.
40659         * nscd/nscd.c: Likewise.
40660         * nss/getent.c: Likewise.
40661         * nss/makedb.c: Likewise.
40662         * posix/getconf.c: Likewise.
40664 2012-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
40666         * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
40667         numbers.
40669 2012-12-30  Mike Frysinger  <vapier@gentoo.org>
40671         * math/bits/mathcalls.h (modf): Use __nonnull.
40673 2012-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
40675         * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
40676         (split): Use macro CN instead of the bare value.
40677         * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
40678         could be used.
40679         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
40680         instead of the bare value.
40681         (power1): Likewise.
40683 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
40685         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
40686         __ATAN_TWOM.
40687         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
40689         * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
40690         their values.
40691         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
40692         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
40693         * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
40694         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
40696 2012-12-28  Andreas Jaeger  <aj@suse.de>
40698         * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define.  New
40699         values are from Linux 3.7.
40701         * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
40702         (TCPI_OPT_ECN_SEEN): Define.  Sync with Linux 3.7.
40704 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
40706         * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
40707         TRUE case.
40709         * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
40710         (norm): Likewise.
40711         * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
40712         variables with preprocessor constants.
40713         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
40714         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
40715         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
40717 2012-12-27  Bruno Haible  <bruno@clisp.org>
40719         [BZ #14317]
40720         * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
40721         only if needed.
40723 2012-12-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
40725         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
40726         and use variable directly.
40727         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
40729         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
40730         MPONE.
40731         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
40732         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
40733         variable MPONE.
40734         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
40735         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
40736         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
40737         include directive.  Remove local variable MPONE.
40738         * sysdeps/ieee754/dbl-64/mplog.h: Remove.
40739         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
40740         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
40742 2012-12-25  David S. Miller  <davem@davemloft.net>
40744         * version.h (RELEASE): Set to "development".
40745         (VERSION): Set to "2.17.90".
40746         * NEWS: Add 2.18 section.
40748 2012-12-21  David S. Miller  <davem@davemloft.net>
40750         * po/hr.po: Update from translation team.
40752 2012-12-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
40754         * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
40756 2012-12-19  Steve Ellcey  <sellcey@mips.com>
40758         * NEWS:  Mention new memcpy for MIPS.
40760 2012-12-18  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
40762         * manual/contrib.texi (Contributors): Spelling correction.
40764 2012-12-15  David S. Miller  <davem@davemloft.net>
40766         * po/ru.po: Update from translation team.
40768 2012-12-13  David S. Miller  <davem@davemloft.net>
40770         * NEWS: Mention IFUNC testsuite enhancements.
40772         * po/pl.po: Update from translation team.
40773         * po/bg.po: Likewise.
40775         * manual/contrib.texi (Contributors): Update entries for Hongjiu
40776         Lu and Joseph S. Myers.  Add entry for Marcus Shawcroft.
40778 2012-12-11  David S. Miller  <davem@davemloft.net>
40780         * po/sv.po: Update from translation team.
40782         * po/vi.po: Update from translation team.
40784         * po/cs.po: Update from translation team.
40786         * po/de.po: Update from translation team.
40787         * po/eo.po: Likewise.
40788         * po/nl.po: Likewise.
40790 2012-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
40792         [BZ #14246]
40793         * manual/argp.texi (Argp Helper Functions): Move node to follow
40794         Argp Parsing State.
40796         [BZ #14872]
40797         * manual/conf.texi (Limits on File System Capacity): Mention if
40798         terminating null is included in the max size.
40800 2012-12-10  Andreas Jaeger  <aj@suse.de>
40802         * po/cs.po: Update from translation team.
40804 2012-12-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
40806         * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
40807         void pointer and cast to uintptr_t.
40808         * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
40809         path.
40810         * sysdeps/s390/s390-64/memcpy.S: Likewise.
40811         * sysdeps/s390/s390-64/memset.S: Likewise.
40813 2012-12-08  Benno Schulenberg  <bensberg@justemail.net>
40815         [BZ #14833]
40816         * menual/message.texi (Message Translation): Fix typos.
40817         (Helper programs for gettext): Likewise.
40819 2012-12-07  Andreas Schwab  <schwab@linux-m68k.org>
40821         [BZ #14898]
40822         * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
40823         Change to -1.
40825 2012-12-07  David S. Miller  <davem@davemloft.net>
40827         * po/libc.pot: Update.
40829 2012-12-07  Richard Henderson  <rth@redhat.com>
40831         [BZ #10114]
40832         * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
40833         normal/normal case to before the switch.
40834         (_FP_DIV): Likewise.
40836 2012-12-06  Carlos O'Donell  <carlos@systemhalted.org>
40837             Mike Frysinger  <vapier@gentoo.org>
40839         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
40840         check for __NR_fadvise64_64.
40842 2012-12-06  Chris Metcalf  <cmetcalf@tilera.com>
40844         * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
40845         0, not just to plain "0" as a statement.
40846         (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
40847         with cw.
40849 2012-12-06  Joseph Myers  <joseph@codesourcery.com>
40851         * NEWS: Use sourceware.org in Bugzilla URL.
40853 2012-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
40855         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
40856         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
40858         * stdio-common/tst-put-error.c (do_test): Add newline to the
40859         padded test to ensure flush.
40861 2012-12-05  Jeff Law  <law@redhat.com>
40863         * sunrpc/etc.rpc (fedfs_admin): Add entry.
40865 2012-12-05  Joseph Myers  <joseph@codesourcery.com>
40867         * README: Don't refer to ports add-on as distributed separately.
40868         Mention AArch64 in list of systems supported in the ports add-on.
40870         * LICENSES: Add more non-FSF copyright and license notices.
40872         * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
40873         ((unused)).
40875         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
40877         * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
40878         10000 as width of padded output.
40880 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
40882         * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
40884         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
40885         variable LX with __attribute__ ((unused)).
40886         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
40887         Likewise.
40888         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
40889         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
40890         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
40891         with __attribute__ ((unused)).
40893 2012-12-04  David S. Miller  <davem@abraco.davemloft.net>
40895         * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
40897 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
40899         * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
40900         (CFLAGS-nldbl-acos.c): New variable.
40901         [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
40902         [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
40903         [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
40904         [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
40905         [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
40906         [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
40907         [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
40908         [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
40909         [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
40910         [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
40911         [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
40912         [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
40913         [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
40914         [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
40915         [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
40916         [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
40917         [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
40918         [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
40919         [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
40920         [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
40921         [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
40922         [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
40923         [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
40924         [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
40925         [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
40926         [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
40927         [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
40928         [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
40929         [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
40930         [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
40931         [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
40932         [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
40933         [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
40934         [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
40935         [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
40936         [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
40937         [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
40938         [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
40939         [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
40940         [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
40941         [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
40942         [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
40943         [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
40944         [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
40945         [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
40946         [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
40947         [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
40948         [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
40949         [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
40950         [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
40951         [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
40952         [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
40953         [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
40954         [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
40955         [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
40956         [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
40957         [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
40958         [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
40959         [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
40960         [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
40961         [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
40962         [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
40963         [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
40964         [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
40965         [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
40966         [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
40967         [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
40968         [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
40969         [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
40970         [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
40971         [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
40972         [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
40973         [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
40974         [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
40975         [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
40976         [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
40977         [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
40978         [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
40979         [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
40980         [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
40981         [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
40982         [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
40983         [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
40984         [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
40985         [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
40986         [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
40987         [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
40988         [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
40989         [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
40990         [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
40991         [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
40992         [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
40993         [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
40994         [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
40995         [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
40996         [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
40997         [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
40999         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
41000         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
41002         [BZ #14914]
41003         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
41004         whole low double instead of just low 47 bits when splitting values
41005         into two parts.
41007 2012-12-03  Allan McRae  <allan@archlinux.org>
41009         * manual/stdio.texi (Predefined Printf Handlers): Remove
41010         @hsep and @vsep usage.
41012 2012-12-03  Mike Frysinger  <vapier@gentoo.org>
41014         * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
41015         * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
41017 2012-12-03  Jeff Law  <law@redhat.com>
41019         * time/sys/time.h (settimeofday): Do not mark TV argument
41020         as __nonnull.
41022 2012-12-01  Mike Frysinger  <vapier@gentoo.org>
41024         * libio/fileops.c (_IO_new_file_close_it): Do not always flush
41025         when currently writing and seek to current position when not.
41026         * libio/Makefile (tests): Remove bug-fclose1.
41027         * libio/bug-fclose1.c: Delete.
41029 2012-12-01  Joseph Myers  <joseph@codesourcery.com>
41031         * manual/arith.texi (feenableexcept): Fix typo.
41032         (fedisableexcept): Likewise.
41034 2012-11-30  Roland McGrath  <roland@hack.frob.com>
41036         * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
41037         second, differently-typed declaration, rather than a cast.
41039 2012-11-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
41041         * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
41042         * include/rpc/svc.h: ... here.
41044 2012-11-30  Aurelien Jarno  <aurel32@debian.org>
41046         [BZ #13013]
41047         * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
41048         depending n and resplen2 to catch cases where answer
41049         equals answerp2.
41051 2012-11-29  Carlos O'Donell  <carlos@systemhalted.org>
41053         * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
41054         for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
41056 2012-11-29  Mike Frysinger  <vapier@gentoo.org>
41058         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
41060 2012-11-29  Roland McGrath  <roland@hack.frob.com>
41062         * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
41064 2012-11-28  Jeff Law  <law@redhat.com>
41066         [BZ #13761]
41067         * nscd/grpcache.c (cache_addgr): Rename alloca_used to
41068         dataset_temporary.  Track alloca usage into alloca_used.
41069         If dataset is large allocate and release it via malloc/free.
41071 2012-06-04  Florian Weimer  <fweimer@redhat.com>
41073         [BZ #14197]
41074         * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
41076 2012-11-28  David S. Miller  <davem@davemloft.net>
41078         * sysdeps/sparc/fpu/libm-test-ulps: Update.
41080 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
41082         [BZ #14803]
41083         * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
41084         of pi/2 rounded to nearest to 64 bits.
41085         (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
41086         nearest to 64 bits.
41087         (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
41088         bits.
41090 2012-11-28  Jeff Law <law@redhat.com>
41091             Martin Osvald <mosvald@redhat.com>
41093         [BZ #14889]
41094         * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
41095         * sunrpc/svc.c: Include time.h.
41096         (__svc_accept_failed): New function.
41097         * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
41098         any reason other than EINTR, call __svc_accept_failed.
41099         * sunrpc/svc_udp.c (svcudp_recv): Similarly.
41100         * sunrpc/svc_unix.c (rendezvous_request): Similarly.
41102 2012-11-28  Andreas Schwab  <schwab@suse.de>
41104         * scripts/abilist.awk: Also handle indirect functions in .opd
41105         section.
41107 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
41109         [BZ #13881]
41110         * sysdeps/x86/fpu/powl_helper.c: New file.
41111         * sysdeps/x86/fpu/Makefile: Likewise.
41112         * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
41113         (p3): New object.
41114         (__ieee754_powl): Use __powl_helper for finite arguments except
41115         integer exponents below 8.
41116         * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
41117         (p3): New object.
41118         (__ieee754_powl): Use __powl_helper for finite arguments except
41119         integer exponents below 8.
41120         * math/libm-test.inc (pow_test): Add more tests and enable some
41121         previously disabled tests.
41122         * sysdeps/i386/fpu/libm-test-ulps: Update.
41123         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41125 2012-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
41126             Carlos O'Donell  <carlos_odonell@mentor.com>
41128         * nss/makedb.c (is_prime): Assert that input is odd and greater
41129         than 4.  Note that fact in a comment too.
41130         (next_prime): Add 4 to input.
41132 2012-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
41134         [BZ #11741]
41135         * libio/Makefile (tests): Add test case tst-fwrite-error.
41136         * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
41137         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
41138         * libio/tst-fwrite-error.c: New test case.
41140 2012-11-26  H.J. Lu  <hongjiu.lu@intel.com>
41142         * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
41143         before casting to void *.
41144         * include/libc-internal.h (__pointer_type): New macro.
41145         (__integer_if_pointer_type_sub): Likewise.
41146         (__integer_if_pointer_type): Likewise.
41147         (cast_to_integer): Likewise.
41148         * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
41149         (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
41150         before casting to atomic64_t.
41151         (atomic_exchange_acq): Likewise.
41152         (__arch_exchange_and_add_body): Likewise.
41153         (__arch_add_body): Likewise.
41154         (atomic_add_negative): Likewise.
41155         (atomic_add_zero): Likewise.
41157 2012-11-26  Joseph Myers  <joseph@codesourcery.com>
41159         * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
41160         (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
41161         (add_fdes): Likewise.
41162         (linear_search_fdes): Likewise.
41163         (binary_search_unencoded_fdes): Likewise.
41165 2012-11-26  Andreas Schwab  <schwab@linux-m68k.org>
41167         * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
41169 2012-11-24  Adam Conrad  <adconrad@0c3.net>
41171         * configure.in: Autodetect C++ header directories.
41172         * configure: Regenerated.
41174 2012-11-23  Mike Frysinger  <vapier@gentoo.org>
41176         * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
41178 2012-11-23  Andreas Schwab  <schwab@linux-m68k.org>
41180         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41182 2012-11-22  Joseph Myers  <joseph@codesourcery.com>
41184         * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
41185         LDBL_MANT_DIG == 106]: Disable some tests.
41186         (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
41187         Likewise.
41188         (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
41189         Likewise.
41191         [BZ #14871]
41192         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
41193         input for small inputs.  Return +/- pi/2 for large inputs.
41194         * math/libm-test.inc (atan_test): Add more tests.
41196         * sysdeps/generic/unwind-dw2-fde-glibc.c
41197         (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
41198         __attribute__ ((unused)).
41200         [BZ #14645]
41201         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
41202         x * y if x and y are nonzero and z is zero.
41204         [BZ #14811]
41205         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
41206         nonzero exponents with absolute value below 0x1p-117 to +/-
41207         0x1p-117.
41209         [BZ #14869]
41210         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
41211         up arguments below 2**-450, not just those below 2**-500.
41212         * math/libm-test.inc (hypot_test): Add another test.
41214         [BZ #14868]
41215         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
41216         Return a+b for ratio over 2**120, not 2**60.
41217         * math/libm-test.inc (hypot_test): Add another test.
41219         * math/libm-test.inc (clog_test): Use
41220         UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
41221         (clog10_test): Likewise.
41223         [BZ #6778]
41224         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
41226 2012-11-22  Andreas Schwab  <schwab@suse.de>
41228         * sysdeps/i386/fpu/libm-test-ulps: Update.
41230 2012-11-22  Pino Toscano  <toscano.pino@tiscali.it>
41232         * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
41233         printf output with newline.
41235 2012-11-21  H.J. Lu  <hongjiu.lu@intel.com>
41237         [BZ #14865]
41238         * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
41239         * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
41240         -z nodlopen, -z initfirst and -z execstack support.
41241         * configure: Regenerated.
41243         * elf/elf.h (DF_1_NODIRECT): New macro.
41244         (DF_1_IGNMULDEF): Likewise.
41245         (DF_1_NOKSYMS): Likewise.
41246         (DF_1_NOHDR): Likewise.
41247         (DF_1_EDITED): Likewise.
41248         (DF_1_NORELOC): Likewise.
41249         (DF_1_SYMINTPOSE): Likewise.
41250         (DF_1_GLOBAUDIT): Likewise.
41251         (DF_1_SINGLETON): Likewise.
41252         * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
41253         DT_1_SUPPORTED_MASK bits.
41254         * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
41256 2012-11-20  Carlos O'Donell  <carlos_odonell@mentor.com>
41258         * sysdeps/unix/make-syscalls.sh: Document prefixes.
41260 2012-11-20  Thomas Schwinge  <thomas@codesourcery.com>
41262         * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
41263         macro.
41265         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
41266         (sendmmsg): Move declarations...
41267         * socket/sys/socket.h: ... here.
41268         * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
41269         !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
41270         include it from...
41271         * socket/recvmmsg.c: ... this new file.
41272         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
41273         (sendmmsg): Rename to __sendmmsg, create weak alias and make
41274         definition of __sendmmsg hidden.
41275         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
41276         [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
41277         Move ENOSYS stub into and include it from...
41278         * socket/sendmmsg.c: ... this new file.
41279         * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
41280         (sysdep_routines): Move recvmmsg and sendmmsg...
41281         * socket/Makefile (routines): ... here.
41282         * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
41283         (GLIBC_PRIVATE): Add __sendmmsg.
41284         * include/sys/socket.h (__sendmmsg): Add declarations.
41285         * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
41286         sendmmsg.
41288 2012-11-20  Joseph Myers  <joseph@codesourcery.com>
41290         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
41291         variable I1 with __attribute__ ((unused)).
41292         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
41294 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
41296         * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
41297         DUMMY variables with __attribute__ ((unused)).
41299         * bits/byteswap.h: Include <bits/types.h>.
41300         (__bswap_64): Use __uint64_t instead of unsigned long long int.
41302 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
41304         * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
41305         string_t.  Do not manually set errno.
41306         (__ptsname_r): Change the type of PEERNAME to string_t, and check its
41307         length with __strnlen.  Make sure to both set errno and return it on
41308         failure.
41310 2012-11-19  David S. Miller  <davem@davemloft.net>
41312         With help from Joseph Myers.
41313         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
41314         very large arguments properly.
41315         * math/libm-test.inc (atan_test): New tests.
41316         (atan2_test): New tests.
41317         * sysdeps/sparc/fpu/libm-test-ulps: Update.
41318         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
41320 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
41322         [BZ #14856]
41323         * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
41324         Define to 3.
41326         * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
41327         [POSIX] (EADDRNOTAVAIL): Likewise.
41328         [POSIX] (EAFNOSUPPORT): Likewise.
41329         [POSIX] (EALREADY): Likewise.
41330         [POSIX] (ECONNABORTED): Likewise.
41331         [POSIX] (ECONNREFUSED): Likewise.
41332         [POSIX] (ECONNRESET): Likewise.
41333         [POSIX] (EDESTADDRREQ): Likewise.
41334         [POSIX] (EDQUOT): Likewise.
41335         [POSIX] (EHOSTUNREACH): Likewise.
41336         [POSIX] (EIDRM): Likewise.
41337         [POSIX] (EISCONN): Likewise.
41338         [POSIX] (ELOOP): Likewise.
41339         [POSIX] (EMULTIHOP): Likewise.
41340         [POSIX] (ENETDOWN): Likewise.
41341         [POSIX] (ENETUNREACH): Likewise.
41342         [POSIX] (ENOBUFS): Likewise.
41343         [POSIX] (ENODATA): Likewise.
41344         [POSIX] (ENOLINK): Likewise.
41345         [POSIX] (ENOMSG): Likewise.
41346         [POSIX] (ENOPROTOOPT): Likewise.
41347         [POSIX] (ENOSR): Likewise.
41348         [POSIX] (ENOSTR): Likewise.
41349         [POSIX] (ENOTCONN): Likewise.
41350         [POSIX] (ENOTSOCK): Likewise.
41351         [POSIX] (EOPNOTSUPP): Likewise.
41352         [POSIX] (EOVERFLOW): Likewise.
41353         [POSIX] (EPROTO): Likewise.
41354         [POSIX] (EPROTONOSUPPORT): Likewise.
41355         [POSIX] (EPROTOTYPE): Likewise.
41356         [POSIX] (ESTALE): Likewise.
41357         [POSIX] (ETIME): Likewise.
41358         [POSIX] (ETXTBSY): Likewise.
41359         [POSIX] (EWOULDBLOCK): Likewise.
41360         [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
41361         * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
41362         [POSIX] (SEEK_CUR): Likewise.
41363         [POSIX] (SEEK_END): Likewise.
41364         [POSIX || UNIX98] (mode_t): Do not require.
41365         [POSIX] (off_t): Likewise.
41366         [POSIX] (pid_t): Likewise.
41367         [POSIX] (sys/stat.h): Do not allow header.
41368         [POSIX] (unistd.h): Likewise.
41369         [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
41370         [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
41371         [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
41372         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
41373         require.
41374         * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
41375         sigevent): Specify elements.
41376         [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
41377         entry.
41378         [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
41379         [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
41381         * conform/data/cpio.h-data [POSIX]: Disable whole file.
41382         * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
41383         * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
41384         (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
41385         [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
41386         [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
41387         [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
41388         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
41389         [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
41390         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
41391         [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
41392         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
41393         [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
41394         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
41395         Likewise.
41396         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
41397         Likewise.
41398         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
41399         Likewise.
41400         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
41401         Likewise.
41402         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
41403         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
41404         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
41405         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
41406         [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
41407         Specify lower bound on value.
41408         [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
41409         [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
41410         [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
41411         [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
41412         [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
41413         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
41414         [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
41415         [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
41416         value.
41417         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
41418         as optional.
41419         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
41420         [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
41421         [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
41422         [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
41423         [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
41424         [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
41425         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
41426         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
41427         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
41428         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
41429         [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
41430         [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
41431         [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
41432         [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
41433         [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
41434         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
41435         entry.
41436         [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
41437         optional.
41438         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
41439         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
41440         [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
41441         [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
41442         [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
41443         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
41444         Likewise.
41445         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
41446         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
41447         [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
41448         [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
41449         [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise.  Give
41450         value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
41451         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
41452         as optional.
41453         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
41454         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
41455         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
41456         [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
41457         Likewise.  Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
41458         [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
41459         specify as optional.
41460         [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
41461         [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
41462         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
41463         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
41464         [POSIX || XPG3] (NL_ARGMAX): Do not allow.
41465         [XPG3] (NL_LANGMAX): Likewise.
41466         [POSIX || XPG3] (NL_MSGMAX): Likewise.
41467         [POSIX || XPG3] (NL_NMAX): Likewise.
41468         [POSIX || XPG3] (NL_SETMAX): Likewise.
41469         [POSIX || XPG3] (NL_TEXTMAX): Likewise.
41470         [XPG3] (NZERO): Likewise.
41471         [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
41472         [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
41473         [!ISO && !ISO99 && !ISO11] (*_t): Allow.
41474         * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
41475         (REG_ERANGE): Expect.
41476         * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
41477         optional-constant.
41478         [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
41479         Use (void) in prototype.
41480         [POSIX] (*_t): Allow.
41481         * conform/data/sys/times.h-data [POSIX]: Enable whole file.
41482         * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
41483         (WRDE_BADVAL): Expect.
41485         * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
41486         expect.
41487         [XPG3 || XPG4] (O_RSYNC): Likewise.
41488         * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
41489         Likewise.
41490         [XPG3 || XPG4] (pthread_sigmask): Likewise.
41491         [XPG3 || XPG4] (sigqueue): Likewise.
41492         [XPG3 || XPG4] (sigtimedwait): Likewise.
41493         [XPG3 || XPG4] (sigwaitinfo): Likewise.
41494         * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
41495         [XPG3 || XPG4] (vsnprintf): Likewise.
41496         * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
41497         Likewise.
41498         [XPG3 || XPG4] (blksize_t): Likewise.
41499         * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
41500         Likewise.
41501         [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
41502         [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
41503         [XPG3 || XPG4] (struct itimerspec): Likewise.
41504         [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
41505         [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
41506         [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
41507         [XPG3 || XPG4] (clockid_t): Likewise.
41508         [XPG3 || XPG4] (timer_t): Likewise.
41509         [XPG3 || XPG4] (clock_getres): Likewise.
41510         [XPG3 || XPG4] (clock_gettime): Likewise.
41511         [XPG3 || XPG4] (clock_settime): Likewise.
41512         [XPG3 || XPG4] (nanosleep): Likewise.
41513         [XPG3 || XPG4] (timer_create): Likewise.
41514         [XPG3 || XPG4] (timer_delete): Likewise.
41515         [XPG3 || XPG4] (timer_gettime): Likewise.
41516         [XPG3 || XPG4] (timer_getoverrun): Likewise.
41517         [XPG3 || XPG4] (timer_settime): Likewise.
41518         * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
41519         [XPG3 || XPG4] (getlogin_r): Likewise.
41520         [XPG3 || XPG4] (pread): Likewise.
41521         [XPG3 || XPG4] (pthread_atfork): Likewise.
41522         [XPG3 || XPG4] (pwrite): Likewise.
41524         [BZ #14835]
41525         * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
41526         <bits/siginfo.h>.
41528 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
41530         * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
41531         finalizing MALLSTREAM.
41533         * sysdeps/mach/hurd/syncfs.c: New file.
41535 2012-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
41537         [BZ #14719]
41538         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
41539         NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
41540         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
41541         h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
41542         (_nss_dns_gethostbyname4_r): Likewise.
41543         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
41544         EAI_SYSTEM if NSS_STATUS_UNAVAIL.
41546 2012-11-19  Peng Haitao  <penght@cn.fujitsu.com>
41548         [BZ #13763]
41549         * sunrpc/bindrsvprt.c: Add lock to protect static variable.
41551 2012-11-19  Steve McIntyre  <steve.mcintyre@linaro.org>
41553         * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
41554         * elf/cache.c (print_entry): Print ",AArch64" for
41555         FLAG_AARCH64_LIB64
41557         * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
41558         * elf/cache.c (print_entry): Print ",hard-float" for
41559         FLAG_ARM_LIBHF.
41561 2012-11-18  David S. Miller  <davem@davemloft.net>
41563         With help from Joseph Myers.
41564         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
41565         cutoff to 2**-13.
41566         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
41567         cutoff to 2**-25.
41568         * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
41569         ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
41570         small.
41571         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
41572         * math/libm-test.inc (y0_test): New tests.
41573         (y1_test): New tests.
41574         * sysdeps/i386/fpu/libm-test-ulps: Update.
41575         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
41576         * sysdeps/sparc/fpu/libm-test-ulps: Update.
41578 2012-11-18  Andreas Schwab  <schwab@linux-m68k.org>
41580         * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
41581         64-bit targets.
41582         * configure: Regenerated.
41584 2012-11-17  David S. Miller  <davem@davemloft.net>
41586         [BZ #14811]
41587         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
41588         nonzero exponents with absolute value below 0x1p-128 to +/-
41589         0x1p-128.
41591 2012-11-17  Joseph Myers  <joseph@codesourcery.com>
41593         * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
41595         * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
41597         * posix/getconf-speclist.c: New file.
41598         * posix/posix-envs.def: Likewise.
41599         * posix/confstr.c (START_ENV_GROUP): New macro.
41600         (END_ENV_GROUP): Likewise.
41601         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
41602         (KNOWN_PRESENT_ENV_STRING): Likewise.
41603         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
41604         (UNKNOWN_ENVIRONMENT): Likewise.
41605         (confstr): Include posix-envs.def instead of handling
41606         _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
41607         _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
41608         * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
41609         (END_ENV_GROUP): Likewise.
41610         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
41611         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
41612         (UNKNOWN_ENVIRONMENT): Likewise.
41613         (__sysconf): Include posix-envs.def instead of handling associated
41614         cases directly here.
41615         * posix/Makefile ($(objpfx)getconf.speclist): Generate by
41616         preprocessing getconf-speclist.c rather than running getconf or
41617         generating empty file.
41619 2012-11-16  Pino Toscano  <toscano.pino@tiscali.it>
41621         * scripts/check-local-headers.sh: Ignore 'mach' headers.
41623 2012-11-16  Andrej Lajovic  <natrij@gmail.com>
41625         [BZ #14672]
41626         * iconv/iconv_prog.c (main): Fix -c handling of '/'.
41628 2012-11-16  David S. Miller  <davem@davemloft.net>
41630         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
41631         smaller than LDBL_EPSILON/2.0L, just return xm1.
41633 2012-11-16  H.J. Lu  <hongjiu.lu@intel.com>
41635         * elf/tst-array1.c (init): Set constructor priority to 1000.
41636         (fini): Set destructor priority to 1000.
41637         * elf/tst-array2dep.c: Likewise.
41639 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
41641         [BZ #11741]
41642         * libio/fileops.c (_IO_new_file_write): Correctly return error.
41643         (_IO_new_file_xsputn): Also return EOF if none of the input
41644         data was written when overflow failed.
41645         * libio/iopadn.c (_IO_padn): Likewise.
41646         * libio/iowpadn.c (_IO_wpadn): Likewise.
41647         * stdio-common/tst-put-error.c: Add copyright notice.
41648         (do_test): Add case for printing padded string.
41649         * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
41650         _IO_padn returned error.
41651         [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
41652         * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
41653         return EOF.
41655 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
41657         * libio/libioP.h: Add comment note that the references to C++
41658         bits are now obsolete.
41660 2012-11-15  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
41662         * math/libm-test.inc (check_complex): Use asprintf.
41664 2012-11-14  Joseph Myers  <joseph@codesourcery.com>
41666         * debug/pcprofiledump.c (print_version): Update copyright year.
41667         * malloc/memusagestat.c (print_version): Likewise.
41669 2012-11-14  H.J. Lu  <hongjiu.lu@intel.com>
41671         [BZ #14831]
41672         * elf/Makefile (tests): Add tst-audit8.
41673         ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
41674         ($(objpfx)tst-audit8.out): New target.
41675         (tst-audit8-ENV): New variable.
41676         * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
41677         audit if l_reloc_result is NULL.
41678         (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
41679         defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
41680         * elf/tst-audit8.c: New file.
41682 2012-11-14  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
41684         * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
41685         * misc/Makefile (CFLAGS-select.c): Define.
41686         * posix/Makefile (CFLAGS-pause.c): Define.
41688 2012-11-13  David S. Miller  <davem@davemloft.net>
41690         * crypt/Makefile: Move test targets after toplevel Rules
41691         inclusion.  Grab any necessary sysdep routines when linking.
41692         * crypt/md5.c (md5_process_block): Remove define, we will always
41693         name it __md5_process_block.
41694         (md5_finish_ctx): Update md5_process_block call.
41695         (md5_stream): Likewise.
41696         (md5_process_bytes): Likewise.
41697         (md5_process_block): Rename to __md5_process_block and move to ...
41698         * crypt/md5-block.c: ... here.
41699         * crypt/sha256.c (sha256_process_block): Move to ...
41700         * crypt/sha256-block.c: ... here.
41701         * crypt/sha512.c (sha512_process_block): Move to ...
41702         * crypt/sha512-block.c: ... here.
41703         * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
41704         path.
41705         * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
41706         * sysdeps/sparc/sparc64/multiarch/Makefile
41707         (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
41708         crypt subdir.
41709         (localedef-aux): Add md5 crypto assembler when in locale subdir.
41710         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
41711         multiarch changes.
41712         * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
41713         * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
41714         * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
41715         * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
41716         * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
41717         * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
41718         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
41719         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
41720         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
41721         file.
41722         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
41723         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
41724         file.
41725         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
41727 2012-11-13  Joseph Myers  <joseph@codesourcery.com>
41729         * timezone/tzselect.ksh: Update from tzcode git revision
41730         a435f9f0ecafa56d9e0263835836bd0c64cd7307.
41731         * timezone/zdump.c: Likewise.
41732         * timezone/zic.c: Likewise.
41733         * timezone/Makefile ($(objpfx)version.h): Only include $(version)
41734         in TZVERSION setting, not $(PKGVERSION).
41735         ($(objpfx)tzselect): Likewise.  Also substitute PKGVERSION and
41736         REPORT_BUGS_TO settings.
41738         [BZ #14838]
41739         * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
41740         macro.
41742 2012-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
41744         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
41745         detection to immediately after _FP_ROUND().
41746         * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
41747         bits are 0.
41749 2012-11-11  David S. Miller  <davem@davemloft.net>
41751         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
41752         inttypes.h
41753         (__get_clockfreq_via_proc_openprom): Use __open, __read, and
41754         __close rather than their public counterparts.
41756 2012-11-10  Joseph Myers  <joseph@codesourcery.com>
41758         * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
41759         file.
41760         [UNIX98] (sem_timedwait): Do not expect.
41761         * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
41762         [XPG4 || UNIX98] (sockatmark): Do not expect.
41763         * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
41764         (clock_getcpuclockid): Do not expect.
41765         [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
41766         * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
41767         Do not expect.
41768         [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
41769         * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
41770         [UNIX98] (vwscanf): Likewise.
41771         [UNIX98] (vswscanf): Likewise.
41773 2012-11-09  Joseph Myers  <joseph@codesourcery.com>
41775         * timezone/version.h: Remove file.
41776         * timezone/README: Do not refer to version.h.
41777         * timezone/Makefile ($(objpfx)zic.o): New dependency on
41778         $(objpfx)version.h.
41779         ($(objpfx)zdump.o): Likewise.
41780         ($(objpfx)version.h): New target.
41782         * timezone/tzselect.ksh: Change to verbatim copy from tzcode
41783         2012i.
41784         * timezone/README: Don't mention modification to tzselect.ksh.
41785         * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
41786         work on unmodified tzselect.ksh.  Substitute version numbers in
41787         tzselect.ksh.
41789         * Makefile (format-me): Remove.
41790         (INSTALL): Adjust indentation.  Use commands directly instead of
41791         using $(format-me).
41793         * aclocal.m4 (ACX_PKGVERSION): New macro.
41794         (ACX_BUGURL): Likewise.
41795         * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
41796         (PKGVERSION): New AC_DEFINE_UNQUOTED.
41797         (REPORT_BUGS_TO): Likewise.
41798         * configure: Regenerated.
41799         * config.h.in (PKGVERSION): New macro.
41800         (REPORT_BUGS_TO): Likewise.
41801         * config.make.in (PKGVERSION): New variable.
41802         (PKGVERSION_TEXI): Likewise.
41803         (REPORT_BUGS_TO): Likewise.
41804         (REPORT_BUGS_TEXI): Likewise.
41805         * Makefile (format-me): Use -I$(common-objpfx)manual.
41806         (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
41807         ($(common-objpfx)manual/%): New target.
41808         (manual/%): Remove target.
41809         * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
41810         (print_version): Use PKGVERSION.
41811         * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
41812         * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
41813         and REPORT_BUGS_TO.
41814         ($(objpfx)xtrace): Likewise.
41815         * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
41816         * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
41817         (print_version): Use PKGVERSION.
41818         * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
41819         (do_version): Use PKGVERSION.
41820         * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
41821         REPORT_BUGS_TO.
41822         (common-ldd-rewrite): Likewise.
41823         * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
41824         * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
41825         (print_version): Use PKGVERSION.
41826         * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
41827         * elf/pldd.c (argp_program_bug_address): Remove variable.
41828         (more_help): New function.
41829         (argp): Use more_help.
41830         (print_version): Use PKGVERSION.
41831         * elf/sln.c (main): Use PKGVERSION.
41832         (usage): Use REPORT_BUGS_TO.
41833         * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
41834         (top level): Use PKGVERSION.
41835         * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
41836         (print_version): Use PKGVERSION.
41837         * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
41838         (print_version): Use PKGVERSION.
41839         * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
41840         (print_version): Use PKGVERSION.
41841         * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
41842         (print_version): Use PKGVERSION.
41843         * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
41844         (print_version): Use PKGVERSION.
41845         * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
41846         (print_version): Use PKGVERSION.
41847         * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
41848         and BUGURL.
41849         ($(objpfx)memusage): Likewise.
41850         * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
41851         (do_version): Use PKGVERSION.
41852         * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
41853         (print_version): Use PKGVERSION.
41854         * malloc/mtrace.pl ($PACKAGE): Remove variable.
41855         ($PKGVERSION): New variable.
41856         ($REPORT_BUGS_TO): Likewise.
41857         (usage): Use $REPORT_BUGS_TO.
41858         (top level): Use $PKGVERSION.
41859         * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
41860         ($(objpfx)pkgvers.texi): New rule.
41861         ($(objpfx)stamp-pkgvers): Likewise.
41862         * manual/install.texi: Include pkgvers.texi.
41863         (--with-pkgversion): Document new configure option.
41864         (--with-bugurl): Likewise.
41865         (Reporting Bugs): Describe Bugzilla as upstream tracker rather
41866         than necessarily for this particular distribution.  Use
41867         REPORT_BUGS_TO for where to report bugs.
41868         * INSTALL: Regenerated.
41869         * manual/libc.texinfo: Include pkgvers.texi.
41870         [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
41871         * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
41872         (print_version): Use PKGVERSION.
41873         * nss/getent.c (more_help): Use REPORT_BUGS_TO.
41874         (print_version): Use PKGVERSION.
41875         * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
41876         (print_version): Use PKGVERSION.
41877         * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
41878         * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
41879         macro.
41880         * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
41881         (print_version): Use PKGVERSION.
41882         * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
41883         (print_version): Use PKGVERSION.
41884         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
41885         and PKGVERSION.
41887         * timezone/checktab.awk: Update from tzcode 2012i.
41888         * timezone/ialloc.c: Likewise.
41889         * timezone/private.h: Likewise.
41890         * timezone/scheck.c: Likewise.
41891         * timezone/tzfile.h: Likewise.
41892         * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
41893         (TZVERSION): Hardcode tzcode version number.
41894         * timezone/zdump.c: Update from tzcode 2012i.
41895         * timezone/zic.c: Likewise.
41896         * timezone/version.h: New file.
41897         * timezone/README: Describe version.h.  Update upstream location.
41899         [BZ #14824]
41900         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
41901         (mktemp): Enable declaration.
41902         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
41903         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
41904         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
41905         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
41906         Likewise.
41907         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
41908         Likewise.
41909         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
41910         Likewise.
41911         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
41912         Likewise.
41913         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
41914         Likewise.
41915         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
41916         Likewise.
41918         [BZ #14821]
41919         * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
41920         offset in buffer as u_int32_t not u_long.  Consistently use memcpy
41921         for copies of such integer values.
41922         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
41923         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
41925 2012-11-09  Andreas Jaeger  <aj@suse.de>
41927         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
41928         definitions and declarations that are provided by
41929         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
41931 2012-11-08  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
41933         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
41934         * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
41935         * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
41936         definition.
41938 2012-11-08  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
41940         * elf/elf.h: Update comment before AArch64 relocations.
41942 2012-11-07  David S. Miller  <davem@davemloft.net>
41944         * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
41945         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
41946         (__start_context): Declare.
41947         (__makecontext_ret): Delete.
41948         (__makecontext): Hook up __start_context instead of
41949         __makecontext_ret.
41950         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
41951         (sysdep_routines): Add __start_context when in stdlib.
41953 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
41955         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
41956         $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
41957         * sysdeps/x86/tst-xmmymm.sh (NM): New variable.  Use it instead of
41958         hardcoded "nm".
41959         (OBJDUMP): New variable.  Use it instead of hardcoded "objdump".
41960         (READELF): New variable.  Use it instead of hardcoded "readelf".
41962 2012-11-07  H.J. Lu  <hongjiu.lu@intel.com>
41964         * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
41965         * sysdeps/x86/Makefile: Here.
41966         * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
41967         * sysdeps/x86/tst-xmmymm.sh: This.
41969 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
41971         * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
41972         expectations.
41973         [UNIX98] (pthread_barrier_t): Do not expect.
41974         [UNIX98] (pthread_barrierattr_t): Likewise.
41975         [UNIX98] (pthread_spinlock_t): Likewise.
41976         [UNIX98] (pthread_barrier_destroy): Likewise.
41977         [UNIX98] (pthread_barrier_init): Likewise.
41978         [UNIX98] (pthread_barrier_wait): Likewise.
41979         [UNIX98] (pthread_barrierattr_destroy): Likewise.
41980         [UNIX98] (pthread_barrierattr_getpshared): Likewise.
41981         [UNIX98] (pthread_barrierattr_init): Likewise.
41982         [UNIX98] (pthread_barrierattr_setpshared): Likewise.
41983         [UNIX98] (pthread_getcpuclockid): Likewise.
41984         [UNIX98] (pthread_mutex_timedlock): Likewise.
41985         [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
41986         [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
41987         [UNIX98] (pthread_sigmask): Likewise.
41988         [UNIX98] (pthread_spin_destroy): Likewise.
41989         [UNIX98] (pthread_spin_init): Likewise.
41990         [UNIX98] (pthread_spin_lock): Likewise.
41991         [UNIX98] (pthread_spin_trylock): Likewise.
41992         [UNIX98] (pthread_spin_unlock): Likewise.
41993         * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
41994         Do not expect.
41995         [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
41996         [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
41997         [XPG3 || XPG4] (pthread_cond_t): Likewise.
41998         [XPG3 || XPG4] (pthread_condattr_t): Likewise.
41999         [XPG3 || XPG4] (pthread_key_t): Likewise.
42000         [XPG3 || XPG4] (pthread_mutex_t): Likewise.
42001         [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
42002         [XPG3 || XPG4] (pthread_once_t): Likewise.
42003         [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
42004         [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
42005         [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
42006         [XPG3 || XPG4] (pthread_t): Likewise.
42008         * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
42009         not expect.
42010         [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
42012         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
42013         Change function return type to int.
42015         * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
42016         Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
42017         [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
42018         [!POSIX] (POSIX_MADV_RANDOM): Likewise.
42019         [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
42020         [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
42021         [!POSIX] (posix_madvise): Likewise.
42022         (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
42023         && !UNIX98].
42024         (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
42025         (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
42026         (mode_t): Likewise.
42027         (posix_mem_offset): Likewise.
42028         (posix_typed_mem_get_info): Likewise.
42029         (posix_typed_mem_open): Likewise.
42031         * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
42032         Change condition to [XOPEN2K8].
42034         * conform/conformtest.pl: Preprocess allow-header data with -x c
42035         instead of from stdin.
42036         (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
42037         * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
42038         [C99-based standards] (cerfc): Likewise.
42039         [C99-based standards] (cexp2): Likewise.
42040         [C99-based standards] (cexpm1): Likewise.
42041         [C99-based standards] (clog10): Likewise.
42042         [C99-based standards] (clog1p): Likewise.
42043         [C99-based standards] (clog2): Likewise.
42044         [C99-based standards] (clgamma): Likewise.
42045         [C99-based standards] (ctgamma): Likewise.
42046         [C99-based standards] (cerff): Likewise.
42047         [C99-based standards] (cerfcf): Likewise.
42048         [C99-based standards] (cexp2f): Likewise.
42049         [C99-based standards] (cexpm1f): Likewise.
42050         [C99-based standards] (clog10f): Likewise.
42051         [C99-based standards] (clog1pf): Likewise.
42052         [C99-based standards] (clog2f): Likewise.
42053         [C99-based standards] (clgammaf): Likewise.
42054         [C99-based standards] (ctgammaf): Likewise.
42055         [C99-based standards] (cerfl): Likewise.
42056         [C99-based standards] (cerfcl): Likewise.
42057         [C99-based standards] (cexp2l): Likewise.
42058         [C99-based standards] (cexpm1l): Likewise.
42059         [C99-based standards] (clog10l): Likewise.
42060         [C99-based standards] (clog1pl): Likewise.
42061         [C99-based standards] (clog2l): Likewise.
42062         [C99-based standards] (clgammal): Likewise.
42063         [C99-based standards] (ctgammal): Likewise.
42064         * conform/data/inttypes.h-data [C99-based standards]: Include
42065         stdint.h-data.  Remove all expectations for stdint.h contents.
42066         [C99-based standards] (PRI*): Do not allow.
42067         [C99-based standards] (SCN*): Likewise.
42068         [C99-based standards] (*_t): Likewise.
42069         [C99-based-standards] (PRId8): Expect macro.
42070         [C99-based-standards] (PRIi8): Likewise.
42071         [C99-based-standards] (PRIo8): Likewise.
42072         [C99-based-standards] (PRIu8): Likewise.
42073         [C99-based-standards] (PRIx8): Likewise.
42074         [C99-based-standards] (PRIX8): Likewise.
42075         [C99-based-standards] (SCNd8): Likewise.
42076         [C99-based-standards] (SCNi8): Likewise.
42077         [C99-based-standards] (SCNo8): Likewise.
42078         [C99-based-standards] (SCNu8): Likewise.
42079         [C99-based-standards] (SCNx8): Likewise.
42080         [C99-based-standards] (PRIdLEAST8): Likewise.
42081         [C99-based-standards] (PRIiLEAST8): Likewise.
42082         [C99-based-standards] (PRIoLEAST8): Likewise.
42083         [C99-based-standards] (PRIuLEAST8): Likewise.
42084         [C99-based-standards] (PRIxLEAST8): Likewise.
42085         [C99-based-standards] (PRIXLEAST8): Likewise.
42086         [C99-based-standards] (SCNdLEAST8): Likewise.
42087         [C99-based-standards] (SCNiLEAST8): Likewise.
42088         [C99-based-standards] (SCNoLEAST8): Likewise.
42089         [C99-based-standards] (SCNuLEAST8): Likewise.
42090         [C99-based-standards] (SCNxLEAST8): Likewise.
42091         [C99-based-standards] (PRIdFAST8): Likewise.
42092         [C99-based-standards] (PRIiFAST8): Likewise.
42093         [C99-based-standards] (PRIoFAST8): Likewise.
42094         [C99-based-standards] (PRIuFAST8): Likewise.
42095         [C99-based-standards] (PRIxFAST8): Likewise.
42096         [C99-based-standards] (PRIXFAST8): Likewise.
42097         [C99-based-standards] (SCNdFAST8): Likewise.
42098         [C99-based-standards] (SCNiFAST8): Likewise.
42099         [C99-based-standards] (SCNoFAST8): Likewise.
42100         [C99-based-standards] (SCNuFAST8): Likewise.
42101         [C99-based-standards] (SCNxFAST8): Likewise.
42102         [C99-based-standards] (PRId16): Likewise.
42103         [C99-based-standards] (PRIi16): Likewise.
42104         [C99-based-standards] (PRIo16): Likewise.
42105         [C99-based-standards] (PRIu16): Likewise.
42106         [C99-based-standards] (PRIx16): Likewise.
42107         [C99-based-standards] (PRIX16): Likewise.
42108         [C99-based-standards] (SCNd16): Likewise.
42109         [C99-based-standards] (SCNi16): Likewise.
42110         [C99-based-standards] (SCNo16): Likewise.
42111         [C99-based-standards] (SCNu16): Likewise.
42112         [C99-based-standards] (SCNx16): Likewise.
42113         [C99-based-standards] (PRIdLEAST16): Likewise.
42114         [C99-based-standards] (PRIiLEAST16): Likewise.
42115         [C99-based-standards] (PRIoLEAST16): Likewise.
42116         [C99-based-standards] (PRIuLEAST16): Likewise.
42117         [C99-based-standards] (PRIxLEAST16): Likewise.
42118         [C99-based-standards] (PRIXLEAST16): Likewise.
42119         [C99-based-standards] (SCNdLEAST16): Likewise.
42120         [C99-based-standards] (SCNiLEAST16): Likewise.
42121         [C99-based-standards] (SCNoLEAST16): Likewise.
42122         [C99-based-standards] (SCNuLEAST16): Likewise.
42123         [C99-based-standards] (SCNxLEAST16): Likewise.
42124         [C99-based-standards] (PRIdFAST16): Likewise.
42125         [C99-based-standards] (PRIiFAST16): Likewise.
42126         [C99-based-standards] (PRIoFAST16): Likewise.
42127         [C99-based-standards] (PRIuFAST16): Likewise.
42128         [C99-based-standards] (PRIxFAST16): Likewise.
42129         [C99-based-standards] (PRIXFAST16): Likewise.
42130         [C99-based-standards] (SCNdFAST16): Likewise.
42131         [C99-based-standards] (SCNiFAST16): Likewise.
42132         [C99-based-standards] (SCNoFAST16): Likewise.
42133         [C99-based-standards] (SCNuFAST16): Likewise.
42134         [C99-based-standards] (SCNxFAST16): Likewise.
42135         [C99-based-standards] (PRId32): Likewise.
42136         [C99-based-standards] (PRIi32): Likewise.
42137         [C99-based-standards] (PRIo32): Likewise.
42138         [C99-based-standards] (PRIu32): Likewise.
42139         [C99-based-standards] (PRIx32): Likewise.
42140         [C99-based-standards] (PRIX32): Likewise.
42141         [C99-based-standards] (SCNd32): Likewise.
42142         [C99-based-standards] (SCNi32): Likewise.
42143         [C99-based-standards] (SCNo32): Likewise.
42144         [C99-based-standards] (SCNu32): Likewise.
42145         [C99-based-standards] (SCNx32): Likewise.
42146         [C99-based-standards] (PRIdLEAST32): Likewise.
42147         [C99-based-standards] (PRIiLEAST32): Likewise.
42148         [C99-based-standards] (PRIoLEAST32): Likewise.
42149         [C99-based-standards] (PRIuLEAST32): Likewise.
42150         [C99-based-standards] (PRIxLEAST32): Likewise.
42151         [C99-based-standards] (PRIXLEAST32): Likewise.
42152         [C99-based-standards] (SCNdLEAST32): Likewise.
42153         [C99-based-standards] (SCNiLEAST32): Likewise.
42154         [C99-based-standards] (SCNoLEAST32): Likewise.
42155         [C99-based-standards] (SCNuLEAST32): Likewise.
42156         [C99-based-standards] (SCNxLEAST32): Likewise.
42157         [C99-based-standards] (PRIdFAST32): Likewise.
42158         [C99-based-standards] (PRIiFAST32): Likewise.
42159         [C99-based-standards] (PRIoFAST32): Likewise.
42160         [C99-based-standards] (PRIuFAST32): Likewise.
42161         [C99-based-standards] (PRIxFAST32): Likewise.
42162         [C99-based-standards] (PRIXFAST32): Likewise.
42163         [C99-based-standards] (SCNdFAST32): Likewise.
42164         [C99-based-standards] (SCNiFAST32): Likewise.
42165         [C99-based-standards] (SCNoFAST32): Likewise.
42166         [C99-based-standards] (SCNuFAST32): Likewise.
42167         [C99-based-standards] (SCNxFAST32): Likewise.
42168         [C99-based-standards] (PRId64): Likewise.
42169         [C99-based-standards] (PRIi64): Likewise.
42170         [C99-based-standards] (PRIo64): Likewise.
42171         [C99-based-standards] (PRIu64): Likewise.
42172         [C99-based-standards] (PRIx64): Likewise.
42173         [C99-based-standards] (PRIX64): Likewise.
42174         [C99-based-standards] (SCNd64): Likewise.
42175         [C99-based-standards] (SCNi64): Likewise.
42176         [C99-based-standards] (SCNo64): Likewise.
42177         [C99-based-standards] (SCNu64): Likewise.
42178         [C99-based-standards] (SCNx64): Likewise.
42179         [C99-based-standards] (PRIdLEAST64): Likewise.
42180         [C99-based-standards] (PRIiLEAST64): Likewise.
42181         [C99-based-standards] (PRIoLEAST64): Likewise.
42182         [C99-based-standards] (PRIuLEAST64): Likewise.
42183         [C99-based-standards] (PRIxLEAST64): Likewise.
42184         [C99-based-standards] (PRIXLEAST64): Likewise.
42185         [C99-based-standards] (SCNdLEAST64): Likewise.
42186         [C99-based-standards] (SCNiLEAST64): Likewise.
42187         [C99-based-standards] (SCNoLEAST64): Likewise.
42188         [C99-based-standards] (SCNuLEAST64): Likewise.
42189         [C99-based-standards] (SCNxLEAST64): Likewise.
42190         [C99-based-standards] (PRIdFAST64): Likewise.
42191         [C99-based-standards] (PRIiFAST64): Likewise.
42192         [C99-based-standards] (PRIoFAST64): Likewise.
42193         [C99-based-standards] (PRIuFAST64): Likewise.
42194         [C99-based-standards] (PRIxFAST64): Likewise.
42195         [C99-based-standards] (PRIXFAST64): Likewise.
42196         [C99-based-standards] (SCNdFAST64): Likewise.
42197         [C99-based-standards] (SCNiFAST64): Likewise.
42198         [C99-based-standards] (SCNoFAST64): Likewise.
42199         [C99-based-standards] (SCNuFAST64): Likewise.
42200         [C99-based-standards] (SCNxFAST64): Likewise.
42201         [C99-based-standards] (PRIdMAX): Likewise.
42202         [C99-based-standards] (PRIiMAX): Likewise.
42203         [C99-based-standards] (PRIoMAX): Likewise.
42204         [C99-based-standards] (PRIuMAX): Likewise.
42205         [C99-based-standards] (PRIxMAX): Likewise.
42206         [C99-based-standards] (PRIXMAX): Likewise.
42207         [C99-based-standards] (SCNdMAX): Likewise.
42208         [C99-based-standards] (SCNiMAX): Likewise.
42209         [C99-based-standards] (SCNoMAX): Likewise.
42210         [C99-based-standards] (SCNuMAX): Likewise.
42211         [C99-based-standards] (SCNxMAX): Likewise.
42212         [C99-based-standards] (PRIdPTR): Likewise.
42213         [C99-based-standards] (PRIiPTR): Likewise.
42214         [C99-based-standards] (PRIoPTR): Likewise.
42215         [C99-based-standards] (PRIuPTR): Likewise.
42216         [C99-based-standards] (PRIxPTR): Likewise.
42217         [C99-based-standards] (PRIXPTR): Likewise.
42218         [C99-based-standards] (SCNdPTR): Likewise.
42219         [C99-based-standards] (SCNiPTR): Likewise.
42220         [C99-based-standards] (SCNoPTR): Likewise.
42221         [C99-based-standards] (SCNuPTR): Likewise.
42222         [C99-based-standards] (SCNxPTR): Likewise.
42223         * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
42224         allow.
42225         * conform/data/stdint.h-data: Update comments to clarify
42226         requirements.
42227         [C99-based standards] (INT8_MIN): Use macro-int-constant.  Specify
42228         type.
42229         [C99-based standards] (INT8_MAX): Likewise.
42230         [C99-based standards] (INT16_MIN): Likewise.
42231         [C99-based standards] (INT16_MAX): Likewise.
42232         [C99-based standards] (INT32_MIN): Likewise.
42233         [C99-based standards] (INT32_MAX): Likewise.
42234         [C99-based standards] (INT64_MIN): Likewise.
42235         [C99-based standards] (INT64_MAX): Likewise.
42236         [C99-based standards] (UINT8_MAX): Likewise.
42237         [C99-based standards] (UINT16_MAX): Likewise.
42238         [C99-based standards] (UINT32_MAX): Likewise.
42239         [C99-based standards] (UINT64_MAX): Likewise.
42240         [C99-based standards] (INT_LEAST8_MIN): Likewise.
42241         [C99-based standards] (INT_LEAST8_MAX): Likewise.
42242         [C99-based standards] (INT_LEAST16_MIN): Likewise.
42243         [C99-based standards] (INT_LEAST16_MAX): Likewise.
42244         [C99-based standards] (INT_LEAST32_MIN): Likewise.
42245         [C99-based standards] (INT_LEAST32_MAX): Likewise.
42246         [C99-based standards] (INT_LEAST64_MIN): Likewise.
42247         [C99-based standards] (INT_LEAST64_MAX): Likewise.
42248         [C99-based standards] (UINT_LEAST8_MAX): Likewise.
42249         [C99-based standards] (UINT_LEAST16_MAX): Likewise.
42250         [C99-based standards] (UINT_LEAST32_MAX): Likewise.
42251         [C99-based standards] (UINT_LEAST64_MAX): Likewise.
42252         [C99-based standards] (INT_FAST8_MIN): Likewise.
42253         [C99-based standards] (INT_FAST8_MAX): Likewise.
42254         [C99-based standards] (INT_FAST16_MIN): Likewise.
42255         [C99-based standards] (INT_FAST16_MAX): Likewise.
42256         [C99-based standards] (INT_FAST32_MIN): Likewise.
42257         [C99-based standards] (INT_FAST32_MAX): Likewise.
42258         [C99-based standards] (INT_FAST64_MIN): Likewise.
42259         [C99-based standards] (INT_FAST64_MAX): Likewise.
42260         [C99-based standards] (UINT_FAST8_MAX): Likewise.
42261         [C99-based standards] (UINT_FAST16_MAX): Likewise.
42262         [C99-based standards] (UINT_FAST32_MAX): Likewise.
42263         [C99-based standards] (UINT_FAST64_MAX): Likewise.
42264         [C99-based standards] (INTPTR_MIN): Likewise.
42265         [C99-based standards] (INTPTR_MAX): Likewise.
42266         [C99-based standards] (UINTPTR_MAX): Likewise.
42267         [C99-based standards] (INTMAX_MIN): Likewise.
42268         [C99-based standards] (INTMAX_MAX): Likewise.
42269         [C99-based standards] (UINTMAX_MAX): Likewise.
42270         [C99-based standards] (PTRDIFF_MIN): Likewise.
42271         [C99-based standards] (PTRDIFF_MAX): Likewise.
42272         [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
42273         [C99-based standards] (SIZE_MAX): Likewise.
42274         [C99-based standards] (WCHAR_MAX): Likewise.
42275         [C99-based standards] (WINT_MAX): Likewise.
42276         [C99-based standards] (SIG_ATOMIC_MIN): Likewise.  Do not specify
42277         constraint on value.
42278         [C99-based standards] (WCHAR_MIN): Likewise.
42279         [C99-based standards] (WINT_MIN): Likewise.
42280         [C99-based standards] (*_t): Allow.
42281         * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
42282         condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
42283         Include math.h-data and complex.h-data.  Remove all expectations
42284         of math.h and complex.h contents.
42285         * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
42286         at end of line.
42287         * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
42288         (struct tm): Expect tag.
42289         [C99-based-standards] (wcstof): Expect function.
42290         [C99-based-standards] (wcstold): Likewise.
42291         [C99-based-standards] (wcstoll): Likewise.
42292         [C99-based-standards] (wcstoull): Likewise.
42293         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
42294         macro-int-constant.  Specify type.
42295         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise.  Specify
42296         constraint on value.
42297         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
42298         Specify type.
42299         [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
42300         Specify value.
42301         [ISO C standards]: Do not allow headers.
42302         [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
42303         wcs[abcdefghijklmnopqrstuvwxyz]*.
42304         [ISO C standards] (*_t): Do not allow.
42305         * conform/data/wctype.h-data [C99-based standards] (iswblank):
42306         Expect function.
42307         [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
42308         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
42309         Specify type.
42310         [ISO C standards]: Do not allow headers.
42311         [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
42312         is[abcdefghijklmnopqrstuvwxyz]*.
42313         [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
42314         to[abcdefghijklmnopqrstuvwxyz]*.
42315         [ISO C standards] (*_t): Do not allow.
42316         * conform/data/stdalign.h-data: New file.
42317         * conform/data/stdbool.h-data: Likewise.
42318         * conform/data/stdnoreturn.h-data: Likewise.
42320 2012-11-07  Roland McGrath  <roland@hack.frob.com>
42322         [BZ #14815]
42323         * manual/filesys.texi (Directory Entries): Typo fix.
42324         Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
42326 2012-11-07  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
42328         * elf/elf.h (EM_AARCH64): New macro.
42329         (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
42330         (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
42331         (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
42332         (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
42333         (R_AARCH64_TLSDESC): Likewise.
42334         (NT_ARM_TLS): Likewise.
42335         (NT_ARM_HW_BREAK): Likewise.
42336         (NT_ARM_HW_WATCH): Likewise.
42338 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
42340         [BZ #14811]
42341         * sysdeps/i386/fpu/e_powl.S (pm79): New object.
42342         (__ieee754_powl): Saturate nonzero exponents with absolute value
42343         below 0x1p-79 to +/- 0x1p-79.
42344         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
42345         exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
42346         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
42347         nonzero exponents with absolute value below 0x1p-32 to +/-
42348         0x1p-32.
42349         * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
42350         (__ieee754_powl): Saturate nonzero exponents with absolute value
42351         below 0x1p-79 to +/- 0x1p-79.
42352         * math/libm-test.inc (pow_test): Add more tests.
42354 2012-11-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
42356         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
42357         _dl_s390_cap_flags with kernel. Increase string length.
42358         (_dl_s390_platforms): Add z196 and zEC12.
42360 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
42362         * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
42363         Change XOPEN21K to XOPEN2K.
42365 2012-11-06  Maxim Kuvyrkov  <maxim@codesourcery.com>
42367         * string/memmove.c: Use memcpy when possible.
42369 2012-11-06  Andreas Jaeger  <aj@suse.de>
42371         * po/eo.po: Update from translation team.
42373 2012-11-06  Joseph Myers  <joseph@codesourcery.com>
42375         [BZ #14793]
42376         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
42377         exponent and small x and y exponents, scale x or y up.  Increase
42378         by 2 the exponent used in scaling up.
42379         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
42380         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
42381         * math/libm-test.inc (fma_test): Add more tests.
42382         (fma_test_towardzero): Likewise.
42383         (fma_test_downward): Likewise.
42384         (fma_test_upward): Likewise.
42386 2012-11-05  Joseph Myers  <joseph@codesourcery.com>
42388         [BZ #14805]
42389         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
42390         fenv_t *.
42392         [BZ #14801]
42393         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
42394         namespace for names of struct fields.
42395         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
42396         fenv_t fields.
42397         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
42398         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
42400 2012-11-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
42402         [BZ #3665]
42403         * sysdeps/mach/hurd/bits/errno.h: Regenerated.
42405 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
42407         * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
42408         PTR_DEMANGLE.
42410         [BZ #5246]
42411         * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
42412         PTR_DEMANGLE.
42414 2012-11-04  Joseph Myers  <joseph@codesourcery.com>
42416         [BZ #14797]
42417         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
42418         definitely overflow as x * y not x * y + z.
42419         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
42420         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
42421         * math/libm-test.inc (fma_test): Add more tests.
42422         (fma_test_towardzero): Likewise.
42423         (fma_test_downward): Likewise.
42424         (fma_test_upward): Likewise.
42426 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
42428         [BZ #157]
42430         * include/stub-tag.h: Remove file.
42431         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
42432         '#include' of it.
42433         * manual/maint.texi (Porting): Don't reference it.
42434         * Makerules ($(objpfx)stubs): Likewise.
42435         * dirent/closedir.c: Don't include <stub-tag.h>.
42436         * dirent/dirfd.c: Likewise.
42437         * dirent/fdopendir.c: Likewise.
42438         * dirent/getdents.c: Likewise.
42439         * dirent/getdents64.c: Likewise.
42440         * dirent/opendir.c: Likewise.
42441         * dirent/readdir.c: Likewise.
42442         * dirent/readdir64.c: Likewise.
42443         * dirent/readdir64_r.c: Likewise.
42444         * dirent/readdir_r.c: Likewise.
42445         * dirent/rewinddir.c: Likewise.
42446         * dirent/seekdir.c: Likewise.
42447         * dirent/telldir.c: Likewise.
42448         * gmon/profil.c: Likewise.
42449         * grp/setgroups.c: Likewise.
42450         * inet/if_index.c: Likewise.
42451         * io/access.c: Likewise.
42452         * io/chdir.c: Likewise.
42453         * io/chmod.c: Likewise.
42454         * io/chown.c: Likewise.
42455         * io/close.c: Likewise.
42456         * io/dup.c: Likewise.
42457         * io/dup2.c: Likewise.
42458         * io/dup3.c: Likewise.
42459         * io/euidaccess.c: Likewise.
42460         * io/faccessat.c: Likewise.
42461         * io/fchdir.c: Likewise.
42462         * io/fchmod.c: Likewise.
42463         * io/fchmodat.c: Likewise.
42464         * io/fchown.c: Likewise.
42465         * io/fchownat.c: Likewise.
42466         * io/fcntl.c: Likewise.
42467         * io/flock.c: Likewise.
42468         * io/fstatfs.c: Likewise.
42469         * io/fstatfs64.c: Likewise.
42470         * io/fstatvfs.c: Likewise.
42471         * io/fstatvfs64.c: Likewise.
42472         * io/futimens.c: Likewise.
42473         * io/fxstat.c: Likewise.
42474         * io/fxstat64.c: Likewise.
42475         * io/fxstatat.c: Likewise.
42476         * io/fxstatat64.c: Likewise.
42477         * io/getcwd.c: Likewise.
42478         * io/isatty.c: Likewise.
42479         * io/lchmod.c: Likewise.
42480         * io/lchown.c: Likewise.
42481         * io/link.c: Likewise.
42482         * io/linkat.c: Likewise.
42483         * io/lseek.c: Likewise.
42484         * io/lseek64.c: Likewise.
42485         * io/lxstat64.c: Likewise.
42486         * io/mkdir.c: Likewise.
42487         * io/mkdirat.c: Likewise.
42488         * io/mkfifo.c: Likewise.
42489         * io/mkfifoat.c: Likewise.
42490         * io/open.c: Likewise.
42491         * io/open64.c: Likewise.
42492         * io/openat.c: Likewise.
42493         * io/openat64.c: Likewise.
42494         * io/pipe.c: Likewise.
42495         * io/pipe2.c: Likewise.
42496         * io/poll.c: Likewise.
42497         * io/posix_fadvise.c: Likewise.
42498         * io/posix_fadvise64.c: Likewise.
42499         * io/posix_fallocate.c: Likewise.
42500         * io/posix_fallocate64.c: Likewise.
42501         * io/read.c: Likewise.
42502         * io/readlink.c: Likewise.
42503         * io/readlinkat.c: Likewise.
42504         * io/rmdir.c: Likewise.
42505         * io/sendfile.c: Likewise.
42506         * io/sendfile64.c: Likewise.
42507         * io/statfs.c: Likewise.
42508         * io/statfs64.c: Likewise.
42509         * io/statvfs.c: Likewise.
42510         * io/statvfs64.c: Likewise.
42511         * io/symlink.c: Likewise.
42512         * io/symlinkat.c: Likewise.
42513         * io/ttyname.c: Likewise.
42514         * io/ttyname_r.c: Likewise.
42515         * io/umask.c: Likewise.
42516         * io/unlink.c: Likewise.
42517         * io/unlinkat.c: Likewise.
42518         * io/utime.c: Likewise.
42519         * io/utimensat.c: Likewise.
42520         * io/write.c: Likewise.
42521         * io/xmknod.c: Likewise.
42522         * io/xmknodat.c: Likewise.
42523         * io/xstat.c: Likewise.
42524         * io/xstat64.c: Likewise.
42525         * login/getpt.c: Likewise.
42526         * login/grantpt.c: Likewise.
42527         * login/unlockpt.c: Likewise.
42528         * math/e_acoshl.c: Likewise.
42529         * math/e_acosl.c: Likewise.
42530         * math/e_asinl.c: Likewise.
42531         * math/e_atan2l.c: Likewise.
42532         * math/e_atanhl.c: Likewise.
42533         * math/e_coshl.c: Likewise.
42534         * math/e_expl.c: Likewise.
42535         * math/e_fmodl.c: Likewise.
42536         * math/e_gammal_r.c: Likewise.
42537         * math/e_hypotl.c: Likewise.
42538         * math/e_j0l.c: Likewise.
42539         * math/e_j1l.c: Likewise.
42540         * math/e_jnl.c: Likewise.
42541         * math/e_lgammal_r.c: Likewise.
42542         * math/e_log10l.c: Likewise.
42543         * math/e_log2l.c: Likewise.
42544         * math/e_logl.c: Likewise.
42545         * math/e_powl.c: Likewise.
42546         * math/e_rem_pio2l.c: Likewise.
42547         * math/e_sinhl.c: Likewise.
42548         * math/e_sqrtl.c: Likewise.
42549         * math/fclrexcpt.c: Likewise.
42550         * math/fedisblxcpt.c: Likewise.
42551         * math/feenablxcpt.c: Likewise.
42552         * math/fegetenv.c: Likewise.
42553         * math/fegetexcept.c: Likewise.
42554         * math/fegetround.c: Likewise.
42555         * math/feholdexcpt.c: Likewise.
42556         * math/fesetenv.c: Likewise.
42557         * math/fesetround.c: Likewise.
42558         * math/feupdateenv.c: Likewise.
42559         * math/fgetexcptflg.c: Likewise.
42560         * math/fraiseexcpt.c: Likewise.
42561         * math/fsetexcptflg.c: Likewise.
42562         * math/ftestexcept.c: Likewise.
42563         * math/k_cosl.c: Likewise.
42564         * math/k_rem_pio2l.c: Likewise.
42565         * math/k_sinl.c: Likewise.
42566         * math/k_tanl.c: Likewise.
42567         * math/s_asinhl.c: Likewise.
42568         * math/s_atanl.c: Likewise.
42569         * math/s_cbrtl.c: Likewise.
42570         * math/s_erfl.c: Likewise.
42571         * math/s_expm1l.c: Likewise.
42572         * math/s_log1pl.c: Likewise.
42573         * math/s_tanhl.c: Likewise.
42574         * misc/acct.c: Likewise.
42575         * misc/brk.c: Likewise.
42576         * misc/chflags.c: Likewise.
42577         * misc/chroot.c: Likewise.
42578         * misc/fchflags.c: Likewise.
42579         * misc/fgetxattr.c: Likewise.
42580         * misc/flistxattr.c: Likewise.
42581         * misc/fremovexattr.c: Likewise.
42582         * misc/fsetxattr.c: Likewise.
42583         * misc/fsync.c: Likewise.
42584         * misc/ftruncate.c: Likewise.
42585         * misc/futimes.c: Likewise.
42586         * misc/futimesat.c: Likewise.
42587         * misc/getdomain.c: Likewise.
42588         * misc/getdtsz.c: Likewise.
42589         * misc/gethostid.c: Likewise.
42590         * misc/gethostname.c: Likewise.
42591         * misc/getloadavg.c: Likewise.
42592         * misc/getpagesize.c: Likewise.
42593         * misc/getsysstats.c: Likewise.
42594         * misc/getxattr.c: Likewise.
42595         * misc/gtty.c: Likewise.
42596         * misc/ioctl.c: Likewise.
42597         * misc/lgetxattr.c: Likewise.
42598         * misc/listxattr.c: Likewise.
42599         * misc/llistxattr.c: Likewise.
42600         * misc/lremovexattr.c: Likewise.
42601         * misc/lsetxattr.c: Likewise.
42602         * misc/lutimes.c: Likewise.
42603         * misc/madvise.c: Likewise.
42604         * misc/mincore.c: Likewise.
42605         * misc/mlock.c: Likewise.
42606         * misc/mlockall.c: Likewise.
42607         * misc/mmap.c: Likewise.
42608         * misc/mprotect.c: Likewise.
42609         * misc/msync.c: Likewise.
42610         * misc/munlock.c: Likewise.
42611         * misc/munlockall.c: Likewise.
42612         * misc/munmap.c: Likewise.
42613         * misc/preadv.c: Likewise.
42614         * misc/preadv64.c: Likewise.
42615         * misc/ptrace.c: Likewise.
42616         * misc/pwritev.c: Likewise.
42617         * misc/pwritev64.c: Likewise.
42618         * misc/readv.c: Likewise.
42619         * misc/reboot.c: Likewise.
42620         * misc/remap_file_pages.c: Likewise.
42621         * misc/removexattr.c: Likewise.
42622         * misc/revoke.c: Likewise.
42623         * misc/select.c: Likewise.
42624         * misc/setdomain.c: Likewise.
42625         * misc/setegid.c: Likewise.
42626         * misc/seteuid.c: Likewise.
42627         * misc/sethostid.c: Likewise.
42628         * misc/sethostname.c: Likewise.
42629         * misc/setregid.c: Likewise.
42630         * misc/setreuid.c: Likewise.
42631         * misc/setxattr.c: Likewise.
42632         * misc/sstk.c: Likewise.
42633         * misc/stty.c: Likewise.
42634         * misc/swapoff.c: Likewise.
42635         * misc/swapon.c: Likewise.
42636         * misc/sync.c: Likewise.
42637         * misc/syncfs.c: Likewise.
42638         * misc/syscall.c: Likewise.
42639         * misc/truncate.c: Likewise.
42640         * misc/ualarm.c: Likewise.
42641         * misc/usleep.c: Likewise.
42642         * misc/ustat.c: Likewise.
42643         * misc/utimes.c: Likewise.
42644         * misc/vhangup.c: Likewise.
42645         * misc/writev.c: Likewise.
42646         * posix/_exit.c: Likewise.
42647         * posix/alarm.c: Likewise.
42648         * posix/execve.c: Likewise.
42649         * posix/fexecve.c: Likewise.
42650         * posix/fork.c: Likewise.
42651         * posix/fpathconf.c: Likewise.
42652         * posix/getaddrinfo.c: Likewise.
42653         * posix/getegid.c: Likewise.
42654         * posix/geteuid.c: Likewise.
42655         * posix/getgid.c: Likewise.
42656         * posix/getgroups.c: Likewise.
42657         * posix/getlogin.c: Likewise.
42658         * posix/getlogin_r.c: Likewise.
42659         * posix/getpgid.c: Likewise.
42660         * posix/getpid.c: Likewise.
42661         * posix/getppid.c: Likewise.
42662         * posix/getresgid.c: Likewise.
42663         * posix/getresuid.c: Likewise.
42664         * posix/getsid.c: Likewise.
42665         * posix/getuid.c: Likewise.
42666         * posix/glob64.c: Likewise.
42667         * posix/nanosleep.c: Likewise.
42668         * posix/pathconf.c: Likewise.
42669         * posix/pause.c: Likewise.
42670         * posix/posix_madvise.c: Likewise.
42671         * posix/pread.c: Likewise.
42672         * posix/pread64.c: Likewise.
42673         * posix/pwrite.c: Likewise.
42674         * posix/pwrite64.c: Likewise.
42675         * posix/sched_getaffinity.c: Likewise.
42676         * posix/sched_getp.c: Likewise.
42677         * posix/sched_gets.c: Likewise.
42678         * posix/sched_primax.c: Likewise.
42679         * posix/sched_primin.c: Likewise.
42680         * posix/sched_rr_gi.c: Likewise.
42681         * posix/sched_setaffinity.c: Likewise.
42682         * posix/sched_setp.c: Likewise.
42683         * posix/sched_sets.c: Likewise.
42684         * posix/sched_yield.c: Likewise.
42685         * posix/setgid.c: Likewise.
42686         * posix/setlogin.c: Likewise.
42687         * posix/setpgid.c: Likewise.
42688         * posix/setresgid.c: Likewise.
42689         * posix/setresuid.c: Likewise.
42690         * posix/setsid.c: Likewise.
42691         * posix/setuid.c: Likewise.
42692         * posix/sleep.c: Likewise.
42693         * posix/spawni.c: Likewise.
42694         * posix/sysconf.c: Likewise.
42695         * posix/times.c: Likewise.
42696         * posix/wait.c: Likewise.
42697         * posix/wait3.c: Likewise.
42698         * posix/wait4.c: Likewise.
42699         * posix/waitpid.c: Likewise.
42700         * resolv/gai_sigqueue.c: Likewise.
42701         * resource/getpriority.c: Likewise.
42702         * resource/getrlimit.c: Likewise.
42703         * resource/getrusage.c: Likewise.
42704         * resource/nice.c: Likewise.
42705         * resource/setpriority.c: Likewise.
42706         * resource/setrlimit.c: Likewise.
42707         * resource/ulimit.c: Likewise.
42708         * rt/aio_cancel.c: Likewise.
42709         * rt/aio_fsync.c: Likewise.
42710         * rt/aio_read.c: Likewise.
42711         * rt/aio_sigqueue.c: Likewise.
42712         * rt/aio_suspend.c: Likewise.
42713         * rt/aio_write.c: Likewise.
42714         * rt/clock_getres.c: Likewise.
42715         * rt/clock_gettime.c: Likewise.
42716         * rt/clock_nanosleep.c: Likewise.
42717         * rt/clock_settime.c: Likewise.
42718         * rt/lio_listio.c: Likewise.
42719         * rt/mq_close.c: Likewise.
42720         * rt/mq_getattr.c: Likewise.
42721         * rt/mq_notify.c: Likewise.
42722         * rt/mq_open.c: Likewise.
42723         * rt/mq_receive.c: Likewise.
42724         * rt/mq_send.c: Likewise.
42725         * rt/mq_setattr.c: Likewise.
42726         * rt/mq_timedreceive.c: Likewise.
42727         * rt/mq_timedsend.c: Likewise.
42728         * rt/mq_unlink.c: Likewise.
42729         * rt/shm_open.c: Likewise.
42730         * rt/shm_unlink.c: Likewise.
42731         * rt/timer_create.c: Likewise.
42732         * rt/timer_delete.c: Likewise.
42733         * rt/timer_getoverr.c: Likewise.
42734         * rt/timer_gettime.c: Likewise.
42735         * rt/timer_settime.c: Likewise.
42736         * setjmp/__longjmp.c: Likewise.
42737         * setjmp/setjmp.c: Likewise.
42738         * signal/kill.c: Likewise.
42739         * signal/killpg.c: Likewise.
42740         * signal/raise.c: Likewise.
42741         * signal/sigaction.c: Likewise.
42742         * signal/sigaltstack.c: Likewise.
42743         * signal/sigblock.c: Likewise.
42744         * signal/sigignore.c: Likewise.
42745         * signal/sigintr.c: Likewise.
42746         * signal/signal.c: Likewise.
42747         * signal/sigpause.c: Likewise.
42748         * signal/sigpending.c: Likewise.
42749         * signal/sigqueue.c: Likewise.
42750         * signal/sigreturn.c: Likewise.
42751         * signal/sigset.c: Likewise.
42752         * signal/sigsetmask.c: Likewise.
42753         * signal/sigstack.c: Likewise.
42754         * signal/sigsuspend.c: Likewise.
42755         * signal/sigtimedwait.c: Likewise.
42756         * signal/sigvec.c: Likewise.
42757         * signal/sigwait.c: Likewise.
42758         * signal/sigwaitinfo.c: Likewise.
42759         * signal/sysv_signal.c: Likewise.
42760         * socket/accept.c: Likewise.
42761         * socket/accept4.c: Likewise.
42762         * socket/bind.c: Likewise.
42763         * socket/connect.c: Likewise.
42764         * socket/getpeername.c: Likewise.
42765         * socket/getsockname.c: Likewise.
42766         * socket/getsockopt.c: Likewise.
42767         * socket/isfdtype.c: Likewise.
42768         * socket/listen.c: Likewise.
42769         * socket/recv.c: Likewise.
42770         * socket/recvfrom.c: Likewise.
42771         * socket/recvmsg.c: Likewise.
42772         * socket/send.c: Likewise.
42773         * socket/sendmsg.c: Likewise.
42774         * socket/sendto.c: Likewise.
42775         * socket/setsockopt.c: Likewise.
42776         * socket/shutdown.c: Likewise.
42777         * socket/sockatmark.c: Likewise.
42778         * socket/socket.c: Likewise.
42779         * socket/socketpair.c: Likewise.
42780         * stdio-common/ctermid.c: Likewise.
42781         * stdio-common/cuserid.c: Likewise.
42782         * stdio-common/remove.c: Likewise.
42783         * stdio-common/rename.c: Likewise.
42784         * stdio-common/renameat.c: Likewise.
42785         * stdio-common/tempname.c: Likewise.
42786         * stdlib/getcontext.c: Likewise.
42787         * stdlib/makecontext.c: Likewise.
42788         * stdlib/setcontext.c: Likewise.
42789         * stdlib/swapcontext.c: Likewise.
42790         * stdlib/system.c: Likewise.
42791         * streams/fattach.c: Likewise.
42792         * streams/fdetach.c: Likewise.
42793         * streams/getmsg.c: Likewise.
42794         * streams/getpmsg.c: Likewise.
42795         * streams/putmsg.c: Likewise.
42796         * streams/putpmsg.c: Likewise.
42797         * sysdeps/unix/bsd/getpt.c: Likewise.
42798         * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
42799         * sysdeps/unix/sysv/linux/futimens.c: Likewise.
42800         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
42801         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
42802         Likewise.
42803         * sysdeps/unix/sysv/linux/readahead.c: Likewise.
42804         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
42805         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
42806         * sysvipc/msgctl.c: Likewise.
42807         * sysvipc/msgget.c: Likewise.
42808         * sysvipc/msgrcv.c: Likewise.
42809         * sysvipc/msgsnd.c: Likewise.
42810         * sysvipc/semctl.c: Likewise.
42811         * sysvipc/semget.c: Likewise.
42812         * sysvipc/semop.c: Likewise.
42813         * sysvipc/semtimedop.c: Likewise.
42814         * sysvipc/shmat.c: Likewise.
42815         * sysvipc/shmctl.c: Likewise.
42816         * sysvipc/shmdt.c: Likewise.
42817         * sysvipc/shmget.c: Likewise.
42818         * termios/tcdrain.c: Likewise.
42819         * termios/tcflow.c: Likewise.
42820         * termios/tcflush.c: Likewise.
42821         * termios/tcgetattr.c: Likewise.
42822         * termios/tcgetpgrp.c: Likewise.
42823         * termios/tcsendbrk.c: Likewise.
42824         * termios/tcsetattr.c: Likewise.
42825         * termios/tcsetpgrp.c: Likewise.
42826         * time/adjtime.c: Likewise.
42827         * time/clock.c: Likewise.
42828         * time/getitimer.c: Likewise.
42829         * time/gettimeofday.c: Likewise.
42830         * time/setitimer.c: Likewise.
42831         * time/settimeofday.c: Likewise.
42832         * time/stime.c: Likewise.
42833         * time/time.c: Likewise.
42835 2012-11-04  Pino Toscano  <toscano.pino@tiscali.it>
42837         * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
42838         /usr/old/bin.
42840         * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
42841         instead of spaces.
42842         * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
42844 2012-11-03  Joseph Myers  <joseph@codesourcery.com>
42846         [BZ #14796]
42847         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
42848         FE_TONEAREST before applying Dekker multiplication and Knuth
42849         addition.  Clear inexact exceptions and check for exact zero
42850         results afterwards.
42851         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
42852         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
42853         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
42854         * math/libm-test.inc (fma_test): Add more tests.
42855         (fma_test_towardzero): Likewise.
42856         (fma_test_downward): Likewise.
42857         (fma_test_upward): Likewise.
42858         * sysdeps/generic/math_private.h (default_libc_fesetround): New
42859         function.
42860         (libc_fesetround): New macro.
42861         (libc_fesetroundf): Likewise.
42862         (libc_fesetroundl): Likewise.
42863         * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
42864         function.
42865         (libc_fesetround_387): Likewise.
42866         (libc_fesetroundf): New macro.
42867         (libc_fesetround): Likewise.
42868         (libc_fesetroundl): Likewise.
42869         * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
42870         function.
42871         (libc_fesetroundf): New macro.
42872         (libc_fesetround): Likewise.
42873         (libc_fesetroundl): Likewise.
42874         * include/fenv.h (feclearexcept): Add libm_hidden_proto.
42875         * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
42876         * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
42877         libm_hidden_ver.
42878         * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
42879         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
42880         libm_hidden_def.
42881         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
42882         * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
42883         libm_hidden_ver.
42884         * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
42885         libm_hidden_def.
42887         [BZ #3439]
42888         * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
42889         integer constant usable in #if and use that to give value to enum
42890         constant.
42891         (FE_DIVBYZERO): Likewise.
42892         (FE_UNDERFLOW): Likewise.
42893         (FE_OVERFLOW): Likewise.
42894         (FE_INVALID): Likewise.
42895         (FE_INVALID_SNAN): Likewise.
42896         (FE_INVALID_ISI): Likewise.
42897         (FE_INVALID_IDI): Likewise.
42898         (FE_INVALID_ZDZ): Likewise.
42899         (FE_INVALID_IMZ): Likewise.
42900         (FE_INVALID_COMPARE): Likewise.
42901         (FE_INVALID_SOFTWARE): Likewise.
42902         (FE_INVALID_SQRT): Likewise.
42903         (FE_INVALID_INTEGER_CONVERSION): Likewise.
42904         (FE_TONEAREST): Likewise.
42905         (FE_TOWARDZERO): Likewise.
42906         (FE_UPWARD): Likewise.
42907         (FE_DOWNWARD): Likewise.
42908         * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
42909         (FE_DIVBYZERO): Likewise.
42910         (FE_OVERFLOW): Likewise.
42911         (FE_UNDERFLOW): Likewise.
42912         (FE_INEXACT): Likewise.
42913         (FE_TONEAREST): Likewise.
42914         (FE_DOWNWARD): Likewise.
42915         (FE_UPWARD): Likewise.
42916         (FE_TOWARDZERO): Likewise.
42917         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
42918         (FE_UNDERFLOW): Likewise.
42919         (FE_OVERFLOW): Likewise.
42920         (FE_DIVBYZERO): Likewise.
42921         (FE_INVALID): Likewise.
42922         (FE_TONEAREST): Likewise.
42923         (FE_TOWARDZERO): Likewise.
42924         * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
42925         (FE_OVERFLOW): Likewise.
42926         (FE_UNDERFLOW): Likewise.
42927         (FE_DIVBYZERO): Likewise.
42928         (FE_INEXACT): Likewise.
42929         (FE_TONEAREST): Likewise.
42930         (FE_TOWARDZERO): Likewise.
42931         (FE_UPWARD): Likewise.
42932         (FE_DOWNWARD): Likewise.
42933         * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
42934         (FE_DIVBYZERO): Likewise.
42935         (FE_OVERFLOW): Likewise.
42936         (FE_UNDERFLOW): Likewise.
42937         (FE_INEXACT): Likewise.
42938         (FE_TONEAREST): Likewise.
42939         (FE_DOWNWARD): Likewise.
42940         (FE_UPWARD): Likewise.
42941         (FE_TOWARDZERO): Likewise.
42943 2012-11-02  Chris Metcalf  <cmetcalf@tilera.com>
42945         * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
42947 2012-11-03  Andreas Schwab  <schwab@linux-m68k.org>
42949         * scripts/cross-test-ssh.sh (command): Use newlines to separate
42950         commands.  Quote $PWD.
42951         (blacklist_exports): Don't use remove_newlines.  Replace "declare
42952         -x" by "export".
42953         (remove_newlines): Remove.
42955 2012-11-02  H.J. Lu  <hongjiu.lu@intel.com>
42957         * stdlib/Makefile (headers): Add bits/stdlib-float.h.
42958         * stdlib/stdlib.h (atof): Moved to ...
42959         * include/bits/stdlib-float.h: Here.  New file.
42960         * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
42961         * stdlib/bits/stdlib-float.h: New file.
42962         * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
42963         -mno-sse -mno-mmx.
42964         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
42965         <xmmintrin.h>.
42967 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
42969         * conform/conformtest.pl (@headers): Add fenv.h.
42970         * conform/data/fenv.h-data: New file.
42971         * include/fenv.h [_ISOMAC]: Disable all contents of file except
42972         include of <math/fenv.h>.
42974         * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
42975         POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
42976         && !UNIX98].  Enables tests for XOPEN2K8.
42977         * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
42978         POSIX2008]: Likewise.
42980         * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
42981         (struct rusage): Do not expect type or its members.
42983         [BZ #3439]
42984         * math/math.h (FP_NAN): Define macro to integer constant usable in
42985         #if and use that to give value to enum constant.
42986         (FP_INFINITE): Likewise.
42987         (FP_ZERO): Likewise.
42988         (FP_SUBNORMAL): Likewise.
42989         (FP_NORMAL): Likewise.
42991 2012-11-02  Andreas Schwab  <schwab@linux-m68k.org>
42993         * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
42994         * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
42995         arguments.
42997 2012-11-02  Roland McGrath  <roland@hack.frob.com>
42999         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
43000         Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
43001         autoconf-time if not.
43002         * configure.in: Remove AC_PREREQ.
43004 2012-11-02  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
43006         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
43007         __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
43008         of the internal implementation.
43010 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
43012         * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
43013         except include of <misc/sys/syslog.h>.
43015 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
43017         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
43018         function returns with a NULL context exit with zero.
43020 2012-11-01  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
43022         * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
43024 2012-11-01  H.J. Lu  <hongjiu.lu@intel.com>
43026         * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
43027         (run_program_cmd): This.
43028         * localedata/tst-langinfo.sh (run_program_prefix): Removed.
43029         (tst_langinfo): New variable.  Use it.
43031 2012-11-01  Sebastan Andrzej Siewior  <bigeasy@linutronix.de>
43033         * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
43034         floating point opcodes.
43036 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
43038         * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
43039         variable.
43041         * elf/dl-support.c: Unconditionally include "setup-vdso.h".
43043         * sysdeps/mach/hurd/powerpc: Remove directory.
43044         * sysdeps/mach/powerpc: Likewise.
43046 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
43048         * scripts/check-local-headers.sh: Ignore c++ headers.
43050 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
43052         * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
43053         __libc_cleanup_region_start argument.
43055 2012-11-01  Joseph Myers  <joseph@codesourcery.com>
43057         [BZ #14784]
43058         [BZ #14785]
43059         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
43060         x * y using scaling, not as x * y + z.
43061         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
43062         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
43063         * math/libm-test.inc (fma_test): Add more tests.
43064         (fma_test_towardzero): Likewise.
43065         (fma_test_downward): Likewise.
43066         (fma_test_upward): Likewise.
43068 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
43070         * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
43072 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
43074         * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
43075         New variable.
43077 2012-10-31  Thomas Schwinge  <thomas@codesourcery.com>
43079         * rt/tst-shm.c (worker): Correct checking for mmap failure.
43081 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
43083         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
43084         Fix sort order.
43085         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
43086         Likewise.
43088 2012-10-31  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
43090         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
43091         Fix the order of the list for glibc 2.17.
43092         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
43093         Likewise.
43095 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
43097         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
43099 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
43101         [BZ #14610]
43102         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
43103         for low part of x being zero before using __atanl (y).
43104         * math/libm-test.inc (atan2_test): Add another test.
43106         * manual/install.texi (Configuring and compiling): Document
43107         general use of test-wrapper and test-wrapper-env.
43108         * INSTALL: Regenerated.
43110         * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
43111         (__fma): Do not extract and scale down low bits on after-rounding
43112         systems when result rounded to normal precision would have normal
43113         exponent.
43114         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
43115         (__fmal): Do not extract and scale down low bits on after-rounding
43116         systems when result rounded to normal precision would have normal
43117         exponent.
43118         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
43119         (__fmal): Do not extract and scale down low bits on after-rounding
43120         systems when result rounded to normal precision would have normal
43121         exponent.
43122         * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
43123         macro.
43124         (fma_test): Add more tests.
43125         (fma_test_towardzero): Likewise.
43126         (fma_test_downward): Likewise.
43127         (fma_test_upward): Likewise.
43129 2012-10-30  H.J. Lu  <hongjiu.lu@intel.com>
43131         * sysdeps/i386/tininess.h: Renamed to ...
43132         * sysdeps/x86/tininess.h: This.
43133         * sysdeps/x86_64/tininess.h: Removed.
43135 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
43137         * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
43138         input.  Use $(build-program-cmd).
43139         ($(objpfx)tst-array1-static.out): Likewise.
43140         ($(objpfx)tst-array2.out): Likewise.
43141         ($(objpfx)tst-array3.out): Likewise.
43142         ($(objpfx)tst-array4.out): Likewise.
43143         ($(objpfx)tst-array5.out): Likewise.
43144         ($(objpfx)tst-array5-static.out): Likewise.
43146 2012-10-30  Chris Metcalf  <cmetcalf@tilera.com>
43148         * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
43149         if defined.
43151         * nss/nsswitch.h (nss_interface_function): Provide new
43152         macro for use with NSS functions.
43153         * grp/initgroups.c: Use new macro.
43154         * nss/getXXbyYY.c: Likewise.
43155         * nss/getXXbyYY_r.c: Likewise.
43156         * nss/getXXent.c: Likewise.
43157         * nss/getXXent_r.c: Likewise.
43158         * sysdeps/posix/getaddrinfo.c: Likewise.
43160 2012-10-30  Andreas Jaeger  <aj@suse.de>
43162         * po/ru.po: Update Russion translation from translation project.
43164 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
43166         [BZ #14152]
43167         [BZ #14783]
43168         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
43169         result and shift together with sticky bit instead of replicating
43170         round-to-nearest rounding.
43171         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
43172         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
43173         * math/libm-test.inc (fma_test): Add more tests.  Do not permit
43174         missing underflow exceptions.
43175         (fma_test_towardzero): Add more tests.
43176         (fma_test_downward): Likewise.
43177         (fma_test_upward): Likewise.
43179         [BZ #14047]
43180         * sysdeps/generic/tininess.h: New file.
43181         * sysdeps/i386/tininess.h: Likewise.
43182         * sysdeps/sh/tininess.h: Likewise.
43183         * sysdeps/x86_64/tininess.h: Likewise.
43184         * stdlib/tst-strtod-underflow.c: Likewise.
43185         * stdlib/tst-tininess.c: Likewise.
43186         * stdlib/strtod_l.c: Include <tininess.h>.
43187         (round_and_return): Do not set errno for exact underflow cases.
43188         Force an underflow exception when setting errno for underflow.
43189         Determine underflow based on rounding to normal precision if
43190         TININESS_AFTER_ROUNDING.
43191         * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
43192         ERANGE for exact underflow cases.
43193         * stdlib/Makefile (tests): Add tst-tininess and
43194         tst-strtod-underflow.
43195         ($(objpfx)tst-tininess): Use $(link-libm).
43196         ($(objpfx)tst-strtod-underflow): Likewise.
43198 2012-10-30  Andreas Jaeger  <aj@suse.de>
43200         [BZ#14767]
43201         * elf/Makefile (tests): Remove conditional for have-initfini-array
43202         since this is now always required and the variable does not exist
43203         anymore.
43204         (tests-static): Likewise.
43205         (modules-names): Likewise.
43207         * po/eo.po: Add Esperanto translation from translation project.
43209         * elf/tst-array1.c (fini_array): Make writeable so that it can be
43210         merged with constructor/destructor.
43211         (init_array): Likewise.
43212         * elf/tst-array2dep.c (fini_array): Likewise.
43213         (init_array): Likewise.
43215 2012-10-29  Mike Frysinger  <vapier@gentoo.org>
43217         * manual/message.texi: Delete @cartouche tags.
43219 2012-10-29  Pino Toscano  <toscano.pino@tiscali.it>
43221         * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
43222         EOPNOTSUPP.
43223         * sysdeps/mach/hurd/fsync.c: Likewise.
43225         * sysdeps/pthread/aio_notify.c (__aio_notify_only)
43226         [_POSIX_REALTIME_SIGNALS]: Change condition to
43227         [_POSIX_REALTIME_SIGNALS > 0].
43229 2012-10-27  Andreas Jaeger  <aj@suse.de>
43231         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
43232         [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
43233         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
43234         [__WORDSIZE != 64]: Likewise.
43236 2012-10-26  H.J. Lu  <hongjiu.lu@intel.com>
43238         *  iconvdata/tst-table.sh: Remove ${SHELL}.
43239         *  iconvdata/tst-tables.sh: Likewise.
43241 2012-10-25  David S. Miller  <davem@davemloft.net>
43243         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
43244         (__get_clockfreq_via_proc_openprom): Use strtoumax instead
43245         of strtoull.
43247         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
43248         ifunc-impl-list.c
43249         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
43250         * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
43251         * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
43252         file.
43254 2012-10-25  Roland McGrath  <roland@hack.frob.com>
43256         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
43257         (__get_clockfreq_via_proc_openprom): Use __getdents instead of
43258         __getdirentries.
43260 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
43261             Jim Blandy  <jimb@codesourcery.com>
43263         * scripts/cross-test-ssh.sh: New file.
43264         * manual/install.texi (Configuring and compiling): Document use of
43265         cross-test-ssh.sh.
43266         * INSTALL: Regenerated.
43268 2012-10-25  Pino Toscano  <toscano.pino@tiscali.it>
43270         * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
43271         EOPNOTSUPP.
43273 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
43275         * Makeconfig (run-program-prefix): Fix comment.
43277 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
43278             Jim Blandy  <jimb@codesourcery.com>
43280         * Makeconfig (test-wrapper): New variable,
43281         (test-wrapper-env): Likewise.
43282         [$(cross-compiling) = yes && $(test-wrapper) != ""]
43283         (run-built-tests): Define to yes.
43284         (run-program-prefix): Use $(test-wrapper).
43285         (built-program-cmd): Likewise.
43286         * Rules (make-test-out): Use $(test-wrapper-env) and
43287         $(host-built-program-cmd).
43288         * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
43289         ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
43290         tst-pathopt.sh.
43291         ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
43292         $(test-wrapper-env) to tst-rtld-load-self.sh.
43293         ($(objpfx)order2.out): Use $(test-wrapper).
43294         ($(objpfx)tst-initorder.out): Likewise.
43295         ($(objpfx)tst-initorder2.out): Likewise.
43296         ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
43297         * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
43298         (test_wrapper_env): New variable.  Use it to run ld.so.
43299         * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
43300         Use it to run ld.so.
43301         (test_wrapper_env): Likewise.
43302         * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
43303         $(test-wrapper) to run-iconv-test.sh.
43304         * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
43305         (ICONV): Use $test_wrapper.
43306         * posix/Makefile ($(objpfx)globtest.out): Pass
43307         $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
43308         globtest.sh, not $(run-program-prefix).
43309         * posix/globtest.sh (run_via_rtld_prefix): New variable.
43310         (test_wrapper): Likewise.
43311         (test_wrapper_env): Likewise.  Use it to run globtest with HOME
43312         set together with run_via_rtld_prefix.
43313         (run_program_prefix): Define in terms of test_wrapper and
43314         run_via_rtld_prefix.
43316 2012-10-24  Roland McGrath  <roland@hack.frob.com>
43318         * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
43319         * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
43320         Targets removed.
43322         [BZ #14743]
43323         * include/time.h: Remove librt_hidden_proto (clock_gettime).
43324         Declare __clock_getres, __clock_gettime, __clock_settime,
43325         __clock_nanosleep, and __clock_getcpuclockid.
43326         * rt/clock_gettime.c: Define __clock_gettime as an alias.
43327         Remove librt_hidden_def (clock_gettime).
43328         * sysdeps/unix/clock_gettime.c: Likewise.
43329         * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
43330         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
43331         * rt/clock_getres.c: Define __clock_getres as an alias.
43332         * sysdeps/posix/clock_getres.c: Likewise.
43333         * rt/clock_settime.c: Define __clock_settime as an alias.
43334         * sysdeps/unix/clock_settime.c: Likewise.
43335         * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
43336         * sysdeps/unix/clock_nanosleep.c: Likewise.
43337         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
43338         * rt/clock-compat.c: New file.
43339         * rt/Makefile (librt-routines): Add clock-compat and move
43340         $(clock-routines) to ...
43341         (routines): ... here, new variable.
43342         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
43343         Don't add get_clockfreq here.
43344         * rt/Versions (libc: GLIBC_2.17): New version set.
43345         Add clock_* symbols here.
43346         (libc: GLIBC_PRIVATE): New version set.  Add __clock_* symbols here.
43347         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
43348         (GLIBC_2.17): Add clock_* symbols.
43349         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
43350         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
43351         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
43352         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
43353         Likewise.
43354         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
43355         Likewise.
43356         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
43357         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
43358         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
43359         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
43360         * NEWS: Mention the move.
43362         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
43363         Use __open, __read, __close rather than their public counterparts.
43364         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
43365         (__get_clockfreq_via_cpuinfo): Likewise.
43366         (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
43367         (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
43369         * config.h.in (HAVE_IFUNC): New #undef.
43370         * configure.in: Define it if libc_cv_ld_gnu_indirect_function
43371         was successful.
43372         * configure: Regenerated.
43374 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
43376         * configure.in: Move READELF check to start of file.
43377         (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
43378         libc_cv_asm_gnu_indirect_function in the process.
43379         * configure: Regenerated.
43381 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
43383         * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
43384         send the output to /dev/null.
43385         (libc_cv_cc_with_libunwind): Likewise.
43386         (libc_cv_as_noexecstack): Likewise.
43387         * configure: Regenerate.
43389 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
43391         * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
43393         * posix/globtest.sh (TMPDIR): Do not set.
43394         (testdir): Define using ${common_objpfx}posix not $TMPDIR.
43395         (testout): Likewise.
43397 2012-10-24  Andreas Jaeger  <aj@suse.de>
43399         * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
43400         types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
43401         [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
43402         [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
43403         posix_fadvise64, posix_fallocate64.
43405         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
43406         (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
43407         (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
43408         Likewise.
43409         (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
43410         Likewise.
43411         (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
43413         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
43414         (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
43415         <bits/fcntl-linux.h>.
43416         (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
43418         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
43419         (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
43420         (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
43421         (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
43422         [__WORDSIZE != 64]: Likewise.
43424 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
43426         * Makeconfig (run-built-tests): New variable.
43427         * Rules [$(cross-compiling) = yes]: Change condition to
43428         [$(run-built-tests) = no].
43429         * catgets/Makefile [$(cross-compiling) != yes]: Change condition
43430         to [$(run-built-tests) = yes].
43431         * elf/Makefile [$(cross-compiling) = no]: Likewise
43432         * grp/Makefile [$(cross-compiling) = no]: Likewise.
43433         * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
43434         * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
43435         * intl/Makefile [$(cross-compiling) = no]: Likewise.
43436         * io/Makefile [$(cross-compiling) = no]: Likewise.
43437         * libio/Makefile [$(cross-compiling) = no]: Likewise.
43438         * malloc/Makefile [$(cross-compiling) = no]: Likewise.
43439         * misc/Makefile [$(cross-compiling) = no]: Likewise.
43440         * posix/Makefile [$(cross-compiling) = no]: Likewise.
43441         * resolv/Makefile [$(cross-compiling) = no]: Likewise.
43442         * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
43443         * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
43444         * string/Makefile [$(cross-compiling) = no]: Likewise.
43446         * posix/Makefile ($(objpfx)globtest.out): Pass
43447         $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
43448         $(rtld-installed-name).
43449         * posix/globtest.sh (elf_objpfx): Remove variable.
43450         (rtld_installed_name): Likewise.
43451         (library_path): Likewise.
43452         (run_program_prefix): New variable.  Use for running globtest
43453         binary.
43455 2012-10-23  Jim Blandy  <jimb@codesourcery.com>
43456             Joseph Myers  <joseph@codesourcery.com>
43458         * Makeconfig (host-built-program-cmd): New variable.
43459         * elf/Makefile (tst-stackguard1-ARGS): Use
43460         $(host-built-program-cmd).
43461         * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
43462         (tst-spawn-ARGS): Likewise.
43463         * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
43465 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
43466             Jim Blandy  <jimb@codesourcery.com>
43468         * Makeconfig (run-via-rtld-prefix): New variable.
43469         (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
43470         (built-program-cmd): Likewise.
43472 2012-10-22  Andreas Jaeger  <aj@suse.de>
43474         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
43475         __O_RSYNC if it exists, otherwise to O_SYNC.
43477 2012-10-22  Jim Blandy  <jimb@codesourcery.com>
43478             Joseph Myers  <joseph@codesourcery.com>
43480         * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
43481         /dev/null.
43482         * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
43483         from /dev/null
43484         * posix/tst-getconf.sh: Redirect getconf stdin in loop from
43485         /dev/null.
43487 2012-10-22  Andreas Jaeger  <aj@suse.de>
43489         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
43490         Define always.
43491         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
43493         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
43494         bits/fcntl-linux.h.
43496         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
43497         (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
43499         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
43500         to __O_LARGEFILE.
43501         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
43502         to __O_LARGEFILE.
43504 2012-10-21  Jim Blandy  <jimb@codesourcery.com>
43505             Joseph Myers  <joseph@codesourcery.com>
43507         * config.make.in (NM): New variable.
43509 2012-10-21  Andreas Jaeger  <aj@suse.de>
43511         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
43512         definitions and declarations that are provided by
43513         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
43515 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
43517         [BZ #14683]
43518         * elf/Makefile (tests-static): Add tst-leaks1-static.
43519         (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
43520         ($(objpfx)tst-leaks1-static): New rule.
43521         ($(objpfx)tst-leaks1-static-mem): Likewise.
43522         (tst-leaks1-static-ENV): New macro.
43523         * elf/dl-open.c (dl_open_worker): Check the main application
43524         only if SHARED is defined.
43525         * elf/tst-leaks1-static.c: New file.
43527 2012-10-20  Andreas Jaeger  <aj@suse.de>
43529         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
43530         generic values for Linux.
43531         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
43532         and declarations that are provided by <bits/fcntl-linux.h> and
43533         include <bits/fcntl-linux.h>.
43534         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
43535         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
43537 2012-10-20  Roland McGrath  <roland@hack.frob.com>
43539         * io/fcntl.h: Move include of <bits/types.h> to the top and
43540         include it unconditionally.
43542 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
43544         * wcsmbs/Makefile (tests-ifunc): New variable.
43545         (tests): Add $(tests-ifunc).
43546         * wcsmbs/test-wcschr-ifunc.c: New file.
43547         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
43548         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
43549         * wcsmbs/test-wcslen-ifunc.c: Likewise.
43550         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
43551         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
43553         * string/Makefile (tests-ifunc): New variable.
43554         (tests): Add $(tests-ifunc).
43555         * string/test-memccpy.c (TEST_NAME): New macro.
43556         * string/test-memchr.c (TEST_NAME): Likewise.
43557         * string/test-memcmp.c (TEST_NAME): Likewise.
43558         * string/test-memcpy.c (TEST_NAME): Likewise.
43559         * string/test-memmem.c (TEST_NAME): Likewise.
43560         * string/test-memmove.c (TEST_NAME): Likewise.
43561         * string/test-memset.c (TEST_NAME): Likewise.
43562         * string/test-rawmemchr.c (TEST_NAME): Likewise.
43563         * string/test-stpcpy.c (TEST_NAME): Likewise.
43564         * string/test-stpncpy.c (TEST_NAME): Likewise.
43565         * string/test-strcasecmp.c (TEST_NAME): Likewise.
43566         * string/test-strcasestr.c (TEST_NAME): Likewise.
43567         * string/test-strcat.c (TEST_NAME): Likewise.
43568         * string/test-strchr.c (TEST_NAME): Likewise.
43569         * string/test-strcmp.c(TEST_NAME): Likewise.
43570         * string/test-strcpy.c (TEST_NAME): Likewise.
43571         * string/test-strcspn.c (TEST_NAME): Likewise.
43572         * string/test-strlen.c (TEST_NAME): Likewise.
43573         * string/test-strncasecmp.c (TEST_NAME): Likewise.
43574         * string/test-strncmp.c (TEST_NAME): Likewise.
43575         * string/test-strncpy.c (TEST_NAME): Likewise.
43576         * string/test-strnlen.c (TEST_NAME): Likewise.
43577         * string/test-strpbrk.c (TEST_NAME): Likewise.
43578         * string/test-strrchr.c (TEST_NAME): Likewise.
43579         * string/test-strspn.c (TEST_NAME): Likewise.
43580         * string/test-strstr.c (TEST_NAME): Likewise.
43581         * string/test-bcopy-ifunc.c: New file.
43582         * string/test-bzero-ifunc.c: Likewise.
43583         * string/test-memccpy-ifunc.c: Likewise.
43584         * string/test-memchr-ifunc.c: Likewise.
43585         * string/test-memcmp-ifunc.c: Likewise.
43586         * string/test-memcpy-ifunc.c: Likewise.
43587         * string/test-memmem-ifunc.c: Likewise.
43588         * string/test-memmove-ifunc.c: Likewise.
43589         * string/test-mempcpy-ifunc.c: Likewise.
43590         * string/test-memset-ifunc.c: Likewise.
43591         * string/test-rawmemchr-ifunc.c: Likewise.
43592         * string/test-stpcpy-ifunc.c: Likewise.
43593         * string/test-stpncpy-ifunc.c: Likewise.
43594         * string/test-strcasecmp-ifunc.c: Likewise.
43595         * string/test-strcasestr-ifunc.c: Likewise.
43596         * string/test-strcat-ifunc.c: Likewise.
43597         * string/test-strchr-ifunc.c: Likewise.
43598         * string/test-strchrnul-ifunc.c: Likewise.
43599         * string/test-strcmp-ifunc.c: Likewise.
43600         * string/test-strcpy-ifunc.c: Likewise.
43601         * string/test-strcspn-ifunc.c: Likewise.
43602         * string/test-strlen-ifunc.c: Likewise.
43603         * string/test-strncasecmp-ifunc.c: Likewise.
43604         * string/test-strncat-ifunc.c: Likewise.
43605         * string/test-strncmp-ifunc.c: Likewise.
43606         * string/test-strncpy-ifunc.c: Likewise.
43607         * string/test-strnlen-ifunc.c: Likewise.
43608         * string/test-strpbrk-ifunc.c: Likewise.
43609         * string/test-strrchr-ifunc.c: Likewise.
43610         * string/test-strspn-ifunc.c: Likewise.
43611         * string/test-strstr-ifunc.c: Likewise.
43613         * debug/Makefile (tests-ifunc): New variable.
43614         (tests): Add $(tests-ifunc).
43615         * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
43616         * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
43617         * debug/test-stpcpy_chk-ifunc.c: New file.
43618         * debug/test-strcpy_chk-ifunc.c: Likewise.
43620 2012-10-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
43622         [BZ #13601]
43623         * elf/dl-load.c (open_verify): Retry read if the entire ELF
43624         header is not read in.
43626 2012-10-19  Joseph Myers  <joseph@codesourcery.com>
43628         * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh.  Pass
43629         script to $(SHELL) as $<.  Pass $(common-objpfx) to script
43630         directly.  Pass built executable to script as
43631         $(built-program-cmd).
43632         * io/ftwtest-sh (ldso): Remove variable.  Run ftwtest directly as
43633         $testprogram without using LD_LIBRARY_PATH and $ldso.
43635         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
43636         $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
43637         $(rtld-installed-name).
43638         * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
43639         (rtld_installed_name): Likewise.
43640         (library_path): Likewise.
43641         (run_program_prefix): New variable.  Use it to run tst_fgetgrent.
43642         * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
43643         $(run-program-prefix) to tst-tables.sh.
43644         * iconvdata/tst-table.sh (run_program_prefix): New variable.  Use
43645         it to run tst-table-from and tst-table-to.
43646         * iconvdata/tst-tables.sh (run_program_prefix): New variable.
43647         Pass it to tst-table.sh.
43648         * intl/Makefile ($(objpfx)tst-gettext.out): Pass
43649         $(run-program-prefix) to tst-gettext.sh.
43650         ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
43651         tst-translit.sh.
43652         ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
43653         tst-gettext2.sh.
43654         * intl/tst-gettext.sh (run_program_prefix): New variable.  Use it
43655         to run tst-gettext.
43656         * intl/tst-gettext2.sh (run_program_prefix): New variable.  Use it
43657         to run tst-gettext2.
43658         * intl/tst-translit.sh (run_program_prefix): New variable.  Use it
43659         to run tst-translit.
43660         * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
43661         $(run-program-prefix) to tst-mtrace.sh.
43662         * malloc/tst-mtrace.sh (run_program_prefix): New variable.  Use it
43663         to run tst-mtrace.
43664         * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
43665         $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
43666         $(rtld-installed-name).
43667         * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
43668         (rtld_installed_name): Likewise.
43669         (run_program_prefix): New variable.  Use it to run wordexp-test.
43671         * Makeconfig (ARCH): Remove all definitions.
43672         (machine): Likewise.
43673         [ARCH]: Remove conditional code.
43674         [!objdir]: Give error.
43675         [!objdir] (objpfx): Remove.
43676         [!objdir] (common-objpfx): Likewise.
43677         [!objdir] (common-objdir): Likewise.
43678         * configure.in (config_makefile): Remove.  Hardcode Makefile in
43679         AC_CONFIG_FILES call.
43680         * configure: Regenerated.
43682         [BZ #13888]
43683         * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
43684         or TMPDIR.
43685         (testout): Likewise.
43687         * posix/Makefile ($(objpfx)tst-getconf.out): Pass
43688         $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
43689         $(rtld-installed-name).
43690         * posix/tst-getconf.sh (elf_objpfx): Remove variable.
43691         (rtld_installed_name): Likwise.
43692         (runit): Remove function.
43693         (run_getconf): New variable,  Use it for running getconf binary.
43695 2012-10-18  H.J. Lu  <hongjiu.lu@intel.com>
43697         [BZ #14716]
43698         * string/test-memmem.c (check_result): New function.
43699         (do_one_test): Use it.
43700         (check1): New function.
43701         (test_main): Use it.
43703 2012-10-18  Markus Trippelsdorf  <markus@trippelsdorf.de>
43705         * math/Makefile: Comment on slow compilation of test-tgmath2.c.
43707 2012-10-18  Joseph Myers  <joseph@codesourcery.com>
43709         * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
43710         (_G_LSEEK64): Likewise.
43711         (_G_MMAP64): Likewise.
43712         (_G_FSTAT64): Likewise.
43713         * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
43714         (_G_LSEEK64): Likewise.
43715         (_G_MMAP64): Likewise.
43716         (_G_FSTAT64): Likewise.
43717         * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
43718         unconditional.  Call __mmap64 directly.
43719         (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
43720         (mmap_remap_check) [_G_LSEEK64]: Make code unconditional.  Call
43721         __lseek64 directly.
43722         (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
43723         (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional.  Call
43724         __mmap64 directly.
43725         (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
43726         (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional.  Call
43727         __lseek64 directly.
43728         (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
43729         (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional.  Call
43730         __lseek64 directly.
43731         (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
43732         (_IO_file_seek) [_G_LSEEK64]: Make code unconditional.  Call
43733         __lseek64 directly.
43734         (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
43735         (_IO_file_stat) [_G_FSTAT64]: Make code unconditional.  Call
43736         __fxstat64 directly.
43737         (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
43738         * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
43739         unconditional.
43740         (freopen64) [!_G_OPEN64]: Remove conditional code.
43741         * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
43742         unconditional.
43743         (fseeko64) [!_G_LSEEK64]: Remove conditional code.
43744         * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
43745         unconditional.
43746         (ftello64) [!_G_LSEEK64]: Remove conditional code.
43747         * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
43748         unconditional.
43749         (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
43750         * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
43751         unconditional.
43752         (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
43753         * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
43754         unconditional.
43755         (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
43756         * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
43757         unconditional.
43758         (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
43759         * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
43760         unconditional.
43761         (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
43763 2012-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
43765         [BZ #12140]
43766         * manual/memory.texi (Malloc Tunable Parameters): Add note
43767         about free list pointers overwriting some perturb bytes.
43768         Wording suggested by Roland McGrath.
43770 2012-10-17  Joseph Myers  <joseph@codesourcery.com>
43772         * math/libm-test.inc (gamma_test): Do not call feclearexcept.
43773         (lgamma_test): Likewise.
43774         (tgamma_test): Likewise.
43776 2012-10-16  Florian Weimer  <fweimer@redhat.com>
43778         [BZ #14700]
43779         * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
43780         (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
43782 2012-10-16  Maxim Kuvyrkov  <maxim@codesourcery.com>
43784         * NEWS: Mention BZ #14716.
43785         * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
43786         when removing AVAILABLE1_USES_J macro.
43788 2012-10-12  H.J. Lu  <hongjiu.lu@intel.com>
43790         * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
43791         (__bswap_64): __uint64_t for unsigned 64-bit int.
43793 2012-10-12  Andreas Schwab  <schwab@linux-m68k.org>
43795         * include/string.h (memmem): Declare libc hidden alias.
43796         * string/memmem.c (memmem): Define libc hidden alias.
43797         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
43798         __read, __close instead of open, read, close.
43800 2012-10-11  H.J. Lu  <hongjiu.lu@intel.com>
43802         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
43803         * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
43804         global and hidden.
43805         * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
43806         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
43807         * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
43808         Likewise.
43809         (__rawmemchr_sse2): Likewise.
43810         * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
43811         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
43812         (__strchr_sse2): Likewise.
43813         * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
43814         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
43815         (__strcasecmp_sse2): Likewise.
43816         (__strncasecmp_sse2): Likewise.
43817         * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
43818         * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
43819         * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
43820         * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
43821         (__strrchr_sse2): Likewise.
43822         * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
43823         ifunc-impl-list.c.
43824         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
43825         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
43826         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
43827         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
43828         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
43829         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
43830         * sysdeps/x86_64/multiarch/memset.S: Likewise.
43831         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
43832         * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
43833         * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
43834         * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
43835         * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
43836         * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
43837         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
43838         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
43839         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
43840         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
43841         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
43842         * sysdeps/x86_64/multiarch/strlen.S: Likewise.
43843         * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
43844         * sysdeps/x86_64/multiarch/strncat.S: Likewise.
43845         * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
43846         * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
43847         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
43848         * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
43849         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
43850         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
43851         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
43852         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
43853         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
43855         * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
43856         global and hidden.
43857         * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
43858         * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
43859         * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
43860         * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
43861         Likewise.
43862         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
43863         Likewise.
43864         * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
43865         * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
43866         * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
43867         * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
43868         ifunc-impl-list.c.
43869         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
43870         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
43871         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
43872         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
43873         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
43874         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
43875         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
43876         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
43877         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
43878         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
43879         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
43880         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
43881         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
43882         * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
43883         * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
43884         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
43885         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
43886         * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
43887         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
43888         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
43889         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
43890         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
43891         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
43892         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
43893         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
43894         * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
43895         * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
43896         * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
43897         * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
43898         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
43899         * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
43900         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
43901         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
43902         * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
43903         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
43904         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
43905         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
43906         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
43907         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
43908         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
43909         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
43911         * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
43912         [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
43913         * include/ifunc-impl-list.h: New file.
43914         * misc/ifunc-impl-list.c: Likewise.
43915         * misc/Makefile (routines): Add ifunc-impl-list.
43916         * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
43917         * string/test-string.h: Include <ifunc-impl-list.h>.
43918         (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
43919         TEST_NAME]: New variables.
43920         (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
43921         are defined.
43922         (test_init): Call __libc_ifunc_impl_list to initialize
43923         func_list if TEST_IFUNC and TEST_NAME are defined.
43925         * string/Makefile (strop-tests): Add bcopy and bzero.
43926         * string/test-bcopy.c: New file.
43927         * string/test-bzero.c: Likewise.
43928         * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
43929         defined.
43930         * string/test-memset.c: Support bzero test if TEST_BZERO is
43931         defined.
43932         * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
43933         __libc_memmove.
43934         * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
43935         __libc_memset.
43936         * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
43937         of memset.
43939 2012-10-10  Joseph Myers  <joseph@codesourcery.com>
43941         * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
43942         * configure: Regenerated.
43944         * Makeconfig (+link-static-before-libc): Don't include
43945         $(link-static-libc).
43947         * libio/libio.h (_IO_pos_t): Remove.
43949 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
43951         * NEWS: Add note about FIPS mode.  Wording suggested by Roland
43952         McGrath.
43954 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
43956         * crypt/crypt-entry.c: Include fips-private.h.
43957         (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
43958         * crypt/md5c-test.c (main): Tolerate disabled MD5.
43959         * sysdeps/unix/sysv/linux/fips-private.h: New file.
43960         * sysdeps/generic/fips-private.h: New file, dummy fallback.
43962 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
43964         * crypt/crypt-private.h: Include stdbool.h.
43965         (_ufc_setup_salt_r): Return bool.
43966         * crypt/crypt-entry.c: Include errno.h.
43967         (__crypt_r): Return NULL with EINVAL for bad salt.
43968         * crypt/crypt_util.c (bad_for_salt): New.
43969         (_ufc_setup_salt_r): Check that salt is long enough and within
43970         the specified alphabet.
43971         * crypt/badsalttest.c: New file.
43972         * crypt/Makefile (tests): Add it.
43973         ($(objpfx)badsalttest): New.
43975 2012-10-09  Maxim Kuvyrkov  <maxim@codesourcery.com>
43977         * NEWS: Add entry for BZ #14602.
43979 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
43981         * math/gen-libm-test.pl (parse_args): Handle comparison macros as
43982         type-generic.
43983         * math/libm-test.inc: Update comment listing what functions and
43984         macros are tested.
43985         (isgreater_test): New function.
43986         (isgreaterequal_test): Likewise.
43987         (isless_test): Likewise.
43988         (islessequal_test): Likewise.
43989         (islessgreater_test): Likewise.
43990         (isunordered_test): Likewise.
43991         (main): Call the new functions.
43993 2012-10-09  Roland McGrath  <roland@hack.frob.com>
43995         * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
43996         _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
43997         AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
43998         * sysdeps/i386/configure: Regenerated.
43999         * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
44000         * sysdeps/mach/configure: Regenerated.
44001         * sysdeps/mach/hurd/configure: Regenerated.
44002         * sysdeps/powerpc/configure: Regenerated.
44003         * sysdeps/powerpc/powerpc32/configure: Regenerated.
44004         * sysdeps/powerpc/powerpc64/configure: Regenerated.
44005         * sysdeps/s390/s390-32/configure: Regenerated.
44006         * sysdeps/s390/s390-64/configure: Regenerated.
44007         * sysdeps/sh/configure: Regenerated.
44008         * sysdeps/sparc/configure: Regenerated.
44009         * sysdeps/unix/sysv/linux/configure: Regenerated.
44010         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
44011         * sysdeps/x86_64/configure: Regenerated.
44013         * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
44014         defined.  Don't check if MAP is NULL.
44016 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
44018         * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
44019         (_G_stat64): Likewise.
44020         * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
44021         (_G_stat64): Likewise.
44022         * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
44023         instead of struct _G_stat64.
44024         * libio/fileops.c (mmap_remap_check): Likewise.
44025         (decide_maybe_mmap): Likewise.
44026         (_IO_new_file_seekoff): Likewise.
44027         (_IO_file_stat): Likewise.
44028         * libio/libio.h (_IO_off64_t): Define to __off64_t, not
44029         _G_off64_t.
44030         * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
44031         instead of struct _G_stat64.
44032         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
44034 2012-10-08  Maxim Kuvyrkov  <maxim@codesourcery.com>
44036         [BZ #14602]
44037         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
44038         Replace with ...
44039         (CHECK_EOL): New macro.
44040         (two_way_short_needle): Check beginning of haystack for EOL.  Use
44041         CHECK_EOL.
44042         * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
44043         Replace with CHECK_EOL.
44044         * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
44045         Replace with CHECK_EOL.
44047 2012-10-08  Joseph Myers  <joseph@codesourcery.com>
44049         * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
44050         type-generic.
44051         * math/libm-test.inc: Update comment listing what functions and
44052         macros are tested.
44053         (finite_test): New function.
44054         (isinf_test): Likewise.
44055         (isnan_test): Likewise.
44056         (fpclassify_test): Test subnormal input.
44057         (isfinite_test): Likewise.
44058         (isnormal_test): Likewise.
44059         (main): Call the new functions.
44061 2012-10-08  Jonathan Nieder  <jrnieder@gmail.com>
44063         [BZ #14660]
44064         * Makerules (%.dynsym): Force C locale when running
44065         $(OBJDUMP) --dynamic-syms.
44067 2012-10-08  Andreas Schwab  <schwab@linux-m68k.org>
44069         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
44070         <stdint.h>.
44072 2012-10-06  David S. Miller  <davem@davemloft.net>
44074         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
44075         upper 32-bits of the length value in %o2 since we use branch-on-register
44076         tests which consider the entire 64-bit register.
44078 2012-10-06  H.J. Lu  <hongjiu.lu@intel.com>
44080         * string/test-strstr.c (check2): Add a test for page boundary.
44082 2012-10-05  David S. Miller  <davem@davemloft.net>
44084         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
44085         * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
44086         file.
44087         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
44088         sysdep_routines.
44089         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
44090         * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
44091         and bzero when HWCAP_SPARC_CRYPTO is present.
44093 2012-10-05  H.J. Lu  <hongjiu.lu@intel.com>
44095         [BZ #14602]
44096         * string/test-strstr.c (check2): New function.
44097         (test_main): Call check2.
44099         * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
44100         and bug-strchr1.
44101         * string/bug-strcasestr1.c (do_test): Moved to ...
44102         * string/test-strcasestr.c (check1): Here.  New function.
44103         (do_one_test): Break out result checking code into ...
44104         (check_result): This.  New function.
44105         (do_one_test): Call check_result.
44106         (test_main): Call check1.
44107         * string/bug-strchr1.c (do_test): Moved to ...
44108         * string/test-strchr.c (check1): Here.  New function.
44109         (do_one_test): Break out result checking code into ...
44110         (check_result): This.  New function.
44111         (do_one_test): Call check_result.
44112         (test_main): Call check1.
44113         * string/bug-strstr1.c (main): Moved to ...
44114         * string/test-strstr.c (check1): Here.  New function.
44115         (do_one_test): Break out result checking code into ...
44116         (check_result): This.  New function.
44117         (do_one_test): Call check_result.
44118         (test_main): Call check1.
44119         * string/bug-strcasestr1.c: Removed.
44120         * string/bug-strchr1.c: Likewise.
44121         * string/bug-strstr1.c: Likewise.
44123         * elf/Makefile (dl-routines): Add hwcaps.
44124         * elf/dl-support.c (_dl_important_hwcaps): Removed.
44125         * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
44126         (_dl_important_hwcaps): Moved to ...
44127         * elf/dl-hwcaps.c: Here.  New file.
44128         * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
44130         [BZ #14557]
44131         * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
44132         if IS_IN_rtld isn't defined.
44134         * elf/dl-support.c (_dl_sysinfo_map): New.
44135         Include "get-dynamic-info.h" and "setup-vdso.h".
44136         (_dl_non_dynamic_init): Call setup_vdso.
44137         * elf/dynamic-link.h: Don't include <assert.h>.
44138         (elf_get_dynamic_info): Moved to ...
44139         * elf/get-dynamic-info.h: Here.  New file.
44140         * elf/dynamic-link.h: Include "get-dynamic-info.h".
44141         * elf/rtld.c (dl_main): Break out vDSO setup code into ...
44142         * elf/setup-vdso.h: Here.  New file.
44143         * elf/rtld.c: Include "setup-vdso.h".
44144         (dl_main): Call setup_vdso.
44146 2012-10-05  Joseph Myers  <joseph@codesourcery.com>
44148         * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
44149         creal in comment listing functions tested.  List finite, isinf,
44150         isnan, isless, islessequal, isgreater, isgreaterequal,
44151         islessgreater, isunordered, lgamma_r and pow10 as functions and
44152         macros not tested.  Mention which functions not tested are aliases
44153         for other functions.  Fix typo.  Note that signs of NaNs are not
44154         tested.
44156         * scripts/config.guess: Update from config.git.
44157         * scripts/config.sub: Likewise.
44159 2012-10-04  Roland McGrath  <roland@hack.frob.com>
44161         * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
44162         * misc/madvise.c (madvise): Renamed to __madvise.
44163         Make madvise a weak alias.
44164         * include/sys/mman.h: Declare __madvise.
44165         Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
44166         * sysdeps/unix/syscalls.list
44167         (madvise): Make __madvise the strong name, and madvise a weak alias.
44168         * sysdeps/unix/sysv/linux/syscalls.list
44169         (madvise, mmap): Remove redundant entries.
44170         * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
44171         * malloc/malloc.c (mtrim): Likewise.
44172         * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
44174 2012-10-03  Roland McGrath  <roland@hack.frob.com>
44176         * sysdeps/mach/hurd/dl-cache.c: File removed.
44177         * config.h.in (USE_LDCONFIG): New #undef.
44178         * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
44179         * configure: Regenerated.
44180         * elf/Makefile (dl-routines): Add dl-cache only under
44181         [$(use-ldconfig) = yes].
44182         * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
44183         cache on [USE_LDCONFIG].
44184         * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
44185         [USE_LDCONFIG].
44186         * elf/rtld.c (dl_main): Likewise.
44188 2012-10-03  Pino Toscano  <toscano.pino@tiscali.it>
44190         * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
44191         _SC_LEVEL4_CACHE_LINESIZE.
44193 2012-10-03  Roland McGrath  <roland@hack.frob.com>
44195         * sysdeps/unix/bsd/confstr.h: File removed.
44197 2012-10-02  Alexandre Oliva <aoliva@redhat.com>
44199         * scripts/check-local-headers.sh: Exclude sys/sdt.h and
44200         sys/sdt-config.h.
44202 2012-10-02  Roland McGrath  <roland@hack.frob.com>
44204         * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
44205         Make 'mapoff' field ElfW(Off) rather than off_t.
44207 2012-10-02  Dmitry V. Levin  <ldv@altlinux.org>
44209         * nscd/Makefile: Remove nscd-cflags and all its users.
44210         (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
44211         (CFLAGS-nonlib): Add compiler flags for nscd modules.
44213         [BZ #10631]
44214         * malloc.c (malloc_printerr): Clarify error message.
44216 2012-10-02  H.J. Lu  <hongjiu.lu@intel.com>
44218         [BZ #14648]
44219         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
44220         Set bit_FMA_Usable if FMA is supported.
44221         * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
44222         macro.
44223         (bit_FMA4_Usable): Updated.
44224         (index_FMA_Usable): New macro.
44225         (CPUID_FMA): Likewise
44226         (HAS_FMA): Defined with bit_FMA_Usable.
44228 2012-10-01  Roland McGrath  <roland@hack.frob.com>
44230         * bits/types.h (__swblk_t): Type removed.
44231         * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
44232         * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
44233         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
44234         (__SWBLK_T_TYPE): Likewise.
44235         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
44236         (__SWBLK_T_TYPE): Likewise.
44237         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
44238         (__SWBLK_T_TYPE): Likewise.
44239         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
44240         (__SWBLK_T_TYPE): Likewise.
44242 2012-10-01  Patsy Franklin <pfrankli@redhat.com>
44243             Honza Horak <hhorak@redhat.com>
44245         * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
44246         (xdr_mapname): Use YPMAXMAP as maxsize.
44247         (xdr_peername): Use YPMAXPEER as maxsize.
44248         (xdr_keydat): Use YPAXRECORD as maxsize.
44249         (xdr_valdat): Use YPMAXRECORD as maxsize.
44251 2012-10-01  Roland McGrath  <roland@hack.frob.com>
44253         * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
44255         * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
44256         * csu/init-first.c: ... here.
44257         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
44258         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
44259         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
44260         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
44261         * sysdeps/i386/init-first.c: File removed.
44262         * sysdeps/sh/init-first.c: File removed.
44264 2012-10-01  Joseph Myers  <joseph@codesourcery.com>
44266         [BZ #14645]
44267         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
44268         if x * y might underflow to zero and z is zero.
44269         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
44270         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
44271         * math/libm-test.inc (min_subnorm_value): New variable.
44272         (fma_test): Add more tests.
44273         (fma_test_towardzero): Likewise.
44274         (fma_test_downward): Likewise
44275         (fma_test_upward): Likewise.
44276         (initialize): Set min_subnorm_value.
44278 2012-09-29  Joseph Myers  <joseph@codesourcery.com>
44280         [BZ #14638]
44281         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
44282         0 + 0.
44283         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
44284         mode for addition resulting in exact zero.
44285         * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
44286         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
44287         exact 0 + 0.
44288         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
44289         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
44290         * math/libm-test.inc (fma_test): Add more tests.
44291         (fma_test_towardzero): New function.
44292         (fma_test_downward): Likewise.
44293         (fma_test_upward): Likewise.
44294         (main): Call the new functions.
44296 2012-09-28  David S. Miller  <davem@davemloft.net>
44298         * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
44300 2012-09-28  Roland McGrath  <roland@hack.frob.com>
44302         * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
44303         instead of SIGALRM.
44305         * sysdeps/gnu/_G_config.h: Moved to ...
44306         * sysdeps/unix/sysv/linux/_G_config.h: ... here.
44307         * sysdeps/mach/hurd/_G_config.h: Moved to ...
44308         * sysdeps/generic/_G_config.h: ... here.
44310         * io/open.c (__open): Renamed to __libc_open.  Make __open an alias.
44312         * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
44314         * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
44315         Conditionalize target on [libnss_test1.so-version].
44317         * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
44319         * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
44320         (elfobjdir): Move out of conditionals.
44322         * nss/nsswitch.c (nss_new_service): Conditionalize definition and
44323         declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
44324         (__nss_lookup_function): Conditionalize label remove_from_tree on
44325         [!DO_STATIC_NSS || SHARED], matching its only use.
44327 2012-09-28  David S. Miller  <davem@davemloft.net>
44329         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
44330         * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
44331         file.
44332         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
44333         sysdep_routines.
44334         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
44335         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
44336         when HWCAP_SPARC_CRYPTO is present.
44338 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
44340         * io/tst-mknodat.c: Create a FIFO instead of a socket.
44342 2012-09-28  Andreas Schwab  <schwab@linux-m68k.org>
44344         [BZ #6530]
44345         * stdio-common/vfprintf.c (process_string_arg): Revert
44346         2000-07-22 change.
44348 2011-09-28  Jonathan Nieder  <jrnieder@gmail.com>
44350         * stdio-common/Makefile (tst-sprintf-ENV): Set environment
44351         for testcase.
44352         * stdio-common/tst-sprintf.c: Include <locale.h>
44353         (main): Test sprintf's handling of incomplete multibyte
44354         characters.
44356 2012-09-28  H.J. Lu  <hongjiu.lu@intel.com>
44358         * elf/dl-runtime.c (VERSYMIDX): Removed.
44359         * elf/dl-version.c (VERSYMIDX): Likewise.
44360         * elf/do-rel.h (VERSYMIDX): Likewise.
44361         (VALIDX): Likewise.
44362         * elf/dynamic-link.h (VERSYMIDX): Likewise.
44363         * elf/rtld.c (VALIDX): Likewise.
44364         (ADDRIDX): Likewise.
44365         * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
44366         * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
44367         * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
44368         * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
44369         (VALIDX): Likewise.
44370         (ADDRIDX): Likewise.
44372 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
44374         * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
44376 2012-09-28  Dmitry V. Levin  <ldv@altlinux.org>
44378         [BZ #11438]
44379         * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
44380         to global scope.
44381         * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
44382         addresses are in the same scope as 192.0.2/24.
44383         * posix/gai.conf: Document new scope table defaults.
44385 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
44387         [BZ #5298]
44388         * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
44389         for ftell.  Compute offsets from write pointers instead.
44390         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
44392 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
44394         [BZ #14543]
44395         * libio/Makefile (tests): New test case tst-fseek.
44396         * libio/tst-fseek.c: New test case to verify that fseek/ftell
44397         combination works in wide mode.
44398         * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
44399         state when the external buffer state changes.
44401 2012-09-27  David S. Miller  <davem@davemloft.net>
44403         [BZ #14376]
44404         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
44405         pass reloc->r_addend in as the 'high' argument to
44406         sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
44408         * sysdeps/sparc/fpu/libm-test-ulps: Update.
44410 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
44412         * rt/tst-aio2.c: Include <pthread.h>.
44413         * rt/tst-aio3.c: Likewise.
44415 2012-09-27  Steve Ellcey  <sellcey@mips.com>
44417         * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
44419 2012-09-27  H.J. Lu  <hongjiu.lu@intel.com>
44421         * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
44422         contents on [SHARED].
44424 2012-09-26  Marek Polacek  <polacek@redhat.com>
44426         [BZ #14530]
44427         [BZ #13741]
44428         * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
44429         for C++ and GCC <4.3 as well as for non GCC compilers.
44431 2012-09-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
44433         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
44435 2012-09-25  Roland McGrath  <roland@hack.frob.com>
44437         * Makefile.in (all, install): Declare with .PHONY.
44438         Reported by Michael Hope <michael.hope@linaro.org>.
44440 2012-09-25  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
44442         * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
44443         * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
44444         system header.
44445         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
44446         Likewise.
44447         (sydep_routines): Add the new and the internal functions.
44448         * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
44449         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
44450         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
44451         (GLIBC_2.17): Add the new function.
44452         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
44453         (GLIBC_2.17): Likewise.
44454         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
44455         (GLIBC_2.17): Likewise.
44456         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
44457         (GLIBC_2.17): Likewise.
44458         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
44460 2012-09-25  Alan Modra  <amodra@gmail.com>
44462         * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
44463         Add release barrier before setting once_control to say
44464         initialisation is done.  Add hints on lwarx.  Use macro in
44465         place of isync.
44466         (clear_once_control): Add release barrier.
44468 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
44470         [BZ #13629]
44471         * math/s_clog.c (__clog): Handle more values close to |z| = 1
44472         specially.
44473         * math/s_clog10.c (__clog10): Likewise.
44474         * math/s_clog10f.c (__clog10f): Likewise.
44475         * math/s_clog10l.c (__clog10l): Likewise.
44476         * math/s_clogf.c (__clogf): Likewise.
44477         * math/s_clogl.c (__clogl): Likewise.
44478         * math/Makefile (libm-calls): Add x2y2m1.
44479         * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
44480         (__x2y2m1): Likewise.
44481         (__x2y2m1l): Likewise.
44482         * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
44483         * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
44484         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
44485         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
44486         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
44487         * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
44488         * math/libm-test.inc (clog_test, clog10_test): Add more tests.
44489         * sysdeps/i386/fpu/libm-test-ulps: Update.
44490         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44492         [BZ #14621]
44493         * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
44494         int as type of variable DEPTH.
44495         (glob): Use size_t instead of int as type of variables NEWCOUNT
44496         and OLD_PATHC.
44498 2012-09-25  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
44500         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
44501         Add s_sincosf-sse2.
44502         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
44503         * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
44504         * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
44505         macros for using routine as __sincosf_ia32.
44506         Use macro for function declaration and weak_alias.
44507         * sysdeps/i386/fpu/libm-test-ulps: Update.
44509         * sysdeps/x86_64/fpu/s_sincosf.S: New file.
44510         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
44512         * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
44513         subnormal argument.
44514         * math/s_cexpf.c (__cexpf): Likewise.
44515         * math/s_csinf.c (__csinf): Likewise.
44516         * math/s_csinhf.c (__csinhf): Likewise.
44517         * math/s_ctanf.c (__ctanf): Likewise.
44518         * math/s_ctanhf.c (__ctanhf): Likewise.
44519         * math/s_ccosh.c (__ccoshf): Likewise.
44520         * math/s_cexp.c (__cexpl): Likewise.
44521         * math/s_csin.c (__csin): Likewise.
44522         * math/s_csinh.c (__csinh): Likewise.
44523         * math/s_ctan.c (__ctan): Likewise.
44524         * math/s_ctanh.c (ctanh): Likewise.
44525         * math/s_ccoshl.c (__ccoshl): Likewise.
44526         * math/s_cexpl.c (__cexpl): Likewise.
44527         * math/s_csinl.c (__csinl): Likewise.
44528         * math/s_csinhl.c (__csinhl): Likewise.
44529         * math/s_ctanl.c (__ctanl): Likewise.
44530         * math/s_ctanhl.c (__ctanhl): Likewise.
44532 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
44534         * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
44535         (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
44536         (_IO_off_t): Define to __off_t, not _G_off_t.
44537         (_IO_pid_t): Define to __pid_t, not _G_pid_t.
44538         (_IO_uid_t): Define to __uid_t, not _G_uid_t.
44539         (_IO_wint_t): Define to wint_t, not _G_wint_t.
44540         * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
44541         type of __dummy and __dummy2 fields.
44542         * sysdeps/generic/_G_config.h (_G_size_t): Remove.
44543         (_G_ssize_t): Likewise.
44544         (_G_off_t): Likewise.
44545         (_G_pid_t): Likewise.
44546         (_G_uid_t): Likewise.
44547         (_G_wchar_t): Likewise.
44548         (_G_wint_t): Likewise.
44549         * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
44550         (_G_ssize_t): Likewise.
44551         (_G_off_t): Likewise.
44552         (_G_pid_t): Likewise.
44553         (_G_uid_t): Likewise.
44554         (_G_wchar_t): Likewise.
44555         (_G_wint_t): Likewise.
44556         * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
44557         (_G_ssize_t): Likewise.
44558         (_G_off_t): Likewise.
44559         (_G_pid_t): Likewise.
44560         (_G_uid_t): Likewise.
44561         (_G_wchar_t): Likewise.
44562         (_G_wint_t): Likewise.
44564 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
44566         * malloc/arena.c: Include malloc-sysdep.h.
44567         (shrink_heap): Use check_may_shrink_heap to decide if madvise
44568         is sufficient to shrink the heap or an unmap is needed.
44569         * sysdeps/generic/malloc-sysdep.h: New file.  Define
44570         new function check_may_shrink_heap.
44571         * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file.  Define
44572         new function check_may_shrink_heap.
44574 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
44576         * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
44577         comments.
44579 2012-09-24  Dmitry V. Levin  <ldv@altlinux.org>
44581         * catgets/test-gencat.sh: Add "set -e".
44582         * elf/tst-pathopt.sh: Likewise.
44583         * grp/tst_fgetgrent.sh: Likewise.
44584         * iconvdata/run-iconv-test.sh: Likewise.
44585         * intl/tst-gettext.sh: Likewise.
44586         * intl/tst-gettext2.sh: Likewise.
44587         * intl/tst-gettext4.sh: Likewise.
44588         * intl/tst-gettext6.sh: Likewise.
44589         * intl/tst-translit.sh: Likewise.
44590         * io/ftwtest-sh: Likewise.
44591         * libio/test-freopen.sh: Likewise.
44592         * malloc/tst-mtrace.sh: Likewise.
44593         * posix/globtest.sh: Likewise.
44594         * posix/tst-getconf.sh: Likewise.
44595         * posix/wordexp-tst.sh: Likewise.
44596         * stdio-common/tst-printf.sh: Likewise.
44597         * stdio-common/tst-unbputc.sh: Likewise.
44598         * stdlib/tst-fmtmsg.sh: Likewise.
44599         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
44600         * catgets/Makefile: Do not specify -e option when running
44601         testsuite shell scripts.
44602         * elf/Makefile: Likewise.
44603         * grp/Makefile: Likewise.
44604         * iconvdata/Makefile: Likewise.
44605         * intl/Makefile: Likewise.
44606         * io/Makefile: Likewise.
44607         * libio/Makefile: Likewise.
44608         * malloc/Makefile: Likewise.
44609         * posix/Makefile: Likewise.
44610         * stdio-common/Makefile: Likewise.
44611         * stdlib/Makefile: Likewise.
44612         * sysdeps/x86_64/Makefile: Likewise.
44614         * io/ftwtest-sh: Add copyright header.
44615         * posix/globtest.sh: Likewise.
44616         * posix/tst-getconf.sh: Likewise.
44617         * posix/wordexp-tst.sh: Likewise.
44618         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
44620 2012-09-24  H.J. Lu  <hongjiu.lu@intel.com>
44622         [BZ #13679]
44623         * Makeconfig (+link): Defined as $(+link-static) if
44624         $(build-shared) isn't yes.
44625         (link-tests): Defined as $(+link-static-tests) if $(build-shared)
44626         isn't yes.
44627         (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
44629         * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
44631         [BZ #14562]
44632         * malloc/arena.c (heap_trim): Properly get fencepost and adjust
44633         new chunk size with MALLOC_ALIGN_MASK.
44635 2012-09-24  Joseph Myers  <joseph@codesourcery.com>
44637         [BZ #5044]
44638         * stdio-common/printf_fphex.c: Include <stdbool.h> and
44639         <rounding-mode.h>.
44640         (__printf_fphex): Determine rounding using get_rounding_mode and
44641         round_away.
44642         * stdio-common/tst-printf-round.c (struct hex_test): New
44643         structure.
44644         (hex_tests): New variable.
44645         (test_hex_in_one_mode): New function.
44646         (do_test): Also run tests for hex float output.
44648 2012-09-21  Joseph Myers  <joseph@codesourcery.com>
44650         * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
44651         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
44652         * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
44653         * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
44654         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
44655         * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
44656         * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
44657         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
44659 2012-09-20  Joseph Myers  <joseph@codesourcery.com>
44661         * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
44662         * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
44663         * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
44664         * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
44666 2012-09-19  Dmitry V. Levin  <ldv@altlinux.org>
44668         [BZ #14579]
44669         * elf/rtld.c (dl_main): Limit the check for self loading to normal
44670         mode only.
44671         * elf/tst-rtld-load-self.sh: New test.
44672         * elf/Makefile: Run it.
44674 2012-09-18  Joseph Myers  <joseph@codesourcery.com>
44676         * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
44677         (tst-writev-ENV): Remove.
44678         * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
44680 2012-09-17  Chris Metcalf  <cmetcalf@tilera.com>
44682         * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
44684 2012-09-17  Joseph Myers  <joseph@codesourcery.com>
44686         * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
44687         unconditional.
44688         * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
44689         Likewise.
44690         * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
44691         * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
44692         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
44693         Likewise.
44695 2012-09-14  H.J. Lu  <hongjiu.lu@intel.com>
44697         [BZ #14587]
44698         * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
44699         * config.make.in (have-cpp-asm-debuginfo): Removed.
44700         * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
44701         * configure: Regenerated.
44703 2012-09-14  Joseph Myers  <joseph@codesourcery.com>
44705         [BZ #5044]
44706         * stdio-common/printf_fp.c: Include <stdbool.h> and
44707         <rounding-mode.h>.
44708         (___printf_fp): Determine rounding using get_rounding_mode and
44709         round_away.
44710         * stdio-common/tst-printf-round.c: New file.
44711         * stdio-common/Makefile (tests): Add tst-printf-round.
44712         (link-libm): New variable.
44713         ($(objpfx)tst-printf-round): Depend in $(link-libm).
44715 2012-09-13  H.J. Lu  <hongjiu.lu@intel.com>
44717         [BZ #14576]
44718         * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
44719         * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
44720         Likewise.
44721         * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
44722         Likewise.
44724 2012-09-13  Joseph Myers  <joseph@codesourcery.com>
44726         * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
44727         * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
44728         * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
44729         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
44731 2012-09-12  Joseph Myers  <joseph@codesourcery.com>
44733         [BZ #14518]
44734         * include/rounding-mode.h: New file.
44735         * sysdeps/generic/get-rounding-mode.h: Likewise.
44736         * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
44737         * stdlib/strtod_l.c: Include <rounding-mode.h>.
44738         (MAX_VALUE): New macro.
44739         (MIN_VALUE): Likewise.
44740         (overflow_value): New function.
44741         (underflow_value): Likewise.
44742         (round_and_return): Use overflow_value and underflow_value to
44743         determine return values in overflow and underflow cases.  Use
44744         round_away to determine rounding depending on rounding mode.
44745         (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
44746         determine return values in overflow and underflow cases.
44747         * stdlib/tst-strtod-round.c: Include <fenv.h>.
44748         (struct test_results): New structure.
44749         (struct test): Use struct test_results to store expected results
44750         for all rounding modes.
44751         (TEST): Include expected results for all rounding modes.
44752         (test_in_one_mode): New function.
44753         (do_test): Use test_in_one_mode to compute and check results.
44754         Check results for all rounding modes.
44755         * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
44756         $(link-libm).
44758 2012-12-09  Allan McRae  <allan@archlinux.org>
44760         * sysdeps/i386/fpu/libm-test-ulps: Update
44762 2012-09-11  Joseph Myers  <joseph@codesourcery.com>
44764         * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
44765         (_G_int32_t): Likewise.
44766         (_G_uint16_t): Likewise.
44767         (_G_uint32_t): Likewise.
44768         (_G_HAVE_BOOL): Likewise.
44769         (_G_HAVE_ATEXIT): Likewise.
44770         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
44771         (_G_HAVE_IO_FILE_OPEN): Likewise.
44772         * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
44773         (_G_int32_t): Likewise.
44774         (_G_uint16_t): Likewise.
44775         (_G_uint32_t): Likewise.
44776         (_G_HAVE_BOOL): Likewise.
44777         (_G_HAVE_ATEXIT): Likewise.
44778         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
44779         (_G_HAVE_IO_FILE_OPEN): Likewise.
44780         * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
44781         (_G_int32_t): Likewise.
44782         (_G_uint16_t): Likewise.
44783         (_G_uint32_t): Likewise.
44784         (_G_HAVE_BOOL): Likewise.
44785         (_G_HAVE_ATEXIT): Likewise.
44786         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
44787         (_G_HAVE_IO_FILE_OPEN): Likewise.
44789 2012-09-11  H.J. Lu  <hongjiu.lu@intel.com>
44791         * csu/libc-tls.c: Update copyright years.
44793 2012-09-10  Joseph Myers  <joseph@codesourcery.com>
44795         * libioP.h [_G_USING_THUNKS]: Make code unconditional.
44796         [!_G_USING_THUNKS]: Remove conditional code.
44797         * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
44798         * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
44800         * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
44801         [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
44802         * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
44803         (_G_VTABLE_LABEL_PREFIX): Likewise.
44804         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
44805         * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
44806         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
44807         (_G_VTABLE_LABEL_PREFIX): Likewise.
44808         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
44809         * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
44810         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
44811         (_G_VTABLE_LABEL_PREFIX): Likewise.
44812         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
44814 2012-09-10  H.J. Lu  <hongjiu.lu@intel.com>
44816         * libio/Makefile: Include ../Makeconfig before tests.
44817         (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
44818         only if $(build-shared) is yes.
44820         * iconv/gconv_db.c: Update copyright years.
44822 2012-09-10  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
44824         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
44825         unwind info if defined PIC. Fix special cases description.
44826         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
44828         * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
44829         DP_HI_MASK entry.
44830         * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
44832 2012-09-07  H.J. Lu  <hongjiu.lu@intel.com>
44834         * scripts/check-local-headers.sh: Add "shopt -s nullglob".
44836         * iconv/gconv_db.c (free_derivation): Check if deriv->steps
44837         is NULL.
44839         * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
44840         (LDLIBS-tst-chk4): This.
44841         (LDFLAGS-tst-chk5): Renamed to ...
44842         (LDLIBS-tst-chk5): This.
44843         (LDFLAGS-tst-chk6): Renamed to ...
44844         (LDLIBS-tst-chk6): This.
44845         (LDFLAGS-tst-lfschk4): Renamed to ...
44846         (LDLIBS-tst-lfschk4): This.
44847         (LDFLAGS-tst-lfschk5): Renamed to ...
44848         (LDLIBS-tst-lfschk5): This.
44849         (LDFLAGS-tst-lfschk6): Renamed to ...
44850         (LDLIBS-tst-lfschk6): This.
44852         * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
44853         on $(common-objpfx)soversions.mk.
44855 2012-09-07  Joseph Myers  <joseph@codesourcery.com>
44857         [BZ #10014]
44858         * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
44859         example host name.
44861 2012-09-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
44863         * malloc/arena.c (arena_get_retry): New function that gets
44864         another arena for the caller to try its request on.
44865         * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
44866         current arena cannot fulfill the request.
44867         (__libc_memalign): Likewise.
44868         (__libc_memalign): Likewise.
44869         (__libc_pvalloc): Likewise.
44870         (__libc_calloc): Likewise.
44872 2012-09-05  John Tobey  <john.tobey@gmail.com>
44874         [BZ #13542]
44875         * manual/arith.texi (Operations on Complex): Fix description
44876         of carg branch cut.
44878 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
44880         [BZ #10014]
44881         * manual/socket.texi (Host Addresses): Use www.gnu.org as example
44882         host name.
44884         [BZ #10038]
44885         * manual/memory.texi (Memory): Make order of menu items match
44886         order of sections.
44888 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
44890         * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
44891         (_dl_initial_dtv): New.  Defined if SHARED isn't defined.
44892         (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
44894 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
44896         * csu/libc-tls.c (static_dtv): Renamed to ...
44897         (_dl_static_dtv): This.  Make it global.
44898         (_dl_initial_dtv): Removed.
44899         (__libc_setup_tls): Updated.
44900         * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
44901         (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
44902         DL_INITIAL_DTV.
44904 2012-09-06  Petr Machata  <pmachata@redhat.com>
44906         * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
44907         (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
44908         (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
44909         (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
44911 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
44913         [BZ #14545]
44914         * csu/libc-tls.c (_dl_initial_dtv): New variable.
44915         * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
44916         freeing dtv[-1].
44918 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
44920         [BZ #14544]
44921         * Makeconfig (link-static-before-libc): Replace $(+prector)
44922         with $(+prectorT).
44923         (link-static-after-libc): Replace $(+postctor) with
44924         $(+postctorT).
44925         (link-bounded): Replace $(+prector)/$(+postctor) with
44926         $(+prectorT)/$(+postctorT).
44927         (+prectorT): New macro.
44928         (+postctorT): Likewise.
44930 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
44932         * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
44933         (round_str): Handle values above the maximum for IBM long double
44934         as inexact.
44935         * stdlib/tst-strtod-round.c (tests): Regenerated.
44937 2012-09-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
44939         * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
44940         assembler flag.
44941         * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
44942         zarch_nohighgprs around the zarch optimized routines.
44943         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
44944         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
44945         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
44946         for zarch.
44948 2012-09-05  David S. Miller  <davem@davemloft.net>
44950         * sysdeps/sparc/fpu/libm-test-ulps: Update.
44952         * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
44953         (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
44954         * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
44955         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
44956         entries.
44958 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
44960         * malloc/arena.c: Fold copyright years.
44961         * malloc/mcheck.c, malloc/memusage.c: Likewise.
44963 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
44965         * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
44967 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
44969         * manual/contrib.texi (Contributors): Fix typo.  Complete entry.
44971 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
44973         * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
44974         change internal state upon failure.
44976 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
44978         * malloc/mcheck.c (mcheck_check_all): Fix typo.
44979         * malloc/memusage.c (mmap): Likewise.
44980         (mmap64, mremap): Likewise.  Adjust name in comment.
44982 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
44984         * libio/fileops.c: Fix typos in comments.
44985         * libio/oldfileops.c: Likewise.
44986         * libio/wfileops.c: Likewise.
44988 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
44990         [BZ #1349]
44991         * malloc/Makefile (tests): Add tst-malloc-usable test case.
44992         (tst-malloc-usable-ENV): Set environment for test case.
44993         * malloc/hooks.c (malloc_check_get_size): New function to get
44994         requested size.
44995         * malloc/malloc.c (musable): Use malloc_check_get_size.
44996         * malloc/tst-malloc-usable.c: New test case.
44998 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
45000         * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
45002 2012-09-05  Allan McRae  <allan@archlinux.org>
45004         [BZ #13966]
45005         * configure.in (CXX_SYSINCLUDES): Use compiler output to
45006         determine header location.
45007         * configure: Regenerated.
45009 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
45011         * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
45012         float format.
45013         * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
45014         LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
45015         format.
45016         (test): Regenerate.
45018 2012-09-04  David S. Miller  <davem@davemloft.net>
45020         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
45021         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
45022         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
45024 2012-09-04  Florian Weimer  <fweimer@redhat.com>
45026         * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
45027         failures.
45029         * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
45031 2012-09-04  Joseph Myers  <joseph@codesourcery.com>
45033         [BZ #9914]
45034         * libio/iogetdelim.c: Include <limits.h>.
45035         (_IO_getdelim): Avoid integer overflow in testing whether cur_len
45036         + len + 1 would overflow.
45038 2012-09-03  Andreas Jaeger  <aj@suse.de>
45040         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
45041         * sysdeps/i386/fpu/libm-test-ulps: Update.
45043 2012-09-03  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
45045         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
45046         Add s_sinf-sse2, s_conf-sse2.
45048         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
45049         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
45050         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
45051         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
45053         * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
45054         for using routine as __sinf_ia32.
45055         Use macro for function declaration and weak_alias.
45056         * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
45057         for using routine as __cosf_ia32.
45058         Use macro for function declaration and weak_alias.
45060         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
45061         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
45063         * sysdeps/x86_64/fpu/s_sinf.S: New file.
45064         * sysdeps/x86_64/fpu/s_cosf.S: New file.
45065         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
45067         * math/libm-test.inc (cos_test): Add more test cases.
45068         (sin_test): Likewise.
45069         (sincos_test): Likewise.
45071 2012-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
45073         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
45074         (IFUNC_RESOLVE): Make pointers to the specialized implementations
45075         hidden.
45076         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
45078 2012-09-02  H.J. Lu  <hongjiu.lu@intel.com>
45080         [BZ #14538]
45081         * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
45082         first element of the GOT.
45083         (elf_machine_load_address): Return the difference between
45084         the runtime address of _DYNAMIC and elf_machine_dynamic ().
45086 2012-09-01  Allan McRae  <allan@archlinux.org>
45088         [BZ #13412]
45089         * configure.in (AWK): Require gawk version 3.0 or later.
45090         * configure: Regenerated.
45092 2012-09-01  Joseph Myers  <joseph@codesourcery.com>
45094         * sysdeps/unix/sysv/linux/kernel-features.h
45095         (__ASSUME_POSIX_CPU_TIMERS): Remove.
45096         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
45097         [__NR_clock_getres]: Make code unconditional.
45098         [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
45099         (clock_getcpuclockid): Remove code left unreachable by removal of
45100         conditionals.
45101         * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
45102         code unconditional.
45103         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
45104         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
45105         * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
45106         Make code unconditional.
45107         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
45108         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
45109         * sysdeps/unix/sysv/linux/clock_settime.c
45110         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
45111         conditional code.
45112         [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
45113         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
45115 2012-08-29  H.J. Lu  <hongjiu.lu@intel.com>
45117         [BZ #14476]
45118         * Makefile (install): Also pass LD_SO=$(ld.so-version) to
45119         scripts/test-installation.pl.
45121         * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
45122         and $ld_so_version if it is set.
45124 2012-08-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
45126         [BZ #14516]
45127         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
45128         failure if reading from procfs failed.
45129         * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
45131 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
45133         * sysdeps/unix/sysv/linux/kernel-features.h
45134         (__ASSUME_STAT64_SYSCALL): Remove all definitions.
45135         * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
45136         Remove conditional code.
45137         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
45138         * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
45139         Remove conditional code.
45140         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
45141         * sysdeps/unix/sysv/linux/i386/fxstat.c
45142         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
45143         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
45144         * sysdeps/unix/sysv/linux/i386/fxstatat.c
45145         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
45146         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
45147         * sysdeps/unix/sysv/linux/i386/lxstat.c
45148         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
45149         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
45150         * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
45151         Remove conditional code.
45152         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
45153         * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
45154         Remove conditional code.
45155         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
45156         * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
45157         <kernel-features.h>.
45158         [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
45159         Remove.
45160         * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
45161         Remove conditional code.
45162         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
45163         * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
45164         Remove conditional.
45166 2012-08-27  Mike Frysinger  <vapier@gentoo.org>
45168         [BZ #5400]
45169         * NEWS: Add fixed bug number.
45171 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
45173         [BZ #14519]
45174         * stdlib/strtod_l.c (round_and_return): Return -0.0 for
45175         underflowing exponent in case of negative sign.
45176         * stdlib/tst-strtod-round-data: Add more tests.
45177         * stdlib/tst-strtod-round.c (tests): Regenerated.
45179         [BZ #3479]
45180         * stdlib/strtod_l.c (NDIG): Remove.
45181         (HEXNDIG): Likewise.
45182         (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
45183         smallest representable value.
45184         (____STRTOF_INTERNAL): Use all fractional decimal digits that may
45185         lie within an exact representation of 1/2 ulp of the result.
45186         * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
45187         unconditionally.
45188         (TENS_P9_IDX): Define unconditionally.
45189         (TENS_P9_SIZE): Likewise.
45190         (TENS_P10_IDX): Likewise.
45191         (TENS_P10_SIZE): Likewise.
45192         [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
45193         to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
45194         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
45195         entries for 10^2^13 and 10^2^14.
45196         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
45197         (TENS_P13_IDX): Define.
45198         (TENS_P13_SIZE): Likewise.
45199         (TENS_P14_IDX): Likewise.
45200         (TENS_P14_SIZE): Likewise.
45201         (_fpioconst_pow10): Change array size to
45202         FPIOCONST_POW10_ARRAY_SIZE.  Make entries for 10^2^9 and 10^2^10
45203         unconditional.
45204         (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
45205         1024]: Add entries for 10^2^13 and 10^2^14.
45206         [LAST_POW10 > _LAST_POW10]: Remove #error.
45207         * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
45208         (_fpioconst_pow10): Change array size to
45209         FPIOCONST_POW10_ARRAY_SIZE.
45210         * stdlib/gen-fpioconst.c: New file.
45211         * stdlib/gen-tst-strtod-round.c: Likewise.
45212         * stdlib/tst-strtod-round-data: Likewise.
45213         * stdlib/tst-strtod-round.c: Likewise.
45214         * stdlib/Makefile (tests): Add tst-strtod-round.
45216         [BZ #14459]
45217         * stdlib/strtod_l.c: Include <stdint.h>.
45218         (NDEBUG): Do not define.
45219         (round_and_return): Change EXPONENT parameter to type intmax_t.
45220         Rearrange calculations to avoid internal overflow possibilities.
45221         (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
45222         Rearrange calculations to avoid internal overflow possibilities.
45223         Assert that number fits inside MPNSIZE limbs.
45224         (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
45225         Change DIG_NO, INT_NO and LEAD_ZERO to type size_t.  Rearrange
45226         calculations and add assertions to avoid internal overflow
45227         possibilities.  Add casts to avoid signed/unsigned operations.
45228         * stdlib/tst-strtod-overflow.c: New file.
45229         * stdlib/Makefile (tests): Add tst-strtod-overflow.
45231 2012-08-25  Marek Polacek  <polacek@redhat.com>
45233         * time/time.h: Fix some typos in comments.
45235 2012-08-23  Roland McGrath  <roland@hack.frob.com>
45237         * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
45238         * posix/tst-rfc3484-2.c: Likewise.
45239         * posix/tst-rfc3484-3.c: Likewise.
45241 2012-08-23  Steve McIntyre  <steve.mcintyre@linaro.org>
45243         * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
45244         (EF_ARM_ABI_FLOAT_HARD): Likewise.
45246 2012-08-23  Joseph Myers  <joseph@codesourcery.com>
45248         * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
45249         #include of fxstatat64.c.
45251 2012-08-22  Roland McGrath  <roland@hack.frob.com>
45253         * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
45254         * shadow/getspent_r.c: Likewise.
45255         * shadow/getspnam.c: Likewise.
45256         * shadow/getspnam_r.c: Likewise.
45257         * gshadow/getsgent.c: Likewise.
45258         * gshadow/getsgent_r.c: Likewise.
45259         * gshadow/getsgnam.c: Likewise.
45260         * gshadow/getsgnam_r.c: Likewise.
45261         * inet/getnetbyad.c: Likewise.
45262         * inet/getnetbyad_r.c: Likewise.
45263         * inet/getnetbynm.c: Likewise.
45264         * inet/getnetbynm_r.c: Likewise.
45265         * inet/getnetent.c: Likewise.
45266         * inet/getnetent_r.c: Likewise.
45267         * inet/getproto.c: Likewise.
45268         * inet/getproto_r.c: Likewise.
45269         * inet/getprtent.c: Likewise.
45270         * inet/getprtent_r.c: Likewise.
45271         * inet/getprtname.c: Likewise.
45272         * inet/getprtname_r.c: Likewise.
45273         * inet/getrpcbyname.c: Likewise.
45274         * inet/getrpcbyname_r.c: Likewise.
45275         * inet/getrpcbynumber.c: Likewise.
45276         * inet/getrpcbynumber_r.c: Likewise.
45277         * inet/getrpcent.c: Likewise.
45278         * inet/getrpcent_r.c: Likewise.
45279         * inet/getaliasent.c: Likewise.
45280         * inet/getaliasent_r.c: Likewise.
45281         * inet/getaliasname.c: Likewise.
45282         * inet/getaliasname_r.c: Likewise.
45283         * nscd/getgrgid_r.c: Likewise.
45284         * nscd/getgrnam_r.c: Likewise.
45285         * nscd/gethstbyad_r.c: Likewise.
45286         * nscd/gethstbynm3_r.c: Likewise.
45287         * nscd/getpwnam_r.c: Likewise.
45288         * nscd/getpwuid_r.c: Likewise.
45289         * nscd/getsrvbynm_r.c: Likewise.
45290         * nscd/getsrvbypt_r.c: Likewise.
45291         * nscd/gai.c: Likewise.
45293         * configure.in (build_nscd): New substituted variable, set
45294         by --disable-build-nscd and defaults to $use_nscd.
45295         * configure: Regenerated.
45296         * config.make.in (build-nscd): New substituted variable.
45297         * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
45298         Change conditional to require [$(build-nscd) = yes] as well.
45299         * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
45301         [BZ# 13696]
45302         * configure.in (use_nscd): New substituted variable, set by
45303         --disable-nscd.  If enabled, define USE_NSCD.
45304         * configure: Regenerated.
45305         * config.h.in: Add USE_NSCD.
45306         * config.make.in (use-nscd): New substituted variable.
45307         * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
45308         (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
45309         (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
45310         * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
45311         (CFLAGS-getgrnam_r.c): Likewise.
45312         (CFLAGS-initgroups.c): Likewise.
45313         * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
45314         * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
45315         Variables removed.
45316         * inet/getnetgrent_r.c
45317         (nscd_setnetgrent): New function, broken out of ...
45318         (setnetgrent): ... here.  Call it.
45319         (innetgr): Conditionalize nscd bits on [USE_NSCD].
45320         (nscd_getnetgrent): Conditionalize on [USE_NSCD].
45321         (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
45322         * nscd/Makefile (routines, aux): Move definitions after include of
45323         Makeconfig.  Conditionalize on [$(use-nscd) != no].
45324         * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
45325         Conditionalize on [USE_NSCD].
45326         (is_nscd, nscd_init_cb): Likewise.
45327         (nss_load_library): Conditionalize init callback on [USE_NSCD].
45328         * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
45329         * nss/nss_db/db-init.c: Likewise.
45330         * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
45331         [USE_NSCD].
45332         * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
45333         (make_request): Use it.
45334         (cache_valid_p): New function.
45335         (__check_pf): Use it.
45336         * NEWS: Add item for --disable-nscd.
45338 2012-08-22  Dmitry V. Levin  <ldv@altlinux.org>
45340         * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
45341         to support sed >= 4.2.1-20-ga9bf076.
45342         * configure: Regenerated.
45344 2012-08-22  Roland McGrath  <roland@hack.frob.com>
45346         * csu/libc-start.c (apply_irel): Move extern declarations inside here.
45347         Conditionalize whole body on [IREL].
45349 2012-08-22  Jeff Law <law@redhat.com>
45351         [BZ #14505]
45352         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
45353         if the family is PF_UNSPEC.
45355 2012-08-22  Mike Frysinger  <vapier@gentoo.org>
45357         * Makerules (lib-version): Rename from V.
45358         (install-lib-nosubdir): Change V to lib-version.
45360 2012-08-22  Will Schmidt  <will_schmidt@vnet.ibm.com>
45362         [BZ #14252]
45363         * powerpc32/power6/wcschr.c: New file.
45364         * powerpc32/power6/wcscpy.c: New file.
45365         * powerpc32/power6/wcsrchr.c: New file.
45366         * powerpc64/power6/wcschr.c: New file.
45367         * powerpc64/power6/wcscpy.c: New file.
45368         * powerpc64/power6/wcsrchr.c: New file.
45370 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
45372         * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
45373         (two_way_short_needle): Use it.
45374         * string/strstr.c (AVAILABLE1_USES_J): Define.
45375         * string/strcasestr.c: Likewise.
45377         * string/str-two-way.h (two_way_short_needle): Use pointers instead of
45378         array references.
45379         * string/strcasestr.c (TOLOWER): Make side-effect safe.
45381         [BZ #11607]
45382         * NEWS: Add an entry.
45383         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
45384         define their defaults.
45385         (two_way_short_needle): Detect end-of-string on-the-fly.
45386         * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
45387         (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
45388         * string/bug-strcasestr1.c: New test.
45389         * string/Makefile: Run it.
45391 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
45393         [BZ #11607]
45394         * string/str-two-way.h (two_way_short_needle): Optimize matching of
45395         the first character.
45397 2012-08-21  Roland McGrath  <roland@hack.frob.com>
45399         * csu/elf-init.c (__libc_csu_irel): Function removed.
45400         * csu/libc-start.c (apply_irel): New function.
45401         (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
45403 2012-08-21  Joseph Myers  <joseph@codesourcery.com>
45405         * sysdeps/unix/sysv/linux/kernel-features.h
45406         (__ASSUME_FADVISE64_64_SYSCALL): Remove.
45407         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
45408         <kernel-features.h>.
45409         [__NR_fadvise64_64]: Make code unconditional.
45410         [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
45411         [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
45412         !__NR_fadvise64_64)]: Likewise.
45413         [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
45414         !__NR_fadvise64_64))]: Likewise.
45415         [__NR_fadvise64]: Make code unconditional.
45416         [!__NR_fadvise64]: Remove conditional code.
45417         * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
45418         <kernel-features.h>.
45419         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
45420         unconditional.
45421         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
45422         conditional code.
45423         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
45424         not include <kernel-features.h>.
45425         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
45426         unconditional.
45427         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
45428         conditional code.
45429         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
45430         include <kernel-features.h>.
45431         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
45432         unconditional.
45433         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
45434         conditional code.
45436 2012-08-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
45438         * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
45439         slight instruction rearrangements per scrollpipe analysis.
45440         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
45442 2012-08-20  Roland McGrath  <roland@hack.frob.com>
45444         * manual/syslog.texi (syslog; vsyslog, closelog):
45445         Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
45446         Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
45448         * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
45449         DSOCAPS to match condition on defining it.
45451 2012-08-20  Joseph Myers  <joseph@codesourcery.com>
45453         * sysdeps/unix/sysv/linux/kernel-features.h
45454         (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
45455         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
45456         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
45457         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
45458         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
45459         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
45460         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
45461         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
45462         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
45463         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
45465         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
45466         __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
45468         * sysdeps/unix/sysv/linux/kernel-features.h
45469         (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
45470         * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
45471         unconditional.
45472         [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
45473         * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
45474         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
45475         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
45476         * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
45477         Make code unconditional.
45478         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
45479         (__mmap64) [!__NR_mmap2]: Likewise.
45480         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
45481         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
45482         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
45483         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
45484         [__NR_mmap2]: Make code unconditional.
45485         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
45486         (__mmap64) [!__NR_mmap2]: Likewise.
45488 2012-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
45490         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
45492 2012-08-18  Andreas Jaeger  <aj@suse.de>
45494         * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
45496 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
45498         * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
45499         * include/unistd.h (__have_sock_cloexec): Likewise.
45500         (__have_pipe2): Likewise.
45501         (__have_dup3): Likewise.
45503 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
45505         [BZ #9685]
45506         * include/unistd.h (__have_pipe2): Change define into an extern int.
45507         (__have_dup3): Likewise.
45508         * socket/have_sock_cloexec.c: Include fcntl.h.
45509         (__have_pipe2): New variable.
45510         (__have_dup3): Likewise.
45512 2012-08-17  Mike Frysinger  <vapier@gentoo.org>
45514         * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
45516 2012-08-17  Marek Polacek  <polacek@redhat.com>
45518         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
45519         ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
45521 2012-08-17  Roland McGrath  <roland@hack.frob.com>
45523         * configure.in: Add AC_SUBST for sysheaders.
45524         * configure: Regenerated.
45525         * config.make.in (sysheaders): New substituted variable.
45527         * sysdeps/unix/mkfifo.c: Moved ...
45528         * sysdeps/posix/mkfifo.c: ... here.
45529         * sysdeps/unix/mkfifoat.c: Moved ...
45530         * sysdeps/posix/mkfifoat.c: ... here.
45532         * sysdeps/unix/utime.c: Moved ...
45533         * sysdeps/posix/utime.c: ... here.
45535         * sysdeps/unix/time.c: Moved ...
45536         * sysdeps/posix/time.c: ... here.
45537         * sysdeps/unix/sysv/linux/time.c: Adjust #include.
45538         * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
45540         * sysdeps/unix/nice.c: Moved ...
45541         * sysdeps/posix/nice.c: ... here.
45543         * sysdeps/unix/alarm.c: Moved ...
45544         * sysdeps/posix/alarm.c: ... here.
45546         * intl/Makefile ($(codeset_mo)): Depend on the input file.
45548 2012-08-17  Jeff Law <law@redhat.com>
45550         * intl/Makefile (codeset_mo): New variable.
45551         ($(codeset_mo)): New target.
45552         (tst-codeset.out): Depend on that.  Remove explicit rule.
45553         (tst-gettext3.out, tst-gettext5.out): Likewise.
45554         (LOCPATH-ENV, tst-codeset-ENV): New variables.
45555         (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
45556         * intl/tst-codeset.sh: Remove.
45557         * intl/tst-gettext3.sh: Likewise.
45558         * intl/tst-gettext5.sh: Likewise.
45560 2012-08-17  Roland McGrath  <roland@hack.frob.com>
45562         * sysdeps/unix/inet/syscalls.list: File removed.  Move contents into ...
45563         * sysdeps/unix/syscalls.list: ... here.
45565         * sysdeps/posix/getaddrinfo.c
45566         (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
45567         (gaiconf_init, gaiconf_reload): Use them.
45568         [!_STATBUF_ST_NSEC]
45569         (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
45570         Define using time_t rather than struct timespec.
45572         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
45573         (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
45574         Macros removed.
45575         * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
45576         [!NO_THREADS].
45577         (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
45578         (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
45579         Likewise.
45581         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
45582         __libc_cleanup_push argument.
45584         * bits/param.h: New file.
45585         * misc/sys/param.h: New file.
45586         * include/sys/param.h: New file.
45587         * misc/Makefile (headers): Add bits/param.h.
45588         * sysdeps/generic/sys/param.h: File removed.
45589         * sysdeps/unix/sysv/linux/bits/param.h: New file.
45590         * sysdeps/unix/sysv/linux/sys/param.h: File removed.
45591         * sysdeps/mach/hurd/bits/param.h: New file.
45592         * sysdeps/mach/hurd/sys/param.h: File removed.
45594         * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
45595         last change.
45597         * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
45598         [_IO_MTSAFE_IO].
45599         * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
45600         (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
45601         New macros.
45603         * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
45604         * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
45605         rather than -D_IO_MTSAFE_IO conditionally.
45606         * stdio-common/Makefile (CPPFLAGS): Likewise.
45607         * wcsmbs/Makefile (CPPFLAGS): Likewise.
45608         * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
45609         Use $(libio-mtsafe).
45610         * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
45611         of -D_IO_MTSAFE_IO.
45612         (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
45613         (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
45614         (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
45615         (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
45616         (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
45617         (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
45618         (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
45619         (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
45620         (CFLAGS-fread_u_chk.c): Likewise.
45621         (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
45622         (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
45623         (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
45624         (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
45625         * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
45626         * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
45627         * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
45628         * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
45629         * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
45631         * libio/Makefile: Test [$(libc-reentrant) = yes]
45632         instead of [$(filter %REENTRANT, $(defines)) nonempty].
45634         * Makeconfig
45635         [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
45636         * sysdeps/pthread/configure: File removed.
45637         * sysdeps/pthread/Makeconfig: New file.
45638         * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
45639         * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
45641 2012-08-16  Gary Benson  <gbenson@redhat.com>
45643         * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
45644         unmapping the first object in a namespace.
45646 2012-08-16  Roland McGrath  <roland@hack.frob.com>
45648         * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
45649         (__internal_setnetgrent): ... this.  Add internal_function to
45650         definition.  Add libc_hidden_def.
45651         (setnetgrent): Update caller.
45652         (internal_endnetgrent): Renamed to ...
45653         (__internal_endnetgrent): ... this.  Add internal_function to
45654         definition.  Add libc_hidden_def.
45655         (endnetgrent): Update caller.
45656         (internal_getnetgrent_r): Renamed to ...
45657         (__internal_getnetgrent_r): ... this.  Add internal_function to
45658         definition.  Add libc_hidden_def.
45659         (__getnetgrent_r): Update caller.
45660         * inet/netgroup.h: Update declarations.  Add libc_hidden_proto uses.
45662 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
45664         * stdlib/longlong.h: Update from GCC.
45666 2012-08-16  Roland McGrath  <roland@hack.frob.com>
45668         * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
45669         on _QL, which is set by umul_ppmm but never used.
45670         * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
45671         variables, which are set by GMP macros but never used.
45672         * stdio-common/_itowa.c (_itowa): Likewise.
45673         * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
45674         * stdlib/mod_1.c (mpn_mod_1): Likewise.
45676 2012-08-16  Carlos O'Donell  <carlos_odonell@mentor.com>
45678         * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
45679         struct La_sh_regs is not constant.
45680         * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
45681         <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
45682         and struct La_sparc64_regs are not constant.
45684 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
45686         * sysdeps/unix/sysv/linux/kernel-features.h
45687         (__ASSUME_POSIX_TIMERS): Remove.
45688         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
45689         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
45690         * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
45691         Make code unconditional.
45692         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
45693         * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
45694         Make code unconditional.
45695         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
45696         * sysdeps/unix/sysv/linux/clock_nanosleep.c
45697         [__ASSUME_POSIX_TIMERS]: Make code unconditional.
45698         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
45699         * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
45700         Make code unconditional.
45701         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
45702         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
45703         (__libc_missing_posix_timers): Remove.
45705 2012-08-15  Roland McGrath  <roland@hack.frob.com>
45707         * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
45708         check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
45710         * bits/libc-lock.h (__rtld_lock_initialize): New macro.
45712         * elf/dl-sym.c: Include <stdlib.h>.
45714         * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
45715         constants, which avoids warnings in 32-bit builds.
45717         * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
45718         (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
45720         * misc/lseek.c: File moved to ...
45721         * io/lseek.c: ... here.
45723         * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
45725         * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
45726         shifting LEN more than 31 bits at once.
45728 2012-08-15  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
45730         [BZ #14195]
45731         * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
45732         segmentation fault for a case of two empty input strings.
45733         * string/test-strncasecmp.c (check1): Renamed to...
45734         (bz12205): ...this.
45735         (bz14195): Add new testcase for two empty input strings and N > 0.
45736         (test_main): Call new testcase, adapt for renamed function.
45738 2012-08-15  Andreas Jaeger  <aj@suse.de>
45740         [BZ #14090]
45741         * crypt/md5test2.c: New test, based on test supplied by Serge
45742         Belyshev <belyshev@depni.sinp.msu.ru>.
45743         * crypt/Makefile (xtests): Add md5test-giant..
45744         * crypt/Makefile ($(objpfx)md5test-giant): Add.
45746 2012-08-15  Paul Eggert  <eggert@cs.ucla.edu>
45748         [BZ #14090]
45749         * crypt/md5.c (md5_process_block): Don't assume the buffer
45750         length is less than 2**32.
45751         * crypt/sha512.c (sha512_process_block): Don't assume the buffer
45752         length is less than 2**64.
45754 2012-08-15  Roland McGrath  <roland@hack.frob.com>
45756         * string/str-two-way.h: Include <sys/param.h>.
45757         (MAX): Macro removed.
45759         * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
45760         Move #define and #undef of memmove to just before and after
45761         including <string.h>.
45763         * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
45764         [!NOT_IN_libc]: Move #define and #undef of memmove to just before
45765         and after including <string.h>.  Move declarations of
45766         __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
45767         to before #include "string/memmove.c".
45769         * include/dirent.h: Declare __getdirentries.
45771         * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
45772         using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
45774 2012-08-14  Mike Frysinger  <vapier@gentoo.org>
45776         * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
45777         * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
45778         * sysdeps/i386/configure: Regenerated.
45779         * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
45780         STABS_CURRENT_FILE, and STABS_FUN.
45781         (END): Remove call to STABS_FUN_END.
45782         (STABS_CURRENT_FILE1): Delete.
45783         (STABS_CURRENT_FILE): Likewise.
45784         (STABS_FUN): Likewise.
45785         (STABS_FUN_END): Likewise.
45786         (STABS_FUN2): Likewise.
45787         * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
45788         * sysdeps/x86_64/configure: Regenerated.
45790 2012-08-14  Roland McGrath  <roland@hack.frob.com>
45792         * elf/dl-open.c: Include <atomic.h>.
45793         * elf/dl-lookup.c: Likewise.
45795 2012-08-14  Joseph Myers  <joseph@codesourcery.com>
45797         * sysdeps/unix/sysv/linux/kernel-features.h
45798         (__ASSUME_CLONE_THREAD_FLAGS): Remove.
45799         * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
45800         unconditionally.
45801         * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
45802         unconditionally.
45803         * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
45804         condition on __ASSUME_CLONE_THREAD_FLAGS.
45806 2012-08-14  Andreas Jaeger  <aj@suse.de>
45808         * sysdeps/i386/fpu/libm-test-ulps: Update.
45810 2012-08-13  Maxim Kuvyrkov  <maxim@codesourcery.com>
45812         * include/atomic.h (atomic_exchange_and_add): Split into ...
45813         (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
45814         New atomic macros.
45816 2012-08-13  Markus Trippelsdorf  <markus@trippelsdorf.de>
45818         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
45820 2012-08-13  Jeff Law <law@redhat.com>
45822         * manual/stdio.texi (snprintf): Clarify handling of the trailing
45823         null byte in the output string.
45825 2012-08-10  Joseph Myers  <joseph@codesourcery.com>
45827         * sysdeps/unix/sysv/linux/kernel-features.h
45828         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
45829         [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
45830         (__ASSUME_ARG_MAX_STACK_BASED): Define.
45831         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
45832         [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
45833         !__ASSUME_ARG_MAX_STACK_BASED.  Compare version with
45834         __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
45836 2012-08-09  Jeff Law <law@redhat.com>
45838         [BZ #13939]
45839         * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
45840         When avoid_arena is set, don't retry in the that arena.  Pick the
45841         next one, whatever it might be.
45842         (arena_get2): New parameter avoid_arena, pass through to reused_arena.
45843         (arena_lock): Pass in new parameter to arena_get2.
45844         * malloc/malloc.c (__libc_memalign): Pass in new parameter to
45845         arena_get2.
45846         (__libc_malloc): Unify retrying after main arena failure with
45847         __libc_memalign version.
45848         (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
45850 2012-08-09  H.J. Lu  <hongjiu.lu@intel.com>
45852         [BZ #14166]
45853         * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
45854         to __redirect_strstr.
45855         (__strstr_sse42): Use typeof __redirect_strstr.
45856         (__strstr_ia32): Likewise.
45857         (__libc_strstr): New prototype.
45858         (strstr): Renamed to ...
45859         (__libc_strstr): This.
45860         (strstr): New strong alias of __libc_strstr.
45861         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
45862         * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
45863         __redirect_time.
45864         Include <time.h>.
45865         (__libc_time): New prototype.
45866         (time_ifunc): Replace time with __libc_time.
45867         (time): New strong alias and hidden definition of __libc_time.
45868         (__GI_time): Remove strong alias.
45869         * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
45870         Include <stddef.h>.
45871         (memmove): Redefined to __redirect_memmove.
45872         (__memmove_sse2): Use typeof __redirect_memmove.
45873         (__memmove_ssse3): Likewise.
45874         (__memmove_ssse3_back): Likewise.
45875         (__libc_memmove): New prototype.
45876         (memmove): Renamed to ...
45877         (__libc_memmove): This.
45878         (memmove): New strong alias of __libc_memmove.
45880 2012-08-08  Mark Salter  <msalter@redhat.com>
45882         * elf/elf.h
45883         (R_MN10300_TLS_GD): Define.
45884         (R_MN10300_TLS_LD): Likewise.
45885         (R_MN10300_TLS_LDO): Likewise.
45886         (R_MN10300_TLS_GOTIE): Likewise.
45887         (R_MN10300_TLS_IE): Likewise.
45888         (R_MN10300_TLS_LE): Likewise.
45889         (R_MN10300_TLS_DTPMOD): Likewise.
45890         (R_MN10300_TLS_DTPOFF): Likewise.
45891         (R_MN10300_TLS_TPOFF): Likewise.
45892         (R_MN10300_SYM_DIFF): Likewise.
45893         (R_MN10300_ALIGN): Likewise.
45894         (R_MN10300_NUM): Update.
45896 2012-08-08  Joseph Myers  <joseph@codesourcery.com>
45898         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
45899         Remove.
45901 2012-08-08  Roland McGrath  <roland@hack.frob.com>
45903         * sysdeps/posix/fdopendir.c: Include <stddef.h>.
45905         * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
45906         sysdeps/unix -> sysdeps/posix move.
45907         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
45909 2012-08-07      Allan McRae     <allan@archlinux.org>
45911         [BZ #14303]
45912         * sunrpc/rpc_main.c (SVR4_CPP): Remove.
45913         (SUNOS_CPP): Likewise.
45914         (find_cpp): Fall back to selecting system cpp when /lib/cpp is
45915         not found.
45916         (open_input): Call CPP using execvp.
45918 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
45920         * sysdeps/unix/sysv/linux/kernel-features.h
45921         (__ASSUME_PROT_GROWSUPDOWN): Remove.
45922         (__ASSUME_NO_CLONE_DETACHED): Likewise.
45923         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
45924         (__ASSUME_WAITID_SYSCALL): Likewise.
45925         * sysdeps/unix/sysv/linux/dl-execstack.c
45926         (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
45927         code unconditional.
45928         (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
45929         conditional code.
45930         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
45931         [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
45932         (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
45933         code.
45934         * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
45935         unconditional.
45936         [__ASSUME_WAITID_SYSCALL]: Likewise.
45937         [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
45939 2012-08-07  Roland McGrath  <roland@hack.frob.com>
45941         * sysdeps/unix/closedir.c: Renamed to ...
45942         * sysdeps/posix/closedir.c: ... here.
45943         * sysdeps/unix/dirfd.c: Renamed to ...
45944         * sysdeps/posix/dirfd.c: ... here.
45945         * sysdeps/unix/dirstream.h: Renamed to ...
45946         * sysdeps/posix/dirstream.h: ... here.
45947         * sysdeps/unix/fdopendir.c: Renamed to ...
45948         * sysdeps/posix/fdopendir.c: ... here.
45949         * sysdeps/unix/opendir.c: Renamed to ...
45950         * sysdeps/posix/opendir.c: ... here.
45951         * sysdeps/unix/readdir.c: Renamed to ...
45952         * sysdeps/posix/readdir.c: ... here.
45953         * sysdeps/unix/readdir_r.c: Renamed to ...
45954         * sysdeps/posix/readdir_r.c: ... here.
45955         * sysdeps/unix/rewinddir.c: Renamed to ...
45956         * sysdeps/posix/rewinddir.c: ... here.
45957         * sysdeps/unix/seekdir.c: Renamed to ...
45958         * sysdeps/posix/seekdir.c: ... here.
45959         * sysdeps/unix/telldir.c: Renamed to ...
45960         * sysdeps/posix/telldir.c: ... here.
45961         * sysdeps/unix/sysv/linux/opendir.c: Update #include.
45962         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
45963         * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
45964         * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
45966         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
45967         * bits/fcntl.h: ... here.
45969         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
45970         not 0.
45971         (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
45972         [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
45973         (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
45974         (struct flock): Move l_start, l_len to the beginning.
45975         Use __pid_t for l_pid.
45976         [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
45977         [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
45978         [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
45979         (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
45980         [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
45981         [__USE_LARGEFILE64] (struct flock64): New type.
45982         (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
45984         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
45985         * bits/dirent.h: ... here.
45987         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
45988         [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
45990 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
45992         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
45993         Change from 2.6.0 to 2.6.16.
45994         * sysdeps/unix/sysv/linux/configure: Regenerated.
45995         * sysdeps/unix/sysv/linux/kernel-features.h
45996         (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
45997         (__ASSUME_TGKILL): Define conditional on architectures, not kernel
45998         version.
45999         (__ASSUME_UTIMES): Likewise.
46000         (__ASSUME_CLONE_STOPPED): Remove.
46001         (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
46002         architectures, not kernel version.
46003         (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
46004         (__ASSUME_NO_CLONE_DETACHED): Likewise.
46005         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
46006         (__ASSUME_WAITID_SYSCALL): Likewise.
46007         [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
46008         condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
46009         * README: State 2.6.16 as minimum Linux kernel version.  Do not
46010         refer to older versions.
46012 2012-08-06  Roland McGrath  <roland@hack.frob.com>
46014         * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
46015         Define alphasort64 as an alias.
46016         * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
46017         Define versionsort64 as an alias.
46018         * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
46019         Define scandir64 as an alias.
46020         * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
46021         Define scandirat64 as an alias.
46022         * dirent/alphasort64.c (alphasort64):
46023         Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
46024         * dirent/versionsort64.c: Likewise.
46025         * dirent/scandir64.c: Likewise.
46026         * dirent/scandirat64.c: Likewise.
46027         * sysdeps/wordsize-64/alphasort.c: File removed.
46028         * sysdeps/wordsize-64/alphasort64.c: File removed.
46029         * sysdeps/wordsize-64/scandir.c: File removed.
46030         * sysdeps/wordsize-64/scandir64.c: File removed.
46031         * sysdeps/wordsize-64/scandirat.c: File removed.
46032         * sysdeps/wordsize-64/scandirat64.c: File removed.
46033         * sysdeps/wordsize-64/versionsort.c: File removed.
46034         * sysdeps/wordsize-64/versionsort64.c: File removed.
46035         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
46036         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
46037         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
46038         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
46039         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
46040         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
46041         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
46042         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
46044         * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
46045         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
46046         [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
46047         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
46048         [defined __arch64__ || defined __sparcv9]
46049         (__INO_T_MATCHES_INO64_T): New macro.
46050         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
46051         [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
46052         * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
46053         * sysdeps/unix/sysv/linux/bits/dirent.h
46054         [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
46055         (_DIRENT_MATCHES_DIRENT64): New macro.
46057         * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
46058         Define lockf64 as an alias.
46059         * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
46060         Define fseeko64 as an alias.
46061         * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
46062         Define ftello64 as an alias.
46063         * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
46064         Define _IO_fgetpos64 and fgetpos64 as aliases.
46065         * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
46066         Define _IO_fsetpos64 and fsetpos64 as aliases.
46067         * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
46068         Conditionalize body on this.
46069         * libio/fseeko64.c: Likewise.
46070         * libio/ftello64.c: Likewise.
46071         * libio/iofgetpos64.c: Likewise.
46072         * libio/iofsetpos64.c: Likewise.
46073         * sysdeps/wordsize-64/lockf.c: File removed.
46074         * sysdeps/wordsize-64/lockf64.c: File removed.
46075         * sysdeps/wordsize-64/fseeko.c: File removed.
46076         * sysdeps/wordsize-64/fseeko64.c: File removed.
46077         * sysdeps/wordsize-64/ftello.c: File removed.
46078         * sysdeps/wordsize-64/ftello64.c: File removed.
46079         * sysdeps/wordsize-64/iofgetpos.c: File removed.
46080         * sysdeps/wordsize-64/iofgetpos64.c: File removed.
46081         * sysdeps/wordsize-64/iofsetpos.c: File removed.
46082         * sysdeps/wordsize-64/iofsetpos64.c: File removed.
46083         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
46084         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
46085         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
46086         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
46087         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
46088         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
46089         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
46090         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
46091         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
46092         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
46094         * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
46095         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
46096         [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
46097         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
46098         [defined __arch64__ || defined __sparcv9]
46099         (__OFF_T_MATCHES_OFF64_T): New macro.
46100         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
46101         [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
46102         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
46103         (__OFF_T_MATCHES_OFF64_T): New macro.
46105 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
46107         * stdlib/secure-getenv.c (__secure_getenv): Replace
46108         GLIBC_2_16 with GLIBC_2_17.
46110 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
46112         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
46113         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
46115 2012-08-03  David S. Miller  <davem@davemloft.net>
46117         * sysdeps/sparc/fpu/libm-test-ulps: Update.
46119 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
46121         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
46122         Remove.
46123         (__ASSUME_CORRECT_SI_PID): Likewise.
46124         (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
46125         (__ASSUME_TMPFS_NAME): Likewise.
46126         * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
46127         [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
46128         * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
46129         (HAVE_AUX_SECURE): Make definition unconditional.
46130         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
46131         [!__ASSUME_TMPFS_NAME]: Remove conditional code.
46133 2012-08-03  Roland McGrath  <roland@hack.frob.com>
46135         * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
46136         * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
46137         * sysdeps/mach/hurd/eloop-threshold.h: New file.
46138         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
46139         __eloop_threshold instead of SYMLOOP_MAX.
46141         * sysdeps/generic/eloop-threshold.h: New file.
46142         * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
46143         of MAXSYMLINKS.
46144         * elf/chroot_canon.c (chroot_canon): Likewise.
46146 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
46148         [BZ #13717]
46149         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
46150         Change to 2.6.0 everywhere.
46151         * sysdeps/unix/sysv/linux/configure: Regenerated.
46152         * sysdeps/unix/sysv/linux/kernel-features.h
46153         (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
46154         (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
46155         kernel versions.
46156         (__ASSUME_POSIX_TIMERS): Define unconditionally.
46157         (__ASSUME_FUTEX_REQUEUE): Remove.
46158         (__ASSUME_STATFS64): Define unconditionally.
46159         (__ASSUME_AT_SECURE): Likewise.
46160         (__ASSUME_CORRECT_SI_PID): Likewise.
46161         (__ASSUME_TGKILL): Define without depending on kernel version for
46162         i386.
46163         (__ASSUME_UTIMES): Likewise.
46164         (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
46165         kernel version.
46166         (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
46167         (__ASSUME_TMPFS_NAME): Likewise.
46168         * README: Update reference to Linux kernel versions.
46170 2012-08-02  Marek Polacek  <polacek@redhat.com>
46172         [BZ# 14150]
46173         * configure.in (libc_cv_asm_type_prefix): Remove test.  Replace
46174         libc_cv_asm_type_prefix with %.
46175         * configure: Regenerated.
46176         * include/libc-symbols.h: Remove comment about
46177         ASM_TYPE_DIRECTIVE_PREFIX.  Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
46178         (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
46179         (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
46180         (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
46181         (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
46182         * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
46183         [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
46184         [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
46185         * elf/tst-unique2mod1.c: Likewise.
46186         * elf/tst-unique1mod2.c: Likewise.
46187         * elf/tst-unique1mod1.c: Likewise.
46188         * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
46189         * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
46190         Replace ASM_TYPE_DIRECTIVE with .type.
46191         * sysdeps/s390/s390-64/sysdep.h: Likewise.
46192         * sysdeps/i386/sysdep.h: Likewise.
46193         * sysdeps/x86_64/sysdep.h: Likewise.
46194         * sysdeps/sh/sysdep.h: Likewise.
46195         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
46196         Do not define ASM_TYPE_DIRECTIVE.
46197         * sysdeps/powerpc/sysdep.h: Likewise.
46198         * sysdeps/powerpc/powerpc32/sysdep.h:
46199         Replace ASM_TYPE_DIRECTIVE with .type.
46200         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
46201         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
46202         * sysdeps/i386/fpu/e_powf.S: Likewise.
46203         * sysdeps/i386/fpu/e_expl.S: Likewise.
46204         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
46205         * sysdeps/i386/fpu/e_acosh.S: Likewise.
46206         * sysdeps/i386/fpu/e_pow.S: Likewise.
46207         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
46208         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
46209         * sysdeps/i386/fpu/s_expm1.S: Likewise.
46210         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
46211         * sysdeps/i386/fpu/e_log2.S: Likewise.
46212         * sysdeps/i386/fpu/e_log2l.S: Likewise.
46213         * sysdeps/i386/fpu/e_scalb.S: Likewise.
46214         * sysdeps/i386/fpu/e_powl.S: Likewise.
46215         * sysdeps/i386/fpu/e_log10f.S: Likewise.
46216         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
46217         * sysdeps/i386/fpu/e_logl.S: Likewise.
46218         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
46219         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
46220         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
46221         * sysdeps/i386/fpu/e_log2f.S: Likewise.
46222         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
46223         * sysdeps/i386/fpu/e_log.S: Likewise.
46224         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
46225         * sysdeps/i386/fpu/e_logf.S: Likewise.
46226         * sysdeps/i386/fpu/e_log10l.S: Likewise.
46227         * sysdeps/i386/fpu/e_atanh.S: Likewise.
46228         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
46229         * sysdeps/i386/fpu/e_log10.S: Likewise.
46230         * sysdeps/i386/fpu/s_frexp.S: Likewise.
46231         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
46232         * sysdeps/i386/fpu/s_asinh.S: Likewise.
46233         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
46234         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
46235         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
46236         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
46237         * sysdeps/i386/i686/strtok.S: Likewise.
46238         * sysdeps/i386/i386-mcount.S: Likewise.
46239         * sysdeps/i386/strtok.S: Likewise.
46240         * sysdeps/x86_64/fpu/e_expl.S: Likewise.
46241         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
46242         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
46243         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
46244         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
46245         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
46246         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
46247         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
46248         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
46249         * sysdeps/x86_64/_mcount.S: Likewise.
46250         * sysdeps/x86_64/strtok.S: Likewise.
46251         * sysdeps/sh/_mcount.S: Likewise.
46253 2012-08-01  Roland McGrath  <roland@hack.frob.com>
46255         * libio/iofopen.c: Include <fcntl.h>.
46256         [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
46257         (_IO_fopen64, fopen64): Define as aliases.
46258         * libio/iofopen64.c: Include <fcntl.h>.
46259         [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
46260         Conditionalize body on this.
46261         * sysdeps/wordsize-64/iofopen.c: File removed.
46262         * sysdeps/wordsize-64/iofopen64.c: File removed.
46264 2012-08-01  Marek Polacek  <polacek@redhat.com>
46266         * libc/Makeconfig: Use elf in place of binfmt-subdir.
46267         Use dlfcn directly instead of a variable.
46268         (binfmt-subdir): Do not define.
46269         (dlfcn): Likewise.
46271 2012-08-01  Joseph Myers  <joseph@codesourcery.com>
46273         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
46274         Remove all definitions.
46275         * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
46276         <kernel-features.h>.
46277         [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
46278         (miss_F_GETOWN_EX): Remove all definitions.
46279         [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
46280         macro definition.
46281         [!__ASSUME_FCNTL64]: Remove conditional code.
46282         [__ASSUME_FCNTL64]: Make code unconditional.
46283         * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
46284         <kernel-features.h>.
46285         [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
46286         (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
46287         (lockf64) [__NR_fcntl64]: Make code unconditional.
46288         (lockf64) [__ASSUME_FCNTL64]: Likewise.
46290         * sysdeps/unix/sysv/linux/kernel-features.h
46291         (__ASSUME_VFORK_SYSCALL): Remove all definitions.
46292         * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
46293         Make code unconditional.
46294         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
46295         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
46296         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
46297         [__NR_vfork]: Make code unconditional.
46298         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
46299         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
46300         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
46301         [__NR_vfork]: Make code unconditional.
46302         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
46303         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
46305 2012-08-01  Roland McGrath  <roland@hack.frob.com>
46307         * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
46308         (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
46310         * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
46311         Define mkstemp64 as an alias.
46312         * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
46313         Define mkstemps64 as an alias.
46314         * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
46315         Define mkostemp64 as an alias.
46316         * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
46317         Define mkostemps64 as an alias.
46318         * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
46319         Conditionalize body on this.
46320         * misc/mkostemp64.c: Likewise.
46321         * misc/mkostemps64.c: Likewise.
46322         * misc/mkstemps64.c: Likewise.
46323         * sysdeps/wordsize-64/mkstemp64.c: File removed.
46324         * sysdeps/wordsize-64/mkostemp64.c: File removed.
46325         * sysdeps/wordsize-64/mkostemp.c: File removed.
46326         * sysdeps/wordsize-64/mkstemp.c: File removed.
46327         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
46328         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
46329         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
46330         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
46332         [BZ #14138]
46333         * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
46334         * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
46335         * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
46336         * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
46338         * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
46339         compat_symbol macros from <shlib-compat.h> rather than the underlying
46340         default_symbol_version and symbol_version macros, so that DEFAULT
46341         lines in shlib-versions are respected.
46342         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
46344 2012-08-01  Florian Weimer  <fweimer@redhat.com>
46346         * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
46347         Declare with warn_unused_result.
46348         (setgid, setregid, setegid, setresgid): Likewise.
46349         * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
46350         Likewise.
46351         * WUR-REPORT: Remove set*id functions.
46353 2012-07-31  Pino Toscano  <toscano.pino@tiscali.it>
46355         * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
46357 2012-07-31  Roland McGrath  <roland@hack.frob.com>
46359         [BZ #10191]
46360         * include/sys/socket.h (__libc_accept, __libc_accept4):
46361         Add attribute_hidden.
46362         * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
46364         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
46365         use of PTR_MANGLE.
46366         * inet/getnetgrent_r.c (setup): Likewise.
46368         * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
46370 2012-07-31  David S. Miller  <davem@davemloft.net>
46372         * sysdeps/sparc/fpu/libm-test-ulps: Update.
46374 2012-07-31  Joseph Myers  <joseph@codesourcery.com>
46376         [BZ #13629]
46377         * math/s_clog.c (__clog): Use __log1p if larger part has absolute
46378         value between 1.0 and 2.0 and smaller part has absolute value less
46379         than 1.0.
46380         * math/s_clog10.c (__clog10): Likewise.
46381         * math/s_clog10f.c (__clog10f): Likewise.
46382         * math/s_clog10l.c (__clog10l): Likewise.
46383         * math/s_clogf.c (__clogf): Likewise.
46384         * math/s_clogl.c (__clogl): Likewise.
46385         * math/libm-test.inc (clog_test): Add more tests.
46386         (clog10_test): Likewise.
46387         * sysdeps/i386/fpu/libm-test-ulps: Update.
46388         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46390 2012-07-31  Florian Weimer  <fweimer@redhat.com>
46392         * stdlib/tst-secure-getenv.c: Use printf for error reporting.
46393         Exit with zero in case no suitable GID is found, and write a
46394         message to standard error.
46396 2012-07-30  Roland McGrath  <roland@hack.frob.com>
46398         * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
46399         rather than to 1.
46400         (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
46401         (MAXPATHLEN): Removed.
46402         (NOGROUP, NODEV): New macros.
46403         (setbit, clrbit, isset, isclr): New macros.
46404         (howmany, roundup, powerof2): New macros.
46405         (DEV_BSIZE): New macro.
46407         * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
46408         * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
46410         * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
46411         definition on [!__NO_LONG_DOUBLE_MATH].
46413         * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
46414         PTR_MANGLE and PTR_DEMANGLE.
46416         * socket/accept4.c (accept4): Rename to __libc_accept4.
46417         Define accept4 as a weak alias.
46419         * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
46420         on [_DIRENT_HAVE_D_TYPE].
46421         * io/ftw.c (ftw_dir): Likewise.
46423         * io/xmknod.c (__xmknod): Don't check PATH for being null.
46425         * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
46427         * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
46428         Use the BSD numbers rather than the arbitrary ones we had.
46429         (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
46430         (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
46431         (SIGXCPU, SIGXFSZ): New macros.
46432         (_NSIG): Now 32.
46434         * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
46435         initializer on [_LIBC_REENTRANT].
46437         * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
46438         definitions inside [_POSIX_MAPPED_FILES].
46440         * posix/regex.c: Include <sys/param.h> for MIN/MAX.
46442         * dirent/opendir.c: Include <fcntl.h>.
46444         * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
46445         (__libc_getspecific): Likewise.
46446         (__libc_key_create): Likewise.
46448         * stdio-common/tmpfile64.c: Include <fcntl.h> first.
46449         [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
46450         * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
46451         (tmpfile64): Define as alias.
46452         * sysdeps/wordsize-64/tmpfile.c: File removed.
46453         * sysdeps/wordsize-64/tmpfile64.c: File removed.
46454         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
46455         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
46457         * stdio-common/vfscanf.c: Include <stdbool.h>.
46458         * nss/makedb.c: Likewise.
46459         * stdio-common/_i18n_number.h: Likewise.
46460         * argp/argp-help.c: Likewise.
46461         * posix/wordexp.c: Likewise.
46462         * sysdeps/posix/spawni.c: Likewise.
46463         * nss/nss_files/files-initgroups.c: Likewise.
46464         * stdio-common/reg-modifier.c: Include <stdlib.h>.
46465         * nss/nss_files/files-initgroups.c: Likewise.
46466         * nss/nss_db/db-netgrp.c: Likewise.
46467         * nss/nss_db/db-initgroups.c: Likewise.
46468         * io/fchmodat.c: Include <sys/stat.h>.
46470         * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
46471         __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
46473         * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
46474         [HAVE_MMAP].
46476         * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
46477         Add multiple inclusion protection.
46479 2012-07-27  David S. Miller  <davem@davemloft.net>
46481         * sysdeps/sparc/fpu/libm-test-ulps: Update.
46483 2012-07-27  Gary Benson  <gbenson@redhat.com>
46485         [BZ #14298]
46486         * elf/rtld.c: Include <stap-probe.h>.
46487         (dl_main): Added static probes "init_start" and "init_complete".
46488         * elf/dl-load.c: Include <stap-probe.h>.
46489         (lose): Take new parameter "nsid".
46490         Added static probe "map_failed".
46491         (_dl_map_object_from_fd): Pass namespace id to lose.
46492         Added static probe "map_start".
46493         (open_verify): Pass namespace id to lose.
46494         * elf/dl-open.c: Include <stap-probe.h>.
46495         (dl_open_worker) Added static probes "map_complete", "reloc_start"
46496         and "reloc_complete".
46497         * elf/dl-close.c: Include <stap-probe.h>.
46498         (_dl_close_worker): Added static probes "unmap_start" and
46499         "unmap_complete".
46500         * elf/rtld-debugger-interface.txt: New file documenting the above.
46502 2012-07-26  Roland McGrath  <roland@hack.frob.com>
46504         * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
46505         rather than a string variable.
46506         * sunrpc/rpc_main.c (h_output): Likewise.
46507         * sunrpc/rpc_svcout.c (write_real_program): Likewise.
46509 2012-07-26  Pino Toscano  <toscano.pino@tiscali.it>
46511         * inet/check_native.c: New file.
46513 2012-07-26  Joseph Myers  <joseph@codesourcery.com>
46515         [BZ #13629]
46516         * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
46517         if larger part has absolute value 1.0.
46518         * math/s_clog10.c (__clog10): Likewise.
46519         * math/s_clog10f.c (__clog10f): Likewise.
46520         * math/s_clog10l.c (__clog10l): Likewise.
46521         * math/s_clogf.c (__clogf): Likewise.
46522         * math/s_clogl.c (__clogl): Likewise.
46523         * math/libm-test.inc (clog_test): Add more tests.
46524         (clog10_test): Likewise.
46525         * sysdeps/i386/fpu/libm-test-ulps: Update.
46526         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46528         * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
46529         (pltexit): Likewise.
46530         (La_regs): Likewise.
46531         (La_retval): Likewise.
46532         (int_retval): Likewise.
46533         Update #error for removed macros to refer only to definitions in
46534         tst-audit.h.
46535         * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
46536         macro.
46537         (pltexit): Likewise.
46538         (La_regs): Likewise.
46539         (La_retval): Likewise.
46540         (int_retval): Likewise.
46541         * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
46542         macro.
46543         (pltexit): Likewise.
46544         (La_regs): Likewise.
46545         (La_retval): Likewise.
46546         (int_retval): Likewise.
46547         * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
46548         macro.
46549         (pltexit): Likewise.
46550         (La_regs): Likewise.
46551         (La_retval): Likewise.
46552         (int_retval): Likewise.
46553         * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
46554         macro.
46555         (pltexit): Likewise.
46556         (La_regs): Likewise.
46557         (La_retval): Likewise.
46558         (int_retval): Likewise.
46559         * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
46560         macro.
46561         (pltexit): Likewise.
46562         (La_regs): Likewise.
46563         (La_retval): Likewise.
46564         (int_retval): Likewise.
46565         * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
46566         macro.
46567         (pltexit): Likewise.
46568         (La_regs): Likewise.
46569         (La_retval): Likewise.
46570         (int_retval): Likewise.
46571         * sysdeps/generic/tst-audit.h: Update comment to refer only to
46572         macro definitions in tst-audit.h.
46573         * sysdeps/i386/tst-audit.h: New file.
46574         * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
46575         * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
46576         * sysdeps/s390/s390-32/tst-audit.h: Likewise.
46577         * sysdeps/s390/s390-64/tst-audit.h: Likewise.
46578         * sysdeps/sh/tst-audit.h: Likewise.
46579         * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
46580         * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
46581         * sysdeps/x86_64/tst-audit.h: Likewise.
46583 2012-07-26  Andreas Jaeger  <aj@suse.de>
46585         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
46586         ptrace.
46588         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
46589         new value PTRACE_EVENT_SECCOMP from Linux 3.5.
46590         (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
46591         PTRACE_O_MASK.
46592         * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
46593         * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
46594         * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
46596         * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
46597         value.
46599         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
46600         _sigsys.
46601         (si_call_addr, si_syscall, si_arch): Define new macro.
46602         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
46603         _sigsys.
46604         (si_call_addr, si_syscall, si_arch): Define new marcro.
46605         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
46606         _sigsys.
46607         (si_call_addr, si_syscall, si_arch): Define new macro.
46608         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
46609         _sigsys.
46610         (si_call_addr, si_syscall, si_arch): Define new macro.
46612 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
46614         [BZ #13717]
46615         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
46616         Change to 2.4.21 where previously 2.4.1.
46617         * sysdeps/unix/sysv/linux/configure: Regenerated.
46618         * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
46619         __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
46620         Linux kernel version.
46621         (__ASSUME_STD_AUXV): Remove.
46622         [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
46623         kernel version.
46624         [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
46625         (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
46626         (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
46627         (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
46628         (__ASSUME_NETLINK_SUPPORT): Likewise.
46629         * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
46630         (__no_netlink_support): Remove conditional definition.
46631         * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
46632         Remove.
46633         (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
46634         [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
46635         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
46636         (if_nameindex_ioctl): Remove.
46637         (if_nameindex_netlink): Do not handle __no_netlink_support.
46638         (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
46639         code.
46640         * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
46641         Remove conditional code.
46642         (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
46643         code.
46644         (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
46645         unconditional.
46646         [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
46647         [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
46648         * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
46649         Remove.
46650         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
46651         [!__ASSUME_STD_AUXV]: Remove conditional code.
46652         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
46653         [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
46654         [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
46655         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
46656         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
46657         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
46658         code.
46659         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
46660         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
46661         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
46662         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
46663         conditional code.
46664         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
46665         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
46666         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
46667         code.
46668         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
46669         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
46670         conditional code.
46671         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
46672         (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
46673         code unconditional.
46674         (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
46675         conditional code.
46676         (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
46677         unconditional.
46678         (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
46679         conditional code.
46680         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
46681         (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
46682         unconditional.
46683         (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
46684         conditional code.
46685         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
46686         (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
46687         code unconditional.
46688         (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
46689         conditional code.
46690         (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
46691         unconditional.
46692         (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
46693         conditional code.
46694         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
46695         (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
46696         code unconditional.
46697         (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
46698         conditional code.
46699         (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
46700         unconditional.
46701         (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
46702         conditional code.
46704 2012-07-25  Andreas Schwab  <schwab@linux-m68k.org>
46706         * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
46707         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
46708         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
46709         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
46710         * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
46711         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
46712         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
46713         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
46714         * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
46715         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
46716         * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
46717         * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
46718         * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
46719         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
46720         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
46721         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
46722         * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
46723         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
46724         * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
46725         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
46726         * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
46727         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
46728         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
46730 2012-07-25  Florian Weimer  <fweimer@redhat.com>
46732         * Versions.def: Add GLIBC_2.17.
46733         * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
46734         * include/stdlib.h: Rename __secure_getenv to secure_getenv.
46735         Introduce __libc_secure_getenv.
46736         * stdlib/Versions (2.17): Add secure_getenv
46737         (GLIBC_PRIVATE): Add __libc_secure_getenv.
46738         * stdlib/secure-getenv.c: Rename __secure_getenv to
46739         __libc_secure_getenv.  Add secure_getenv alias.  Add compatibility
46740         symbol __secure_getenv for GLIBC_2.0.
46741         * stdlib/tst-secure-getenv.c: New.
46742         * stdlib/Makefile (tests): Add testcase.
46743         * manual/startup.texi (Environment Access): Document
46744         secure_getenv.
46745         * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
46746         __libc_secure_getenv.
46747         * inet/ruserpass.c (ruserpass): Likewise.
46748         * malloc/mtrace.c (mtrace): Likewise.
46749         * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
46750         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
46751         * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
46752         * sysdeps/posix/tempname.c: Likewise.  Evaluate
46753         HAVE_SECURE_GETENV.
46754         * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
46755         __secure_getenv to __libc_secure_getenv.
46756         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
46757         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
46758         Likewise.
46759         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
46760         Likewise.
46761         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
46762         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
46763         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
46764         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
46765         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
46766         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
46767         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
46769 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
46771         * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
46772         (struct La_i86_retval): Likewise.
46773         (struct La_x86_64_regs): Likewise.
46774         (struct La_x86_64_retval): Likewise.
46775         (struct La_x32_regs): Likewise.
46776         (struct La_x32_retval): Likewise.
46777         (struct La_ppc32_regs): Likewise.
46778         (struct La_ppc32_retval): Likewise.
46779         (struct La_ppc64_regs): Likewise.
46780         (struct La_ppc64_retval): Likewise.
46781         (struct La_sh_regs): Likewise.
46782         (struct La_sh_retval): Likewise.
46783         (struct La_s390_32_regs): Likewise.
46784         (struct La_s390_32_retval): Likewise.
46785         (struct La_s390_64_regs): Likewise.
46786         (struct La_s390_64_retval): Likewise.
46787         (struct La_sparc32_regs): Likewise.
46788         (struct La_sparc32_retval): Likewise.
46789         (struct La_sparc64_regs): Likewise.
46790         (struct La_sparc64_retval): Likewise.
46791         (struct audit_ifaces): Remove architecture-specific pltenter and
46792         pltexit members.
46793         * sysdeps/i386/ldsodefs.h: New file.
46794         * sysdeps/powerpc/ldsodefs.h: Likewise.
46795         * sysdeps/s390/ldsodefs.h: Likewise.
46796         * sysdeps/sh/ldsodefs.h: Likewise.
46797         * sysdeps/sparc/ldsodefs.h: Likewise.
46798         * sysdeps/x86_64/ldsodefs.h: Likewise.
46800 2012-07-25  Marek Polacek  <polacek@redhat.com>
46802         [BZ #6808]
46803         * math/libm-test.inc (yn_test): Add another test.
46804         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
46805         to ERANGE when the result is +-Inf.
46806         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
46807         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
46808         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
46809         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
46811 2012-07-24  Joseph Myers  <joseph@codesourcery.com>
46813         * conform/data/time.h-data (NULL): Use macro-constant.  Require
46814         equal to 0.
46815         (CLOCKS_PER_SEC): Use macro instead of constant.  Specify type as
46816         clock_t.
46817         [ISO11] (TIME_UTC): Use macro-int-constant.  Require value > 0.
46819 2012-07-23  Thomas Schwinge  <thomas@codesourcery.com>
46821         * configure.in <sysdeps resolving>: Correct printing
46822         Implies_before.
46823         * configure: Regenerate.
46825 2012-07-22  Thomas Schwinge  <thomas@codesourcery.com>
46827         * math/w_ilogb.c: Include <limits.h>.
46828         * math/w_ilogbl.c: Likewise.
46830 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
46832         * manual/lang.texi (__va_copy): Document primarily as ISO C99
46833         va_copy.  Document allowing for unavailable va_copy only as
46834         pre-C99 compatibility.
46835         * manual/string.texi (Copying and Concatenation): Use va_copy
46836         instead of __va_copy in concat example.
46838 2012-07-20  Pino Toscano  <toscano.pino@tiscali.it>
46840         * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
46841         (__sendto): Use create_address_port.  Initialize APORT and deallocate
46842         it if not null.
46844         * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
46845         with O_NOLINK passed to __file_name_lookup.
46847         * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
46848         with O_NOLINK passed to __file_name_lookup.
46850         * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
46851         negative N or less than NGIDS.
46853         * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
46854         type to string_t.  Set ERANGE as errno and return it if NAME is not big
46855         enough.  Use memcpy instead of strncpy.
46857 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
46859         * elf/Makefile (check-data): Remove.
46860         (localplt.data): New vpath directive.
46861         ($(objpfx)check-localplt.out): Use localplt.data from vpath
46862         instead of $(check-data).
46863         * scripts/data/localplt-generic.data: Move to ...
46864         * sysdeps/generic/localplt.data: ... here.
46865         * scripts/data/localplt-i386-linux-gnu.data: Move to ...
46866         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
46867         * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
46868         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
46869         ... here.
46870         * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
46871         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
46872         ... here.
46873         * scripts/data/localplt-s390-linux-gnu.data: Move to ...
46874         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
46875         ... here.
46876         * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
46877         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
46878         ... here.
46879         * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
46880         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
46881         ... here.
46882         * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
46883         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
46884         ... here.
46886 2012-07-19 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46888         * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
46889         PPC32 and PPC64 files.
46890         * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
46891         * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
46893 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
46895         * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
46896         __makecontext_ret to ...
46897         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
46898         ... here and call exit if uc_link is NULL.  New file.
46899         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
46900         __makecontext_ret.S.
46901         * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
46902         __makecontext_ret to ...
46903         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
46904         ... here and call exit if uc_link is NULL.  New file.
46905         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
46906         __makecontext_ret.S.
46908 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
46910         * elf/elf.h (R_390_IRELATIVE): New definition.
46911         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
46912         resolver function for IFUNC symbols.  Support R_390_IRELATIVE.
46913         (elf_machine_lazy_rel): Support R_390_IRELATIVE.
46914         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
46915         (elf_machine_lazy_rel): Likewise.
46916         * sysdeps/s390/dl-irel.h: New file.
46917         * sysdeps/s390/s390-64/memcpy.S: New asm code.
46918         * sysdeps/s390/s390-64/memset.S: New asm code.
46919         * sysdeps/s390/s390-64/memcmp.S: New asm code.
46920         * sysdeps/s390/s390-64/multiarch/memset.S: New file.
46921         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
46922         * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
46923         * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
46924         * sysdeps/s390/s390-64/multiarch/Makefile: New file.
46925         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
46926         * sysdeps/s390/s390-32/multiarch/Makefile: New file.
46927         * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
46928         * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
46929         * sysdeps/s390/s390-32/multiarch/memset.S: New file.
46930         * sysdeps/s390/s390-32/memcpy.S: New asm code.
46931         * sysdeps/s390/s390-32/memset.S: New asm code.
46932         * sysdeps/s390/s390-32/memcmp.S: New asm code.
46934 2012-07-17  Marek Polacek  <polacek@redhat.com>
46936         [BZ #14349]
46937         * sysdeps/s390/s390-32/configure.in: Remove TLS check.
46938         * sysdeps/s390/s390-64/configure.in: Likewise.
46939         * sysdeps/sparc/configure.in: Likewise.
46940         * sysdeps/powerpc/powerpc32/configure.in: Likewise.
46941         * sysdeps/powerpc/powerpc64/configure.in: Likewise.
46942         * sysdeps/i386/configure.in: Likewise.
46943         * sysdeps/x86_64/configure.in: Likewise.
46944         * sysdeps/sh/configure.in: Likewise.
46945         * sysdeps/s390/s390-32/configure: Regenerated.
46946         * sysdeps/s390/s390-64/configure: Likewise.
46947         * sysdeps/x86_64/configure: Likewise.
46948         * sysdeps/sh/configure: Likewise.
46949         * sysdeps/powerpc/powerpc64/configure: Likewise.
46950         * sysdeps/powerpc/powerpc32/configure: Likewise.
46951         * sysdeps/sparc/configure: Likwise.
46952         * sysdeps/i386/configure: Likewise.
46954         * elf/dl-open.c: Comment fixes.
46956 2012-07-17  Joseph Myers  <joseph@codesourcery.com>
46958         * Makefile [CXX] (check-data): Remove.
46959         [CXX] (c++-types.data): New vpath directive.
46960         [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
46961         vpath.  Do not allow for C++ type data being missing.
46962         * scripts/data/c++-types-alpha-linux-gnu.data: Move to
46963         ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
46964         * scripts/data/c++-types-ia64-linux-gnu.data: Move to
46965         ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
46966         * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
46967         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
46968         * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
46969         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
46970         ... here.
46971         * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
46972         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
46973         ... here.
46974         * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
46975         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
46976         ... here.
46977         * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
46978         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
46979         ... here.
46980         * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
46981         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
46982         ... here.
46983         * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
46984         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
46985         ... here.
46986         * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
46987         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
46988         ... here.
46989         * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
46990         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
46992         * elf/tls-macros.h (TLS_LE): Move architecture-specific
46993         definitions to architecture-specific files.
46994         (TLS_IE): Likewise.
46995         (TLS_LD): Likewise.
46996         (TLS_GD): Likewise.
46997         * sysdeps/i386/tls-macros.h: New file.
46998         * sysdeps/powerpc/tls-macros.h: Likewise.
46999         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
47000         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
47001         * sysdeps/sh/tls-macros.h: Likewise.
47002         * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
47003         * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
47004         * sysdeps/x86_64/tls-macros.h: Likewise.
47006 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
47008         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
47009         zero value for regular exit case.
47011         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
47012         (__start_context): Preserve zero value for regular exit case.
47014 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
47015             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
47017         * manual/setjmp.texi (setcontext): Clarify normal process
47018         termination when uc_link is the null pointer.
47019         * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
47020         exit call.
47022 2012-07-16  Andreas Schwab  <schwab@linux-m68k.org>
47024         * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
47025         preprocessor.  Test for each exception mask separately.
47027 2012-07-16  Andreas Jaeger  <aj@suse.de>
47029         * po/ru.po: Update from translation team.
47031 2012-07-15  Joseph Myers  <joseph@codesourcery.com>
47033         * conform/data/string.h-data (NULL): Use macro-constant.  Require
47034         equal to 0.
47035         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
47036         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
47037         (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
47038         (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
47039         [ISO || ISO99 || ISO11] (*_t): Do not allow.
47041 2012-07-13  Andreas Jaeger  <aj@suse.de>
47043         * po/fr.po: Update from translation team.
47045 2012-07-12  Marek Polacek  <polacek@redhat.com>
47047         [BZ #14173]
47048         * math/libm-test.inc (yn_test): Add test for BZ #14173.
47049         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
47050         loop condition.
47052 2012-07-12  Joseph Myers  <joseph@codesourcery.com>
47054         [BZ #13717]
47055         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
47056         Change to 2.4.1 where previously 2.4.0.
47057         * sysdeps/unix/sysv/linux/configure: Regenerated.
47058         * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
47059         (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
47060         version.
47061         [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
47062         (__ASSUME_AT_CLKTCK): Remove.
47063         (__ASSUME_AT_PAGESIZE): Likewise.
47064         (__ASSUME_AT_XID): Likewise.
47065         (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
47066         [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
47067         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
47068         unconditionally.
47069         (HAVE_AUX_PAGESIZE): Likewise.
47070         * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
47071         [__ASSUME_AT_CLKTCK]: Make code unconditional.
47072         [!__ASSUME_AT_CLKTCK]: Remove conditional code.
47074 2012-07-12  Jeroen van Bemmel  <jvb127@gmail.com>
47076         [BZ #14307]
47077         * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
47078         the temporary buffer used to invoke __gethostbyname2_r,
47079         __gethostbyaddr_r and gethostbyname4_r to make room for struct
47080         host_data / struct gaih_addrtuple.
47081         * resolv/nss_dns/dns-host.c (global scope): Move definition of
47082         implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
47083         header file nss/nsswitch.h.
47084         * nss/nsswitch.h (global scope): Add definition of implementation
47085         constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
47086         resolv/nss_dns/dns-host.c).
47088 2012-07-11  Andreas Jaeger  <aj@suse.de>
47090         * po/fr.po: Update from translation team.
47092         * po/sv.po: Update from translation team
47093         * po/fr.po: Another update from translation team.
47095 2012-07-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47097         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
47098         for subnormals or multiply small sinh result by itself.
47099         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
47100         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
47102 2012-07-11  David S. Miller  <davem@davemloft.net>
47104         * sysdeps/sparc/fpu/libm-test-ulps: Update.
47106 2012-07-10  Andreas Schwab  <schwab@linux-m68k.org>
47108         [BZ #14347]
47109         * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
47110         (INTERNAL_MARK): Shift it here.
47112 2012-07-10  Marek Polacek  <polacek@redhat.com>
47114         [BZ #14151]
47115         * configure.in (libc_cv_asm_global_directive): Remove test.  Replace
47116         libc_cv_asm_global_directive with .globl.
47117         * configure: Regenerated.
47118         * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
47119         with .globl.
47120         * sysdeps/i386/configure: Regenerated.
47121         * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
47122         with .globl.
47123         * sysdeps/x86_64/configure: Regenerated.
47124         * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
47125         * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
47126         * elf/tst-unique2mod2.c: Likewise.
47127         * elf/tst-unique2mod1.c: Likewise.
47128         * elf/tst-unique1mod2.c: Likewise.
47129         * elf/tst-unique1mod1.c: Likewise.
47130         * sysdeps/s390/s390-32/sysdep.h: Likewise.
47131         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
47132         * sysdeps/s390/s390-64/sysdep.h: Likewise.
47133         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
47134         * sysdeps/mach/sysdep.h: Likewise.
47135         * sysdeps/i386/sysdep.h: Likewise.
47136         * sysdeps/i386/i386-mcount.S: Likewise.
47137         * sysdeps/x86_64/_mcount.S: Likewise.
47138         * sysdeps/x86_64/sysdep.h: Likewise.
47139         * sysdeps/sh/_mcount.S: Likewise.
47140         * sysdeps/sh/sysdep.h: Likewise.
47141         * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
47142         * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
47143         * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
47144         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
47145         * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
47146         * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
47147         * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
47148         * locale/localeinfo.h: Likewise.
47149         (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
47150         (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
47152 2012-07-09  Roland McGrath  <roland@hack.frob.com>
47154         [BZ #14336]
47155         * manual/charset.texi (Extended Char Intro): Word use fix, "operating
47156         system".
47157         * manual/message.texi (The Uniforum approach): Likewise.
47158         * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
47159         (glibc iconv Implementation): Likewise.
47161 2012-07-09  Joseph Myers  <joseph@codesourcery.com>
47163         [BZ #14337]
47164         * math/s_clog.c (__clog): Avoid scaling a value down where that
47165         could result in underflow.
47166         * math/s_clog10.c (__clog10): Likewise.
47167         * math/s_clog10f.c (__clog10f): Likewise.
47168         * math/s_clog10l.c (__clog10l): Likewise.
47169         * math/s_clogf.c (__clogf): Likewise.
47170         * math/s_clogl.c (__clogl): Likewise.
47171         * math/libm-test.inc (clog_test): Add more tests.
47172         (clog10_test): Likewise.
47173         * sysdeps/i386/fpu/libm-test-ulps: Update.
47174         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47176 2012-07-06  Andreas Schwab  <schwab@linux-m68k.org>
47178         [BZ #14283]
47179         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
47180         by 7 not 8 to examine high bit of fractional part.
47182         [BZ #14042]
47183         * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
47184         for call to __mcount_internal.
47185         * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
47186         (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
47187         * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
47189 2012-07-06  Joseph Myers  <joseph@codesourcery.com>
47191         [BZ #14154]
47192         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
47193         approximation for values within 0x1p-13f of an odd multiple of
47194         pi/4.
47195         * math/libm-test.inc (tan_test): Do not allow spurious underflow
47196         exception.  Add more tests.
47197         * sysdeps/i386/fpu/libm-test-ulps: Update.
47199         [BZ #6778]
47200         * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
47201         inputs and return -1 for them.  Do not check for +Inf in case not
47202         reachable for +Inf.
47203         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
47204         * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
47205         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
47206         and return -1 for them.  Do not check for +Inf in case not
47207         reachable for +Inf.
47208         * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
47209         define.
47210         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
47211         and return -1 for them.  Do not check for +Inf in case not
47212         reachable for +Inf.
47213         * math/libm-test.inc (expm1_test): Add more tests.  Do not allow
47214         spurious underflow.
47215         * sysdeps/i386/fpu/libm-test-ulps: Update.
47216         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47218 2012-07-06  Mike Frysinger  <vapier@gentoo.org>
47220         * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
47222 2012-07-05  Joseph Myers  <joseph@codesourcery.com>
47224         [BZ #14157]
47225         [BZ #14331]
47226         * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
47227         could result in spurious underflow.  Scale down values above
47228         DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
47229         * math/s_csqrtf.c (__csqrtf): Likewise.
47230         * math/s_csqrtl.c (__csqrtl): Likewise.
47231         * math/libm-test.inc (csqrt_test): Add more tests.  Do not allow
47232         spurious underflow.
47233         * sysdeps/i386/fpu/libm-test-ulps: Update.
47234         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47236 2012-07-04  Andreas Schwab  <schwab@linux-m68k.org>
47238         * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
47239         xopen-msg.sed.
47240         * catgets/xopen-msg.awk: New file.
47241         * catgets/xopen-msg.sed: Removed.
47243         * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
47244         po2text.sed.
47245         * intl/po2test.awk: New file.
47246         * intl/po2test.sed: Removed.
47248 2012-07-04  Joseph Myers  <joseph@codesourcery.com>
47250         [BZ #14328]
47251         * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
47252         or multiply small sinh result by itself.
47253         * math/s_ctanf.c (__ctanf): Likewise.
47254         * math/s_ctanh.c (__ctanh): Likewise.
47255         * math/s_ctanhf.c (__ctanhf): Likewise.
47256         * math/s_ctanhl.c (__ctanhl): Likewise.
47257         * math/s_ctanl.c (__ctanl): Likewise.
47258         * math/libm-test.inc (ctan_test_tonearest): New function.
47259         (ctan_test_towardzero): Likewise.
47260         (ctan_test_downward): Likewise.
47261         (ctan_test_upward): Likewise.
47262         (ctanh_test_tonearest): Likewise.
47263         (ctanh_test_towardzero): Likewise.
47264         (ctanh_test_downward): Likewise.
47265         (ctanh_test_upward): Likewise.
47266         (main): Call these new functions.
47267         * sysdeps/i386/fpu/libm-test-ulps: Update.
47268         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47270 2012-07-03  Mike Frysinger  <vapier@gentoo.org>
47272         * .gitignore: Delete /ports entry.
47274 2012-07-03  Andreas Jaeger  <aj@suse.de>
47276         * po/bg.po: Update from translation team.
47277         * po/cs.po: Likewise.
47278         * po/de.po: Likewise.
47279         * po/hr.po: Likewise.
47280         * po/nl.pl: Likewise.
47281         * po/pl.po: Likewise.
47282         * po/vi.po: Likewise.
47284 2012-07-03  Joseph Myers  <joseph@codesourcery.com>
47286         * Makeconfig [!+link] (+link-before-libc): New variable.
47287         [!+link] (+link-after-libc): Likewise.
47288         [!+link] (+link-tests): Likewise.
47289         [!+link] (+link): Define in terms of $(+link-before-libc) and
47290         $(+link-after-libc).
47291         [!+link-static] (+link-static-before-libc): New variable.
47292         [!+link-static] (+link-static-after-libc): Likewise.
47293         [!+link-static] (+link-static-tests): Likewise.
47294         [!+link-static] (+link-static): Define in terms of
47295         $(+link-static-before-libc) and $(+link-static-after-libc).
47296         [build-shared] (link-libc-before-gnulib): New variable.
47297         [build-shared] (link-libc-tests): Likewise.
47298         [build-shared] (link-libc): Define in terms of
47299         $(link-libc-before-gnulib).
47300         [!build-shared] (link-libc-tests): New variable.
47301         (link-libc-static-tests): New variable.
47302         [!gnulib] (gnulib-arch): New variable.
47303         [!gnulib] (gnulib-tests): Likewise.
47304         [!gnulib] (static-gnulib-arch): Likewise.
47305         [!gnulib] (static-gnulib-tests): Likewise.
47306         [!gnulib] (gnulib): Use $(gnulib-arch).  Do not use $(libgcc_eh).
47307         Define with "=" instead of ":=".
47308         [!gnulib] (static-gnulib): Use $(static-gnulib-arch).  Do not use
47309         -lgcc_eh $(libunwind).  Define with "=" instead of ":=".
47310         * Rules (binaries-all-notests): New variable.
47311         (binaries-all-tests): Likewise.
47312         (binaries-static-notests): Likewise.
47313         (binaries-static-tests): Likewise.
47314         (binaries-all): Define using $(binaries-all-notests) and
47315         $(binaries-all-tests).
47316         (binaries-static): Define using $(binaries-static-notests) and
47317         $(binaries-static-tests).
47318         (binaries-shared-tests): New variable.
47319         (binaries-shared-notests): Likewise.
47320         (binaries-shared): Remove variable.
47321         ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
47322         ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
47323         ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
47324         ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
47325         ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
47326         ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
47327         * elf/Makefile (sln-modules): New variable.
47328         (extra-objs): Add $(sln-modules:=.o).
47329         (ldconfig-modules): Add static-stubs.
47330         ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
47331         * elf/static-stubs.c: New file.
47333         [BZ #14283]
47334         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
47335         by 7 not 8 to examine high bit of fractional part.  Use volatile
47336         variables when splitting into final array of floats if
47337         __FLT_EVAL_METHOD__ != 0.
47338         * math/libm-test.inc (cos_test): Add another test.
47339         (sin_test): Likewise.
47340         * sysdeps/i386/fpu/libm-test-ulps: Update.
47342         [BZ #14273]
47343         * math/libm-test.inc (cosh_test): Add more tests.
47345         * version.h (RELEASE): Set to "development".
47346         (VERSION): Set to "2.16.90".
47348 2012-06-30  Carlos O'Donell  <carlos_odonell@mentor.com>
47350         * NEWS: Update copyright. Remove last-updated date.
47351         Mention math library bug fixes and timezone data changes.
47352         * README: Mention GNU/Hurd, x32, and HPPA support status.
47354 2012-06-28  Thomas Schwinge  <thomas@codesourcery.com>
47356         * manual/contrib.texi (Contributors): Sort alphabetically by last name.
47358 2012-06-27  Andreas Jaeger  <aj@suse.de>
47360         * manual/contrib.texi (Contributors): Add Samuel Thibault.
47362 2012-06-25  Andreas Jaeger  <aj@suse.de>
47364         * sysdeps/s390/fpu/libm-test-ulps: Update.
47366 2012-06-23  Andreas Schwab  <schwab@linux-m68k.org>
47367             Thomas Schwinge  <thomas@codesourcery.com>
47369         * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
47370         * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
47371         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
47372         fanotify_mark.
47374 2012-06-23  Thomas Schwinge  <thomas@codesourcery.com>
47376         * sysdeps/mach/start.c: Remove file.
47377         * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
47378         * sysdeps/i386/init-first.c: Fix comment regarding start.S.
47379         * sysdeps/sh/init-first.c: Likewise.
47381         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
47382         registers for frame unwinding purposes, add CFI directives.
47383         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
47384         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
47385         * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
47386         Likewise.
47388         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
47389         __fortify_fail returning.
47390         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
47392         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
47393         sysdeps/sh/____longjmp_chk.S.
47394         * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
47395         on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
47396         * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
47397         (gen-as-const-headers): Append sigaltstack-offsets.sym.
47399         * sysdeps/sh/abort-instr.h: New file.
47400         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
47401         process in case exit returns.
47403         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
47404         initialize the GOT register before use.
47406         * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
47407         calculation of ARGC > 4.
47409         * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
47410         meaningful names to some local labels.
47412 2012-06-22  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
47413             Kaz Kojima  <kkojima@rr.iij4u.or.jp>
47415         * sysdeps/unix/sysv/linux/sh/bits/atomic.h
47416         (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
47417         (__arch_compare_and_exchange_val_16_acq): Likewise.
47418         (__arch_compare_and_exchange_val_32_acq): Likewise.
47419         (atomic_exchange_and_add): Fix gUSA sequence.
47420         (atomic_add): Likewise.
47421         (atomic_add_negative): Likewise.
47422         (atomic_add_zero): Likewise.
47423         (atomic_bit_test_set): Likewise.
47425 2012-06-22  Andreas Schwab  <schwab@redhat.com>
47427         [BZ #13579]
47428         * include/link.h (struct link_map): Add l_free_initfini.
47429         * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
47430         l_initfini.
47431         * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
47432         * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
47433         * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
47434         set.
47436 2012-06-22  Carlos O'Donell  <carlos_odonell@mentor.com>
47438         * configure.in: Use AC_LANG_SOURCE.
47439         * configure: Regenerate.
47441 2012-06-22  Roland McGrath  <roland@hack.frob.com>
47443         * configure.in (libc_cv_localstatedir): New substituted variable.
47444         * configure: Regenerated.
47445         * config.make.in (localstatedir): New variable, substituted from
47446         libc_cv_localstatedir.
47447         * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
47448         * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
47449         ${prefix}/var to /var when we change ${prefix}/etc to /etc.
47450         * sysdeps/gnu/configure: Regenerated.
47452 2012-06-21  Jeff Law  <law@redhat.com>
47454         [BZ #14277]
47455         * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
47456         free.  Simplify list management for _LIBC case.
47458 2012-06-21  Joseph Myers  <joseph@codesourcery.com>
47460         [BZ #14273]
47461         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
47462         Clear sign bit of 64-bit integer value before comparing against
47463         overflow value.
47465         * sysdeps/mach/configure: Regenerated.
47467 2012-06-21  H.J. Lu  <hongjiu.lu@intel.com>
47469         [BZ #14278]
47470         * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
47472 2012-06-21  Jeff Law  <law@redhat.com>
47474         [BZ #13882]
47475         * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection.  Use
47476         uint16_t for elements in the "seen" array to avoid char overflows.
47477         * elf/dl-fini.c (_dl_sort_fini): Likewise.
47478         * elf/dl-open.c (dl_open_worker): Likewise.
47480 2012-06-21  Carlos O'Donell  <carlos_odonell@mentor.com>
47482         * scripts/list-sources.sh: Scan PORTS for translations.
47483         * po/libc.pot: Regenerated.
47485 2012-06-21  Andreas Jaeger  <aj@suse.de>
47487         [BZ #12194]
47488         * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
47489         warning.
47490         * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
47491         * bits/byteswap-16.h (__bswap_16): Likewise.
47492         * bits/byteswap.h (__bswap_constant_16): Likewise.
47494 2012-06-18  H.J. Lu  <hongjiu.lu@intel.com>
47496         [BZ #14117]
47497         * sysdeps/i386/fpu_control.h: Removed.
47498         * sysdeps/x86_64/fpu_control.h: Moved to ...
47499         * sysdeps/x86/fpu_control.h: Here.
47501         * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
47502         (_FPU_SETCW): Likewise.
47504 2012-06-15  H.J. Lu  <hongjiu.lu@intel.com>
47506         [BZ #14117]
47507         * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
47508         * sysdeps/x86/fpu/bits/mathinline.h: This.
47509         * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
47511         [BZ #14050]
47512         [BZ #14117]
47513         * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
47514         functions if __x86_64__ is defined.
47516 2012-06-15  Chung-Lin Tang  <cltang@codesourcery.com>
47518         * string/endian.h: Add !__ASSEMBLER__ condition for including
47519         conversion interfaces.
47521 2012-06-15  Joseph Myers  <joseph@codesourcery.com>
47523         [BZ #14241]
47524         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
47525         of ABS(x) in calculating zero to negative powers other than odd
47526         integers.
47527         * math/libm-test.inc (pow_test): Add more tests.
47529 2012-06-15  Andreas Jaeger  <aj@suse.de>
47531         * manual/contrib.texi (Contributors): Update entry of Liubov
47532         Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
47533         Machado Filho.
47535 2012-06-15  Cyril Hrubis  <metan@ucw.cz>
47537         * string/string.h: Add __wur to GNU version of strerror_r.
47539 2012-06-14  H.J. Lu  <hongjiu.lu@intel.com>
47541         [BZ #14229]
47542         * string/Makefile (tests): Add tst-strtok_r.
47543         * string/tst-strtok_r.c: New file.
47544         * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
47545         RAX_LP/RDX_LP on SAVE_PTR.
47547 2012-06-14  Roland McGrath  <roland@hack.frob.com>
47549         * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
47551 2012-06-14  Joseph Myers  <joseph@codesourcery.com>
47553         * libm_test.inc (csqrt_test): Allow more spurious underflow
47554         exceptions.
47555         (j0_test): Likewise.
47556         (j1_test): Likewise.
47557         (y0_test): Likewise.
47558         (y1_test): Likewise.
47560 2012-06-13  Carlos O'Donell  <carlos_odonell@mentor.com>
47562         * po/Makefile (libc.pot): Use UTF-8 charset.
47564 2012-06-13  Paul Pluzhnikov  <ppluzhnikov@google.com>
47566         [BZ #14210]
47567         Suppress sign-conversion warning from FD_SET.
47568         See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
47569         * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
47570         not unsigned long int.
47571         * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
47573 2012-06-12  H.J. Lu  <hongjiu.lu@intel.com>
47575         [BZ #14050]
47576         [BZ #14117]
47577         * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
47578         __extern_always_inline instead of __extern_inline.
47579         (__signbitf): Support __SSE2_MATH__ and C++ namespace.
47580         (__signbit): Likewise.
47581         (__signbitl): Support C++ namespace.
47582         (lrintf): New inline function.
47583         (lrint): Likewise.
47584         (llrintf): Likewise.
47585         (llrint): Likewise.
47586         (fmaxf): Likewise.
47587         (fmax): Likewise.
47588         (fminf): Likewise.
47589         (fmin): Likewise.
47590         (rint): Likewise.
47591         (rintf): Likewise.
47592         (ceil): Likewise.
47593         (ceilf): Likewise.
47594         (floor): Likewise.
47595         (floorf): Likewise.
47596         (nearbyint): Likewise.
47597         (nearbyintf): Likewise.
47599 2012-06-12  Thomas Schwinge  <thomas@codesourcery.com>
47601         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
47602         non-default versions.
47604 2012-06-11  Roland McGrath  <roland@hack.frob.com>
47606         [BZ #14218]
47607         * manual/argp.texi (Argp): Reword argp_parse description slightly.
47609 2012-06-09  Thomas Schwinge  <thomas@codesourcery.com>
47611         * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
47612         (FE_UPWARD, FE_DOWNWARD): Don't define.
47613         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
47614         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
47616         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
47617         reading it.
47618         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
47619         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
47621 2012-06-09  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
47623         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
47624         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
47625         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
47626         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
47628 2012-06-06  H.J. Lu  <hongjiu.lu@intel.com>
47630         [BZ #14117]
47631         * sysdeps/i386/fpu/bits/fenv.h: Removed.
47632         * sysdeps/i386/fpu/Implies: New file.
47633         * sysdeps/x86_64/fpu/Implies: Likewise.
47634         * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
47635         * sysdeps/x86/fpu/bits/fenv.h: This.
47637         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
47638         __SSE_MATH__.
47640 2012-06-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
47642         [BZ #14134]
47643         * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
47644         character 0xffff that matches the last element of the
47645         conversion table.
47647 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47649         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
47650         fmodl commit.
47652 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47654         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
47655         values higher than 25.6283.
47657 2012-06-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47659         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
47660         subnormal exponent extraction and add some __builtin_expect.
47661         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
47662         Fix for subnormal mantissa calculation.
47664 2012-06-04  Mike Frysinger  <vapier@gentoo.org>
47666         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
47667         cpu2 is -1 and errno is not ENOSYS.
47669 2012-06-04  H.J. Lu  <hongjiu.lu@intel.com>
47671         [BZ #14117]
47672         * sysdeps/i386/i486/bits/string.h: Renamed to ...
47673         * sysdeps/x86/bits/string.h: This.
47674         * sysdeps/x86_64/bits/string.h: Removed.
47676         * sysdeps/i386/i486/bits/string.h: Define inline functions only
47677         if not compiling for x86-64, but compiling for >= i486.
47679         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
47680         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
47682         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
47683         New macro from Linux kernel 3.4.0.
47684         (FP_XSTATE_MAGIC2): Likewise.
47685         (FP_XSTATE_MAGIC2_SIZE): Likewise.
47686         (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
47687         (struct _fpx_sw_bytes): New struct.
47688         (struct _xsave_hdr): Likewise.
47689         (struct _ymmh_state): Likewise.
47690         (struct _xstate): Likewise.
47692         * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
47693         * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
47694         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
47695         * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
47696         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
47697         * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
47699         * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
47700         * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
47701         * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
47702         * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
47703         * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
47704         * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
47706 2012-06-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
47708         [BZ #13743]
47709         * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
47710         * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
47711         (sysdep_headers): Include sys/platform/ppc.h.
47712         * sysdeps/powerpc/test-gettimebase.c: Test for
47713         __ppc_get_timebase() to catch future ISA opcode/insn changes.
47714         * manual/Makefile (appendices): Include platform.texi.
47715         * manual/contrib.texi (Contributors): Update @node pointers.
47716         * manual/maint.texi (Maintenance): Likewise.
47717         (Platform): New node.
47718         * manual/platform.texi: New file.  Document the new features.
47720 2012-06-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
47721             Jakub Jelinek  <jakub@redhat.com>
47723         [BZ #14188]
47724         * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
47725         where __builtin_expect is unavailable.
47727 2012-06-03  David S. Miller  <davem@davemloft.net>
47729         * stdlib/longlong.h: Updated from GCC.
47731 2012-06-02  Andreas Schwab  <schwab@linux-m68k.org>
47733         [BZ #14042]
47734         * sysdeps/powerpc/powerpc32/mcount.c: New file.
47735         * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
47736         __mcount_internal.
47737         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
47738         (GLIBC_2.16): Likewise.
47740 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
47742         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
47744 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
47746         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
47747         (default-abi): New variable.
47748         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
47749         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
47750         variable.
47751         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
47752         Likewise.
47753         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
47754         Likewise.
47755         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
47756         Likewise.
47758         * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
47759         definition.  Document in comment.
47761 2012-06-01  David S. Miller  <davem@davemloft.net>
47763         * stdlib/longlong.h: Updated from GCC.
47765 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
47767         [BZ #14117]
47768         * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
47769         Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
47770         sys/debugreg.h sys/io.h here.
47771         * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
47772         sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
47773         sys/io.h.
47774         * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
47775         Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
47776         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
47777         * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
47778         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
47779         * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
47781         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
47782         Define only if __x86_64__ is defined.
47784 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
47786         [BZ #14048]
47787         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
47788         Use int64_t for variable i.
47789         * math/libm-test.inc (fmod_test): Add more tests.
47791         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
47792         z computation is not scheduled after fetestexcept.
47793         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
47794         Use math_force_eval instead of asm to ensure calculation scheduled
47795         before exception test.
47796         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
47797         Ensure a1 + u.d computation is not scheduled after fetestexcept.
47799 2012-06-01  Aurelien Jarno  <aurelien@aurel32.net>
47801         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
47802         computation is not scheduled after fetestexcept.
47804 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
47806         [BZ #14117]
47807         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
47808         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
47810 2012-06-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47812         * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
47813         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
47815 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
47817         [BZ #14117]
47818         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
47819         <bits/wordsize.h>.
47820         (__WCHAR_MIN): Support __WORDSIZE == 64.
47821         (__WCHAR_MAX): Likewise.
47823         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
47824         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
47826         [BZ #14183]
47827         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
47828         Defined with __SWORD_TYPE if __x86_64__ isn't defined.
47830         [BZ #14117]
47831         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
47832         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
47834         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
47835         * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
47837         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
47838         Defined to 1 if __x86_64__ isn't defined.
47839         (_STAT_VER_LINUX_OLD): New.
47840         (st_atime): Remove duplicate.
47841         (st_mtime): Likewise.
47842         (st_ctime): Likewise.
47844 2012-05-31  David S. Miller  <davem@davemloft.net>
47846         * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
47847         entries.
47849 2012-06-01  Andreas Schwab  <schwab@linux-m68k.org>
47851         * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
47852         gen-libm-test.pl.
47854         [BZ #14132]
47855         * elf/dl-reloc.c: Include <_itoa.h>.
47856         (_dl_reloc_bad_type): Remove use of INTUSE.
47857         * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
47858         * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
47859         * stdio-common/psiginfo.c (psiginfo): Likewise.
47860         * stdio-common/psignal.c (psignal): Likewise.
47861         * string/strsignal.c (strsignal): Likewise.
47862         * include/signal.h (_sys_siglist): Declare hidden proto.
47863         * stdio-common/itoa-digits.c: Include <_itoa.h>.  Replace
47864         INTVARDEF with libc_hidden_data_def.
47865         * stdio-common/itoa-udigits.c: Likewise.
47866         * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
47867         (_itoa_lower_digits_internal): Remove declaration.
47868         (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
47869         * sysdeps/gnu/siglist.c (_sys_siglist_internal)
47870         (_sys_sigabbrev_internal): Remove aliases.
47871         (_sys_siglist): Define hidden alias.
47873 2012-05-31  Markus Trippelsdorf  <markus@trippelsdorf.de>
47875         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
47876         bits/sysctl.h.
47878 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
47880         [BZ #14117]
47881         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
47882         * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
47884         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
47885         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
47886         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
47887         * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
47888         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
47889         * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
47891         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
47892         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
47893         * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
47895         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
47896         with __addr.
47897         (insw): Likewise.
47898         (insl): Likewise.
47899         (outsb): Likewise.
47900         (outsw): Likewise.
47901         (outsl): Likewise.
47903         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
47904         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
47905         * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
47907         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
47908         * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
47909         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
47910         * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
47911         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
47912         * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
47914         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
47915         * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
47917         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
47918         * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
47920         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
47921         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
47922         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
47924         * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
47925         * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
47926         to ...
47927         * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
47929         * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
47930         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
47931         * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
47933         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
47934         for x86-64.
47935         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
47937 2012-05-31  Joseph Myers  <joseph@codesourcery.com>
47939         * math/math.h (M_El): Use two more decimal places.
47940         (M_LOG2El): Likewise.
47941         (M_LOG10El): Likewise.
47942         (M_LN2l): Likewise.
47943         (M_LN10l): Likewise.
47944         (M_PIl): Likewise.
47945         (M_PI_2l): Likewise.
47946         (M_PI_4l): Likewise.
47947         (M_1_PIl): Likewise.
47948         (M_2_PIl): Likewise.
47949         (M_2_SQRTPIl): Likewise.
47950         (M_SQRT2l): Likewise.
47951         (M_SQRT1_2l): Likewise.
47953 2012-05-31  David S. Miller  <davem@davemloft.net>
47955         * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
47956         values between float registers.
47957         * sysdeps/sparc/sparc64/memset.S: Likewise.
47958         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
47960 2012-05-31  Mike Frysinger  <vapier@gentoo.org>
47962         * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
47963         -D_FORTIFY_SOURCE=1.
47964         (CPPFLAGS-tst-longjmp_chk.c): Define.
47965         (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
47966         (CPPFLAGS-tst-longjmp_chk2.c): Define.
47967         * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
47968         CFLAGS-tst-wchar-h.c.
47970 2012-05-31  Marek Polacek  <polacek@redhat.com>
47972         [BZ #14132]
47973         * include/mntent.h (__setmntent_internal, __getmntent_r_internal
47974         __endmntent_internal): Remove declaration.
47975         (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
47976         (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
47977         * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
47979 2012-05-30  David S. Miller  <davem@davemloft.net>
47981         * sysdeps/sparc/sparc32/soft-fp/q_util.c
47982         (___Q_simulate_exceptions): Use real FP ops rather than writing
47983         into the %fsr.
47984         * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
47985         Likewise.
47987 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
47989         [BZ #14117]
47990         * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
47991         * sysdeps/x86/bits/xtitypes.h: This.
47993         * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
47994         * sysdeps/x86/bits/wordsize.h: This.
47996         * sysdeps/i386/bits/huge_vall.h: Renamed to ...
47997         * sysdeps/x86/bits/huge_vall.h: This.
47999         * sysdeps/i386/bits/select.h: Removed.
48000         * sysdeps/x86_64/bits/select.h: Renamed to ...
48001         * sysdeps/x86/bits/select.h: This.
48003         * sysdeps/i386/bits/setjmp.h: Removed.
48004         * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
48005         * sysdeps/x86/bits/setjmp.h: This.
48007         * sysdeps/i386/bits/mathdef.h: Removed.
48008         * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
48009         * sysdeps/x86/bits/mathdef.h: This.
48011 2012-05-30  Andreas Schwab  <schwab@linux-m68k.org>
48013         [BZ #14132]
48014         * include/sys/socket.h (__connect_internal)
48015         (__libc_sa_len_internal): Remove declaration.
48016         (__connect, __libc_sa_len): Declare hidden_proto.
48017         (SA_LEN): Remove use of INTUSE.
48018         * socket/connect.c: Add libc_hidden_def.
48019         * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
48020         * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
48021         * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
48022         alias.
48023         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
48024         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
48025         * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
48026         of adding _internal alias.
48028 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
48030         [BZ #14117]
48031         * sysdeps/i386/bits/link.h: Removed.
48032         * sysdeps/i386/bits/linkmap.h: Likewise.
48033         * sysdeps/x86_64/bits/link.h: Renamed to ...
48034         * sysdeps/x86/bits/link.h: This.
48035         * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
48036         * sysdeps/x86/bits/linkmap.h: This.
48038         * sysdeps/i386/bits/endian.h: Removed.
48039         * sysdeps/x86_64/bits/endian.h: Renamed to ...
48040         * sysdeps/x86/bits/endian.h: This.
48042         * sysdeps/i386/bits/byteswap.h: Removed.
48043         * sysdeps/i386/bits/byteswap-16.h: Likewise.
48044         * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
48045         * sysdeps/x86/bits/byteswap.h: This.
48046         * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
48047         * sysdeps/x86/bits/byteswap-16.h: This.
48048         * sysdeps/i386/Implies: Add x86.
48049         * sysdeps/x86_64/Implies: Likewise.
48051 2012-05-30  David S. Miller  <davem@davemloft.net>
48053         * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
48054         (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
48055         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
48056         (FP_TRAPPING_EXCEPTIONS): Define.
48057         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
48058         (FP_TRAPPING_EXCEPTIONS): Define.
48059         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
48060         subnormals only when inexact has been signalled or underflow
48061         exceptions are enabled.
48062         (_FP_PACK_CANONICAL): Likewise.
48064 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
48066         [BZ #14183]
48067         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
48068         Defined with __UWORD_TYPE if __x86_64__ isn't defined.
48070 2012-05-30  Richard Henderson  <rth@twiddle.net>
48072         * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
48073         with #ifndef NOT_IN_libc.
48075         * scripts/abilist.awk: Accept 8 fields.  Handle Alpha functions
48076         marked to avoid plt entry.
48078 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
48080         [BZ #14112]
48081         * Makeconfig (default-abi): New macro.
48082         (abi-includes): Likewise.
48083         ($(common-objpfx)soversions.mk): Remove WORDSIZE check.  Use
48084         $(abi-$(default-abi)-lib-soname) for soname if defined.
48085         ($(common-objpfx)gnu/lib-names.stmp): Generate from
48086         abi-variants.
48087         * Makefile (installed-stubs): Likewise.
48088         * include/stubs-biarch.h: Removed.
48089         * scripts/lib-names.awk: Only handle one library at a time.
48090         * scripts/soversions.awk: Remove WORDSIZE support.
48091         * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
48092         entries.
48093         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
48094         Removed.
48095         (syscall-list-default-condition): Likewise.
48096         (syscall-list-default-condition): Likewise.
48097         (syscall-list-includes): Likewise.
48098         ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
48099         syscall-list-* with abi-*.  Handle undefined abi-variants.
48100         * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
48101         * sysdeps/unix/sysv/linux/i386/Implies: New file.
48102         * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
48103         * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
48104         * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
48105         * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
48106         Removed.
48107         (syscall-list-32-options): Likewise.
48108         (syscall-list-32-condition): Likewise.
48109         (syscall-list-64-options): Likewise.
48110         (syscall-list-64-condition): Likewise.
48111         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
48112         macro.
48113         * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
48114         Renamed to ...
48115         (abi-*): This.
48116         (abi-64-ld-soname): New macro.
48117         * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
48118         * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
48119         Renamed to ...
48120         (abi-*): This.
48121         * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
48122         * sysdeps/x86_64/x32/shlib-versions: Likewise.
48124 2012-05-30  Joseph Myers  <joseph@codesourcery.com>
48126         * sysdeps/unix/sysv/linux/kernel-features.h
48127         (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
48128         * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
48129         include <kernel-features.h>.
48130         [!__NR_ftruncate64]: Remove conditional code.
48131         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
48132         [__NR_ftruncate64]: Make code unconditional.
48133         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
48134         * sysdeps/unix/sysv/linux/truncate64.c: Do not
48135         include <kernel-features.h>.
48136         [!__NR_ftruncate64]: Remove conditional code.
48137         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
48138         [__NR_ftruncate64]: Make code unconditional.
48139         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
48140         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
48141         include <kernel-features.h>.
48142         [!__NR_ftruncate64]: Remove conditional code.
48143         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
48144         [__NR_ftruncate64]: Make code unconditional.
48145         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
48146         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
48147         include <kernel-features.h>.
48148         [!__NR_ftruncate64]: Remove conditional code.
48149         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
48150         [__NR_ftruncate64]: Make code unconditional.
48151         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
48153         * configure.in (libc_cv_fpie): Weaken to a compile test using
48154         LIBC_TRY_CC_OPTION.
48155         * configure: Regenerated.
48157 2012-05-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
48159         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
48160         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
48161         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
48162         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
48163         Refreshed.
48164         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
48165         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
48166         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
48167         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
48168         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
48169         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
48170         Refreshed.
48172 2012-05-27  David S. Miller  <davem@davemloft.net>
48174         * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
48175         (___Q_zero): New.
48176         (__Q_simulate_exceptions): Return void.  Change to simulate
48177         exceptions by writing into the %fsr.
48178         * sysdeps/sparc/sparc64/soft-fp/qp_util.c
48179         (__Qp_handle_exceptions): Likewise.
48180         (numbers): Delete.
48181         * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
48182         __Qp_handle_exceptions.
48183         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
48184         __Qp_handle_exceptions.
48185         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
48186         as unused and give dummy FP_RND_NEAREST initializer.
48187         (FP_INHIBIT_RESULTS): Define.
48188         (___Q_simulate_exceptions): Update declaration.
48189         (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
48190         formatting.
48191         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
48192         as unused and give dummy FP_RND_NEAREST initializer.
48193         (__Qp_handle_exceptions): Update declaration.
48194         (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
48195         formatting.
48197 2012-05-27  Thomas Schwinge  <thomas@codesourcery.com>
48199         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
48200         the temporary FPU control word.
48201         * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
48202         * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
48203         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
48204         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
48205         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
48206         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
48207         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
48208         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
48209         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
48210         * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
48211         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
48213 2012-05-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
48215         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
48216         fields.
48218 2012-05-27  Chung-Lin Tang  <cltang@codesourcery.com>
48220         * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
48221         * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
48222         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
48223         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
48224         Likewise.
48225         * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
48226         * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
48227         Likewise.
48229 2012-05-27  Ulrich Drepper  <drepper@gmail.com>
48231         * po/h.po: Update from translation team.
48233 2012-05-26  Andreas Schwab  <schwab@linux-m68k.org>
48235         * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
48237         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
48238         handling of denormals.
48239         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
48240         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
48241         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
48242         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
48243         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
48244         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
48245         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
48246         Likewise.
48248 2012-05-26  Marek Polacek  <polacek@redhat.com>
48250         [BZ #14152]
48251         * math/libm-test.inc (fma_test): Don't always expect underflow
48252         exception.
48254 2012-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
48256         [BZ #12416]
48257         * elf/tst-execstack.c: Include stackinfo.h.
48258         (do_test): Adjust test case to ensure that pthread_getattr_np
48259         behaviour remains the same after marking stack executable.
48261 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
48263         * sysdeps/unix/sysv/linux/kernel-features.h
48264         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
48265         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
48266         kernel-features.h.
48267         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
48268         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
48269         * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
48270         kernel-features.h.
48271         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
48272         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
48274 2012-05-25  H.J. Lu  <hongjiu.lu@intel.com>
48276         * configure.in: Define the default includes to being none.
48277         * configure: Regenerated.
48279 2012-05-25  Roland McGrath  <roland@hack.frob.com>
48281         * sysdeps/x86_64/__longjmp.S: Add a static probe here.
48282         * sysdeps/x86_64/setjmp.S: Likewise.
48283         * sysdeps/i386/bsd-setjmp.S: Likewise.
48284         * sysdeps/i386/bsd-_setjmp.S: Likewise.
48285         * sysdeps/i386/setjmp.S: Likewise.
48286         * sysdeps/i386/__longjmp.S: Likewise.
48287         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
48288         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
48290         * include/stap-probe.h: New file.
48291         * configure.in: Handle --enable-systemtap.
48292         * configure: Regenerated.
48293         * config.h.in (USE_STAP_PROBE): New #undef.
48294         * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
48295         * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
48296         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
48298 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
48300         [BZ #13717]
48301         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
48302         to 2.4.0 where earlier.
48303         * sysdeps/unix/sysv/linux/configure: Regenerated.
48304         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
48305         <kernel-features.h>.
48306         [__ASSUME_32BITUIDS]: Make code unconditional.
48307         [!__ASSUME_32BITUIDS]: Remove conditional code.
48308         * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
48309         <kernel-features.h>.
48310         [__ASSUME_32BITUIDS]: Make code unconditional.
48311         [!__ASSUME_32BITUIDS]: Remove conditional code.
48312         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
48313         [__ASSUME_32BITUIDS]: Make code unconditional.
48314         (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
48315         * sysdeps/unix/sysv/linux/i386/getegid.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/geteuid.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/getgid.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/getgroups.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/getresgid.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/getresuid.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/getuid.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/lchown.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/msgctl.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/i386/semctl.c: Do not include
48352         <kernel-features.h>.
48353         [__ASSUME_32BITUIDS]: Make code unconditional.
48354         [!__ASSUME_32BITUIDS]: Remove conditional code.
48355         * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
48356         <kernel-features.h>.
48357         [__NR_setresgid] (__setresgid): Do not declare.
48358         [__ASSUME_32BITUIDS]: Make code unconditional.
48359         [!__ASSUME_32BITUIDS]: Remove conditional code.
48360         * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
48361         <kernel-features.h>.
48362         [__NR_setresuid] (__setresuid): Do not declare.
48363         [__ASSUME_32BITUIDS]: Make code unconditional.
48364         [!__ASSUME_32BITUIDS]: Remove conditional code.
48365         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
48366         <kernel-features.h>.
48367         [__ASSUME_32BITUIDS]: Make code unconditional.
48368         [!__ASSUME_32BITUIDS]: Remove conditional code.
48369         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
48370         <kernel-features.h>.
48371         [__ASSUME_32BITUIDS]: Make code unconditional.
48372         [!__ASSUME_32BITUIDS]: Remove conditional code.
48373         * sysdeps/unix/sysv/linux/i386/setgid.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/i386/setgroups.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/i386/setregid.c: Do not include
48382         <kernel-features.h>.
48383         [__ASSUME_32BITUIDS]: Make code unconditional.
48384         [!__ASSUME_32BITUIDS]: Remove conditional code.
48385         * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
48386         <kernel-features.h>.
48387         [__ASSUME_32BITUIDS]: Make code unconditional.
48388         [!__ASSUME_32BITUIDS]: Remove conditional code.
48389         * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
48390         <kernel-features.h>.
48391         [__ASSUME_32BITUIDS]: Make code unconditional.
48392         [!__ASSUME_32BITUIDS]: Remove conditional code.
48393         * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
48394         <kernel-features.h>.
48395         [__ASSUME_32BITUIDS]: Make code unconditional.
48396         [!__ASSUME_32BITUIDS]: Remove conditional code.
48397         * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
48398         <kernel-features.h>.
48399         [__ASSUME_32BITUIDS]: Make code unconditional.
48400         [!__ASSUME_32BITUIDS]: Remove conditional code.
48401         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
48402         <kernel-features.h>.
48403         [__ASSUME_32BITUIDS]: Make code unconditional.
48404         [!__ASSUME_32BITUIDS]: Remove conditional code.
48405         * sysdeps/unix/sysv/linux/kernel-features.h
48406         (__ASSUME_SETRESUID_SYSCALL): Remove.
48407         (__ASSUME_SETRESGID_SYSCALL): Likewise.
48408         (__ASSUME_32BITUIDS): Likewise.
48409         (__ASSUME_LDT_WORKS): Likewise.
48410         (__ASSUME_O_DIRECTORY): Likewise.
48411         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
48412         architecture but not kernel version.
48413         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
48414         (__ASSUME_MMAP2_SYSCALL): Likewise.
48415         (__ASSUME_STAT64_SYSCALL): Likewise.
48416         (__ASSUME_IPC64): Likewise.
48417         * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
48418         <kernel-features.h>.
48419         [__ASSUME_32BITUIDS]: Make code unconditional.
48420         [!__ASSUME_32BITUIDS]: Remove conditional code.
48421         * sysdeps/unix/sysv/linux/opendir.c: Do not include
48422         <kernel-features.h>.
48423         [__ASSUME_O_DIRECTORY]: Make code unconditional.
48424         * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
48425         132096]: Remove conditional code.
48426         [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
48427         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
48428         <kernel-features.h>.
48429         [__ASSUME_32BITUIDS]: Make code unconditional.
48430         [!__ASSUME_32BITUIDS]: Remove conditional code.
48431         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
48432         <kernel-features.h>.
48433         [__ASSUME_32BITUIDS]: Make code unconditional.
48434         [!__ASSUME_32BITUIDS]: Remove conditional code.
48435         * sysdeps/unix/sysv/linux/setegid.c: Do not include
48436         <kernel-features.h>.
48437         [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
48438         unconditional.
48439         (__setresgid): Do not declare.
48440         [__ASSUME_32BITUIDS]: Make code unconditional.
48441         [!__ASSUME_32BITUIDS]: Remove conditional code.
48442         * sysdeps/unix/sysv/linux/seteuid.c: Do not include
48443         <kernel-features.h>.
48444         [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
48445         unconditional.
48446         (__setresuid): Do not declare.
48447         [__ASSUME_32BITUIDS]: Make code unconditional.
48448         [!__ASSUME_32BITUIDS]: Remove conditional code.
48449         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
48450         <kernel-features.h>.
48451         [__ASSUME_32BITUIDS]: Make code unconditional.
48452         [!__ASSUME_32BITUIDS]: Remove conditional code.
48453         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
48454         <kernel-features.h>.
48455         [__ASSUME_32BITUIDS]: Make code unconditional.
48456         [!__ASSUME_32BITUIDS]: Remove conditional code.
48458 2012-05-25  Richard Henderson  <rth@twiddle.net>
48460         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
48461         dl_hwcap to ifunc resolver.
48462         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
48463         elf_ifunc_invoke.
48464         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
48465         dl_hwcap to ifunc resolver.
48466         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
48468 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
48470         [BZ #14153]
48471         * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
48472         for |x| <= 2**-26, not 2**-57.
48473         * math/libm-test.inc (acos_test): Do not allow spurious underflow
48474         exception.
48476 2012-05-24  Jeff Law  <law@redhat.com>
48478         * stdio-common/Makefile (tests): Add bug25.
48479         * stdio-common/bug25.c: New test.
48481 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
48483         [BZ #13576]
48484         * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
48485         multiple of MALLOC_ALIGNMENT in size.
48486         (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
48488 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
48490         * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
48491         Require >= 256.
48492         (FILENAME_MAX): Use macro-int-constant.
48493         (FOPEN_MAX): Use macro-int-constant.  Require >= 8.
48494         (_IOFBF): Use macro-int-constant.
48495         (_IOLBF): Likewise.
48496         (_IONBF): Likewise.
48497         (SEEK_CUR): Likewise.
48498         (SEEK_END): Likewise.
48499         (SEEK_SET): Likewise.
48500         (TMP_MAX): Likewise.
48501         (EOF): Use macro-int-constant.  Require < 0.
48502         (NULL): Use macro-constant.  Require == 0.
48503         (stdin): Require type to be FILE *.
48504         (stdout): Likewise.
48505         (stderr): Likewise.
48506         * conform/data/stdlib.h-data (EXIT_FAILURE): Use
48507         macro-int-constant.
48508         (EXIT_SUCCESS): Likewise.
48509         (NULL): Use macro-constant.  Require == 0.
48510         (RAND_MAX): Use macro-int-constant.
48511         [ISO99 || ISO11] (lldiv_t): Require also for these standards.
48512         [C99-based standards] (strtof): Require function.
48513         [C99-based standards] (strtold): Likewise.
48514         [C99-based standards] (strtoll): Likewise.
48515         [C99-based standards] (strtoull): Likewise.
48516         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
48517         [ISO || ISO99 || ISO11] (limits.h): Likewise.
48518         [ISO || ISO99 || ISO11] (math.h): Likewise.
48519         [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
48520         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
48521         [ISO || ISO99 || ISO11] (*_t): Do not allow.
48523 2012-05-24  Andreas Schwab  <schwab@linux-m68k.org>
48525         [BZ #14132]
48526         * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
48527         * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
48528         * intl/dgettext.c (DCGETTEXT): Likewise.
48529         * intl/gettext.c (DCGETTEXT): Likewise.
48530         * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
48531         * posix/regex_internal.h (gettext): Likewise.
48532         * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
48533         Remove declaration.
48534         * include/argz.h (__argz_count_internal)
48535         (__argz_stringify_internal): Remove declaration.
48536         (__argz_count, __argz_stringify): Declare hidden proto.
48537         * intl/dcgettext.c: Remove use of INTDEF.
48538         * string/argz-count.c: Replace INTDEF with libc_hidden_def.
48539         * string/argz-stringify.c: Likewise.
48540         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
48541         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
48542         Declare hidden proto.
48543         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
48544         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
48545         Declare hidden proto.
48546         * include/stdio.h (__asprintf_internal): Don't declare.
48547         (__asprintf): Don't define as macro.  Declare hidden proto.
48548         * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
48549         (__fsetlocking): Declare hidden proto.
48550         * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
48551         (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
48552         hidden proto.
48553         (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
48554         (_IO_setlinebuf): Remove use of INTUSE.
48555         (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
48556         (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
48557         (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
48558         Remove declaration.
48559         * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
48560         (_IO_do_flush): Remove use of INTUSE.
48561         (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
48562         (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
48563         (_IO_adjust_column, _IO_least_wmarker)
48564         (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
48565         (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
48566         (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
48567         (_IO_default_doallocate, _IO_wdefault_doallocate)
48568         (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
48569         (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
48570         (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
48571         (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
48572         (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
48573         (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
48574         (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
48575         (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
48576         (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
48577         (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
48578         (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
48579         (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
48580         (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
48581         proto.
48582         (_IO_flush_all_internal, _IO_adjust_column_internal)
48583         (_IO_default_uflow_internal, _IO_default_finish_internal)
48584         (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
48585         (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
48586         (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
48587         (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
48588         (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
48589         (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
48590         (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
48591         (_IO_file_xsgetn_internal, _IO_file_stat_internal)
48592         (_IO_file_close_internal, _IO_file_close_it_internal)
48593         (_IO_file_underflow_internal, _IO_file_overflow_internal)
48594         (_IO_file_init_internal, _IO_file_attach_internal)
48595         (_IO_file_fopen_internal, _IO_file_read_internal)
48596         (_IO_file_sync_internal, _IO_file_seek_internal)
48597         (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
48598         (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
48599         (_IO_str_underflow_internal, _IO_str_overflow_internal)
48600         (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
48601         (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
48602         (_IO_list_all_internal, _IO_link_in_internal)
48603         (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
48604         (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
48605         (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
48606         (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
48607         (_IO_do_write_internal, _IO_padn_internal)
48608         (_IO_getline_info_internal, _IO_getline_internal)
48609         (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
48610         (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
48611         (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
48612         (_IO_vfscanf_internal, _IO_vfprintf_internal)
48613         (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
48614         (_IO_init_internal, _IO_un_link_internal): Don't declare.
48615         * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
48616         with libc_hidden_ver, remove use of INTUSE.
48617         * libio/genops.c: Likewise.
48618         * libio/freopen.c: Likewise.
48619         * libio/freopen64.c: Likewise.
48620         * libio/iofclose.c: Likewise.
48621         * libio/iofdopen.c: Likewise.
48622         * libio/iofflush.c: Likewise.
48623         * libio/iofflush_u.c: Likewise.
48624         * libio/iofgets.c: Likewise.
48625         * libio/iofgets_u.c: Likewise.
48626         * libio/iofopen.c: Likewise.
48627         * libio/iofopncook.c: Likewise.
48628         * libio/iofread.c: Likewise.
48629         * libio/iofread_u.c: Likewise.
48630         * libio/ioftell.c: Likewise.
48631         * libio/iofwrite.c: Likewise.
48632         * libio/iogetline.c: Likewise.
48633         * libio/iogets.c: Likewise.
48634         * libio/iogetwline.c: Likewise.
48635         * libio/iopadn.c: Likewise.
48636         * libio/iopopen.c: Likewise.
48637         * libio/ioseekoff.c: Likewise.
48638         * libio/ioseekpos.c: Likewise.
48639         * libio/iosetbuffer.c: Likewise.
48640         * libio/iosetvbuf.c: Likewise.
48641         * libio/ioungetc.c: Likewise.
48642         * libio/ioungetwc.c: Likewise.
48643         * libio/iovdprintf.c: Likewise.
48644         * libio/iovsprintf.c: Likewise.
48645         * libio/iovsscanf.c: Likewise.
48646         * libio/memstream.c: Likewise.
48647         * libio/obprintf.c: Likewise.
48648         * libio/oldfileops.c: Likewise.
48649         * libio/oldiofclose.c: Likewise.
48650         * libio/oldiofdopen.c: Likewise.
48651         * libio/oldiofopen.c: Likewise.
48652         * libio/oldiopopen.c: Likewise.
48653         * libio/oldstdfiles.c: Likewise.
48654         * libio/putc.c: Likewise.
48655         * libio/setbuf.c: Likewise.
48656         * libio/setlinebuf.c: Likewise.
48657         * libio/stdfiles.c: Likewise.
48658         * libio/strops.c: Likewise.
48659         * libio/vasprintf.c: Likewise.
48660         * libio/vscanf.c: Likewise.
48661         * libio/vsnprintf.c: Likewise.
48662         * libio/vswprintf.c: Likewise.
48663         * libio/wfiledoalloc.c: Likewise.
48664         * libio/wfileops.c: Likewise.
48665         * libio/wgenops.c: Likewise.
48666         * libio/wmemstream.c: Likewise.
48667         * libio/wstrops.c: Likewise.
48668         * libio/__fpurge.c: Likewise.
48669         * libio/__fsetlocking.c: Likewise.
48670         * assert/assert.c: Likewise.
48671         * debug/fgets_chk.c: Likewise.
48672         * debug/fgets_u_chk.c: Likewise.
48673         * debug/fread_chk.c: Likewise.
48674         * debug/fread_u_chk.c: Likewise.
48675         * debug/gets_chk.c: Likewise.
48676         * debug/obprintf_chk.c: Likewise.
48677         * debug/vasprintf_chk.c: Likewise.
48678         * debug/vdprintf_chk.c: Likewise.
48679         * debug/vsnprintf_chk.c: Likewise.
48680         * debug/vsprintf_chk.c: Likewise.
48681         * malloc/mtrace.c: Likewise.
48682         * misc/error.c: Likewise.
48683         * misc/syslog.c: Likewise.
48684         * stdio-common/asprintf.c: Likewise.
48685         * stdio-common/fxprintf.c: Likewise.
48686         * stdio-common/getw.c: Likewise.
48687         * stdio-common/isoc99_fscanf.c: Likewise.
48688         * stdio-common/isoc99_scanf.c: Likewise.
48689         * stdio-common/isoc99_vfscanf.c: Likewise.
48690         * stdio-common/isoc99_vscanf.c: Likewise.
48691         * stdio-common/isoc99_vsscanf.c: Likewise.
48692         * stdio-common/printf-prs.c: Likewise.
48693         * stdio-common/printf_fp.c: Likewise.
48694         * stdio-common/printf_fphex.c: Likewise.
48695         * stdio-common/printf_size.c: Likewise.
48696         * stdio-common/putw.c: Likewise.
48697         * stdio-common/scanf.c: Likewise.
48698         * stdio-common/sprintf.c: Likewise.
48699         * stdio-common/tmpfile.c: Likewise.
48700         * stdio-common/vfprintf.c: Likewise.
48701         * stdio-common/vfscanf.c: Likewise.
48702         * stdlib/strfmon_l.c: Likewise.
48703         * sunrpc/openchild.c: Likewise.
48704         * sunrpc/xdr_stdio.c: Likewise.
48705         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
48706         * sysdeps/mach/hurd/tmpfile.c: Likewise.
48708 2012-05-24  Roland McGrath  <roland@hack.frob.com>
48710         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
48712         * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
48713         in the third column, to generate for the shared library an IFUNC
48714         that uses _dl_vdso_vsym.
48715         * Makerules (COMPILE.c, compile-stdin.c): New variables.
48716         * Makeconfig (object-suffixes-noshared): New variable.
48718         * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
48719         (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
48720         (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
48721         (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
48723         [BZ #14132]
48724         * include/sys/time.h (__gettimeofday): Remove macro.
48725         (__gettimeofday, gettimeofday): Add libc_hidden_proto.
48726         * time/gettimeofday.c (__gettimeofday): Remove #undef.
48727         Remove INTDEF.
48728         (__gettimeofday): Add libc_hidden_def.
48729         (gettimeofday): Add libc_hidden_weak.
48730         * sysdeps/mach/gettimeofday.c: Likewise.
48731         * sysdeps/posix/gettimeofday.c: Likewise.
48732         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
48733         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
48734         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
48735         (__gettimeofday_internal): Remove strong_alias.
48736         (__gettimeofday): Add libc_hidden_def.
48737         (gettimeofday): Add libc_hidden_weak.
48738         * sysdeps/unix/syscalls.list (gettimeofday):
48739         Remove __gettimeofday_internal alias.
48741 2012-05-24  Daniel Jacobowitz  <drow@false.org>
48742             H.J. Lu  <hongjiu.lu@intel.com>
48744         [BZ #12495]
48745         * malloc/malloc.c (SMALLBIN_CORRECTION): New.
48746         (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
48747         (largebin_index_32_big): New.
48748         (largebin_index): Use it for 16-byte alignment.
48749         (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ.  Don't update
48750         correction with front_misalign.
48752 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
48754         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
48755         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
48756         Likewise.
48757         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
48758         Likewise.
48759         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
48760         Likewise.
48761         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
48762         Likewise.
48763         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
48764         Likewise.
48765         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
48766         Likewise.
48767         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
48768         Likewise.
48769         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
48770         Likewise.
48771         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
48772         Likewise.
48773         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
48774         Likewise.
48775         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
48776         Likewise.
48777         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
48778         Likewise.
48780         * scripts/data/c++-types-x32-linux-gnu.data: New file.
48781         * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
48783 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
48785         [BZ #10846]
48786         [BZ #14036]
48787         * math/libm-test.inc (exp_test): Add test from bug 14036.
48788         (pow_test): Add test from bug 10846.
48790         * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
48791         and other flags.
48792         (special_function): Do not include flags in test name.
48793         (parse_args): Likewise.
48794         * sysdeps/i386/fpu/libm-test-ulps: Update.
48795         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
48796         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
48797         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
48798         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48800         * math/gen-libm-test.pl (%beautify): Add entries for underflow
48801         exceptions.
48802         * math/libm-test.inc ("Philosophy"): Update comment about
48803         exception testing.
48804         (UNDERFLOW_EXCEPTION): New macro.
48805         (UNDERFLOW_EXCEPTION_OK): Likewise.
48806         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
48807         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
48808         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
48809         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
48810         (INVALID_EXCEPTION_OK): Update value.
48811         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
48812         (OVERFLOW_EXCEPTION_OK): Likewise.
48813         (IGNORE_ZERO_INF_SIGN): Likewise.
48814         (test_exceptions): Handle underflow exceptions.
48815         (acos_test): Update for underflow exception expectations.
48816         (cexp_test): Likewise.
48817         (clog_test): Likewise.
48818         (clog10_test): Likewise.
48819         (csqrt_test): Likewise.
48820         (ctan_test): Likewise.
48821         (ctanh_test): Likewise.
48822         (exp_test): Likewise.
48823         (exp10_test): Likewise.
48824         (exp2_test): Likewise.
48825         (expm1_test): Likewise.
48826         (fma_test): Likewise.
48827         (j0_test): Likewise.
48828         (jn_test): Likewise.
48829         (nexttoward_test): Likewise.
48830         (pow_test): Likewise.
48831         (scalbn_test): Likewise.
48832         (scalbln_test): Likewise.
48833         (tan_test): Likewise.
48834         (y1_test): Likewise.
48835         * sysdeps/i386/fpu/libm-test-ulps: Update.
48836         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48838 2012-05-23  David S. Miller  <davem@davemloft.net>
48840         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
48841         (__libc_sigaction): Remove unused local variables.
48843 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
48845         * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
48847 2012-05-23  Paul Eggert  <eggert@cs.ucla.edu>
48849         mktime: avoid signed integer overflow
48850         * time/mktime.c (__mktime_internal): Do not mishandle the case
48851         where diff == INT_MIN.
48853         mktime: simplify computation of average
48854         * time/mktime.c (ranged_convert): Use new time_t_avg function
48855         instead of rolling our own (probably-slower) code.
48857         mktime: do not assume signed right shift propagates sign bit
48858         * time/mktime.c (isdst_differ): New static function.
48859         (__mktime_internal): No need to normalize tm_isdst now.
48860         (__mktime_internal, not_equal_tm): Use isdst_differ to compare
48861         tm_isdst values.
48863         mktime: merge another wrapv change from gnulib
48864         * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
48865         from some compilers.
48867         mktime: remove incorrect attempt at unusual arithmetics
48868         * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
48869         The code didn't really work on such machines anyway.
48870         (TYPE_MINIMUM): Assume two's complement.
48871         (twos_complement_arithmetic): Verify that long_int and time_t
48872         are two's complement (or unsigned, in the latter case).
48874         mktime: check signed shifts on long_int and time_t, too
48875         * time/mktime.c (SHR): Check that shifts work as desired
48876         on the types long_int and time_t too, as SHR is used on
48877         such types.
48879         mktime: do not assume 'long' is wide enough
48880         * time/mktime.c (verify): Move decl up.
48881         (long_int): New type.
48882         (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
48883         to remove assumption in the code that 'long' is wide enough to
48884         store year values.  This assumption is not true on x32 and on
48885         some non-glibc platforms.
48887         mktime: merge wrapv change from gnulib
48888         * time/mktime.c (WRAPV): New macro.
48889         (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
48890         (guess_time_tm, __mktime_internal): Do not assume that signed
48891         integer overflow wraps around; modern compilers generate code
48892         where this assumption is no longer valid.
48894 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
48896         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
48897         Replace "jmp L(pseudo_end)" with "ret".
48898         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
48899         Likewise.
48901 2012-05-23  Andreas Jaeger  <aj@suse.de>
48903         * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
48904         * sysdeps/unix/sysv/linux/poll.c: Remove file.
48906 2012-05-23  Andreas Jaeger  <aj@suse.de>
48907             Maximilian Attems  <max@stro.at>
48909         * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
48910         New macros.
48912 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
48914         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
48915         code so that pseudo_end is just ret and the stack pointer is
48916         correct also for static library in error case.
48918 2012-05-23  Joseph Myers  <joseph@codesourcery.com>
48920         * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
48921         move to syscalls.list.
48922         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
48923         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
48924         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
48925         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
48927         * manual/install.texi (Running make install): Do not mention Linux
48928         kernel version for which pt_chown is not needed.
48929         (Linux): Do not mention problems with nscd with 2.0 kernels.
48930         * INSTALL: Regenerated.
48932 2012-05-23  Andreas Jaeger  <aj@suse.de>
48934         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
48935         (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
48936         macro.
48937         * sysdeps/unix/sysv/linux/s390/bits/mman.h
48938         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
48939         * sysdeps/unix/sysv/linux/sh/bits/mman.h
48940         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
48941         * sysdeps/unix/sysv/linux/i386/bits/mman.h
48942         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
48943         * sysdeps/unix/sysv/linux/sparc/bits/mman.h
48944         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
48945         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
48946         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
48947         * sysdeps/unix/sysv/linux/bits/in.h
48948         (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
48950 2012-05-22  Roland McGrath  <roland@hack.frob.com>
48952         * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
48953         (PREPARE_VERSION): Just use assert instead, it will be elided
48954         under [NDEBUG] anyway.
48956 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
48958         * sysdeps/unix/sysv/linux/Makefile: Include
48959         $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
48960         (sysdep_routines): Remove sysctl.
48961         * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
48962         * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
48963         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
48964         * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
48965         * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
48967 2012-05-22  Andreas Jaeger  <aj@suse.de>
48969         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
48970         that pseudo_end is just ret and the stack pointer is correct also
48971         for static library in error case.
48973 2012-05-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
48975         [BZ #14122]
48976         * nss/nsswitch.c (defconfig_entries): New variable.
48977         (__nss_database_lookup): Don't leak defconfig entries.
48978         (nss_parse_service_list): Don't leak on error paths.
48979         (free_database_entries): New function.
48980         (free_defconfig): New function.
48981         (free_mem): Move common code to free_database_entries.
48983 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
48985         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
48986         Add arch_prctl.
48987         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
48989         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
48990         (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
48991         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
48992         New macro.
48993         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
48994         (INTERNAL_SYSCALL_TYPES): Likewise.
48995         (LOAD_ARGS_TYPES_[1-6]): Likewise.
48996         (LOAD_REGS_TYPES_[1-6]): Likewise.
48997         (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
48998         (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
49000 2012-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49002         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
49003         copysignl for GLIBC_2_0.
49004         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
49005         finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
49006         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
49007         logbl for GLIBC_2_0.
49008         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
49009         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
49011 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
49013         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
49014         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
49016         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
49017         Use "neg %eax".
49019         * time/mktime.c: Update copyright years.
49021 2012-05-22  Paul Eggert  <eggert@cs.ucla.edu>
49023         mktime: merge comment-quoting-style change from gnulib
49024         * time/mktime.c: Quote 'like this' in comments.
49025         The GNU coding standards suggest that we no longer quote `like this',
49026         as "`" and "'" are typically rendered asymmetrically nowadays.
49027         The typical gnulib style is to quote 'like this' when quoting
49028         code, and "like this" when quoting English.
49030         * time/mktime.c (compile-command): Add "-I.".
49032         mktime: merge mktime-internal.h change from gnulib
49033         * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
49035         mktime: merge time_r change from gnulib
49036         * time/mktime.c [!_LIBC]: Do not include "time_r.h".
49038         mktime: merge DEBUG change from gnulib
49039         * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
49040         case system <time.h> has a #define.
49042         mktime: merge <sys/types.h> change from gnulib
49043         * time/mktime.c: Do not include <sys/types.h>; no longer needed,
49044         since <time.t> is now guaranteed to define time_t.
49046         mktime: merge HAVE_CONFIG_H change from gnulib
49047         * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
49049 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
49051         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
49052         Use "neg %eax".
49054         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
49055         __rlim_t cast.
49056         (struct rusage): Use anonymous union to pad each field to
49057         __syscall_slong_t.
49059 2012-05-21  David S. Miller  <davem@davemloft.net>
49061         * Makefules (o-iterator): Remove .s cases.
49062         (compile-command.s): Delete.
49063         (COMPILE.s): Delete.
49064         * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
49066 2012-05-21  Joseph Myers  <joseph@codesourcery.com>
49068         * configure.in (libc_cv_predef_stack_protector): Only consider
49069         "foobar" and "__stack_chk_fail" lines in libc_undefs.
49070         * configure: Regenerated.
49072 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
49074         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
49075         New macro.  Use R*LP on int and pointer.
49076         (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
49077         * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
49078         * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
49079         * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
49081         * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
49082         [__WORDSIZE_TIME64_COMPAT32] instead of
49083         [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
49084         (struct utmp): Likewise.
49085         * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
49086         * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
49087         Renamed to ...
49088         (__WORDSIZE_TIME64_COMPAT32): This.
49089         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
49090         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
49091         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
49092         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
49093         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
49094         (__WORDSIZE_TIME64_COMPAT32): New macro.
49096 2012-05-21  Andreas Jaeger  <aj@suse.de>
49098         * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
49099         only if [SHARED]. Add prototype for __wcschr_ia32.
49101 2012-05-21  Roland McGrath  <roland@hack.frob.com>
49103         * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
49104         of %rbp unmolested in the jmp_buf while mangling the low bits.
49105         * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
49106         unmolested high bits of %rbp while demangling the low bits.
49107         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
49109 2012-05-21  Andreas Jaeger  <aj@suse.de>
49111         * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
49112         * sunrpc/svc_simple.c: Use it for registerrpc.
49113         * sunrpc/xcrypt.c: Use it for passwd2des.
49115         * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
49117 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
49119         * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
49120         Don't define if [__SYSCALL_WORDSIZE != 32].
49121         * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
49122         New macro.
49124 2012-05-21  Bruno Haible  <bruno@clisp.org>
49125             Andreas Jaeger  <aj@suse.de>
49127         [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
49128         * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
49129         inptr and inend for must_buffer_ch.
49130         * wcsmbs/tst-mbsnrtowcs.c: Remove file.
49131         * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
49132         * stdio-common/Makefile (tests): Remove bug15.
49133         (bug15-ENV): Remove macro.
49134         * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
49135         anymore.
49137 2012-05-19  Andreas Jaeger  <aj@suse.de>
49138             Roland McGrath  <roland@hack.frob.com>
49140         * manual/contrib.texi: Completely rewritten. It contains now an
49141         alphabetical list of contributors and their contributions.
49143 2012-05-21  Richard Henderson  <rth@twiddle.net>
49145         * misc/getauxval.c (__getauxval): Use unsigned long int.
49146         * misc/sys/auxv.h: Include <sys/cdefs.h>.
49147         (getauxval): Use unsigned long int.
49149 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
49151         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
49153 2012-05-21  Roland McGrath  <roland@hack.frob.com>
49155         * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
49156         (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
49157         __alignof__ (long double).
49159 2012-05-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49161         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
49163 2012-05-20  Richard Henderson  <rth@twiddle.net>
49165         * misc/getauxval.c: New file.
49166         * misc/sys/auxv.h: New file.
49167         * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
49168         (routines): Add getauxval.
49169         * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
49170         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
49171         * elf/dl-sysdep.c (_dl_auxv): Remove.
49172         (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
49173         * elf/dl-support.c (_dl_auxv): New variable.
49174         (_dl_aux_init): Initialize it.
49175         * manual/startup.texi (Auxiliary Vector): New node.
49176         * sysdeps/generic/bits/hwcap.h: New file.
49177         * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
49178         * sysdeps/powerpc/sysdep.h: ... here.  Include it.
49179         * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
49180         * sysdeps/sparc/sysdep.h: ... here.  Include it.
49181         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
49182         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
49183         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
49184         Update.
49185         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
49186         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
49187         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
49188         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
49189         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
49190         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
49191         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
49192         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
49194 2012-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49196         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
49198 2012-05-19  David S. Miller  <davem@davemloft.net>
49200         * sysdeps/sparc/fpu/libm-test-ulps: Update.
49202 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
49204         [BZ #14123]
49205         * math/s_ccosh.c: Include <float.h>
49206         (__ccosh): Avoid internal overflow calculating sinh and cosh
49207         values before multiplying by sin and cos values.
49208         * math/s_ccoshf.c: Likewise.
49209         * math/s_ccoshl.c: Likewise.
49210         * math/s_csin.c: Likewise.
49211         * math/s_csinf.c: Likewise.
49212         * math/s_csinl.c: Likewise.
49213         * math/s_csinh.c: Likewise.
49214         * math/s_csinhf.c: Likewise.
49215         * math/s_csinhl.c: Likewise.
49216         * math/libm-test.inc (ccos_test): Add more tests.
49217         (ccosh_test): Likewise.
49218         (csin_test): Likewise.
49219         (csinh_test): Likewise.
49220         * sysdeps/i386/fpu/libm-test-ulps: Update.
49221         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49223 2012-05-19  H.J. Lu  <hongjiu.lu@intel.com>
49225         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
49226         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
49228         * sysdeps/x86_64/x32/_itoa.h: Add comment.
49230 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
49232         * sysdeps/powerpc/soft-fp/Makefile: Remove file.
49233         * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
49234         * sysdeps/powerpc/soft-fp/Versions: Likewise.
49235         * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
49236         * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
49237         * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
49238         * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
49239         * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
49240         * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
49241         * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
49242         * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
49243         * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
49244         * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
49245         * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
49246         * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
49247         * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
49248         * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
49249         * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
49250         * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
49251         * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
49252         * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
49253         * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
49254         * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
49255         * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
49256         * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
49257         * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
49258         * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
49259         * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
49260         * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
49261         * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
49262         * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
49264 2012-05-18  Andreas Jaeger  <aj@suse.de>
49266         * csu/.gitignore: Delete.
49268 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
49270         * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
49271         (timex): Use __syscall_slong_t.
49273 2012-05-18  Andreas Jaeger  <aj@suse.de>
49274             Carlos O'Donell  <carlos_odonell@mentor.com>
49276         * manual/install.texi (Configuring and compiling): Update
49277         description about files modified in the source directory.
49278         * INSTALL: Regenerated.
49280 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
49282         * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
49283         value.  Use "or" to set return value to -1.
49284         * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
49285         negate return value.
49287 2012-05-18  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
49289         * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
49290         (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
49291         failure if the compiler has Graphite support disabled.
49292         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
49293         Likewise.
49294         * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
49295         (CFLAGS-memmove.c): Likewise.
49296         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
49297         Likewise.
49299 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
49301         * sysdeps/x86_64/x32/_itoa.h: New file.
49303         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
49304         getdents system call only if kernel and user dirents have the
49305         same d_ino and d_off.
49307         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
49308         LLONG_MAX != LONG_MAX.
49309         (_itoa_word): Use _ITOA_WORD_TYPE on value.
49310         (_fitoa_word): Likewise.
49312         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
49313         years.
49314         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
49315         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
49316         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
49318         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
49319         include <bits/wordsize.h>.  Check __x86_64__ instead of
49320         __WORDSIZE.
49321         (sigcontext): Use "__uint64_t" instead of "unsigned long int"
49322         if __x86_64__ is defined.  Use anonymous union on fpstate.
49324         * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
49325         anonymous union.
49327 2012-05-18  Andreas Schwab  <schwab@linux-m68k.org>
49329         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
49330         INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
49331         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
49332         Refer to _rtld_local_ro instead of _rtld_global_ro.
49333         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
49334         Likewise.
49335         * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
49336         Likewise.
49337         * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
49338         Likewise.
49339         * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
49340         * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
49341         of _rtld_global, and rtld_progname instead of _dl_argv[0].
49343         [BZ #10882]
49344         * sysdeps/powerpc/powerpc32/dl-machine.c
49345         (__elf_machine_runtime_setup) [PROF]: Don't reference
49346         _dl_prof_resolve.
49348 2012-05-18  Andreas Jaeger  <aj@suse.de>
49350         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
49351         function only available for GCCs before 3.4 since GCC 3.4
49352         introduced a builtin.
49353         (lrint): Likewise.
49354         (llrintf): Likewise.
49355         (llrint): Likewise.
49356         (fmaxf): Likewise.
49357         (fmax): Likewise.
49358         (fminf): Likewise.
49359         (fmin): Likewise.
49360         (rint): Likewise.
49361         (rintf): Likewise.
49362         (nearbyint): Likewise.
49363         (nearbyintf): Likewise.
49364         (ceil): Likewise.
49365         (ceilf): Likewise.
49366         (floor): Likewise.
49367         (floorf): Likewise.
49369 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
49371         * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
49372         on both fields and cast pointer to __syscall_ulong_t.
49374         * bits/types.h (__fsword_t): New type.
49375         * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
49376         sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
49377         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
49378         (__FSWORD_T_TYPE): Likewise.
49379         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
49380         (__FSWORD_T_TYPE): Likewise.
49381         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
49382         (__FSWORD_T_TYPE): Likewise.
49383         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
49384         (__FSWORD_T_TYPE): Likewise.
49385         * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
49386         __SWORD_TYPE with __fsword_t.
49387         (statfs64): Likewise.
49389 2012-05-17  David S. Miller  <davem@davemloft.net>
49391         * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
49393 2012-05-17  Andreas Jaeger  <aj@suse.de>
49395         * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
49396         warning.
49398 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
49400         * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
49402 2012-05-17  Andreas Jaeger  <aj@suse.de>
49404         * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
49405         when it is used.
49407 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
49409         * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
49411 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
49413         * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
49414         * sysdeps/x86_64/tst-mallocalign1.c: New file.
49416 2012-05-17  Andreas Jaeger  <aj@suse.de>
49417             Carlos O'Donell  <carlos_odonell@mentor.com>
49419         [BZ #14059]
49420         * sysdeps/x86_64/multiarch/init-arch.h
49421         (bit_YMM_Usable): Rename to...
49422         (bit_AVX_Usable): ... this.
49423         (bit_FMA4_Usable): New macro.
49424         (bit_XMM_state): New macro.
49425         (bit_YMM_state): New macro.
49426         [__ASSEMBLER__] (index_YMM_Usable): Rename to...
49427         [__ASSEMBLER__] (index_AVX_Usable): ... this.
49428         [__ASSEMBLER__] (index_FMA4_Usable): New macro.
49429         (CPUID_OSXSAVE): New macro.
49430         (CPUID_AVX): New macro.
49431         (CPUID_FMA4): New macro.
49432         (index_YMM_Usable): Rename to...
49433         (index_AVX_Usable): ... this.
49434         (HAS_AVX): Use HAS_ARCH_FEATURE.
49435         (HAS_FMA4): Likewise.
49436         (HAS_YMM_USABLE): Remove.
49437         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
49438         Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
49439         are present.
49440         * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
49441         * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
49442         * sysdeps/x86_64/multiarch/Makefile: Likewise.
49443         * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
49444         * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
49446 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
49448         * math/libm-test.c: Support platforms without multiple rounding modes.
49449         * math/bug-nextafter.c: Support platforms without FP exceptions.
49450         * math/bug-nexttoward.c: Likewise.
49451         * math/test-fenv.c: Likewise.
49452         * math/test-misc.c: Likewise.
49453         * stdlib/bug-getcontext.c: Likewise.
49455 2012-05-17  Andreas Jaeger  <aj@suse.de>
49457         * manual/examples/search.c (critter_cmp): Change signature to
49458         avoid warnings.
49459         * manual/string.texi (Collation Functions): Likewise.
49461 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
49463         * bits/types.h: Fold copyright years.
49464         * bits/typesizes.h: Likewise.
49465         * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
49466         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
49467         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
49468         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
49469         * time/time.h: Likewise.
49471 2012-05-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
49473         [BZ #208]
49474         * malloc.c (int_mallinfo): Add parameter to accumulate statistics
49475         in instead of returning them.  Return void.
49476         (__libc_mallinfo): Accumulate over all arenas.
49477         (__malloc_stats): Adjust for change in int_mallinfo interface.
49479 2012-05-16  Roland McGrath  <roland@hack.frob.com>
49481         [BZ #10375]
49482         * configure.in (NM): Add AC_CHECK_TOOL for it.
49483         (libc_extra_cflags): New substituted variable.
49484         Check for -fstack-protector being used implicitly.
49485         * configure: Regenerated.
49486         * config.make.in (config-extra-cflags): New variable,
49487         gets @libc_extra_cflags@.
49488         * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
49490         [BZ #10375]
49491         * configure.in: Check for _FORTIFY_SOURCE being predefined.
49492         (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
49493         * configure: Regenerated.
49494         * config.make.in (CPPUNDEFS): New substituted variable.
49495         * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
49496         * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
49497         * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
49499 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
49501         * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
49502         (mq_attr): Use __syscall_slong_t.
49504 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
49506         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
49507         Check __x86_64__ instead of __WORDSIZE.
49508         (_STAT_VER_LINUX): Likewise.
49509         (stat): Check __x86_64__ instead of __WORDSIZE.  Use
49510         __syscall_ulong_t and __syscall_slong_t.
49511         (stat64): Likewise.
49513 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
49515         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
49517 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
49519         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
49521 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
49523         * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
49524         __syscall_ulong_t.
49526         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
49527         include <bits/wordsize.h>.  Check __x86_64__ instead of
49528         __WORDSIZE.
49529         (greg_t): Use "__extension__ long long int" if __x86_64__ is
49530         defined.
49531         (mcontext_t): Replace "unsigned long" with "unsigned long long".
49533         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
49534         include <bits/wordsize.h>.  Check __x86_64__ instead of
49535         __WORDSIZE.
49536         (user_regs_struct): Use "__extension__ unsigned long long"
49537         instead of "unsigned long" if __x86_64__ is defined.
49538         (user): Likewise.  Pad after pointer field if __ILP32__ is
49539         defined.
49541 2012-05-16  Joseph Myers  <joseph@codesourcery.com>
49543         * configure.in (makeinfo): Require version 4.5 or later.  Allow
49544         versions 5 to 9.
49545         * configure: Regenerated.
49546         * manual/install.texi (texinfo): Increase version requirement to
49547         4.5 or later.
49548         * INSTALL: Regenerated.
49550         * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
49552 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
49554         * sysdeps/x86_64/x32/gmp-mparam.h: New file.
49556         * sysdeps/x86_64/x32/ffs.c: New file.
49558         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
49559         __syscall_ulong_t.
49560         (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
49561         defined.  Use __syscall_ulong_t.
49562         (shminfo): Use __syscall_ulong_t.
49563         (shm_info): Likewise.
49565         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
49566         __syscall_ulong_t.
49568         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
49569         <bits/wordsize.h>.
49570         (msgqnum_t): Use __syscall_ulong_t.
49571         (msglen_t): Likewise.
49572         (msqid_ds): Check __x86_64__ instead of __WORDSIZE.  Use
49573         __syscall_ulong_t.
49575         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
49576         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
49578         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
49580         * sysdeps/x86_64/x32/divdi3.c: New dummy file.
49581         * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
49583         * sysvipc/sys/msg.h (msgbuf): Replace long int with
49584         __syscall_slong_t.
49586         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
49587         include <bits/wordsize.h>.  Check __x86_64__ instead of
49588         __WORDSIZE.
49590         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
49591         "unsigned long long int" if __x86_64__ is defined.
49592         (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
49594         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
49595         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
49596         (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
49598         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
49599         <stdint.h>.
49600         (GET_PC): Cast to uintptr_t first.
49601         (GET_FRAME): Likewise.
49602         (GET_STACK): Likewise.
49604         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
49605         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
49606         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
49607         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
49608         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
49609         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
49610         * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
49611         * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
49612         * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
49613         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
49614         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
49615         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
49616         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
49617         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
49618         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
49619         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
49620         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
49621         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
49622         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
49623         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
49624         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
49625         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
49626         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
49627         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
49628         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
49629         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
49630         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
49631         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
49632         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
49634 2012-05-16  Andreas Schwab  <schwab@linux-m68k.org>
49636         * Makerules (+depfiles): Also collect depfiles from .oS in
49637         $(extra-objs).
49638         * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
49639         .oS, $(libnldbl-routines)).
49641         * Makerules (native-compile-mkdep-flags): Define.
49642         * sunrpc/Makefile (extra-objs): Add $(addprefix
49643         cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
49644         ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
49645         of $(compile-mkdep-flags).  Depend on $(before-compile) instead of
49646         calling $(make-target-directory).
49648 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
49650         * bits/types.h (__snseconds_t): Removed.
49651         * time/time.h (struct timespec): Replace __snseconds_t with
49652         __syscall_slong_t.
49653         * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
49654         * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
49655         Likewise.
49656         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
49657         (__SNSECONDS_T_TYPE): Likewise.
49658         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
49659         (__SNSECONDS_T_TYPE): Likewise.
49660         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
49661         (__SNSECONDS_T_TYPE): Likewise.
49663 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
49665         * sysdeps/mach/hurd/bits/typesizes.h
49666         (__SYSCALL_SLONG_TYPE): New macro.
49667         (__SYSCALL_ULONG_TYPE): Likewise.
49669 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
49671         * bits/types.h (__syscall_slong_t): New type.
49672         (__syscall_ulong_t): Likewise.
49674         * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
49675         (__SYSCALL_ULONG_TYPE): Likewise.
49676         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
49677         (__SYSCALL_SLONG_TYPE): Likewise.
49678         (__SYSCALL_ULONG_TYPE): Likewise.
49679         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
49680         (__SYSCALL_SLONG_TYPE): Likewise.
49681         (__SYSCALL_ULONG_TYPE): Likewise.
49682         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
49683         (__SYSCALL_SLONG_TYPE): Likewise.
49684         (__SYSCALL_ULONG_TYPE): Likewise.
49686 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
49688         * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
49689         Add sigaltstack-offsets.sym.
49690         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
49691         <sigaltstack-offsets.h>.
49692         (CALL_FAIL): Use RSP_LP to operate on stack.  Use RDI_LP on
49693         longjmp_msg pointer.
49694         (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC.  Use
49695         R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
49696         signal stack.
49697         * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
49699 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
49701         * elf/stackguard-macros.h: Remove file.
49702         * sysdeps/generic/stackguard-macros.h: New file.
49703         * sysdeps/i386/stackguard-macros.h: Likewise.
49704         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
49705         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
49706         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
49707         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
49708         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
49709         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
49710         * sysdeps/x86_64/stackguard-macros.h: Likewise.
49711         * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
49712         <elf/stackguard-macros.h>.
49714         [BZ #14109]
49715         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
49716         __aligned__ in attribute.
49717         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
49718         (gregset_t): Likewise.
49720 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
49722         * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
49723         * sysdeps/x86_64/64/Implies-after: Here.  New file.
49724         * sysdeps/x86_64/x32/Implies-after: New file.
49726 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
49728         * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
49729         and access return value for _dl_profile_fixup.  Use R10_LP to
49730         load frame size.
49732 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
49734         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
49736 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
49738         * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
49739         * sysdeps/x86_64/x32/sysdep.h: New file.
49741 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
49743         * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
49744         * sysdeps/x86_64/setjmp.S: Likewise.
49746 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49748         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
49749         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
49750         * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
49751         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
49752         remove unused global constant.
49754 2012-05-15  Chris Metcalf  <cmetcalf@tilera.com>
49756         * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
49757         include of <not-cancel.h>.
49759 2012-05-15  Roland McGrath  <roland@hack.frob.com>
49761         * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
49763 2012-05-15  Jeff Law  <law@redhat.com>
49764             Andreas Jaeger  <aj@suse.de>
49766         [BZ #13594]
49767         * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
49768         out from...
49769         * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
49770         * nscd/nscd-client.h: Add __nscd_acquire_maplock.
49771         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
49772         code changing __hst_map_handle.map.
49774 2012-05-15  Roland McGrath  <roland@hack.frob.com>
49776         * configure.in (sysnames): Look for Implies-before and Implies-after
49777         files.
49778         * configure: Regenerated.
49780 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
49782         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
49783         8-byte data alignment with LP_SIZE alignment.
49785 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
49787         * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
49788         into R10_LP.
49790 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
49792         * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
49794 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
49796         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
49797         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
49798         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
49799         Likewise.
49800         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
49802 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
49804         * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
49805         (stackinfo_sub_sp): Likewise.
49807 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
49809         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
49810         RAX_LP.
49812 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
49814         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
49815         into R*_LP.
49817 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
49819         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
49820         sizes into R*_LP.
49822 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
49824         * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
49826 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
49828         * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
49829         into R11_LP and load __x86_64_shared_cache_size_half into
49830         R8_LP.
49832 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
49834         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
49835         R8_LP.
49837 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49839         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
49840         logb for POWER7.
49841         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
49842         logbf for POWER7.
49843         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
49844         logbl for POWER7.
49845         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
49846         powerpc32/power7/fpu/s_logb.c via #include.
49847         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
49848         powerpc32/power7/fpu/s_logbf.c via #include.
49849         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
49850         powerpc32/power7/fpu/s_logbl.c via #include.
49852 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
49854         * README.libm: Remove file.
49856 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
49858         * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
49859         count for x32.  Use R*_LP and omit operand-size suffix.
49861 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
49863         * shlib-versions: Move x86_64-.*-linux.* entries to ...
49864         * sysdeps/x86_64/64/shlib-versions: Here.  New file.
49865         * sysdeps/x86_64/x32/shlib-versions: New file.
49867 2012-05-14  Roland McGrath  <roland@hack.frob.com>
49869         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
49870         * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
49871         Use _dl_fatal_printf instead.
49873 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
49875         * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
49876         set if not set by the user.  Do not allow for being unset.
49877         * sysdeps/unix/sysv/linux/configure: Regenerated.
49879 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
49881         * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
49882         the `q' suffix from lea and replace .quad with ASM_ADDR.
49884 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
49886         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
49887         the `q' suffix from xor/rol instructions.  Use $2*LP_SIZE+1
49888         instead of $17.
49889         (PTR_DEMANGLE): Likewise.
49891 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
49893         * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
49894         (LP_OP): Likewise.
49895         (ASM_ADDR): Likewise.
49896         (RAX_LP): Likewise.
49897         (RBP_LP): Likewise.
49898         (RBX_LP): Likewise.
49899         (RCX_LP): Likewise.
49900         (RDI_LP): Likewise.
49901         (RSI_LP): Likewise.
49902         (RSP_LP): Likewise.
49903         (R8_LP): Likewise.
49904         (R9_LP): Likewise.
49905         (R10_LP): Likewise.
49906         (R10_LP): Likewise.
49907         (R11_LP): Likewise.
49908         (R12_LP): Likewise.
49909         (R13_LP): Likewise.
49910         (R14_LP): Likewise.
49911         (R15_LP): Likewise.
49913 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
49915         * sysdeps/x86_64/x32/dl-machine.h: New file.
49917 2012-05-14  Andreas Jaeger  <aj@suse.de>
49919         * manual/Makefile (subdir): Remove export of subdir.
49920         (all): Remove target.
49921         (.PHONY): Remove all from list.
49922         (mkinstalldirs): Remove.
49923         (.PHONY): Remove installdirs from list.
49924         ($(inst_infodir)/libc.info): Use make-target-directory.
49925         (installdirs): Remove.
49926         (subdir_%): Remove.
49927         (glibc-targets): Remove.
49928         (lib): Remove.
49929         (stubs): Remove.
49930         ($(objpfx)stubs ../po/manual.pot): Remove.
49931         ($(objpfx)stamp%): Remove.
49932         (make-target-directory): Remove.
49933         (subdir_install): Remove.
49934         (routines): Remove.
49935         (aux): Remove.
49936         (sources): Remove.
49937         (objects): Remove.
49938         (headers): Remove.
49940         [BZ #13750]
49941         * manual/.gitignore: Remove, it's not needed anymore.
49942         * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
49943         all files in it.
49944         * manual/Makefile (dvi, pdf, info, html): Depend on files in build
49945         directory.
49946         (texis): Renamed to $(objpfx)texis.
49947         (texis-path): New, contains path to generated files.
49948         (chapters.%): Use texis-path for complete path, add extra argument
49949         libc-texinfo.sh.
49950         (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
49951         (libc/index.html, summary.texi): Add $(objpfx) as prefix.
49952         (summary,texi, stamp-summary): Use complete path of
49953         files. Generate files in build dir.
49954         (dir-add.texi): Build in build dir.
49955         (libm-err.texi,stamp-libm-err): Likewise.
49956         (version.texi, stamp-version): Likewise.
49957         (.%c.texi): Likewise.
49958         (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
49959         (mostlyclean): Remove target.
49960         (realclean): Remove target.
49961         (generated): Add new variable with contents from mostlyclean and
49962         realclean, remove entries duplicated in common-mostlyclean, add
49963         stamp-libm-err and stamp-version.
49964         (generated-dirs): Add libc directory.
49965         ($(inst_infodir)/libc.info): Install files from build dir.
49967         * manual/install.texi (Configuring and compiling): Adjust since
49968         the info files are not part of the tar ball anymore.
49970 2012-05-14  Andreas Jaeger  <aj@suse.de>
49972         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
49973         variable.
49975 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
49977         [BZ #13717]
49978         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
49979         to 2.2.0 where earlier.
49980         * sysdeps/unix/sysv/linux/configure: Regenerated.
49981         * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
49982         Remove conditional code.
49983         [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
49984         * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
49985         Remove conditional code.
49986         [!__NR_lchown]: Likewise.
49987         [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
49988         [__NR_lchown]: Likewise.
49989         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
49990         comment referencing __ASSUME_LCHOWN_SYSCALL.
49991         * sysdeps/unix/sysv/linux/i386/sigaction.c
49992         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
49993         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
49994         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
49995         Remove conditional code.
49996         [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
49997         (__protocol_available): Remove #if 0 code.
49998         * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
49999         conditional code.
50000         [__ASSUME_SIOCGIFNAME]: Make code unconditional.
50001         * sysdeps/unix/sysv/linux/kernel-features.h
50002         (__ASSUME_GETCWD_SYSCALL): Don't define.
50003         (__ASSUME_REALTIME_SIGNALS): Likewise.
50004         (__ASSUME_PREAD_SYSCALL): Likewise.
50005         (__ASSUME_PWRITE_SYSCALL): Likewise.
50006         (__ASSUME_POLL_SYSCALL): Likewise.
50007         (__ASSUME_LCHOWN_SYSCALL): Likewise.
50008         (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
50009         non-SPARC.
50010         (__ASSUME_SIOCGIFNAME): Don't define.
50011         (__ASSUME_MSG_NOSIGNAL): Likewise.
50012         (__ASSUME_SENDFILE): Define unconditionally.
50013         (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
50014         * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
50015         conditional code.
50016         [__ASSUME_POLL_SYSCALL]: Make code unconditional.
50017         * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
50018         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
50019         (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
50020         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
50021         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
50022         (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
50023         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
50024         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
50025         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
50026         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
50027         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
50028         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
50029         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
50030         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
50031         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
50032         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
50033         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
50034         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
50035         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
50036         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
50037         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
50038         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
50039         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
50040         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
50041         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
50042         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
50043         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
50044         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
50045         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
50046         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
50047         * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
50048         Remove conditional code.
50049         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
50050         * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
50051         Remove conditional code.
50052         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
50053         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
50054         [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
50055         * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
50056         Remove conditional code.
50057         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
50058         * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
50059         Remove conditional code.
50060         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
50061         * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
50062         Remove conditional code.
50063         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
50064         * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
50065         Remove conditional code.
50066         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
50067         * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
50068         Remove conditional code.
50069         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
50070         * sysdeps/unix/sysv/linux/sh/pwrite64.c
50071         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
50072         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
50073         * sysdeps/unix/sysv/linux/sigaction.c
50074         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
50075         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
50076         * sysdeps/unix/sysv/linux/sigpending.c
50077         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
50078         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
50079         * sysdeps/unix/sysv/linux/sigprocmask.c
50080         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
50081         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
50082         * sysdeps/unix/sysv/linux/sigsuspend.c
50083         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
50084         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
50085         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
50086         (__libc_missing_rt_sigs): Remove.
50087         (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
50088         (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
50089         * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
50090         Remove conditional code.
50091         [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
50092         * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
50093         return 1.
50094         * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
50095         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
50096         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
50097         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
50099 2012-05-14  Andreas Jaeger  <aj@suse.de>
50101         * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
50102         it's not used in glibc.
50103         (__coshm1): Likewise.
50104         (__acosh1p): Likewise.
50105         (__sgn): Likewise.
50107         * manual/string.texi (Copying and Concatenation): Add missing
50108         variable in concat example.
50109         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
50111 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
50113         [BZ #14103]
50114         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
50115         __builtin_clzl with __builtin_clzll.
50117 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
50119         [BZ #14104]
50120         * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
50121         libc_freeres_ptr.
50123 2012-05-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
50125         * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
50126         * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
50127         * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
50128         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
50130 2012-05-14  Mike Frysinger  <vapier@gentoo.org>
50132         * NEWS: Update ia64 info.
50134 2012-05-12  Andreas Schwab  <schwab@linux-m68k.org>
50136         * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
50137         used as bcopy.
50139 2012-05-12  Thomas Schwinge  <thomas@codesourcery.com>
50141         * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
50142         * sysdeps/unix/syscalls.list (dup3): Likewise.
50143         * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
50144         * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
50146 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
50148         * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
50149         "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
50151 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
50153         * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
50154         thread pointer.
50155         (TLS_IE): Use mov/add instead of movq/addq to load thread
50156         pointer.
50157         (TLS_GD_PREFIX): New.
50158         (TLS_GD): Use it.
50160 2012-05-11  David S. Miller  <davem@davemloft.net>
50162         * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
50163         * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
50164         (_FPU_SETCW): Likewise.
50166 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
50168         * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
50169         is 32-byte aligned.
50171 2012-05-11  Andreas Schwab  <schwab@linux-m68k.org>
50173         [BZ #11837]
50174         * iconvdata/gb18030.c: Update tables.
50175         (BODY for FROM_LOOP): Update.  Handle two-byte encoded non-BMP
50176         characters specially.
50177         (BODY for TO_LOOP): Add encoding of missing ranges.
50179 2012-05-11  Thomas Schwinge  <thomas@codesourcery.com>
50181         [BZ #13673]
50182         * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
50183         * sysdeps/mach/hurd/dup3.c: Likewise.
50184         * sysdeps/mach/hurd/readlinkat.c: Likewise.
50185         * sysdeps/powerpc/memmove.c:: Likewise.
50187 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
50189         * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
50190         R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
50192 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
50194         * elf/elf.h (R_X86_64_RELATIVE64): New.
50195         (R_X86_64_NUM): Updated.
50196         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
50197         R_X86_64_RELATIVE64.  Always use Elf64_Addr with R_X86_64_64.
50198         (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
50199         * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
50200         tst-quad1pie tst-quad2pie
50201         (modules-names): Add tst-quadmod1 tst-quadmod2.
50202         ($(objpfx)tst-quad1): New dependency.
50203         ($(objpfx)tst-quad2): Likewise.
50204         ($(objpfx)tst-quad1pie): Likewise.
50205         ($(objpfx)tst-quad2pie): Likewise.
50206         * sysdeps/x86_64/tst-quad1.c: New file.
50207         * sysdeps/x86_64/tst-quad1pie.c: New file.
50208         * sysdeps/x86_64/tst-quad2.c: Likewise.
50209         * sysdeps/x86_64/tst-quad2pie.c: Likewise.
50210         * sysdeps/x86_64/tst-quadmod1.S: Likewise.
50211         * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
50212         * sysdeps/x86_64/tst-quadmod2.S: Likewise.
50213         * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
50215 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
50217         * io/fcntl.h (mode_t, off_t, pid_t): Define types.
50218         (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
50219         * streams/stropts.h (t_scalar_t): Define type.
50221         * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
50222         (_PATH_PRESERVE): Set to "/var/lib".
50223         (_PATH_RWHODIR): Set to "/var/spool/rwho".
50225         * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
50226         instead of int.
50228         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
50229         if __dir_mkfile succeeded.
50231         * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
50232         checking for _hurd_dtablesize.  Unlock it right after having
50233         finished _hurd_dtable allocation.
50235 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
50237         * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
50238         * sysdeps/mach/hurd/configure: Regenerated.
50239         * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
50240         special-casing to...
50241         * sysdeps/gnu/configure.in: ... this new file.
50242         * sysdeps/unix/sysv/linux/configure: Regenerated.
50243         * sysdeps/gnu/configure: New generated file.
50245         * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
50246         for Linux: use nsec instead of usec, as well as:
50247         [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
50248         members of type struct timespec.
50249         [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
50250         New macros.
50251         (struct stat64): Likewise.
50252         (_STATBUF_ST_NSEC): New macro.
50253         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
50255         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
50256         __strtoul_internal rather than strtoul.
50258 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
50260         * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
50261         and reject them.
50263 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
50265         * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
50266         which preserves existing values.
50267         * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
50269 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
50271         * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
50272         TIMEOUT values.  Return EINVAL for NFDS values either negative or
50273         greater than FD_SETSIZE.
50275 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
50277         * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
50278         allocated, call __vm_protect to finish enabling the existing space, and
50279         pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
50280         allocate the remainder.
50282 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
50284         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
50285         address port.  Set ADDR_LEN to 0 when not filling ADDRARG.
50287 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
50289         * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
50290         sysdeps/mach/hurd/readlink.c.
50292         * posix/tst-sysconf.c (posix_options): Only use
50293         _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
50294         _POSIX_SYNCHRONIZED_IO when they are defined
50295         * sysdeps/mach/hurd/bits/posix_opt.h:
50296         (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
50297         (_XOPEN_REALTIME): Undefine macro.
50298         (_XOPEN_REALTIME_THREADS): Undefine macro.
50299         (_XOPEN_SHM): Undefine macro.
50300         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
50301         macro to -1.
50302         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
50303         macro to -1.
50304         (_POSIX_ASYNC_IO): Undefine macro.
50305         (_POSIX_PRIORITIZED_IO): Undefine macro.
50306         (_POSIX_SPIN_LOCKS): Define macro to -1.
50308         * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
50309         SA_NODEFER, SA_RESETHAND.
50310         * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
50311         O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
50312         F_DUPFD_CLOEXEC.
50314 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
50316         * elf/Makefile (pldd-modules): Define unconditionally.
50318 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
50320         * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
50322 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
50324         * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
50325         Return ENOENT when name is empty.
50326         * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
50328 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
50330         * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
50332         * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
50334 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
50336         Fix mlock in all cases except non-readable pages.
50337         * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
50338         instead of VM_PROT_ALL as parameter to __vm_wire function.
50340         * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
50341         (__mkdir): When path is `/', just fail with EEXIST.
50342         * sysdeps/mach/hurd/mkdirat.c: Likewise.
50344 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
50346         * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
50347         <sys/uio.h> (for writev).
50348         * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
50349         and <sys/param.h> (for MIN).
50351 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
50353         * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
50354         REQUESTED_TIME.  Properly set the remaining time and return EINTR
50355         if interrupted.
50357 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
50359         * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
50360         Depend on against $(link-rpcuserlibs).
50362 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
50364         * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
50365         (__libc_stack_end): Do not use attribute_relro.
50366         * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
50367         * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
50368         to libthread-provided value.
50369         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
50370         attribute_relro.
50372 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
50374         [BZ #3748]
50375         * bits/libc-lock.h (__libc_once_get): New macro.
50376         * sysdeps/mach/bits/libc-lock.h: Likewise.
50377         * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
50378         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
50379         instead of using implementation details.
50381         * libio/fileops.c: Unconditionally include <kernel-features.h>.
50382         * libio/freopen.c: Likewise.
50383         * libio/freopen64.c: Likewise.
50384         * misc/syslog.c: Likewise.
50385         * nscd/connections.c: Likewise.
50386         * nscd/netgroupcache.c: Likewise.
50387         * sysdeps/posix/getcwd.c: Likewise.
50389 2012-05-10  Roland McGrath  <roland@hack.frob.com>
50391         * math/w_ilogbf.c: Add #include <limits.h>.
50393 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
50395         * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
50396         path instead of returning without unlocking.
50398         * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
50399         immediate-write ioctls.
50400         * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
50402 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
50404         * sysdeps/mach/hurd/i386/init-first.c (init): Use
50405         __builtin_frame_address instead of making assumptions about the
50406         location of the return address relative to DATA.  Force early load of
50407         the return address.
50408         (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
50409         __builtin_frame_address.
50411         dup3 for GNU Hurd.
50412         * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
50413         * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c.  Evolve it to
50414         implement dup3 and do some further code clean-ups.
50415         * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
50416         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
50418 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
50420         * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
50422         * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
50423         HURD_CRITICAL_END around holding _hurd_dtable_lock.
50424         * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
50425         * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
50426         HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
50427         d->port.lock.
50429         * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
50430         instead of setjmp/longjmp to restore the signal mask.  Call sigsetjmp
50431         when handler == SIG_ERR, not when handler != SIG_ERR.
50433 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
50435         * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
50436         (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
50437         definitions.
50439         accept4 for GNU Hurd.
50440         * include/sys/socket.h (__libc_accept4): New prototype.
50441         * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c.  Evolve it
50442         to implement __libc_accept4.
50443         * sysdeps/mach/hurd/accept.c (accept): Reimplement using
50444         __libc_accept4.
50445         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
50447         * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
50448         * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
50449         * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
50450         signal-defines.sym.
50452 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
50454         * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
50456 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
50458         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
50459         assertion on O_CLOEXEC flag.
50460         * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
50461         * hurd/intern-fd.c: Likewise.
50462         * hurd/port2fd.c: Likewise.
50464 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
50466         [BZ #3906]
50467         * bits/in.h (IPV6_PKTINFO): Define new macro.
50468         (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
50470 2012-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50472         [BZ #13954]
50473         [BZ #13955]
50474         [BZ #13956]
50475         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
50476         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
50477         * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
50478         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
50479         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
50480         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
50481         * math/libm-test.inc (logb_test) : Additional logb tests.
50483 2012-05-09  Andreas Schwab  <schwab@linux-m68k.org>
50484             Andreas Jaeger  <aj@suse.de>
50486         * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
50487         * configure: Regenerated.
50488         * config.h.in (LINK_OBSOLETE_RPC): New macro.
50489         * config.make.in (link-obsolete-rpc): New substituted variable.
50490         * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
50491         libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
50492         * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
50493         (shared-only-routines): Don't set it under [link-obsolete-rpc],
50494         so that libc.a contains the symbols.
50495         * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
50496         * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
50497         * sunrpc/auth_none.c: Likewise.
50498         * sunrpc/auth_unix.c: Likewise.
50499         * sunrpc/authdes_prot.c: Likewise.
50500         * sunrpc/authuxprot.c: Likewise.
50501         * sunrpc/clnt_gen.c: Likewise.
50502         * sunrpc/clnt_perr.c: Likewise.
50503         * sunrpc/clnt_raw.c: Likewise.
50504         * sunrpc/clnt_simp.c: Likewise.
50505         * sunrpc/clnt_tcp.c: Likewise.
50506         * sunrpc/clnt_udp.c: Likewise.
50507         * sunrpc/clnt_unix.c: Likewise.
50508         * sunrpc/des_crypt.c: Likewise.
50509         * sunrpc/des_soft.c: Likewise.
50510         * sunrpc/get_myaddr.c: Likewise.
50511         * sunrpc/key_call.c: Likewise.
50512         * sunrpc/key_prot.c: Likewise.
50513         * sunrpc/netname.c: Likewise.
50514         * sunrpc/pm_getmaps.c: Likewise.
50515         * sunrpc/pm_getport.c: Likewise.
50516         * sunrpc/pmap_clnt.c: Likewise.
50517         * sunrpc/pmap_prot.c: Likewise.
50518         * sunrpc/pmap_prot2.c: Likewise.
50519         * sunrpc/pmap_rmt.c: Likewise.
50520         * sunrpc/publickey.c: Likewise.
50521         * sunrpc/rpc_cmsg.c: Likewise.
50522         * sunrpc/rpc_common.c: Likewise.
50523         * sunrpc/rpc_dtable.c: Likewise.
50524         * sunrpc/rpc_prot.c: Likewise.
50525         * sunrpc/rpc_thread.c: Likewise.
50526         * sunrpc/rtime.c: Likewise.
50527         * sunrpc/svc.c: Likewise.
50528         * sunrpc/svc_auth.c: Likewise.
50529         * sunrpc/svc_raw.c: Likewise.
50530         * sunrpc/svc_run.c: Likewise.
50531         * sunrpc/svc_tcp.c: Likewise.
50532         * sunrpc/svc_udp.c: Likewise.
50533         * sunrpc/svc_unix.c: Likewise.
50534         * sunrpc/svcauth_des.c: Likewise.
50535         * sunrpc/xcrypt.c: Likewise.
50536         * sunrpc/xdr.c: Likewise.
50537         * sunrpc/xdr_array.c: Likewise.
50538         * sunrpc/xdr_float.c: Likewise.
50539         * sunrpc/xdr_intXX_t.c: Likewise.
50540         * sunrpc/xdr_mem.c: Likewise.
50541         * sunrpc/xdr_rec.c: Likewise.
50542         * sunrpc/xdr_ref.c: Likewise.
50543         * sunrpc/xdr_sizeof.c: Likewise.
50544         * sunrpc/xdr_stdio.c: Likewise.
50546 2012-05-10  Roland McGrath  <roland@hack.frob.com>
50548         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
50549         change.  Update copyright years.
50551 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
50553         * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
50555 2012-05-10  Maxim Kuvyrkov  <maxim@codesourcery.com>
50556             Joseph Myers  <joseph@codesourcery.com>
50557             Paul Pluzhnikov  <ppluzhnikov@google.com>
50559         [BZ #14012]
50560         * sunrpc/Makefile [cross-compiling] (headers): Enable additions
50561         requiring rpcgen.
50562         [cross-compiling] (extra-libs): Likewise.
50563         [cross-compiling] (extra-libs-others): Likewise.
50564         [cross-compiling] (librpcsvc-routines): Likewise.
50565         [cross-compiling] (librpcsvc-inhibit-o): Likewise.
50566         [cross-compiling] (omit-deps): Likewise.
50567         (sunrpc-CPPFLAGS): New variable.
50568         (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
50569         (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
50570         (cross-rpcgen-objs): New variable.
50571         (extra-objs): Append $(cross-rpcgen-objs).
50572         ($(cross-rpcgen-objs)): New rule.
50573         ($(objpfx)cross-rpcgen): Likewise.
50574         (rpcgen-cmd): Define to use $(built-program-file).  Expand
50575         comment.
50576         ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
50577         ($(objpfx)x%.stmp): Likewise.
50578         * sunrpc/proto.h [IS_IN_build] (_): Define.
50579         [IS_IN_build] (_libc_intl_domainname): Likewise.
50581 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
50583         * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
50584         Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
50585         and R_X86_64_TPOFF64.
50587 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
50589         * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
50590         sysdeps/unix/sysv/syscalls.list.
50591         (stime): Likewise.
50592         (utime): Likewise.
50593         * sysdeps/unix/sysv/syscalls.list: Remove file.
50595 2012-05-10  Paul Eggert  <eggert@cs.ucla.edu>
50597         [BZ #3440]
50598         * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
50599         (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
50600         (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
50601         (__LC_IDENTIFICATION): Make these macros useful in #if
50602         expressions, as required by C99.
50604 2012-05-10  Andreas Schwab  <schwab@linux-m68k.org>
50606         * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
50607         $(addsuffix .os,$(rpc-compat-routines)).  Move include ../Rules
50608         after this.
50610 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
50612         * stdlib/longlong.h: Updated from GCC.
50614 2012-05-09  Andreas Jaeger  <aj@suse.de>
50616         * nscd/nscd.c (run_modes): Make named enum, reorder so that
50617         default is first entry.
50618         (run_mode): Set type.
50619         (main): Remove informal message about syslog.
50620         (options): Fix typo.
50622         [BZ #14053]
50623         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
50624         to asm.
50625         (lrint): Likewise.
50626         (llrintf): Likewise.
50627         (llrint): Likewise.
50628         (rint): Likewise.
50629         (rintf): Likewise.
50630         (nearbyint): Likewise.
50631         (nearbyintf): Likewise.
50633 2012-05-09  Andreas Jaeger  <aj@suse.de>
50634             Pedro Alves  <palves@redhat.com>
50636         * nscd/nscd.c (run_mode): Use enum.
50637         (main): Cleanup coding style issue.
50639 2012-05-09  Alexandre Oliva  <aoliva@redhat.com>
50640             Andreas Jaeger  <aj@suse.de>
50642         * nscd/nscd.c (go_background): Replaced with...
50643         (run_mode): ... this.
50644         (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
50645         (options): Add -F --foreground.
50646         (main): Implement it.
50647         (parse_opt): Parse it.
50649 2012-05-09  Andreas Jaeger  <aj@suse.de>
50651         [BZ #14083]
50652         * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
50653         !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
50654         -Wconversion warning.
50655         (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
50656         Likewise.
50658 2012-05-09  Joseph Myers  <joseph@codesourcery.com>
50660         * conform/data/locale.h-data (NULL): Use macro-constant.  Require
50661         == 0.
50662         (LC_ALL): Use macro-int-constant.
50663         (LC_COLLATE): Likewise.
50664         (LC_CTYPE): Likewise.
50665         (LC_MESSAGES): Likewise.
50666         (LC_MONETARY): Likewise.
50667         (LC_NUMERIC): Likewise.
50668         (LC_TIME): Likewise.
50669         [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
50670         (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
50671         [ISO || ISO99 || ISO11] (*_t): Do not allow.
50672         * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
50673         Specify type.
50674         [C99-based standards] (float_t): Expect type.
50675         [C99-based standards] (double_t): Expect type.
50676         [C99-based standards] (HUGE_VALF): Use macro-constant.  Specify
50677         type.
50678         [C99-based standards] (HUGE_VALL): Likewise.
50679         [C99-based standards] (INFINITY): Likewise.
50680         [C99-based standards] (NAN): Likewise.
50681         [C99-based standards] (FP_INFINITE): Use macro-int-constant.
50682         [C99-based standards] (FP_NAN): Likewise.
50683         [C99-based standards] (FP_NORMAL): Likewise.
50684         [C99-based standards] (FP_SUBNORMAL): Likewise.
50685         [C99-based standards] (FP_ZERO): Likewise.
50686         [C99-based standards] (FP_FAST_FMA): Use
50687         optional-macro-int-constant.  Specify type.  Require == 1.
50688         [C99-based standards] (FP_FAST_FMAF): Likewise.
50689         [C99-based standards] (FP_FAST_FMAL): Likewise.
50690         [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
50691         [C99-based standards] (FP_ILOGBNAN): Likewise.
50692         [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
50693         Specify type.
50694         [C99-based standards] (MATH_ERREXCEPT): Likewise.
50695         [C99-based standards] (math_errhandling): Specify type.
50696         [ISO99 || ISO11] (signgam): Do not allow.
50697         [non-C99-based standards] (copysignf): Do not allow.
50698         [non-C99-based standards] (exp2f): Likewise.
50699         [non-C99-based standards] (log2f): Likewise.
50700         [non-C99-based standards] (modff): Allow.
50701         [non-C99-based standards] (erff): Do not allow.
50702         [non-C99-based standards] (erfcf): Likewise.
50703         [non-C99-based standards] (gammaf): Likewise.
50704         [non-C99-based standards] (hypotf): Likewise.
50705         [non-C99-based standards] (j0f): Likewise.
50706         [non-C99-based standards] (j1f): Likewise.
50707         [non-C99-based standards] (jnf): Likewise.
50708         [non-C99-based standards] (lgammaf): Likewise.
50709         [non-C99-based standards] (tgammaf): Likewise.
50710         [non-C99-based standards] (y0f): Likewise.
50711         [non-C99-based standards] (y1f): Likewise.
50712         [non-C99-based standards] (ynf): Likewise.
50713         [non-C99-based standards] (isnanf): Likewise.
50714         [non-C99-based standards] (acoshf): Likewise.
50715         [non-C99-based standards] (asinhf): Likewise.
50716         [non-C99-based standards] (atanhf): Likewise.
50717         [non-C99-based standards] (cbrtf): Likewise.
50718         [non-C99-based standards] (expm1f): Likewise.
50719         [non-C99-based standards] (ilogbf): Likewise.
50720         [non-C99-based standards] (log1pf): Likewise.
50721         [non-C99-based standards] (logbf): Likewise.
50722         [non-C99-based standards] (nextafterf): Likewise.
50723         [non-C99-based standards] (remainderf): Likewise.
50724         [non-C99-based standards] (rintf): Likewise.
50725         [non-C99-based standards] (scalbf): Likewise.
50726         [non-C99-based standards] (copysignl): Likewise.
50727         [non-C99-based standards] (exp2l): Likewise.
50728         [non-C99-based standards] (log2l): Likewise.
50729         [non-C99-based standards] (modfl): Allow.
50730         [non-C99-based standards] (erfl): Do not allow.
50731         [non-C99-based standards] (erfcl): Likewise.
50732         [non-C99-based standards] (gammal): Likewise.
50733         [non-C99-based standards] (hypotl): Likewise.
50734         [non-C99-based standards] (j0l): Likewise.
50735         [non-C99-based standards] (j1l): Likewise.
50736         [non-C99-based standards] (jnl): Likewise.
50737         [non-C99-based standards] (lgammal): Likewise.
50738         [non-C99-based standards] (tgammal): Likewise.
50739         [non-C99-based standards] (y0l): Likewise.
50740         [non-C99-based standards] (y1l): Likewise.
50741         [non-C99-based standards] (ynl): Likewise.
50742         [non-C99-based standards] (isnanl): Likewise.
50743         [non-C99-based standards] (acoshl): Likewise.
50744         [non-C99-based standards] (asinhl): Likewise.
50745         [non-C99-based standards] (atanhl): Likewise.
50746         [non-C99-based standards] (cbrtl): Likewise.
50747         [non-C99-based standards] (expm1l): Likewise.
50748         [non-C99-based standards] (ilogbl): Likewise.
50749         [non-C99-based standards] (log1pl): Likewise.
50750         [non-C99-based standards] (logbl): Likewise.
50751         [non-C99-based standards] (nextafterl): Likewise.
50752         [non-C99-based standards] (remainderl): Likewise.
50753         [non-C99-based standards] (rintl): Likewise.
50754         [non-C99-based standards] (scalbl): Likewise.
50755         [ISO || ISO99 || ISO11] (*_t): Do not allow.
50756         [non-C99-based standards] (FP_*): Do not allow.
50757         [C99-based standards] (FP_*): Change to
50758         FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
50759         * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
50760         allow.
50761         * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
50762         (SIG_ERR): Likewise.
50763         [X/Open-based standards] (SIG_HOLD): Likewise.
50764         (SIG_IGN): Likewise.
50765         (SIGABRT): Use macro-int-constant.  Specify type.  Require
50766         positive value.
50767         (SIGFPE): Likewise.
50768         (SIGILL): Likewise.
50769         (SIGINT): Likewise.
50770         (SIGSEGV): Likewise.
50771         (SIGTER): Likewise.
50772         [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
50773         [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
50774         [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
50775         [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
50776         [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
50777         [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
50778         [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
50779         [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
50780         [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
50781         [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
50782         [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
50783         [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
50784         [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
50785         [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
50786         [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
50787         [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
50788         [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
50789         [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
50790         [X/Open-based standards] (SIGTRAP): Likewise.
50791         [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
50792         [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
50793         [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
50794         [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
50795         * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
50796         allow.
50798 2012-05-08  Ian Wienand  <ianw@vmware.com>
50800         [BZ #14080]
50801         * time/tzset.c (__tzset_parse_tz): Update default rules for
50802         daylight time changes in the Energy Policy Act of 2005.
50804 2012-05-09  Andreas Jaeger  <aj@suse.de>
50806         [BZ #13983]
50807         * elf/ldconfig.c (parse_conf): Change string to make clear that
50808         ldconfig only issued a warning if ld.so.conf does not exist.
50810 2012-05-08  David S. Miller  <davem@davemloft.net>
50812         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
50813         movxtod instead of popping the value on the stack.
50815         * sysdeps/sparc/fpu/libm-test-ulps: Update.
50817 2012-05-08  Carlos O'Donell  <carlos_odonell@mentor.com>
50819         * config.h.in: Add HAVE_ARM_PCS_VFP.
50821 2012-05-08  Roland Mc Grath  <roland@hack.frob.com>
50823         [BZ #13979]
50824         * include/features.h: Warn if user requests __FORTIFY_SOURCE
50825         checking but the checks are disabled for any reason.
50827 2012-05-08  H.J. Lu  <hongjiu.lu@intel.com>
50829         * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
50830         and ELF64_R_TYPE with ELFW(R_TYPE).
50832 2012-05-08  Joseph Myers  <joseph@codesourcery.com>
50834         * sysdeps/unix/sysv/syscalls.list (pause): Remove.
50835         (ulimit): Likewise.
50837         * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
50838         (settimeofday): Likewise.
50840 2012-05-08  Mike Frysinger  <vapier@gentoo.org>
50842         * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1.  Add
50843         a struct th_u2 inside the union, and move tu_block/tu_code into
50844         a new th_u3 union of tu_block/tu_code inside of that.  Move
50845         th_data[1] into the th_u2 as tu_data[0].  Change tu_stuff[1] to
50846         tu_stuff[0].  Add a new tu_padding[4] to keep sizeof() the same.
50847         (th_block): Change to th_u1.th_u2.th_u3.tu_block.
50848         (th_code): Change to th_u1.th_u2.th_u3.tu_code.
50849         (th_stuff): Change to th_u1.tu_stuff.
50850         (th_data): Define.
50851         (th_msg): Change to th_u1.th_u2.tu_data.
50853 2012-05-07  David S. Miller  <davem@davemloft.net>
50855         * sysdeps/sparc/fpu/libm-test-ulps: Update.
50857         [BZ #14074]
50858         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
50859         (SETUP_PIC_REG): Use it.
50860         (SETUP_PIC_REG_LEAF): Use it.
50862 2012-05-07  Joseph Myers  <joseph@codesourcery.com>
50864         [BZ #13885]
50865         [BZ #13923]
50866         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
50867         USE_AS_EXPM1L.
50868         (EXPL_FINITE): Likewise.
50869         (FLDLOG): Likewise.
50870         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
50871         * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
50872         e_expl.S.
50873         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
50874         USE_AS_EXPM1L.
50875         (EXPL_FINITE): Likewise.
50876         (FLDLOG): Likewise.
50877         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
50878         * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
50879         e_expl.S.
50880         * math/libm-test.inc (expm1_test): Add more tests.  Do not disable
50881         test of -max_value argument for long double.
50882         * sysdeps/i386/fpu/libm-test-ulps: Update.
50883         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50885 2012-05-06  David S. Miller  <davem@davemloft.net>
50887         * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
50888         quad soft-float symbols whose references which are compiler
50889         generated.
50890         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
50892 2012-05-06  Joseph Myers  <joseph@codesourcery.com>
50894         [BZ #13884]
50895         [BZ #13914]
50896         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
50897         USE_AS_EXP10L.
50898         (EXPL_FINITE): Likewise.
50899         (FLDLOG): Likewise.
50900         (c0): Likewise.
50901         (c1): Likewise.
50902         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
50903         Adjust comments for base varying.
50904         (__expl_finite): Change alias to EXPL_FINITE.
50905         * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
50906         e_expl.S.
50907         * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
50908         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
50909         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
50910         * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
50911         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
50912         USE_AS_EXP10L.
50913         (EXPL_FINITE): Likewise.
50914         (FLDLOG): Likewise.
50915         (c0): Likewise.
50916         (c1): Likewise.
50917         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
50918         Adjust comments for base varying.
50919         (__expl_finite): Change alias to EXPL_FINITE.
50920         * math/libm-test.inc (exp10_test): Add more tests.  Do not disable
50921         tests for bugs.
50922         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
50924         [BZ #14064]
50925         * math/libm-test.inc (check_float_internal): Correct ulp
50926         calculation for subnormal expected results.
50928 2012-05-06  Andreas Jaeger  <aj@suse.de>
50930         * Makeconfig (+math-flags): New, set to -frounding-math.
50931         (+cflags): Add +math-flags so that all of glibc gets compiled with
50932         it.
50934         * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
50936 2012-05-05  Joseph Myers  <joseph@codesourcery.com>
50938         * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
50939         Disable one test.
50941         [BZ #13787]
50942         [BZ #13922]
50943         [BZ #14036]
50944         * sysdeps/i386/fpu/e_expl.S (csat): New constant.
50945         (__ieee754_expl): Allow for and saturate large arguments.
50946         * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
50947         (u_threshold): Likewise.
50948         (__exp): Call __ieee754_exp before checking for overflow and
50949         underflow.
50950         * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
50951         (u_threshold): Likewise.
50952         (__expf): Call __ieee754_expf before checking for overflow and
50953         underflow.
50954         * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
50955         (u_threshold): Likewise.
50956         (__expl): Call __ieee754_expl before checking for overflow and
50957         underflow.
50958         * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
50959         (__ieee754_expl): Allow for and saturate large arguments.
50960         * math/libm-test.inc (exp_test): Add another test.  Do not allow
50961         missing overflow exception on overflow.
50962         (expm1_test): Do not allow missing overflow exception on overflow.
50964         * sysdeps/i386/fpu/e_expl.c: Move to ...
50965         * sysdeps/i386/fpu/e_expl.S: ... here.  Write directly in assembly
50966         rather than using inline asm.
50967         * sysdeps/x86_64/fpu/e_expl.c: Remove file.
50968         * sysdeps/x86_64/fpu/e_expl.S: Copy from
50969         sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
50971         * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
50972         (nice): Likewise.
50973         (poll): Likewise.
50974         (signal): Likewise.
50975         (time): Likewise.
50976         (times): Likewise.
50978 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
50980         * sysdeps/unix/syscalls.list (adjtime): Add entry from
50981         sysdeps/unix/common/syscalls.list.
50982         (fchmod): Likewise.
50983         (fchown): Likewise.
50984         (ftruncate): Likewise.
50985         (getrusage): Likewise.
50986         (gettimeofday): Likewise.
50987         (setpgid): Likewise.
50988         (setregid): Likewise.
50989         (setreuid): Likewise.
50990         (sigaction): Likewise.
50991         (truncate): Likewise.
50992         (vhangup): Likewise.
50993         * sysdeps/unix/common/syscalls.list: Remove file.
50994         * sysdeps/unix/bsd/Implies: Don't include unix/common.
50995         * sysdeps/unix/sysv/linux/Implies: Likewise.
50997 2012-05-04  H.J. Lu  <hongjiu.lu@intel.com>
50999         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
51000         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
51001         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
51002         Moved to ...
51003         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
51004         Here.
51005         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
51006         to ...
51007         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
51008         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
51009         to ...
51010         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
51011         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
51012         to ...
51013         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
51014         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
51015         to ...
51016         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
51017         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
51018         to ...
51019         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
51020         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
51021         to ...
51022         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
51023         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
51024         to ...
51025         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
51026         Here.
51027         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
51028         to ...
51029         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
51030         Here.
51031         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
51032         to ...
51033         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
51034         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
51035         Moved to ...
51036         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
51037         Here.
51038         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
51039         to ...
51040         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
51042 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
51044         * sysdeps/unix/common/bits/dirent.h: Remove file.
51045         * sysdeps/unix/common/bits/fcntl.h: Likewise.
51047         * sysdeps/unix/bsd/bits/dirent.h: Remove file.
51048         * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
51049         * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
51050         * sysdeps/unix/bsd/isatty.c: Likewise.
51051         * sysdeps/unix/bsd/tcdrain.c: Likewise.
51052         * sysdeps/unix/bsd/tcgetattr.c: Likewise.
51053         * sysdeps/unix/bsd/tcsetattr.c: Likewise.
51055 2012-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51057         [BZ #13563]
51058         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
51059         long double comparison inaccuracies.
51060         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
51061         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
51063 2012-05-04  Andreas Schwab  <schwab@linux-m68k.org>
51065         * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
51066         * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
51068 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
51070         [BZ #14049]
51071         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
51072         nonzero digits before rounding a hex value.
51073         * stdlib/tst-strtod.c (tests): Add another test.
51075 2012-05-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
51077         * sysdeps/s390/fpu/libm-test-ulps: Update.
51079 2012-05-03  Andreas Jaeger  <aj@suse.de>
51081         * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
51082         does not get optimized out.
51083         (malloc_opt_barrier): New.
51085 2012-05-03  Andreas Jaeger  <aj@suse.de>
51086             Roland McGrath  <roland@hack.frob.com>
51088         * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
51089         intermediate file deletion.
51090         (generated): Add .symlist files.
51092 2012-05-03  Joseph Myers  <joseph@codesourcery.com>
51094         [BZ #13775]
51095         * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
51096         Redirect under this condition.
51097         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
51098         [__USE_GNU] (__dprintf_chk): Not under this condition.
51099         [__USE_GNU] (__vdprintf_chk): Likewise.
51100         * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
51101         under this condition.
51102         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
51103         [__USE_XOPEN2K8] (dprintf): Define under this condition.
51104         [__USE_XOPEN2K8] (vdprintf): Likewise.
51105         [__USE_GNU] (__dprintf_chk): Not under this condition.
51106         [__USE_GNU] (__vdprintf_chk): Likewise.
51107         [__USE_GNU] (dprintf): Likewise.
51108         [__USE_GNU] (vdprintf): Likewise.
51110 2012-05-03  Roland McGrath  <roland@hack.frob.com>
51112         * elf/Makefile (common-generated): Set this instead of generated for
51113         .dyn, .phdr, .jmprel files.  Remove $(common-objpfx) from the
51114         $(all-built-dso)-derived lists.
51116 2012-05-03  Andreas Jaeger  <aj@suse.de>
51118         * sysdeps/i386/fpu/libm-test-ulps: Update.
51120         * FAQ: Removed.
51121         * FAQ.in: Likewise.
51122         * scripts/gen-FAQ.pl: Likewise.
51123         * manual/install.texi (Installation): Point to online location of
51124         FAQ.
51125         * Makefile (files-for-dist): Remove FAQ.
51126         (FAQ): Remove.
51128 2012-05-02  Allan McRae  <allan@archlinux.org>
51130         * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
51131         (LDFLAGS-reldepmod5.so): Likewise.
51132         (LDFLAGS-reldep6mod1.so): Likewise.
51133         (LDFLAGS-reldep6mod4.so): Likewise.
51134         (LDFLAGS-reldep8mod3.so): Likewise.
51135         (LDFLAGS-unload4mod1.so): Likewise.
51136         (LDFLAGS-unload4mod2.so): Likewise.
51137         (LDFLAGS-tst-initorder): Likewise.
51138         (LDFLAGS-tst-initordera2.so): Likewise.
51139         (LDFLAGS-tst-initordera3.so): Likewise.
51140         (LDFLAGS-tst-initordera4.so): Likewise.
51141         (LDFLAGS-tst-initorderb2.so): Likewise.
51142         (LDFLAGS-noload): Likewise.
51143         (LDFLAGS-next): Likewise.
51144         (LDFLAGS-order2mod1.so): Likewise.
51145         (LDFLAGS-order2mod2.so): Likewise.
51146         (LDFLAGS-tst-initorder2): Likewise.
51147         (LDFLAGS-tst-initorder2a.so): Likewise.
51148         (LDFLAGS-tst-initorder2b.so): Likewise.
51149         (LDFLAGS-tst-initorder2c.so): Likewise.
51150         * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
51152 2012-05-02  David S. Miller  <davem@davemloft.net>
51154         * sysdeps/sparc/fpu/libm-test-ulps: Update.
51156 2012-05-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
51158         [BZ #14055]
51159         * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
51161 2012-05-02  Andreas Jaeger  <aj@suse.de>
51163         * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
51164         since we manipulate rounding mode.
51165         (CPPFLAGS-test-idouble.c): Likewise.
51166         (CPPFLAGS-test-ifloat.c): Likewise.
51167         (CFLAGS-test-ldouble.c): Likewise.
51168         (CFLAGS-test-double.c): Likewise.
51169         (CFLAGS-test-float.c): Likewise.
51170         (CFLAGS-test-misc.c): Likewise.
51171         (CFLAGS-test-test-fenv.c): Likewise.
51173 2012-05-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51175         [BZ #2550]
51176         [BZ #2570]
51177         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
51178         comparisons to determine direction to adjust input.
51180 2012-05-01  Roland McGrath  <roland@hack.frob.com>
51182         * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
51183         output to the target.
51185         * scripts/localplt.awk: New file.
51186         * elf/Makefile ($(objpfx)check-localplt): Target removed.
51187         (check-localplt-CFLAGS): Variable removed.
51188         ($(all-built-dso:=.jmprel)): New static pattern rule.
51189         (generated): Add those targets.
51190         (localplt-built-dso): New variable.
51191         ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
51193         * elf/check-localplt.c: File removed.
51195         * scripts/check-execstack.awk: New file.
51196         * elf/Makefile ($(objpfx)check-execstack): Target removed.
51197         (check-execstack-CFLAGS): Variable removed.
51198         ($(objpfx)check-execstack.h): Target removed.
51199         ($(objpfx)execstack-default): New target.
51200         (generated): Add that instead of check-execstack.h.
51201         ($(all-built-dso:=.phdr)): New static pattern rule.
51202         (generated): Add those targets.
51203         * elf/check-execstack.c: File removed.
51205         * scripts/check-textrel.awk: New file.
51206         * elf/Makefile ($(objpfx)check-textrel): Target removed.
51207         (check-textrel-CFLAGS): Variable removed.
51208         (all-built-dso): Use := to define.o
51209         ($(all-built-dso:=.dyn)): New static pattern rule.
51210         (generated): Add those targets.
51211         ($(objpfx)check-textrel.out): Use the script on the .dyn files.
51212         * config.make.in (READELF): New substituted variable.
51213         * elf/check-textrel.c: File removed.
51215 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
51217         * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
51218         allow.
51219         * conform/data/ctype.h-data [C99-based standards] (isblank):
51220         Expect function.
51221         (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
51222         (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
51223         [ISO || ISO99 || ISO11] (*_t): Do not allow.
51224         * conform/data/errno.h-data (EDOM): Use macro-int-constant.
51225         Specify type.  Require positive value.
51226         (EILSEQ): Likewise.
51227         (ERANGE): Likewise.
51228         [ISO || POSIX] (EILSEQ): Do not expect.
51229         [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
51230         Specify type.  Require positive value.
51231         [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
51232         [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
51233         [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
51234         [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
51235         [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
51236         [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
51237         [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
51238         [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
51239         [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
51240         [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
51241         [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
51242         [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
51243         [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
51244         [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
51245         [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
51246         [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
51247         [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
51248         [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
51249         [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
51250         [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
51251         [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
51252         [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
51253         [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
51254         [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
51255         [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
51256         [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
51257         [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
51258         [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
51259         [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
51260         [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
51261         [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
51262         [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
51263         [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
51264         [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
51265         [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
51266         [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
51267         [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
51268         [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
51269         [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
51270         [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
51271         [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
51272         [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
51273         [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
51274         [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
51275         [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
51276         [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
51277         [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
51278         [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
51279         [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
51280         [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
51281         [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
51282         [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
51283         [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
51284         [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
51285         [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
51286         [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
51287         [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
51288         [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
51289         [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
51290         [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
51291         [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
51292         [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
51293         [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
51294         [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
51295         [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
51296         [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
51297         [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
51298         [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
51299         [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
51300         [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
51301         [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
51302         [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
51303         [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
51304         [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
51305         [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
51306         [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
51307         * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
51308         Require >= 2.
51309         (FLT_ROUNDS): Expect as macro, not constant.
51310         (FLT_MANT_DIG): Use macro-int-constant.
51311         (DBL_MANT_DIG): Likewise.
51312         (LDBL_MANT_DIG): Likewise.
51313         (FLT_DIG): Likewise.
51314         (DBL_DIG): Likewise.
51315         (LDBL_DIG): Likewise.
51316         (FLT_MIN_EXP): Use macro-int-constant.  Require < 0.
51317         (DBL_MIN_EXP): Likewise.
51318         (LDBL_MIN_EXP): Likewise.
51319         (FLT_MAX_EXP): Use macro-int-constant.
51320         (DBL_MAX_EXP): Likewise.
51321         (LDBL_MAX_EXP): Likewise.
51322         (FLT_MAX_10_EXP): Likewise.
51323         (DBL_MAX_10_EXP): Likewise.
51324         (LDBL_MAX_10_EXP): Likewise.
51325         (FLT_MAX): Use macro-constant.
51326         (DBL_MAX): Likewise.
51327         (LDBL_MAX): Likewise.
51328         (FLT_EPSILON): Use macro-constant.  Give upper bound.
51329         (DBL_EPSILON): Likewise.
51330         (LDBL_EPSILON): Likewise.
51331         (FLT_MIN): Likewise.
51332         (DBL_MIN): Likewise.
51333         (LDBL_MIN): Likewise.
51334         [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
51335         [C99-based standards] (FLT_EVAL_METHOD): Likewise.
51336         [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
51337         [ISO11] (FLT_HAS_SUBNORM): Likewise.
51338         [ISO11] (LDBL_HAS_SUBNORM): Likewise.
51339         [ISO11] (DBL_DECIMAL_DIG): Likewise.
51340         [ISO11] (FLT_DECIMAL_DIG): Likewise.
51341         [ISO11] (LDBL_DECIMAL_DIG): Likewise.
51342         [ISO11] (DBL_TRUE_MIN): Use macro-constant.
51343         [ISO11] (FLT_TRUE_MIN): Likewise.
51344         [ISO11] (LDBL_TRUE_MIN): Likewise.
51345         [ISO || ISO99 || ISO11] (*_t): Do not allow.
51346         * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
51347         (SCHAR_MIN): Use macro-int-constant.  Specify type.
51348         (SCHAR_MAX): Likewise.
51349         (UCHAR_MAX): Likewise.
51350         (CHAR_MIN): Likewise.
51351         (CHAR_MAX): Likewise.
51352         (MB_LEN_MAX): Use macro-int-constant.
51353         (SHRT_MIN): Use macro-int-constant.  Specify type.
51354         (SHRT_MAX): Likewise.
51355         (USHRT_MAX): Likewise.
51356         (INT_MAX): Likewise.
51357         (INT_MIN): Use macro-int-constant.  Specify type.  Make upper
51358         bound negative.
51359         (UINT_MAX): Use macro-int-constant.  Specify type.  Suffix lower
51360         bound with "U".
51361         (LONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
51362         bound with "L".
51363         (LONG_MIN): Use macro-int-constant.  Specify type.  Make upper
51364         bound negative.  Suffix upper bound with "L".
51365         (ULONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
51366         bound with "UL".
51367         [C99-based standards] (LLONG_MIN): Use macro-int-constant.
51368         Specify type.
51369         [C99-based standards] (LLONG_MAX): Likewise.
51370         [C99-based standards] (ULLONG_MAX): Likewise.
51371         * conform/data/stddef.h-data (NULL): Use macro-constant.  Require
51372         == 0.
51373         [ISO11] (max_align_t): Require type.
51374         [ISO || ISO99 || ISO11] (*_t): Do not allow.
51376         * conform/conformtest.pl ($CFLAGS_namespace): Define separately
51377         from $CFLAGS, without defining away __attribute__ calls.
51378         (checknamespace): Use $CFLAGS_namespace.
51380         * conform/conformtest.pl (@keywords): Only include C99 keywords
51381         for standards based on C99 or C11.
51383         * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
51384         Disable tests.
51385         * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
51386         UNIX98]: Likewise.
51388         * conform/conformtest.pl: Handle "macro-int-constant" and test for
51389         usability of symbols in #if.
51391         * conform/conformtest.pl: If macro or constant types start
51392         "promoted:", expect the symbol to be of the following type
51393         promoted by the integer promotions.
51395         * conform/conformtest.pl: Parse all "constant" and "macro" lines
51396         in one place.  Also handle "macro-constant".
51398         * conform/conformtest.pl: Only accept expected macro values with
51399         "==".  Parse all "macro" lines in one place.
51400         * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
51402         * conform/conformtest.pl: Handle braced types on "constant" lines
51403         instead of handling "typed-constant".
51404         * conform/data/signal.h-data: Use "constant" instead of
51405         "typed-constant".
51407         * conform/conformtest.pl: Handle "optional-" at start of lines in
51408         one place rather than duplicating several cases.  Handle each
51409         format of "macro" line with initial "optional-".
51411         * conform/conformtest.pl: Only accept expected constant or
51412         optional-constant values with "==".  Parse all "constant" lines in
51413         one place.  Parse all "optional-constant" lines in one place.
51414         * conform/data/cpio.h-data: Use "==" form on "constant" lines.
51415         * conform/data/fmtmsg.h-data: Likewise.
51416         * conform/data/netinet/in.h-data: Likewise.
51417         * conform/data/tar.h-data: Likewise.
51418         * conform/data/limits.h-data: Use "==" form on "constant" and
51419         "optional-constant" lines.
51421         * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
51422         Use -std=c99 for XOPEN2K.
51423         (@knownproblems): Remove.
51424         (newtoken): Don't check %isknown.
51426         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
51427         Do not expect macro.
51428         [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
51429         [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
51430         [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
51431         [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
51432         [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
51433         [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
51434         [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
51435         [XPG3 || XPG4 || UNIX98] (isless): Likewise.
51436         [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
51437         [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
51438         [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
51439         [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
51440         [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
51441         [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
51442         [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
51443         [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
51444         [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
51445         [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
51446         [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
51447         [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
51448         [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
51449         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
51450         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
51451         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
51452         [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
51453         [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
51454         [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
51455         [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
51456         [XPG3 || XPG4 || UNIX98] (log2): Likewise.
51457         [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
51458         [XPG3] (acosh): Likewise.
51459         [XPG3] (asinh): Likewise.
51460         [XPG3] (atanh): Likewise.
51461         [XPG3] (cbrt): Likewise.
51462         [XPG3] (expm1): Likewise.
51463         [XPG3] (ilogb): Likewise.
51464         [XPG3] (log1p): Likewise.
51465         [XPG3] (logb): Likewise.
51466         [XPG3] (nextafter): Likewise.
51467         [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
51468         [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
51469         [XPG3] (remainder): Likewise.
51470         [XPG3] (rint): Likewise.
51471         [XPG3 || XPG4 || UNIX98] (round): Likewise.
51472         [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
51473         [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
51474         [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
51475         [XPG3 || XPG4 || UNIX98] (lround): Likewise.
51476         [XPG3 || XPG4 || UNIX98] (llround): Likewise.
51477         [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
51478         [UNIX98 || XOPEN2K] (scalb): Expect.
51479         [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
51480         [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
51481         [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
51482         [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
51483         [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
51484         [XPG3 || XPG4 || UNIX98] (fma): Likewise.
51485         [XPG3 || XPG4 || UNIX98] (nan): Likewise.
51486         [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
51487         [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
51488         [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
51489         [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
51490         [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
51491         [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
51492         [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
51493         [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
51494         [XPG3 || XPG4 || UNIX98] (expf): Likewise.
51495         [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
51496         [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
51497         [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
51498         [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
51499         [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
51500         [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
51501         [XPG3 || XPG4 || UNIX98] (logf): Likewise.
51502         [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
51503         [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
51504         [XPG3 || XPG4 || UNIX98] (modff): Likewise.
51505         [XPG3 || XPG4 || UNIX98] (powf): Likewise.
51506         [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
51507         [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
51508         [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
51509         [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
51510         [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
51511         [XPG3 || XPG4 || UNIX98] (erff): Likewise.
51512         [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
51513         [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
51514         [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
51515         [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
51516         [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
51517         [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
51518         [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
51519         [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
51520         [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
51521         [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
51522         [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
51523         [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
51524         [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
51525         [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
51526         [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
51527         [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
51528         [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
51529         [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
51530         [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
51531         [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
51532         [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
51533         [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
51534         [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
51535         [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
51536         [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
51537         [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
51538         [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
51539         [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
51540         [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
51541         [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
51542         [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
51543         [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
51544         [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
51545         [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
51546         [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
51547         [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
51548         [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
51549         [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
51550         [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
51551         [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
51552         [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
51553         [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
51554         [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
51555         [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
51556         [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
51557         [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
51558         [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
51559         [XPG3 || XPG4 || UNIX98] (expl): Likewise.
51560         [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
51561         [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
51562         [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
51563         [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
51564         [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
51565         [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
51566         [XPG3 || XPG4 || UNIX98] (logl): Likewise.
51567         [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
51568         [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
51569         [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
51570         [XPG3 || XPG4 || UNIX98] (powl): Likewise.
51571         [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
51572         [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
51573         [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
51574         [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
51575         [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
51576         [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
51577         [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
51578         [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
51579         [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
51580         [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
51581         [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
51582         [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
51583         [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
51584         [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
51585         [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
51586         [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
51587         [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
51588         [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
51589         [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
51590         [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
51591         [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
51592         [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
51593         [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
51594         [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
51595         [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
51596         [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
51597         [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
51598         [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
51599         [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
51600         [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
51601         [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
51602         [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
51603         [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
51604         [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
51605         [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
51606         [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
51607         [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
51608         [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
51609         [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
51610         [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
51611         [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
51612         [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
51613         [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
51614         [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
51615         [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
51617         * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
51618         _XOPEN_SOURCE_EXTENDED for XPG4.
51620         * conform/conformtest.pl: Handle "symbol" lines for allow-header.
51622         * Makeconfig (localtime): Remove variable.
51623         (inst_localtime-file): Likewise.
51625 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
51627         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
51628         Update.
51629         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
51630         Update.
51631         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
51632         Update.
51633         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
51634         Update.
51635         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
51636         Update.
51637         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
51638         Update.
51639         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
51640         Update.
51641         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
51642         Update.
51643         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
51644         Update.
51646 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
51648         [BZ #2550]
51649         [BZ #2570]
51650         * math/s_nexttowardf.c (__nexttowardf): Use floating-point
51651         comparisons to determine direction to adjust input.
51652         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
51653         * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
51654         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
51655         Likewise.
51656         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
51657         Likewise.
51658         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
51659         Likewise.
51660         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
51661         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
51662         Likewise.
51663         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
51664         Likewise.
51665         * math/libm-test.inc (nexttoward_test): Add more tests.
51667 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
51669         [BZ #14040]
51670         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
51671         in version GLIBC_2.1, not GLIBC_2.0.
51672         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
51673         Likewise.
51675 2012-04-30  Joseph Myers  <joseph@codesourcery.com>
51677         [BZ #13942]
51678         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
51679         (1 - x) * (1 + x).
51680         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
51681         * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
51682         * math/libm-test.inc (acos_test): Add more tests.
51683         (asin_test): Likewise.
51684         * sysdeps/i386/fpu/libm-test-ulps: Update.
51685         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51687         [BZ #14034]
51688         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
51689         of square root.
51690         * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
51691         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
51692         * math/libm-test.inc (acos_test_tonearest): New function.
51693         (acos_test_towardzero): Likewise.
51694         (acos_test_downward): Likewise.
51695         (acos_test_upward): Likewise.
51696         (asin_test_tonearest): Likewise.
51697         (asin_test_towardzero): Likewise.
51698         (asin_test_downward): Likewise.
51699         (asin_test_upward): Likewise.
51700         (main): Call the new functions.
51701         * sysdeps/i386/fpu/libm-test-ulps: Update.
51702         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
51704         [BZ #13884]
51705         [BZ #13924]
51706         * math/e_exp10.c: Include <float.h>.
51707         (__ieee754_exp10): Handle underflow here rather than multiplying
51708         large negative argument by M_LN10.
51709         * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
51710         of __ieee754_expf.
51711         * math/e_exp10l.c: Include <float.h>.
51712         (__ieee754_exp10l): Handle underflow here rather than multiplying
51713         large negative argument by M_LN10l.
51714         * math/libm-test.inc (exp10_test): Add another test.  Do not allow
51715         spurious overflow exception on underflow.
51717 2012-04-29  Marek Polacek  <polacek@redhat.com>
51719         * misc/sys/cdefs.h (__attribute_artificial__): New macro.
51720         (__fortify_function): New macro.
51721         (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
51722         * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
51723         __extern_always_inline.
51724         * libio/bits/stdio2.h: Likewise.
51725         * libio/bits/stdio.h: Likewise.
51726         * string/string.h: Likewise.
51727         * string/bits/string3.h: Likewise.
51728         * include/stdio.h: Likewise.
51729         * stdlib/bits/stdlib.h: Likewise.
51730         * stdlib/stdlib.h: Likewise.
51731         * rt/bits/mqueue2.h: Likewise.
51732         * rt/mqueue.h: Likewise.
51733         * posix/bits/unistd.h: Likewise.
51734         * posix/unistd.h: Likewise.
51735         * io/bits/poll2.h: Likewise.
51736         * io/bits/fcntl2.h: Likewise.
51737         * io/fcntl.h: Likewise.
51738         * io/sys/poll.h: Likewise.
51739         * misc/bits/syslog.h: Likewise.
51740         * misc/bits/syslog-ldbl.h: Likewise.
51741         * misc/sys/syslog.h: Likewise.
51742         * socket/bits/socket2.h: Likewise.
51743         * socket/sys/socket.h: Likewise.
51744         * debug/tst-chk1.c: Likewise.
51745         * wcsmbs/bits/wchar2.h: Likewise.
51746         * wcsmbs/bits/wchar-ldbl.h: Likewise.
51747         * wcsmbs/wchar.h: Likewise.
51749 2012-04-29  Andreas Jaeger  <aj@suse.de>
51751         * Makerules (tests): Remove enable-check-abi protection.
51752         (check-abi-warn): Remove.
51753         (check-abi-%): Remove check-abi-warn usage.
51755         * configure.in: Remove check-abi configure option.
51756         * configure: Regenerated.
51757         * config.make.in (enable-check-abi): Remove.
51759 2012-04-28  Andreas Schwab  <schwab@linux-m68k.org>
51761         [BZ #14033]
51762         * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
51763         double functions to double *_finite functions.
51765         [BZ #13941]
51766         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
51767         (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
51768         LDBL_MIN_EXP.
51769         * stdio-common/Makefile (tests): Add tst-sprintf3.
51770         * stdio-common/tst-sprintf3.c: New file.
51772         * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
51773         ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
51775 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
51777         * conform/conformtest.pl: Remove duplicate typed-constant
51778         handling.
51780 2012-04-28  David S. Miller  <davem@davemloft.net>
51782         * Makerules (%.abilist): Add vpath on sysdep_dirs.
51783         (check-abi-%): Remove AWK script prerequisite and explicit
51784         abilist directory.
51785         (check-abi): Rewrite to just diff the symlist with the abilist.
51786         (config-tls, config-abi-config): Delete, no longer used.
51787         (update-abi-%): Remove AWK script and explicit abilist directory.
51788         (update-abi): Rewrite to simply compare and conditionally copy the
51789         symlist and the sysdep abilist file.  Remove update-abi-config
51790         checks.
51791         * abilist/ld.abilist: Remove.
51792         * abilist/libBrokenLocale.abilist: Remove.
51793         * abilist/libanl.abilist: Remove.
51794         * abilist/libcrypt.abilist: Remove.
51795         * abilist/libdl.abilist: Remove.
51796         * abilist/librt.abilist: Remove.
51797         * abilist/libthread_db.abilist: Remove.
51798         * abilist/libutil.abilist: Remove.
51799         * scripts/extract-abilist.awk: Remove.
51800         * scripts/merge-abilist.awk: Remove.
51801         * sysdeps/generic/libcidn.abilist: New file.
51802         * sysdeps/generic/libnss_compat.abilist: New file.
51803         * sysdeps/generic/libnss_db.abilist: New file.
51804         * sysdeps/generic/libnss_dns.abilist: New file.
51805         * sysdeps/generic/libnss_files.abilist: New file.
51806         * sysdeps/generic/libnss_hesiod.abilist: New file.
51807         * sysdeps/generic/libnss_nis.abilist: New file.
51808         * sysdeps/generic/libnss_nisplus.abilist: New file.
51809         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
51810         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
51811         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
51812         file.
51813         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
51814         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
51815         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
51816         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
51817         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
51818         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
51819         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
51820         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
51821         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
51822         file.
51823         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
51824         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
51825         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
51826         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
51827         file.
51828         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
51829         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
51830         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
51831         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
51832         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
51833         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
51834         file.
51835         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
51836         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
51837         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
51838         file.
51839         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
51840         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
51841         New file.
51842         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
51843         New file.
51844         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
51845         New file.
51846         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
51847         New file.
51848         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
51849         New file.
51850         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
51851         New file.
51852         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
51853         New file.
51854         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
51855         New file.
51856         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
51857         New file.
51858         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
51859         New file.
51860         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
51861         New file.
51862         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
51863         New file.
51864         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
51865         New file.
51866         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
51867         file.
51868         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
51869         New file.
51870         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
51871         New file.
51872         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
51873         file.
51874         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
51875         New file.
51876         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
51877         New file.
51878         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
51879         file.
51880         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
51881         New file.
51882         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
51883         New file.
51884         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
51885         New file.
51886         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
51887         New file.
51888         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
51889         New file.
51890         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
51891         New file.
51892         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
51893         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
51894         file.
51895         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
51896         New file.
51897         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
51898         file.
51899         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
51900         file.
51901         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
51902         file.
51903         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
51904         file.
51905         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
51906         file.
51907         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
51908         New file.
51909         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
51910         file.
51911         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
51912         file.
51913         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
51914         New file.
51915         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
51916         file.
51917         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
51918         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
51919         file.
51920         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
51921         New file.
51922         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
51923         file.
51924         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
51925         file.
51926         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
51927         file.
51928         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
51929         file.
51930         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
51931         file.
51932         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
51933         New file.
51934         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
51935         file.
51936         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
51937         file.
51938         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
51939         New file.
51940         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
51941         file.
51942         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
51943         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
51944         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
51945         file.
51946         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
51947         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
51948         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
51949         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
51950         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
51951         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
51952         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
51953         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
51954         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
51955         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
51956         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
51957         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
51958         file.
51959         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
51960         New file.
51961         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
51962         file.
51963         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
51964         file.
51965         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
51966         file.
51967         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
51968         file.
51969         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
51970         file.
51971         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
51972         New file.
51973         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
51974         New file.
51975         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
51976         file.
51977         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
51978         New file.
51979         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
51980         file.
51981         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
51982         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
51983         file.
51984         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
51985         New file.
51986         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
51987         file.
51988         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
51989         file.
51990         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
51991         file.
51992         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
51993         file.
51994         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
51995         file.
51996         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
51997         New file.
51998         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
51999         New file.
52000         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
52001         file.
52002         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
52003         New file.
52004         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
52005         file.
52007 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
52009         * conform/conformtest.pl: Fix typo in handling typed-constant from
52010         allow-header.
52012 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
52014         * README: Cut down references to pre-2.6 Linux kernels and
52015         Linuxthreads.  Update lists of configurations in libc and ports
52016         and sort alphabetically.  Say "or newer" with Linux kernel version
52017         requirements.
52019         * config.h.in [IS_IN_build]: Allow compiling without optimization.
52021 2012-04-27  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
52023         [BZ #887]
52024         * math/libm-test.inc (logb_test_downward): New test to expose
52025         erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
52026         rounding mode.
52028 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
52030         [BZ #14027]
52031         * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
52032         to be done.
52033         * math/fraiseexcpt.c (__feraiseexcept): Likewise.
52034         * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
52036 2012-04-26  Joseph Myers  <joseph@codesourcery.com>
52038         * sysdeps/unix/i386/brk.S: Remove file.
52039         * sysdeps/unix/i386/dl-brk.S: Likewise.
52040         * sysdeps/unix/i386/pipe.S: Likewise.
52041         * sysdeps/unix/i386/sigreturn.S: Likewise.
52042         * sysdeps/unix/i386/syscall.S: Likewise.
52043         * sysdeps/unix/i386/vfork.S: Likewise.
52044         * sysdeps/unix/i386/wait.S: Likewise.
52046         * sysdeps/unix/common/tcsendbrk.c: Move to ...
52047         * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
52049         * configure.in (arm*-none*): Do not allow without
52050         --enable-hacker-mode.
52051         (netbsd*): Remove case setting base_os.
52052         (386bsd*): Likewise.
52053         (freebsd*): Likewise.
52054         (bsdi*): Likewise.
52055         (osf*): Likewise.
52056         (sunos*): Likewise.
52057         (ultrix*): Likewise.
52058         (newsos*): Likewise.
52059         (dynix*): Likewise.
52060         (*bsd*): Likewise.
52061         (sysv*): Likewise.
52062         (isc*): Likewise.
52063         (esix*): Likewise.
52064         (sco*): Likewise.
52065         (minix*): Likewise.
52066         (irix4*): Likewise.
52067         (irix6*): Likewise.
52068         (solaris[2-9]*): Likewise.
52069         (none): Likewise.
52070         * configure: Regenerated.
52072 2012-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52074         [BZ #11521]
52075         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
52076         overflow or cancellation in calculating denominator.
52077         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
52078         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
52079         down expression to avoid unexpected rounding in newer GCCs.
52080         * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
52082 2012-04-26  David S. Miller  <davem@davemloft.net>
52084         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
52085         long-double compat symbols.
52086         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
52087         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
52088         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
52089         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
52090         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
52091         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
52092         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
52093         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
52094         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
52095         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
52096         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
52097         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
52098         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
52100 2012-04-25  David S. Miller  <davem@davemloft.net>
52102         * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
52103         HWCAP_* values only after the memory barriers have been defined.
52104         (atomic_full_barrier): Define.
52105         (atomic_read_barrier): Define.
52106         (atomic_write_barrier): Define.
52108 2012-04-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
52110         * shlib-versions: Add libgcc_s version information.
52111         * sysdeps/generic/libgcc_s.h: Remove.
52112         * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
52113         libgcc_s.h.
52114         * sysdeps/gnu/unwind-resume.c: Likewise.
52115         * scripts/test-installation.pl: Remove libgcc_s from link_libs.
52117 2012-04-25  David S. Miller  <davem@davemloft.net>
52119         * sysdeps/unix/sparc/brk.S: Delete.
52120         * sysdeps/unix/sparc/dl-brk.S: Delete.
52121         * sysdeps/unix/sparc/pipe.S: Delete.
52122         * sysdeps/unix/sparc/sysdep.S: Delete.
52123         * sysdeps/unix/sparc/sysdep.h: Delete.
52124         * sysdeps/unix/sparc/vfork.S: Delete.
52125         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
52126         (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
52127         * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
52128         (ret_ERRVAL, r0, r1, MOVE): Define.
52129         (JUMPTARGET): Remove.
52130         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
52131         sysdeps/unix/sparc/sysdep.h
52132         (ENTRY, END): Remove.
52133         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
52135 2012-04-25  Joseph Myers  <joseph@codesourcery.com>
52137         * Makerules (native-compile): Use $(BUILD_LDFLAGS).
52138         (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
52139         -DIS_IN_build.
52141         * timezone/README: Update upstream location and email address for
52142         tzcode and tzdata.
52143         * timezone/zdump.c: Update from tzcode 2012b.
52144         * timezone/zic.c: Likewise.
52146         * configure.in (libc_cv_as_needed): Remove test.
52147         * configure: Regenerated.
52148         * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
52149         conditional definition.
52150         [$(have-as-needed) != yes] (no-as-needed): Likewise.
52151         [$(have-as-needed) != yes] (libgcc_eh): Likewise.
52152         * config.make.in (have-as-needed): Remove variable.
52154 2012-04-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
52155             Paul Pluzhnikov  <ppluzhnikov@google.com>
52157         * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
52158         strings correctly.
52160 2012-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
52162         * sysdeps/sh/memcpy.S: Remove include of endian.h, change
52163         preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
52164         * sysdeps/sh/strlen.S: Likewise.
52166 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
52168         * sysdeps/unix/fork.S: Remove file.
52169         * sysdeps/unix/i386/fork.S: Likewise.
52170         * sysdeps/unix/sparc/fork.S: Likewise.
52172         * sysdeps/unix/system.c: Remove file.
52173         * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
52175         * sysdeps/unix/getegid.S: Remove file.
52176         * sysdeps/unix/geteuid.S: Likewise.
52178 2012-04-24  Roland McGrath  <roland@hack.frob.com>
52180         * scripts/check-localplt.awk: New file.
52181         * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
52182         of diff.
52183         * scripts/data/localplt-generic.data: Add a comment.
52185         * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
52186         NODE when __dir_mkfile failed.
52187         * sysdeps/mach/hurd/symlinkat.c: Likewise.
52188         Reported by Ludovic Courtès <ludo@gnu.org>.
52190 2012-04-24  Andreas Jaeger  <aj@suse.de>
52192         * Makerules (common-clean): Also remove gen-as-const-headers
52193         files.
52195 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
52197         * Makerules (native-compile): Do not change working directory for
52198         build.  Use $(OUTPUT_OPTION) in command.
52199         (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
52201 2012-04-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52203         [BZ #13886]
52204         * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
52205         sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
52206         * math/libm-test.inc (floor_test): Add more tests.
52207         * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
52209 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
52211         * sysdeps/unix/getdents.c: Remove file.
52212         * sysdeps/unix/sysv/getdents.c: Likewise.
52213         * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
52215         * sysdeps/unix/syscalls.list (madvise): Add syscall from
52216         sysdeps/unix/mman/syscalls.list.
52217         (mmap): Likewise.
52218         (mprotect): Likewise.
52219         (msync): Likewise.
52220         (munmap): Likewise.
52221         * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
52222         * sysdeps/unix/mman/syscalls.list: Remove.
52223         * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
52225         * configure.in (libc_cv_libgcc_s_suffix): Remove test.
52226         (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
52227         * configure: Regenerated.
52228         * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
52229         $(libgcc_s_suffix).
52230         * config.make.in (libgcc_s_suffix): Remove variable.
52232 2012-04-23  Joseph Myers  <joseph@codesourcery.com>
52234         * sysdeps/unix/sysv/gethostname.c: Move to ...
52235         * sysdeps/posix/gethostname.c: ... here.
52237         * sysdeps/unix/execve.S: Remove file.
52239         * sysdeps/unix/_exit.S: Remove file.
52241 2012-04-23  Andreas Jaeger  <aj@suse.de>
52243         [BZ #13739]
52244         * manual/Makefile: Remove make dist support, there's no
52245         need for a stand-alone documentation tar ball.
52246         (TEXI2DVI): Define always, it's not in Makeconfig.
52247         (dist): Removed.
52248         (tar-it): Removed.
52249         (edition): Removed.
52250         (glibc-doc-$(edition).tar): Removed
52251         (%.Z): Removed.
52252         (%.gz): Removed.
52253         (%.uu): Removed.
52254         (ETAGS): Remove, it's in Makeconfig.
52255         (move-if-change): Remove, it's in Makeconfig.
52257 2012-04-23  Paul Eggert  <eggert@cs.ucla.edu>
52259         [BZ #13970]
52260         * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
52261         (strtod, strtof, strtold, strtol, strtoul, strtoq)
52262         (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
52263         (strtod_l, strtof_l, strtold_l): Remove __wur.
52264         It is not necessarily an error to ignore strtol's return value.
52265         One can reliably look at the stored endptr to decide whether
52266         the number had valid syntax.
52268 2012-04-21  Andreas Jaeger  <aj@suse.de>
52270         [BZ #13739]
52271         * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
52273 2012-04-21  Joseph Myers  <joseph@codesourcery.com>
52275         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
52276         * sysdeps/unix/sysv/Versions: Remove file.
52278 2012-04-21  Markus Trippelsdorf  <markus@trippelsdorf.de>
52280         [BZ #13927]
52281         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
52283 2012-04-21  Nick Alcock  <nick.alcock@oracle.com>
52285         [BZ #7064]
52286         * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
52287         version from __vm86.
52289 2012-04-20  Joseph Myers  <joseph@codesourcery.com>
52291         * sysdeps/unix/common/lxstat.c: Remove file.
52292         * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
52294         * sysdeps/unix/sysv/Makefile: Remove file.
52296         * sysdeps/unix/sysv/direct.h: Remove file.
52298         * sysdeps/unix/sysv/bits/dirent.h: Remove file.
52299         * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
52300         * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
52301         * sysdeps/unix/sysv/bits/signum.h: Likewise.
52302         * sysdeps/unix/sysv/bits/stat.h: Likewise.
52303         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
52304         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
52306         * sysdeps/unix/sysv/setrlimit.c: Remove file.
52308         * sysdeps/unix/xmknod.c: Remove file.
52309         * sysdeps/unix/syscalls.list (sys_mknod): Remove.
52311         * sysdeps/unix/sysv/settimeofday.c: Remove file.
52313         * sysdeps/unix/sysv/i386/time.S: Remove file.
52315         * sysdeps/unix/fxstat.c: Remove file.
52316         * sysdeps/unix/xstat.c: Likewise.
52317         * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
52319         * sysdeps/unix/sysv/sigaction.c: Remove file.
52321         * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
52322         (sysdep_headers): Remove variable.
52323         [termio.h not in sysdep_headers] (generated): Likewise.
52324         [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
52325         * sysdeps/unix/sysv/sysv_termio.h: Remove file.
52326         * sysdeps/unix/sysv/tcdrain.c: Likewise.
52327         * sysdeps/unix/sysv/tcflow.c: Likewise.
52328         * sysdeps/unix/sysv/tcflush.c: Likewise.
52329         * sysdeps/unix/sysv/tcgetattr.c: Likewise.
52330         * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
52331         * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
52332         * sysdeps/unix/sysv/tcsetattr.c: Likewise.
52333         * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
52335         * sysdeps/unix/siglist.c: Remove file.
52337         * sysdeps/unix/getppid.S: Remove file.
52339         * sysdeps/unix/mkdir.c: Remove file.
52340         * sysdeps/unix/rmdir.c: Likewise.
52342 2012-04-19  Andreas Schwab  <schwab@linux-m68k.org>
52344         * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
52345         ERR_MAX value.
52346         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
52347         errlist-compat value.
52349 2012-04-18  David S. Miller  <davem@davemloft.net>
52351         * sysdeps/generic/memcopy.h (reg_char): Delete.
52352         * debug/strcat_chk.c: Use char, not reg_char.
52353         * debug/strcpy_chk.c: Likewise.
52354         * debug/strncat_chk.c: Likewise.
52355         * debug/strncpy_chk.c: Likewise.
52356         * string/memchr.c: Likewise.
52357         * string/memrchr.c: Likewise.
52358         * string/rawmemchr.c: Likewise.
52359         * string/strcat.c: Likewise.
52360         * string/strchr.c: Likewise.
52361         * string/strchrnul.c: Likewise.
52362         * string/strcmp.c: Likewise.
52363         * string/strcpy.c: Likewise.
52364         * string/strncat.c: Likewise.
52365         * string/strncmp.c: Likewise.
52366         * string/strncpy.c: Likewise.
52368 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
52370         * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
52371         __builtin_memcopy is called when src and dest ranges are known to not
52372         overlap.
52374 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
52376         * sysdeps/powerpc/powerpc64/power6/wordcopy.c
52377         (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
52378         fwd_align_merge macro call.
52379         (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
52380         bwd_align_merge macro call.
52381         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
52383 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
52385         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
52386         bwd_align_merge macros.
52387         (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
52388         (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
52389         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
52391 2012-04-18  David S. Miller  <davem@davemloft.net>
52393         * sysdeps/sparc/sparc64/memcopy.h: Delete.
52395 2012-04-18  Andreas Jaeger  <aj@suse.de>
52397         [BZ# 6794]
52398         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
52399         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
52400         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
52402         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
52403         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
52404         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
52406         * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
52407         * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
52408         Adjust for changed ldbl-128 files.
52410         * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
52411         * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
52412         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
52414 2012-04-17  David S. Miller  <davem@davemloft.net>
52416         * sysdeps/sparc/sparc32/memcopy.h: Delete.
52418 2012-04-17  Andreas Schwab  <schwab@linux-m68k.org>
52420         * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
52421         * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
52422         * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
52423         * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
52424         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
52425         * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
52427 2012-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52429         [BZ #6794]
52430         * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
52431         * math/libm-test.inc: Add ilogb errno and exception tests.
52432         * math/w_ilogb.c: New file: ilogb wrapper.
52433         * math/w_ilogbf.c: New file: ilogbf wrapper.
52434         * math/w_ilogbl.c: New file: ilogbl wrapper.
52435         * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
52436         * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
52437         * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
52438         exception being thrown with 0.0 as argument.
52439         * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
52440         * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
52441         exception being thrown with 0.0 as argument.
52442         * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
52443         * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
52444         exception being thrown with 0.0 as argument.
52445         * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
52446         * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
52447         exception being thrown with 0.0 as argument.
52448         * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
52449         * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
52450         * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
52451         * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
52452         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
52453         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
52454         * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
52455         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
52456         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
52458 2012-04-17  Petr Baudis  <pasky@ucw.cz>
52460         * include/sys/uio.h: Change __vector to __iovec to avoid clash
52461         with altivec.
52463 2012-04-16  Marek Polacek  <polacek@redhat.com>
52465         * elf/pldd-xx.c: Rename static_assert to pldd_assert.
52467 2012-04-16  Marek Polacek  <polacek@redhat.com>
52469         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
52470         operands of fdivp instruction.
52472 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
52474         * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
52475         * elf/tst-auditmod3b.c: Likewise.
52476         * elf/tst-auditmod4b.c: Likewise.
52477         * elf/tst-auditmod5b.c: Likewise.
52478         * elf/tst-auditmod6b.c: Likewise.
52479         * elf/tst-auditmod6c.c: Likewise.
52480         * elf/tst-auditmod7b.c: Likewise.
52481         * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
52482         * sysdeps/x86_64/preconfigure.in: Likewise.
52483         * sysdeps/x86_64/preconfigure: Regenerated.
52485 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
52487         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
52488         __ILP32__.
52490 2012-04-13  Antoine Balestrat <merkil33@gmail.com>
52492         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
52493         (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
52495 2012-04-13  Chris Leonard  <cjlhomeaddress@gmail.com>
52497         [BZ #13973]
52498         * locale/iso-639.def: Fix gl language name. Spotted by
52499         Yaron Shahrabani.
52501 2012-04-12  Roland McGrath  <roland@hack.frob.com>
52503         [BZ #2074]
52504         * libio/libio.h (__io_write_fn): Update comment.
52506 2012-04-12  Petr Baudis  <pasky@ucw.cz>
52508         [BZ #2074]
52509         * stdio.texi (Hook Functions): The user provided writer function
52510         is not allowed to return -1.
52512 2012-04-11  David S. Miller  <davem@davemloft.net>
52514         * sysdeps/sparc/fpu/libm-test-ulps: Update.
52516 2012-04-11  Mike Frysinger  <vapier@gentoo.org>
52518         * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
52519         Add a leading slash to rtkaio.
52521 2012-04-11  Jim Meyering  <meyering@redhat.com>
52523         [BZ #11959]
52524         * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
52525         It is not necessarily an error to ignore fwrite's return
52526         value.  One can reliably use ferror to test for errors after
52527         the fact.
52529 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
52531         * bits/types.h (__snseconds_t): New type.
52532         * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
52534         * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
52535         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
52536         (__SNSECONDS_T_TYPE): Likewise.
52537         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
52538         (__SNSECONDS_T_TYPE): Likewise.
52539         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
52540         (__SNSECONDS_T_TYPE): Likewise.
52542 2012-04-10  Andreas Jaeger  <aj@suse.de>
52544         [BZ #2636]
52545         * manual/time.texi (Processor Time): Return type of times is
52546         elapsed real time since an arbitrary point in the past.
52547         (CPU Time): Move CLK_TCK from here...
52548         (Processor Time): ...to here.  Correct description.
52549         * manual/conf.texi (Constants for Sysconf): Correct description of
52550         _SC_CLK_TCK.
52552 2012-04-10  David S. Miller  <davem@davemloft.net>
52554         [BZ #13967]
52555         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
52556         where the is a gap between DT_REL(A) and DT_JMPREL.
52558 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
52560         * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
52561         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
52562         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
52564 2012-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
52566         * elf/dl-support.c (_dl_inhibit_cache): New variable.
52567         * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
52568         (dl_main): Handle --inhibit-cache.
52569         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
52570         _dl_inhibit_cache.
52571         * elf/dl-load.c (_dl_map_object): Use it.
52572         * elf/Makefile: Define SYSCONFDIR when building rtld.c.
52574 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
52576         [BZ #13872]
52577         * sysdeps/i386/fpu/e_powl.S (p78): New object.
52578         (__ieee754_powl): Saturate large exponents rather than testing for
52579         overflow of y*log2(x).
52580         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
52581         * math/libm-test.inc (pow_test): Do not permit spurious overflow
52582         exceptions.
52584         [BZ #11521]
52585         * math/s_ctan.c: Include <float.h>.
52586         (__ctan): Avoid internal overflow or cancellation in calculating
52587         denominator.
52588         * math/s_ctanf.c: Likewise.
52589         * math/s_ctanl.c: Likewise.
52590         * math/s_ctanh.c: Likewise.
52591         * math/s_ctanhf.c: Likewise.
52592         * math/s_ctanhl.c: Likewise.
52593         * math/libm-test.inc (ctan_test): Add more tests.
52594         (ctanh_test): Likewise.
52595         * sysdeps/i386/fpu/libm-test-ulps: Update.
52596         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52598 2012-04-09  Andreas Jaeger  <aj@suse.de>
52600         [BZ #6894]
52601         * manual/filesys.texi (Directory Entries): Mention that d_namlen
52602         is an optional BSD extension.
52604         [BZ #10254]
52605         * manual/stdio.texi (Opening Streams): Document additional fopen
52606         parameters.
52608 2012-04-09  Roland McGrath  <roland@hack.frob.com>
52610         * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
52611         %eax without telling the compiler.
52613 2012-04-09  Carlos O'Donell  <carlos_odonell@mentor.com>
52615         [BZ # 13963]
52616         * manual/install.texi: Use sourceware.org.
52618 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
52620         [BZ #13873]
52621         * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
52622         (__ieee754_pow): Generate overflow and underflow using huge*huge
52623         and tiny*tiny rather than just returning constant infinity or zero
52624         for large exponents.
52625         * math/libm-test.inc (pow_test): Require overflow exceptions for
52626         applicable cases of large exponents.
52628         [BZ #706]
52629         * sysdeps/i386/fpu/e_pow.S (p10): New object.
52630         (__ieee754_pow): Use iterative multiplication algorithm only for
52631         integer exponents with absolute value below 1024.  Check for odd
52632         integer exponents when using algorithm for real exponents.
52633         * math/libm-test.inc (pow_test): Add more tests.
52634         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
52636 2012-04-08  Joseph Myers  <joseph@codesourcery.com>
52638         [BZ #13705]
52639         * math/libm-test.inc (exp_test): Do not allow overflow exception
52640         on underflow test.
52642 2012-04-08  Aurelien Jarno  <aurelien@aurel32.net>
52644         [BZ #13705]
52645         * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
52646         instead of __kernel_standard_f.
52648 2012-04-08  Mike Frysinger  <vapier@gentoo.org>
52650         * sysdeps/i386/i686/memset_chk.S: Update copyright year.
52651         * sysdeps/x86_64/memset_chk.S: Likewise.
52653 2012-04-08  Andreas Jaeger  <aj@suse.de>
52655         [BZ #10153]
52656         * manual/startup.texi (Environment Access): Describe return value
52657         for putenv and setenv.
52659         [BZ #6895]
52660         * manual/filesys.texi (Directory Entries): Add description for
52661         DT_LNK.
52663         [BZ #6890]
52664         * manual/filesys.texi (Directory Entries): Clarify that it's file
52665         system not operating system in the description of DT_UNKNOWN.
52667         [BZ #6578]
52668         * manual/syslog.texi (closelog): Fix reference, it's openlog.
52670 2012-04-08  Stephen Compall  <s11@member.fsf.org>
52672         [BZ #6649]
52673         * manual/llio.texi (Opening and Closing Files): Add cross
52674         reference to explain mode argument.
52676 2012-04-07  Mike Frysinger  <vapier@gentoo.org>
52678         * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
52679         * sysdeps/x86_64/memset_chk.S: Likewise.
52681 2012-04-07  David S. Miller  <davem@davemloft.net>
52683         * elf/elf.h (R_SPARC_WDISP10): Define.
52684         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
52685         R_SPARC_SIZE32.
52686         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
52687         R_SPARC_SIZE64 and R_SPARC_H34.
52689 2012-04-07  Carlos O'Donell  <carlos_odonell@mentor.com>
52691         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
52692         conditions and remove no longer applicable assertion.
52694 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
52696         * bits/byteswap.h: Include <features.h>.
52697         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
52698         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
52700 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
52702         * bits/byteswap.h (__bswap_16): Removed.
52703         Include <bits/byteswap-16.h> to get __bswap_16.
52704         * sysdeps/i386/bits/byteswap.h: Likewise.
52705         * sysdeps/s390/bits/byteswap.h: Likewise.
52706         * sysdeps/x86_64/bits/byteswap.h: Likewise.
52707         * bits/byteswap-16.h: New file.
52708         * sysdeps/i386/bits/byteswap-16.h: Likewise.
52709         * sysdeps/s390/bits/byteswap-16.h: Likewise.
52710         * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
52711         * string/Makefile (headers): Add bits/byteswap-16.h.
52713 2012-04-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
52715         [BZ #13895]
52716         * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
52717         extra indirection.
52718         * nss/Makefile (tests-static, tests): Add tst-nss-static.
52719         * nss/tst-nss-static.c: New.
52721 2012-04-06  Robert Millan  <rmh@gnu.org>
52723         [BZ #6486]
52724         * manual/llio.texi (File Position Primitive): lseek
52725         refers to WHENCE when it really means OFFSET.
52727 2012-04-06  Andreas Jaeger  <aj@suse.de>
52729         * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
52730         strncmp declarations.
52732         * abilist/libc.abilist: Add __poll and __ppoll.
52734 2012-04-05  David S. Miller  <davem@davemloft.net>
52736         * scripts/check-local-headers.sh: Accept a host triplet in the
52737         path matched by the exclude regexp.
52739         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
52740         definition.
52741         * sysdeps/powerpc/powerpc32/dl-machine.h
52742         (ELF_MACHINE_PLTREL_OVERLAP): Delete.
52743         * sysdeps/s390/s390-32/dl-machine.h
52744         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
52745         * sysdeps/sparc/sparc32/dl-machine.h
52746         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
52747         * sysdeps/sparc/sparc64/dl-machine.h
52748         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
52750         * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
52751         lazy binding.
52752         * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
52753         undefined symbol errors.
52755         * elf/rtld.c (dl_main): Skip VDSO when checking for unused
52756         DT_NEEDED entries.
52758 2012-04-05  Michael Matz  <matz@suse.de>
52760         [BZ #13592]
52761         * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
52763 2012-04-05  Andreas Jaeger  <aj@suse.de>
52765         [BZ #13908]
52766         * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
52767         comment.
52769 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
52771         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
52772         which ROUND is no valid rounding mode.
52774 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
52776         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
52777         read again.
52778         * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
52780 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
52782         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
52783         an exception using FPU order intentionally.
52785 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
52787         * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
52788         * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
52789         * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
52790         * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
52792 2012-04-05  Simon Josefsson  <simon@josefsson.org>
52794         [BZ #12340]
52795         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
52796         EINVAL when BUFLEN is too smal.
52798 2012-04-05  Thomas Schwinge  <thomas@codesourcery.com>
52800         [BZ #13553]
52801         * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
52802         * sysdeps/mach/powerpc/machine-lock.h: Likewise.
52804 2012-04-03  Andreas Jaeger  <aj@suse.de>
52806         [BZ #13938]
52807         * manual/setjmp.texi (System V contexts): Fix sentence.
52809         [BZ #13926]
52810         * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
52811         New macro for this case.
52812         [!__GNUC__] (__bswap_64): New inline function for this case.
52813         * sysdeps/x86_64/bits/byteswap.h: Likewise.
52814         * bits/byteswap.h: Likewise.
52815         * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
52816         ull, guard with __GLIBC_HAVE_LONG_LONG.
52818         * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
52819         __GLIBC_HAVE_LONG_LONG.
52821         * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
52822         Include <features.h> for __GLIBC_HAVE_LONG_LONG.
52824 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
52826         [BZ #13691]
52827         * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
52828         inptr and inend, rather than using last_ch.
52830 2012-04-02  David S. Miller  <davem@davemloft.net>
52832         With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
52833         * stdio-common/printf-parse.h (read_int): Change return type to
52834         'int', return -1 on INT_MAX overflow.
52835         * stdio-common/vfprintf.c (vfprintf): Validate width and precision
52836         against overflow of INT_MAX.  Set errno to EOVERFLOW when 'done'
52837         overflows INT_MAX.  Check for overflow of in-format-string precision
52838         values properly.  Use EOVERFLOW rather than ERANGE throughout.  Use
52839         SIZE_MAX not INT_MAX for integer overflow test.
52840         * stdio-common/printf-parsemb.c: If read_int signals an overflow,
52841         skip the construct in the format string but do not record anything.
52842         * stdio-common/bug22.c: Adjust to test both width/prevision
52843         INT_MAX overflow as well as total length INT_MAX overflow.  Check
52844         explicitly for proper errno values.
52846 2012-04-02  Thomas Schwinge  <thomas@codesourcery.com>
52848         * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
52849         CHAR_MAX.
52850         * string/test-strcmp.c [! WIDE]: Likewise.
52851         * time/tst-mktime2.c: Likewise for INT_MAX.
52852         * string/test-string.h: #include <sys/param.h> for MIN.
52854         * csu/init-first.c (__libc_init_first): Call __ctype_init.
52855         * sysdeps/i386/init-first.c (init): Likewise.
52856         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
52857         * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
52858         * sysdeps/sh/init-first.c (init): Likewise.
52860 2012-04-01  Ulrich Drepper  <drepper@gmail.com>
52862         * po/ru.po: Update from translation team.
52863         * po/vi.po: Likewise.
52865 2012-03-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
52867         * resolv/nss_dns/dns-host.c: Merge copyright years.
52869 2012-03-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
52871         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
52872         Optimize memcpy with prefetch if
52873         DATA_CACHE_SIZE_HALF <= len <  SHARED_CACHE_SIZE_HALF and
52874         src, dst pointers have unequal 16 byte alignments.
52876 2012-03-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
52878         [BZ #13928]
52879         * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
52880         from a CNAME entry and return the minimum ttl for the query.
52881         (gaih_getanswer_slice): Likewise.
52883 2012-03-30  Jeff Law  <law@redhat.com>
52885         * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
52886         due to long keys.
52887         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
52888         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
52890         * resolv/nss_dns/dns-host.c: Update copyright year.
52892 2012-03-30  Ulrich Drepper  <drepper@gmail.com>
52894         * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
52895         requests to save a system call.  Fix check that all bytes are sent.
52897         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
52898         comments for sendmmsg.
52900 2012-03-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
52902         [BZ #13691]
52903         * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
52904         with only 1 character between 0x0041 and 0x01b0.
52905         * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
52906         * wcsmbs/tst-mbsnrtowcs.c: New file.
52908 2012-03-29  David S. Miller  <davem@davemloft.net>
52910         * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
52911         small copies by hand.
52913 2012-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
52915         [BZ #13761]
52916         * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
52917         (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
52918         group memberships.
52920 2012-03-28  David S. Miller  <davem@davemloft.net>
52922         * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
52923         that branches into memcpy.
52924         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
52925         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
52926         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
52927         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
52928         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
52929         bits.
52930         * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
52931         implementation too.
52932         * sysdeps/sparc/mempcpy.S: New file.
52934         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
52935         the IFUNC routine in the libc case.
52936         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
52938         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
52939         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
52940         * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
52941         * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
52942         * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
52943         * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
52944         * sysdeps/sparc/sparc64/rtld-memset.c: New file.
52945         * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
52947         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
52948         loop to 256 bytes instead of 64 bytes and fix test signedness.
52950         * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
52951         * sysdeps/sparc/sparc32/Makefile: rather than here...
52952         * sysdeps/sparc/sparc64/Makefile: and here.
52954 2012-03-28  Ulrich Drepper  <drepper@gmail.com>
52956         * malloc/mallocbug.c: Avoid warnings about unused variables.
52958 2012-02-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
52960         [BZ #13760]
52961         * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
52962         in the right place. Discard and retry query if response is
52963         larger than input buffer size.
52965 2012-03-28  Joseph Myers  <joseph@codesourcery.com>
52967         [BZ #369]
52968         [BZ #2678]
52969         [BZ #3866]
52970         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
52971         x for large integer exponent.
52972         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
52973         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.  Adjust
52974         sign of result as needed afterwards.
52975         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
52976         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
52977         result for underflowing pow the same as for overflow.
52978         (__kernel_standard_l): Handle powl overflow and underflow here
52979         rather than calling __kernel_standard.
52980         * math/libm-test.inc (pow_test): Add more tests.
52982         [BZ #3868]
52983         [BZ #13879]
52984         [BZ #13910]
52985         [BZ #13911]
52986         [BZ #13912]
52987         [BZ #13913]
52988         [BZ #13915]
52989         [BZ #13916]
52990         [BZ #13917]
52991         [BZ #13918]
52992         [BZ #13919]
52993         [BZ #13920]
52994         [BZ #13921]
52995         * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
52996         * sysdeps/ieee754/k_standard.c: Include <float.h>.
52997         (__kernel_standard_l): New function.
52998         * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
52999         __kernel_standard.
53000         * math/w_acosl.c (__acosl): Likewise.
53001         * math/w_asinl.c (__asinl): Likewise.
53002         * math/w_atan2l.c (__atan2l): Likewise.
53003         * math/w_atanhl.c (__atanhl): Likewise.
53004         * math/w_coshl.c (__coshl): Likewise.
53005         * math/w_exp10l.c (__exp10l): Likewise.
53006         * math/w_exp2l.c (__exp2l): Likewise.
53007         * math/w_fmodl.c (__fmodl): Likewise.
53008         * math/w_hypotl.c (__hypotl): Likewise.
53009         * math/w_j0l.c (__j0l, __y0l): Likewise.
53010         * math/w_j1l.c (__j1l, __y1l): Likewise.
53011         * math/w_jnl.c (__jnl, __ynl): Likewise.
53012         * math/w_lgammal.c (__lgammal): Likewise.
53013         * math/w_log10l.c (__log10l): Likewise.
53014         * math/w_log2l.c (__log2l): Likewise.
53015         * math/w_logl.c (__logl): Likewise.
53016         * math/w_powl.c (__powl): Likewise.
53017         * math/w_remainderl.c (__remainderl): Likewise.
53018         * math/w_scalbl.c (sysv_scalbl): Likewise.
53019         * math/w_sinhl.c (__sinhl): Likewise.
53020         * math/w_sqrtl.c (__sqrtl): Likewise.
53021         * math/w_tgammal.c (__tgammal): Likewise.
53022         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
53023         * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
53024         * math/libm-test.inc (acos_test): Add more tests.
53025         (acosh_test): Likewise.
53026         (asin_test): Likewise.
53027         (atanh_test): Likewise.
53028         (exp_test): Likewise.
53029         (exp10_test): Likewise.
53030         (exp2_test): Likewise.
53031         (expm1_test): Likewise.
53032         (lgamma_test): Likewise.
53033         (log_test): Likewise.
53034         (log10_test): Likewise.
53035         (log1p_test): Likewise.
53036         (log2_test): Likewise.
53037         (pow_test): Do not allow some spurious overflow exceptions.
53038         (sqrt_test): Add more tests.
53039         (tgamma_test): Likewise.
53040         (y0_test): Likewise.
53041         (y1_test): Likewise.
53042         (yn_test): Likewise.
53044 2012-03-27  Anton Blanchard  <anton@samba.org>
53046         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
53047         MAP_HUGETLB.
53048         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
53049         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
53050         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
53052 2012-03-27  David S. Miller  <davem@davemloft.net>
53054         * conform/Makefile: Run run-conformtest.sh using $(BASH).
53056         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
53057         have-as-vis3 check.
53059 2012-03-27  Andreas Jaeger  <aj@suse.de>
53061         * sysdeps/x86_64/elf/configure.in: Moved to ...
53062         * sysdeps/x86_64/configure.in: ... here.
53063         * sysdeps/x86_64/elf/start.S: Moved to ...
53064         * sysdeps/x86_64/start.S: ... here.
53065         * sysdeps/x86_64/elf/configure: Delete.
53067         * sysdeps/x86_64/configure.in: Merge contents from
53068         sysdeps/i386/configure.in (without i686 check).
53070         * sysdeps/i386/elf/Versions: Merge into ...
53071         * sysdeps/i386/Versions: ... this.
53072         * sysdeps/i386/elf/Versions: Delete file.
53073         * sysdeps/i386/elf/start.S: Moved to ...
53074         * sysdeps/i386/start.S: ...here.
53075         * sysdeps/i386/elf/configure.in: Merge into...
53076         * sysdeps/i386/configure.in: ...here.
53077         * sysdeps/i386/elf/configure.in: Delete file.
53078         * sysdeps/i386/elf/configure: Delete file.
53080         * sysdeps/generic/elf/backtracesyms.c: Moved to ...
53081         * debug/backtracesyms.c: ... here.
53082         * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
53083         * debug/backtracesymsfd.c: ... here.
53084         * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
53085         * sysdeps/generic/ifunc-sel.h: ... here.
53087         * sysdeps/unix/i386/start.c: Delete file.
53088         * sysdeps/unix/sparc/start.c: Delete file.
53089         * sysdeps/unix/start.c: Delete file.
53091         * sysdeps/sh/elf/configure.in: Moved to ...
53092         * sysdeps/sh/configure.in: ... here.
53093         * sysdeps/sh/elf/start.S: Moved to ...
53094         * sysdeps/sh/start.S: ... here.
53095         * sysdeps/sh/elf/configure: Delete file.
53097         * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
53098         * sysdeps/powerpc/powerpc64/bzero.S: ... here.
53099         * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
53100         * sysdeps/powerpc/powerpc64/entry.h: ... here.
53101         * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
53102         * sysdeps/powerpc/powerpc64/start.S: here.
53103         * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
53104         * sysdeps/powerpc/powerpc64/Makefile: ... this.
53105         * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
53106         * sysdeps/powerpc/powerpc64/configure.in: ... this.
53107         * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
53109         * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
53110         * sysdeps/powerpc/powerpc32/bzero.S: ... here.
53111         * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
53112         * sysdeps/powerpc/powerpc32/start.S: ... here.
53113         * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
53114         * sysdeps/powerpc/powerpc32/configure.in: ... this.
53115         * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
53117         * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
53118         * sysdeps/powerpc/ifunc-sel.h: ... here.
53119         * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
53120         * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
53122         * sysdeps/sparc/elf/configure.in: Moved to ...
53123         * sysdeps/sparc/configure.in: ... here.
53124         * sysdeps/sparc/elf/configure: Delete file.
53125         * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
53126         * sysdeps/sparc/sparc32/start.S: ... here.
53127         * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
53128         * sysdeps/sparc/sparc64/start.S: ... here.
53129         * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
53130         * sysdeps/sparc/sparc32/Makefile: ... this.
53131         * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
53132         * sysdeps/sparc/sparc64/Makefile: ... this.
53134         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
53135         * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
53136         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
53137         * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
53138         * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
53139         * sysdeps/s390/s390-32/setjmp.S: ... here.
53140         * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
53141         * sysdeps/s390/s390-32/configure.in: ... here.
53142         * sysdeps/s390/s390-32/elf/configure: Delete file.
53143         * sysdeps/s390/s390-32/elf/start.S: Moved to ...
53144         * sysdeps/s390/s390-32/start.S: ... here.
53146         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
53147         * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
53148         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
53149         * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
53150         * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
53151         * sysdeps/s390/s390-64/setjmp.S: ... here.
53152         * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
53153         * sysdeps/s390/s390-64/configure.in: ... here
53154         * sysdeps/s390/s390-64/elf/configure: Delete file.
53155         * sysdeps/s390/s390-64/elf/start.S: Moved to ...
53156         * sysdeps/s390/s390-64/start.S: ... here.
53157         * sysdeps/s390/s390-64/elf/configure: Delete.
53159         * configure.in: Remove support for elf directories in sysdeps.
53161         * configure: Regenerated.
53162         * sysdeps/i386/configure: Regenerated.
53163         * sysdeps/powerpc/powerpc32/configure: Regenerated.
53164         * sysdeps/powerpc/powerpc64/configure: Regenerated.
53165         * sysdeps/s390/s390-32/configure: Regenerated.
53166         * sysdeps/s390/s390-64/configure: Regenerated.
53167         * sysdeps/sh/configure: Regenerated.
53168         * sysdeps/sparc/configure: Regenerated.
53169         * sysdeps/x86_64/configure: Regenerated.
53171 2012-03-26  Andreas Schwab  <schwab@linux-m68k.org>
53173         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
53175         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
53176         denormal result into account.
53178 2012-03-25  Roland McGrath  <roland@hack.frob.com>
53180         * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
53181         Reported by Allan McRae <allan@archlinux.org>.
53183 2012-03-23  Jeff Law  <law@redhat.com>
53185         * nss/getnssent.c (__nss_getent): Fix typo.
53187 2012-03-23  David S. Miller  <davem@davemloft.net>
53189         * sysdeps/sparc/fpu/libm-test-ulps: Update.
53191 2012-03-23  H.J. Lu  <hongjiu.lu@intel.com>
53193         * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
53194         to pad to uint64_t for each field.
53195         (dl_tls_index): Replace unsigned long with uint64_t.
53197 2012-03-23  Daniel Jacobowitz  <dmj@google.com>
53198         Paul Pluzhnikov  <ppluzhnikov@google.com>
53200         [BZ #6528]
53201         * grp/Makefile (otherlibs): Don't set it.
53202         * inet/Makefile (otherlibs): Likewise.
53203         * login/Makefile (otherlibs): Likewise.
53204         * nscd/Makefile (otherlibs): Likewise.
53205         * posix/Makefile (otherlibs): Likewise.
53206         * pwd/Makefile (otherlibs): Likewise.
53207         * rt/Makefile (otherlibs): Likewise.
53208         * sunrpc/Makefile (otherlibs): Likewise.
53209         * nss/Makefile (otherlibs): Likewise.
53210         Add libnss_files to routines and static-only-routines.
53211         ($(objpfx)getent): Remove rule.
53212         * resolv/Makefile: Add libnss_dns and libresolv to routines and
53213         static-only-routines.
53215 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
53217         [BZ #13892]
53218         * math/s_cexp.c: Include <float.h>.
53219         (__cexp): Handle exp result overflowing not necessarily
53220         overflowing both real and imaginary parts of result.
53221         * math/s_cexpf.c: Likewise.
53222         * math/s_cexpl.c: Likewise.
53223         * math/libm-test.inc (cexp_test): Add more tests.
53224         * sysdeps/i386/fpu/libm-test-ulps: Update.
53225         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53227 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
53229         * include/link.h (ELFW): New macro.
53230         * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
53231         Replace ELF64_R_TYPE with ELFW(R_TYPE).
53233 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
53235         * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
53236         with uint64_t.
53238 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
53240         * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
53241         declaration.
53242         (struct La_x32_retval): Likewise.
53244 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
53246         * sysdeps/x86_64/preconfigure.in: New file.
53247         * sysdeps/x86_64/preconfigure: New generated file.
53249 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
53251         [BZ #13824]
53252         * math/e_exp2l.c: Include <float.h>.
53253         (__ieee754_exp2l): Handle overflow and underflow cases
53254         separately.  Only pass fractional part of argument to
53255         __ieee754_expl.
53256         * math/libm-test.inc (exp2_test): Add more tests.
53258         * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
53259         negating x to take absolute value.
53260         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
53261         Likewise.
53262         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
53263         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
53264         Likewise.
53265         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
53266         computing low part if x was negated.
53267         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
53269 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
53271         * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
53272         la_x32_gnu_pltexit.
53273         (pltexit): Cast int_retval to ptrdiff_t.
53274         * elf/tst-auditmod3b.c: Likewise.
53275         * elf/tst-auditmod4b.c: Likewise.
53276         * elf/tst-auditmod5b.c: Likewise.
53277         * elf/tst-auditmod6b.c: Likewise.
53278         * elf/tst-auditmod6c.c: Likewise.
53279         * elf/tst-auditmod7b.c: Likewise.
53281         * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
53282         and x32_gnu_pltexit.
53284         * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
53285         __ELF_NATIVE_CLASS.
53286         (La_x32_regs): New macro.
53287         (La_x32_retval): Likewise.
53288         (la_x32_gnu_pltenter): New function prototype.
53289         (la_x32_gnu_pltexit): Likewise.
53291 2012-03-21  Andreas Schwab  <schwab@linux-m68k.org>
53293         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
53294         exponent.
53296         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
53298         * configure.in (libc_cv_cc_nofma): Check for option to disable
53299         generation of FMA instructions.
53300         * configure: Regenerate.
53301         * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
53302         * sysdeps/ieee754/dbl-64/Makefile: New file.
53303         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
53304         Remove brandred-fma4.
53305         (CFLAGS-brandred-fma4.c): Remove.
53306         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
53307         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
53308         define.
53309         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
53310         define.
53312 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
53314         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
53315         LLONG_MAX != LONG_MAX.
53316         (_itoa_word): Use _ITOA_WORD_TYPE on value.
53317         (_fitoa_word): Likewise.
53318         * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
53319         LLONG_MAX != LONG_MAX.
53320         * stdio-common/_itowa.h: Include <_itoa.h>.
53321         (_itowa_word): Use _ITOA_WORD_TYPE on value.
53322         (_itowa): New macro.  Defined only if _ITOA_NEEDED is false.
53323         * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro.  Defined
53324         only if not defined.
53325         (_ITOA_WORD_TYPE): Likewise.
53326         (_itoa_word): Use _ITOA_WORD_TYPE on value.
53327         Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
53329 2012-03-21  David S. Miller  <davem@davemloft.net>
53331         * sysdeps/sparc/fpu/libm-test-ulps: Update.
53333 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
53335         * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
53336         of x86_64 when setting libc_cv_slibdir, libdir and
53337         libc_cv_localedir.
53338         * sysdeps/unix/sysv/linux/configure: Regenerated.
53340 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
53342         * manual/lang.texi (Old Varargs): Remove section.
53343         (How Variadic): Update menu.
53344         (va_start): Do not mention varargs.h.
53346 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
53347             Joseph Myers  <joseph@codesourcery.com>
53349         * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
53350         link test.
53351         * configure: Regenerated.
53353 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
53355         * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
53356         * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
53357         conformtest.pl
53359 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
53361         * NOTES: Remove.
53362         * Makefile (files-for-dist): Remove NOTES.
53363         (NOTES): Remove rule.
53364         * README: Don't refer to NOTES.
53365         * manual/creature.texi: Don't include macros.texi.
53366         * manual/intro.texi (creature.texi): Remove comment referring to
53367         NOTES.
53369         * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
53370         * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
53371         * configure: Regenerated.
53372         * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
53373         LIBC_TRY_CC_OPTION.
53374         (libc_cv_as_i686): Likewise.
53375         (libc_cv_cc_avx): Likewise.
53376         (libc_cv_cc_sse2avx): Likewise.
53377         (libc_cv_cc_fma4): Likewise.
53378         (libc_cv_cc_novzeroupper): Likewise.
53379         * sysdeps/i386/configure: Regenerated.
53381         [BZ #13883]
53382         * sysdeps/i386/fpu/s_cexp.S: Remove.
53383         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
53384         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
53385         * math/libm-test.inc (cexp_test): Add more tests.
53386         * sysdeps/i386/fpu/libm-test-ulps: Update.
53387         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53389 2012-03-21  Allan McRae  <allan@archlinux.org>
53391         * timezone/Makefile: Do not install iso3166.tab and zone.tab
53393 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
53395         [BZ #13871]
53396         * math/w_exp2.c: Do not include <float.h>.
53397         (o_threshold, u_threshold): Remove.
53398         (__exp2): Calculate result before checking finiteness and calling
53399         __kernel_standard.
53400         * math/w_exp2f.c: Likewise.
53401         * math/w_exp2l.c: Likewise.
53402         * math/libm-test.inc (exp2_test): Require overflow exception for
53403         1e6 input.
53405         [BZ #3866]
53406         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
53407         range of signed 64-bit integers before using fistpll.  Remove
53408         checks for whether integers fit in mantissa bits.
53409         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
53410         the range of signed 32-bit integers before using fistpl.  Remove
53411         checks for whether integers fit in mantissa bits.
53412         * sysdeps/i386/fpu/e_powl.S (p64): New object.
53413         (__ieee754_powl): Test for y outside the range of signed 64-bit
53414         integers before using fistpll.  Reduce 64-bit values to 63-bit
53415         ones as needed.
53416         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
53417         divide-by-zero is raised for zero to large negative powers.
53418         * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
53419         (__ieee754_powl): Test for y outside the range of signed 64-bit
53420         integers before using fistpll.  Reduce 64-bit values to 63-bit
53421         ones as needed.
53422         * math/libm-test.inc (pow_test): Add more tests.
53424 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
53426         * debug/backtracesymsfd.c: Include <_itoa.h> instead of
53427         <stdio-common/_itoa.h>.
53428         * debug/segfault.c: Likewise.
53429         * elf/dl-cache.c: Likewise.
53430         * elf/dl-minimal.c: Likewise.
53431         * elf/dl-misc.c: Likewise.
53432         * elf/dl-sysdep.c: Likewise.
53433         * elf/dl-version.c: Likewise.
53434         * elf/rtld.c: Likewise.
53435         * hurd/hurdsock.c: Likewise.
53436         * hurd/lookup-retry.c: Likewise.
53437         * malloc/malloc.c: Likewise.
53438         * malloc/mtrace.c: Likewise.
53439         * nscd/nscd_getgr_r.c: Likewise.
53440         * nscd/nscd_getpw_r.c: Likewise.
53441         * nscd/nscd_getserv_r.c: Likewise.
53442         * posix/getopt_init.c: Likewise.
53443         * posix/wordexp.c: Likewise.
53444         * stdio-common/_itoa.c: Likewise.
53445         * stdio-common/printf_fphex.c: Likewise.
53446         * stdio-common/vfprintf.c: Likewise.
53447         * string/_strerror.c: Likewise.
53448         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
53449         * sysdeps/i386/i686/hp-timing.h: Likewise.
53450         * sysdeps/mach/_strerror.c: Likewise.
53451         * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
53452         * sysdeps/mach/hurd/sethostid.c: Likewise.
53453         * sysdeps/mach/hurd/xmknodat.c: Likewise.
53454         * sysdeps/mach/xpg-strerror.c: Likewise.
53455         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
53456         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
53457         * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
53458         * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
53459         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
53460         * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
53461         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
53462         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
53463         * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
53464         * sysdeps/unix/sysv/linux/futimes.c: Likewise.
53465         * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
53466         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
53467         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
53468         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
53469         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
53470         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
53471         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
53472         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
53473         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
53474         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
53475         * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
53477         * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
53479         * stdio-common/_itoa.h: Moved to ...
53480         * sysdeps/generic/_itoa.h: Here.
53482         * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
53484         * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
53485         instead of "_itoa.h" and "_itowa.h".
53486         * stdio-common/vfprintf.: Likewise.
53488 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
53490         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
53491         <bits/wordsize.h>.
53492         (__signbitf): Check __x86_64__ instead of __WORDSIZE.
53493         (__signbit): Likwise.
53494         (llrintf): Likwise.
53495         (llrint): Likwise.
53497 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
53499         * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
53500         __WORDSIZE != 64.
53502 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
53504         * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
53505         OVERFLOW_EXCEPTION_OK.
53506         * math/libm-test.inc ("Philosophy"): Update comment about
53507         exception testing.
53508         (OVERFLOW_EXCEPTION): Define.
53509         (OVERFLOW_EXCEPTION_OK): Likewise.
53510         (INVALID_EXCEPTION_OK): Renumber.
53511         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
53512         (IGNORE_ZERO_INF_SIGN): Likewise.
53513         (test_exceptions): Handle FE_OVERFLOW.
53514         (exp10_test): Expect overflow exceptions.
53515         (exp2_test): Likewise.
53516         (expm1_test): Likewise.
53517         (nextafter_test): Likewise.
53518         (pow_test): Likewise.
53519         (scalbn_test): Likewise.
53520         (scalbln_test): Likewise.
53522 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
53524         * sysdeps/x86_64/bits/atomic.h
53525         (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
53526         64bit integer.
53527         (atomic_exchange_acq): Likewise.
53528         (__arch_exchange_and_add_body): Likewise.
53529         (__arch_add_body): Likewise.
53530         (atomic_add_negative): Likewise.
53531         (atomic_add_zero): Likewise.
53533 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
53535         * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
53536         (fenv_t): Check __x86_64__ instead of __WORDSIZE.
53538 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
53540         * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
53541         Check __x86_64__ instead of __WORDSIZE.
53543 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
53545         * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
53547 2012-03-19  David S. Miller  <davem@davemloft.net>
53549         * sysdeps/sparc/fpu/libm-test-ulps: Update.
53551         * sysdeps/sparc/fpu/fenv_private.h: New file.
53552         * sysdeps/sparc/fpu/math_private.h: Use it.
53553         (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
53554         Remove.
53555         (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
53556         (libc_feholdexcept_setroundl): Remove.
53557         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
53558         Remove.
53559         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
53560         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
53562 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
53564         * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
53565         int64_t instead of long int.
53566         (INSERT_WORDS64): Likwise.
53568 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
53570         * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
53571         _Unwind_GetCFA return to _Unwind_Ptr first.
53573 2012-03-19  Joseph Myers  <joseph@codesourcery.com>
53575         [BZ #13629]
53576         * math/s_clog.c: Include <float.h>.
53577         (__clog): Scale large or subnormal inputs.
53578         * math/s_clogf.c: Likewise.
53579         * math/s_clogl.c: Likewise.
53580         * math/s_clog10.c: Include <float.h>.
53581         (M_LOG10_2): Define.
53582         (__clog10): Scale large or subnormal inputs.
53583         * math/s_clog10f.c: Likewise.
53584         * math/s_clog10l.c: Likewise.
53585         * math/libm-test.inc (clog_test): Add more tests.
53586         (clog10_test): Likewise.
53587         * sysdeps/i386/fpu/libm-test-ulps: Update.
53588         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53590         [BZ #11451]
53591         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
53592         x and y.
53593         * math/libm-test.inc (atan2_test): Add another test.
53595         * Makerules (common-objdir-compile): Remove.
53596         * sysdeps/unix/Makefile (config-generated): Do not add
53597         $(unix-generated) to variable.
53598         [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
53599         [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
53600         Remove rule.
53601         [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
53602         Likewise.
53603         [generic bits/local_lim.h] (before-compile): Do not append to
53604         variable.
53605         [generic bits/local_lim.h] (common-generated): Likewise.
53606         [generic sys/param.h] (before-compile): Do not append to variable.
53607         [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
53608         [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
53609         [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
53610         [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
53611         include.
53612         [generic sys/param.h] (sys/param.h-includes): Remove variable.
53613         [generic sys/param.h] (sys/param.h-includes): Remove rule.
53614         [generic sys/param.h] ($(addprefix
53615         $(common-objpfx),$(sys/param.h-includes))): Likewise.
53616         [generic sys/param.h] (common-generated): Do not append to
53617         variable.
53618         [generic sys/param.h] (sysdep_headers): Likewise.
53619         [generic bits/errno.h] (before-compile): Do not append to
53620         variable.
53621         [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
53622         rule.
53623         [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
53624         [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
53625         [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
53626         [generic bits/errno.h] (common-generated): Do not append to
53627         variable.
53628         [generic bits/ioctls.h] (before-compile): Do not append to
53629         variable.
53630         [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
53631         rule.
53632         [generic bits/ioctls.h] (ioctl-includes): Remove variable.
53633         [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
53634         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
53635         rule.
53636         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
53637         [generic bits/ioctls.h] (bits_termios.h): Remove variable.
53638         [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
53639         [generic bits/ioctls.h] (common-generated): Do not append to
53640         variable.
53641         [generic sys/syscall.h] (syscall.h): Remove variable.
53642         [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
53643         rule.
53644         [generic sys/syscall.h] (before-compile): Do not append to
53645         variable.
53646         [generic sys/syscall.h] (common-generated): Likewise.
53647         * sysdeps/unix/errnos-tmpl.c: Remove file.
53648         * sysdeps/unix/errnos.awk: Likewise.
53649         * sysdeps/unix/ioctls-tmpl.c: Likewise.
53650         * sysdeps/unix/ioctls.awk: Likewise.
53651         * sysdeps/unix/mk-local_lim.c: Likewise.
53652         * sysdeps/unix/snarf-ioctls: Likewise.
53654 2012-03-19  Richard Henderson  <rth@twiddle.net>
53656         * sysdeps/i386/fpu/fenv_private.h: New file.
53657         * sysdeps/i386/fpu/math_private.h: Use it.
53658         (math_opt_barrier, math_force_eval): Remove.
53659         (libc_feholdexcept_setround_53bit): Remove.
53660         (libc_feupdateenv_53bit): Remove.
53661         * sysdeps/x86_64/fpu/math_private.h: Likewise.
53662         (math_opt_barrier, math_force_eval): Remove.
53663         (libc_feholdexcept): Remove.
53664         (libc_feholdexcept_setround): Remove.
53665         (libc_fetestexcept, libc_fesetenv): Remove.
53666         (libc_feupdateenv_test): Remove.
53667         (libc_feupdateenv, libc_feholdsetround): Remove.
53668         (libc_feresetround): Remove.
53670         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
53671         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
53673         * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
53674         (libc_feupdateenv_test, libc_feupdateenv_testf): New.
53675         (libc_feupdateenv_testl): New.
53676         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
53677         (libc_feupdateenv_testf): New.
53678         (libc_feupdateenv): Use libc_feupdateenv_test.
53679         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
53680         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
53682         * sysdeps/generic/math_private.h (libc_feholdsetround): New.
53683         (libc_feholdsetroundf, libc_feholdsetroundl): New.
53684         (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
53685         (libc_feresetround_noex): New.
53686         (libc_feresetround_noexf): New.
53687         (libc_feresetround_noexl): New.
53688         (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
53689         (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
53690         (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
53691         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
53692         SET_RESTORE_ROUND.
53693         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
53694         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
53695         (__cos): Likewise.
53696         * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
53697         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
53698         SET_RESTORE_ROUND_NOEX.
53699         * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
53700         SET_RESTORE_ROUND_NOEXF.
53701         * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
53702         * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
53703         (libc_feholdsetroundf): New.
53704         (libc_feresetround, libc_feresetroundf): New.
53706         * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
53707         (libc_feholdexcept_setround_53bit): Convert from macro to function.
53708         (libc_feupdateenv_53bit): Likewise.  Don't force _FPU_EXTENDED.
53710         * sysdeps/generic/math_private.h: Include <fenv.h>.
53711         (default_libc_feholdexcept): New.
53712         (default_libc_feholdexcept_setround): New.
53713         (default_libc_fesetenv, default_libc_feupdateenv): New.
53714         (libc_feholdexcept): Only define if undefined.
53715         (libc_feholdexceptf, libc_feholdexceptl): Likewise.
53716         (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
53717         (libc_feholdexcept_setroundl): Likewise.
53718         (libc_feholdexcept_setround_53bit): Likewise.
53719         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
53720         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
53721         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
53722         (libc_feupdateenv_53bit): Likewise.
53723         * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
53724         (libc_feholdexcept): Convert from macro to inline function.
53725         (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
53726         (libc_fesetenv, libc_feupdateenv): Likewise.
53728         * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
53729         not previously defined.
53730         (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
53731         (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
53732         (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
53733         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
53734         * sysdeps/ieee754/flt-32/math_private.h: New file.
53735         * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
53736         math_private.h below SET_FLOAT_WORD.
53737         (__isnan, __isinf_ns, __finite): Remove.
53738         (__isnanf, __isinf_nsf, __finitef): Remove.
53740 2012-03-18  Andreas Schwab  <schwab@linux-m68k.org>
53742         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
53744 2012-03-17  David S. Miller  <davem@davemloft.net>
53746         [BZ #6471]
53747         * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
53748         for 2.16.
53750 2012-03-16  David S. Miller  <davem@davemloft.net>
53752         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
53753         warnings.
53755         [BZ #6471]
53756         * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
53757         properly.
53758         * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
53759         * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
53760         sysdep_routines when subdir is sysvipc.
53761         * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
53762         __getshmlba helper.
53764         * sysdeps/sparc/fpu/libm-test/ulps: Update.
53766 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
53768         * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
53769         [__LP64__].
53771 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
53773         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
53774         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
53775         (__lround): Renamed to ...
53776         (__llround): This.  Replace long int with long long int.
53777         Define lround functions as aliases of llround functions.
53778         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
53780 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
53782         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
53783         Use greg_t on sp.  Use unsigned int on idx_uc_link.  Cast
53784         adresses to uintptr_t.  Replace "long int" and "unsigned long
53785         int" with "greg_t" on va_arg.
53787 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
53789         * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
53790         * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
53792         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
53793         Move e_machine check before EI_CLASS check.  Handle x32
53794         libraries.  Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
53795         * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
53796         SKIP_EM_IA_64 and include
53797         <sysdeps/unix/sysv/linux/i386/readelflib.c>.
53799         * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
53800         Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
53801         (add_system_dir): New macro.
53803         * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
53804         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
53806 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
53808         [BZ #2551]
53809         [BZ #2552]
53810         [BZ #2553]
53811         [BZ #2554]
53812         [BZ #2562]
53813         [BZ #2563]
53814         [BZ #2565]
53815         [BZ #2566]
53816         [BZ #2576]
53817         * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
53818         (y0): Likewise.
53819         * math/w_j0f.c (j0f): Likewise.
53820         (y0f): Likewise.
53821         * math/w_j0l.c (__j0l): Likewise.
53822         (__y0l): Likewise.
53823         * math/w_j1.c (j1): Likewise.
53824         (y1): Likewise.
53825         * math/w_j1f.c (j1f): Likewise.
53826         (y1f): Likewise.
53827         * math/w_j1l.c (__j1l): Likewise.
53828         (__y1l): Likewise.
53829         * math/w_jn.c (jn): Likewise.
53830         (yn): Likewise.
53831         * math/w_jnf.c (jnf): Likewise.
53832         (ynf): Likewise.
53833         * math/w_jnl.c (__jnl): Likewise.
53834         (__ynl): Likewise.
53835         * math/libm-test.inc (j0_test): Add more tests.
53836         (j1_test): Likewise.
53837         (jn_test): Likewise.  Add trailing semicolon to existing test.
53838         (y0_test): Likewise.
53839         (y1_test): Likewise.
53840         * sysdeps/i386/fpu/libm-test-ulps: Update.
53841         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53843         [BZ #13851]
53844         [BZ #13854]
53845         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
53846         libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
53847         * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
53848         * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
53849         (__tanl): Set errno for infinite argument.
53850         * sysdeps/i386/fpu/mptan.c: Remove.
53851         * sysdeps/i386/fpu/s_tan.S: Likewise.
53852         * sysdeps/i386/fpu/s_tanl.S: Likewise.
53853         * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
53854         * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
53855         * math/libm-test.inc (tan_test): Add more tests and enable more
53856         tests for double and long double.
53857         * sysdeps/i386/fpu/libm-test-ulps: Update.
53858         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53860 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
53862         * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
53863         (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
53865 2012-03-16  Roland McGrath  <roland@hack.frob.com>
53867         * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
53868         * configure.in: Use it for both main tree and add-ons.
53869         * configure: Regenerated.
53871 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
53873         * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
53875 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
53877         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
53878         in comment.
53880         [BZ #13851]
53881         * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
53882         * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
53883         * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
53884         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
53885         * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
53886         infinite argument.
53887         * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
53888         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
53889         != 0 for prec == 2.
53890         * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
53891         * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
53892         * sysdeps/i386/fpu/s_cosl.S: Likewise.
53893         * sysdeps/i386/fpu/s_sincosl.S: Likewise.
53894         * sysdeps/i386/fpu/s_sinl.S: Likewise.
53895         * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
53896         * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
53897         * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
53898         * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
53899         * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
53900         * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
53901         * math/libm-test.inc (cos_test): Add more tests and enable more
53902         tests for long double.
53903         (sin_test): Likewise.
53904         (sincos_test): Likewise.
53905         * sysdeps/i386/fpu/libm-test-ulps: Update.
53906         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53908 2012-03-16  David S. Miller  <davem@davemloft.net>
53910         * sysdeps/sparc/fpu/math_private.h: New file.
53912 2012-03-15  David S. Miller  <davem@davemloft.net>
53914         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
53915         file.
53916         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
53917         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
53918         file.
53919         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
53920         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
53921         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
53922         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
53923         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
53924         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
53925         sysdep routines.
53926         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
53928         * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
53929         * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
53931         * sysdeps/sparc/sparc-ifunc.h: New file.
53932         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
53933         sparc-ifunc.h
53934         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
53935         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
53936         Likewise.
53937         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
53938         Likewise.
53939         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
53940         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
53941         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
53942         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
53943         Likewise.
53944         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
53945         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
53946         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
53947         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
53948         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
53949         Likewise.
53950         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
53951         Likewise.
53952         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
53953         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
53954         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
53955         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
53956         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
53957         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
53958         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
53959         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
53960         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
53961         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
53962         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
53963         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
53964         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
53965         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
53966         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
53967         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
53968         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
53969         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
53970         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
53971         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
53972         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
53973         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
53974         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
53975         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
53977 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
53979         * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
53980         scaling.
53981         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
53983 2012-03-15  Andreas Jaeger  <aj@suse.de>
53985         [BZ #13852]
53986         * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
53987         ieee754/flt-32 implementation for sin, cos and sincos.
53988         * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
53989         * sysdeps/i386/fpu/s_cosf.S: Likewise.
53990         * sysdeps/i386/fpu/s_sincosf.S: Likewise.
53991         * sysdeps/i386/fpu/s_sinf.S: Likewise.
53992         * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
53993         ieee754/flt-32 implementation for tan.
53995         * math/libm-test.inc (cos_test): Enable some large input tests for
53996         float as well
53997         (sin_test): Likewise.
53998         (sincos_test): Likewise.
53999         (tan_test): Add tests for large input.
54001         * sysdeps/i386/fpu/libm-test-ulps: Update.
54003 2012-03-15  Andreas Jaeger  <aj@suse.de>
54005         [BZ #13658]
54006         * math/libm-test.inc (cos_test): Add more test cases.
54007         (sin_test): Likewise.
54008         (sincos_test): Likewise.
54010 2012-03-15  Andreas Jaeger  <aj@suse.de>
54012         [BZ #13837]
54013         * math/libm-test.inc (cos_test): Add a test case for large input
54014         value.
54015         (sin_test): Likewise.
54016         (sincos_test): Likewise.
54018 2012-03-15  Andreas Jaeger  <aj@suse.de>
54019             Joseph Myers  <joseph@codesourcery.com>
54021         [BZ #13658]
54022         * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
54023         x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
54024         * sysdeps/i386/fpu/branred.c: Likewise.
54025         * sysdeps/i386/fpu/dosincos.c: Likewise.
54026         * sysdeps/i386/fpu/mpa.c: Likewise.
54027         * sysdeps/i386/fpu/s_cos.S: Likewise.
54028         * sysdeps/i386/fpu/s_sin.S: Likewise.
54029         * sysdeps/i386/fpu/s_sincos.S: Likewise.
54030         * sysdeps/i386/fpu/sincos32.c: Likewise.
54032         * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
54033         Define.
54034         (libc_feupdateenv_53bit): Define.
54035         * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
54036         Define.
54037         (libc_feupdateenv_53bit): Define.
54039         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
54040         53 bit (without extend i386 double precision).
54042         * math/libm-test.inc (sincos_test): Add tests for large input.
54043         (sin): Likewise.
54044         (cos): Likewise.
54046         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
54048 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
54050         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
54052 2012-03-15  David S. Miller  <davem@davemloft.net>
54054         * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
54055         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
54056         * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
54057         * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
54058         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
54059         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
54060         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
54061         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
54062         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
54063         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
54064         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
54065         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
54066         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
54067         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
54068         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
54069         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
54070         file.
54071         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
54072         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
54073         file.
54074         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
54075         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
54076         file.
54077         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
54078         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
54079         file.
54080         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
54081         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
54082         fmin/fmax sysdep routines.
54083         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
54085 2012-03-14  David S. Miller  <davem@davemloft.net>
54087         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
54088         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
54089         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
54090         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
54091         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
54092         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
54093         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
54094         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
54095         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
54096         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
54097         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
54098         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
54099         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
54100         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
54101         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
54102         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
54103         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
54104         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
54105         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
54106         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
54107         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
54108         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
54109         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
54110         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
54111         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
54112         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
54113         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
54114         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
54115         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
54116         routines.
54117         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
54118         file.
54119         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
54120         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
54121         file.
54122         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
54123         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
54124         file.
54125         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
54126         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
54127         file.
54128         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
54129         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
54130         file.
54131         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
54132         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
54133         file.
54134         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
54135         file.
54136         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
54137         file.
54138         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
54139         file.
54140         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
54141         New file.
54142         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
54143         file.
54144         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
54145         file.
54146         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
54147         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
54148         file.
54149         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
54150         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
54151         file.
54152         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
54153         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
54154         file.
54155         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
54156         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
54157         VIS3 routines.
54159         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
54160         New file.
54162         * sysdeps/sparc/fpu/libm-test-ulps: Update.
54164         * sysdeps/sparc/configure.in: New file.
54165         * sysdeps/sparc/configure: Generate.
54166         * configure.in (libc_cv_sparc_as_vis3): Substitute.
54167         * configure: Regenerate.
54168         * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
54169         * config.make.in (have-as-vis3): New.
54170         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
54171         available use -Av9d instead of -Av9a.
54172         * sysdeps/sparc/sparc64/Makefile: Likewise.
54173         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
54174         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
54175         New file.
54176         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
54177         file.
54178         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
54179         New file.
54180         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
54181         file.
54182         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
54183         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
54184         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
54185         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
54186         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
54188         * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
54189         fzeros/fnegs to load 0x80000000 into a float register instead of
54190         using the stack.
54191         * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
54193 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
54195         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
54196         bits/syscall.h.
54197         ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
54198         ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
54199         ($(inst_includedir)/bits/syscall.h): Remove rule.
54200         ($(objpfx)bits/syscall.d): Include instead of
54201         $(objpfx)syscall-list.d.
54202         (generated): Change syscall-list.h and syscall-list.d to
54203         bits/syscall.h and bits/syscall.d.
54205 2012-03-14  Roland McGrath  <roland@hack.frob.com>
54207         [BZ #13846]
54208         * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
54210 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
54212         [BZ #13841]
54213         * math/s_csqrt.c: Include <float.h>.
54214         (__csqrt): Scale large or subnormal inputs.
54215         * math/s_csqrtf.c: Likewise.
54216         * math/s_csqrtl.c: Likewise.
54217         * math/libm-test.inc (csqrt_test): Add more tests.
54218         * sysdeps/i386/fpu/libm-test-ulps: Update.
54219         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54221         [BZ #13840]
54222         * math/libm-test.inc (hypot_test): Add more tests.
54224 2012-03-13  David S. Miller  <davem@davemloft.net>
54226         [BZ #13840]
54227         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
54228         double-precision for the calculation instead of scaling.
54230 2012-03-13  Joseph Myers  <joseph@codesourcery.com>
54232         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
54233         manipulate bits before adding and subtracting TWO52[sx].
54234         * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
54235         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
54236         Likewise.
54237         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
54239 2012-03-13  David S. Miller  <davem@davemloft.net>
54241         * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
54242         * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
54243         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
54244         rtld-global-offsets.h
54245         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
54247         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
54248         large parameters.
54250         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
54252         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
54253         'err' in the ifdef scope in which it is actually used.
54255         * nss/nss_db/db-init.c: Include string.h
54257 2012-03-12  David S. Miller  <davem@davemloft.net>
54259         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
54260         masking out of the most significant byte of random value used.
54261         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
54262         Fix coding style in previous change.
54264         * sysdeps/unix/sysv/linux/kernel-features.h
54265         (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
54266         (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
54267         expression.
54268         (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
54269         later.
54271 2012-03-11  David S. Miller  <davem@davemloft.net>
54273         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
54274         (__makecontext): Fix signedness of pointer casts setting up 'sp'.
54275         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
54276         for 'resultvar' otherwise things get truncated on 64-bit.
54278         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
54279         Fix masking out of the most significant byte of random value used.
54281         * sysdeps/sparc/fpu/libm-test-ulps: Update.
54283 2012-03-10  Andreas Schwab  <schwab@linux-m68k.org>
54285         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
54287 2012-03-09  David S. Miller  <davem@davemloft.net>
54289         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
54290         variables with appropriate CPP guards.
54291         * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
54292         from the frame pointer, not the stack pointer.  Correct layout
54293         comments.  Fix test on resulting framesize and the management of
54294         the outregs buffer for pltexit.  Preserve floating point return
54295         values across _dl_call_pltexit call.
54296         * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
54297         framesize and the management of the outregs buffer for pltexit.
54298         Preserve floating point return values across _dl_call_pltexit
54299         call.
54300         * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
54301         (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
54302         (la_sparc64_gnu_pltexit): New functions.
54303         (print_exit): Fix format string for return register value.
54305 2012-03-10  Joseph Myers  <joseph@codesourcery.com>
54307         * sunrpc/Makefile (others): Add rpcgen.
54308         ($(objpfx)rpcgen): Remove special build rule and dependency on
54309         libc.
54310         * sunrpc/rpcgen.c: New file.
54312 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
54314         [BZ #13673]
54315         * posix/bug-regex33.c: Replace FSF snail mail address with URL.
54316         * stdio-common/bug-vfprintf-nargs.c: Likewise.
54317         * sysdeps/i386/crti.S: Likewise.
54318         * sysdeps/i386/crtn.S: Likewise.
54319         * sysdeps/powerpc/powerpc32/crti.S: Likewise.
54320         * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
54321         * sysdeps/powerpc/powerpc64/crti.S: Likewise.
54322         * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
54323         * sysdeps/sh/crti.S: Likewise.
54324         * sysdeps/sh/crtn.S: Likewise.
54325         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
54327         [BZ #13673]
54328         * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
54329         with URL.
54330         * locale/programs/locfile-kw.gperf: Likewise.
54331         * locale/programs/charmap-kw.h: Regenerated.
54332         * locale/programs/locfile-kw.h: Likewise.
54334         [BZ #13673]
54335         * intl/plural.y: Replace FSF snail mail address with URL.
54336         * intl/plural.c: Regenerated.
54338 2012-03-09  Richard Henderson  <rth@twiddle.net>
54340         * include/math_private.h: Remove file.
54341         * math/math_private.h: Move file ...
54342         * sysdeps/generic/math_private.h: ... here.
54344         * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
54345         * sysdeps/powerpc/fpu/math_private.h: Likewise.
54346         * sysdeps/x86_64/fpu/math_private.h: Likewise.
54348         * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
54349         and <math_private.h>.
54350         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
54351         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
54352         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
54353         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
54354         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
54355         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
54356         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
54357         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
54358         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
54359         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
54360         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
54361         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
54362         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
54363         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
54364         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
54365         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
54366         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
54367         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
54368         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
54369         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
54370         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
54371         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
54372         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
54373         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
54374         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
54375         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
54376         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
54377         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
54378         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
54379         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
54380         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
54381         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
54382         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
54383         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
54384         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
54385         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
54386         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
54387         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
54388         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
54389         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
54390         * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
54391         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
54392         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
54393         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
54394         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
54395         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
54396         * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
54397         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
54398         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
54399         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
54400         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
54401         * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
54402         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
54403         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
54404         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
54405         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
54406         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
54407         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
54408         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
54409         * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
54410         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
54411         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
54412         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
54413         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
54414         * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
54415         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
54416         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
54417         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
54418         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
54419         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
54420         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
54421         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
54422         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
54423         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
54424         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
54425         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
54426         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
54427         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
54428         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
54429         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
54430         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
54431         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
54432         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
54433         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
54434         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
54435         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
54436         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
54437         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
54438         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
54439         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
54440         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
54441         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
54442         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
54443         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
54444         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
54445         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
54446         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
54447         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
54448         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
54449         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
54450         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
54451         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
54452         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
54453         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
54454         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
54455         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
54456         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
54457         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
54458         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
54459         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
54460         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
54461         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
54462         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
54463         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
54464         * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
54465         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
54466         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
54467         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
54468         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
54469         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
54470         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
54471         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
54472         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
54473         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
54474         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
54475         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
54476         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
54477         * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
54478         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
54479         * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
54480         * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
54481         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
54482         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
54483         * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
54484         * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
54485         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
54486         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
54487         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
54488         * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
54489         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
54490         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
54491         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
54492         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
54493         * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
54494         * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
54495         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
54496         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
54497         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
54498         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
54499         * sysdeps/ieee754/k_standard.c: Likewise.
54500         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
54501         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
54502         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
54503         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
54504         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
54505         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
54506         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
54507         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
54508         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
54509         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
54510         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
54511         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
54512         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
54513         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
54514         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
54515         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
54516         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
54517         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
54518         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
54519         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
54520         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
54521         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
54522         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
54523         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
54524         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
54525         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
54526         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
54527         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
54528         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
54529         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
54530         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
54531         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
54532         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
54533         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
54534         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
54535         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
54536         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
54537         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
54538         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
54539         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
54540         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
54541         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
54542         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
54543         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
54544         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
54545         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
54546         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
54547         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
54548         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
54549         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
54550         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
54551         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
54552         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
54553         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
54554         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
54555         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
54556         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
54557         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
54558         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
54559         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
54560         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
54561         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
54562         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
54563         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
54564         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
54565         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
54566         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
54567         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
54568         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
54569         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
54570         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
54571         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
54572         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
54573         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
54574         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
54575         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
54576         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
54577         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
54578         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
54579         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
54580         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
54581         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
54582         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
54583         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
54584         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
54585         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
54586         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
54587         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
54588         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
54589         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
54590         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
54591         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
54592         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
54593         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
54594         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
54595         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
54596         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
54597         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
54598         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
54599         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
54600         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
54601         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
54602         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
54603         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
54604         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
54605         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
54606         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
54607         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
54608         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
54609         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
54610         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
54611         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
54612         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
54613         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
54614         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
54615         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
54616         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
54617         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
54618         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
54619         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
54620         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
54621         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
54622         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
54623         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
54624         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
54625         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
54626         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
54627         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
54628         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
54629         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
54630         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
54631         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
54632         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
54633         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
54634         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
54635         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
54636         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
54637         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
54638         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
54639         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
54640         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
54641         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
54642         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
54643         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
54644         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
54645         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
54646         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
54647         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
54648         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
54649         * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
54650         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
54651         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
54652         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
54653         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
54654         * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
54655         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
54656         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
54657         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
54658         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
54659         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
54660         * sysdeps/ieee754/s_lib_version.c: Likewise.
54661         * sysdeps/ieee754/s_matherr.c: Likewise.
54662         * sysdeps/ieee754/s_signgam.c: Likewise.
54663         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
54664         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
54665         * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
54666         * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
54667         * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
54668         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
54669         * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
54670         * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
54671         * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
54672         * sysdeps/powerpc/fpu/s_rint.c: Likewise.
54673         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
54674         * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
54675         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
54676         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
54677         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
54678         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
54679         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
54680         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
54681         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
54682         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
54683         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
54685 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
54687         * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
54688         * sunrpc/rpc_main.c: Likewise.
54689         * sunrpc/rpc_svcout.c: Likewise.
54691 2012-03-09  David S. Miller  <davem@davemloft.net>
54693         * include/math_private.h: New file.
54695 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
54697         * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
54698         * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
54699         * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
54700         from <bits/socket_type.h>.
54701         (enum __socket_type): Don't define here.
54702         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
54703         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
54704         bits/socket_type.h.
54706         [BZ #13566]
54707         * libio/stdio.h (gets): Always declare for C++ up to C++11 without
54708         checking __USE_GNU.
54710         * Makerules ($(inst_includedir)/%.h): New rule.
54711         * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
54712         (install-others): Remove variable setting.
54713         ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
54715 2012-03-08  Richard Henderson  <rth@twiddle.net>
54717         * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
54718         from macro to inline function; merge with the
54719         !__LIBC_INTERNAL_MATH_INLINES version.
54720         (__ieee754_sqrtf): Likewise.
54722         * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
54723         to inline function.
54724         (__rintf, __floor, __floorf): Likewise.
54726         * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
54727         macro to inline function.
54728         (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
54730         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
54731         not <math/math_private.h>.
54733 2012-03-08  David S. Miller  <davem@davemloft.net>
54735         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
54736         copyright year.
54737         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
54739 2012-03-08  Thomas Schwinge  <thomas@codesourcery.com>
54741         * resolv/gai_misc.c (handle_requests): Fix struct timespec
54742         normalization.
54743         * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
54744         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
54746 2012-03-08  Ulrich Drepper  <drepper@gmail.com>
54748         * stdio-common/tst-fphex.c: Various cleanups.  The macros cannot
54749         be defined individually, they must be defined as a block.  Define
54750         S for printing a string instead of hidint the different by using a
54751         macro for adding the 'l'.
54752         * stdio-common/tst-fphex-wide.c: Adjust.
54754 2012-03-07  Marek Polacek  <polacek@redhat.com>
54756         * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
54758 2012-03-08  Marek Polacek  <polacek@redhat.com>
54760         [BZ #13806]
54761         * stdio-common/Makefile (tests): Add tst-fphex-wide.
54762         * stdio-common/tst-fphex.c: Define a few macros to make the
54763         test reusable.  Use them.
54764         * stdio-common/tst-fphex-wide.c: New file.
54766 2012-03-08  Joseph Myers  <joseph@codesourcery.com>
54768         [BZ #6911]
54769         * manual/macros.texi (gnusystems): New macro.
54770         (nongnusystems): Likewise.
54771         (gnulinuxhurdsystems): Likewise.
54772         (gnuhurdsystems): Likewise..
54773         (gnulinuxsystems): Likewise.
54774         * manual/charset.texi: Use new macros or @theglibc{} to refer to
54775         variants of the GNU system, not "GNU system".
54776         * manual/conf.texi: Likewise.
54777         * manual/errno.texi: Likewise.  Update example of errno macro
54778         expansion.
54779         * manual/filesys.texi: Likewise.
54780         (getumask): Document as specific to GNU/Hurd.
54781         * manual/install.texi: Likewise.  Reword some references to
54782         GNU/Linux.
54783         * manual/intro.texi: Likewise.
54784         * manual/io.texi: Likewise.
54785         (File Name Portability): Detail which constraints are inapplicable
54786         to all GNU systems and which are only inapplicable to GNU/Hurd.
54787         * manual/job.texi: Likewise.
54788         * manual/llio.texi: Likewise.
54789         (O_NOCTTY): Document as present on GNU/Linux.
54790         * manual/maint.texi: Likewise.
54791         * manual/memory.texi: Likewise.
54792         * manual/pattern.texi: Likewise.
54793         * manual/pipe.texi: Likewise.
54794         * manual/process.texi: Likewise.
54795         * manual/resource.texi: Likewise.
54796         (RUSAGE_CHILDREN): Remove statement about specifying a particular
54797         child on GNU/Hurd.
54798         * manual/setjmp.texi: Likewise.
54799         * manual/signal.texi: Likewise.
54800         * manual/startup.texi: Likewise.
54801         * manual/stdio.texi: Likewise.
54802         * manual/terminal.texi: Likewise.
54803         (ONLCR): Document as POSIX.
54804         (OXTABS): Document availability on GNU/Linux as XTABS.
54805         (ONOEOT): Document availability separately from other bits.
54806         (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
54807         * manual/time.texi: Likewise.
54808         * manual/users.texi: Likewise.
54809         * INSTALL: Regenerated.
54810         * sysdeps/gnu/errlist.c: Regenerated.
54812         * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
54813         * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
54814         (libc_cv_ctors_header): Likewise.  Use asm ("") instead of calling
54815         puts.
54816         * configure: Regenerated.
54818 2012-03-07  Joseph Myers  <joseph@codesourcery.com>
54820         * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
54821         default includes instead of AC_HEADER_CHECK.
54822         * sysdeps/i386/configure: Regenerated.
54824         [BZ #10716]
54825         * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
54826         * math/s_cacoshf.c (__cacoshf): Likewise.
54827         * math/s_cacoshl.c (__cacoshl): Likewise.
54828         * math/s_casinh.c (__casinh): Set signs of result from argument.
54829         * math/s_casinhf.c (__casinhf): Likewise.
54830         * math/s_casinhl.c (__casinhl): Likewise.
54831         * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
54832         (casinh_test): Add more tests.
54833         * sysdeps/i386/fpu/libm-test-ulps: Update.
54834         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54836 2012-03-07  Ulrich Drepper  <drepper@gmail.com>
54838         * po/zh_TW.po: Update from translation team.
54840         * login/Makefile (distribute): Remove variable.
54841         * catgets/Makefile: Likewise.
54842         * mach/Makefile: Likewise.
54843         * malloc/Makefile: Likewise.
54844         * misc/Makefile: Likewise.
54845         * iconv/Makefile: Likewise.
54846         * nscd/Makefile: Likewise.
54847         * hurd/Makefile: Likewise.
54848         * manual/Makefile: Likewise.
54849         * locale/Makefile: Likewise.
54850         * intl/Makefile: Likewise.
54851         * conform/Makefile: Likewise.
54852         * nss/Makefile: Likewise.
54853         * time/Makefile: Likewise.
54854         * soft-fp/Makefile: Likewise.
54855         * dirent/Makefile: Likewise.
54856         * gmon/Makefile: Likewise.
54857         * po/Makefile: Likewise.
54858         * rt/Makefile: Likewise.
54859         * socket/Makefile: Likewise.
54860         * math/Makefile: Likewise.
54861         * signal/Makefile: Likewise.
54862         * debug/Makefile: Likewise.
54863         * elf/Makefile: Likewise.
54864         * timezone/Makefile: Likewise.
54865         * stdlib/Makefile: Likewise.
54866         * iconvdata/Makefile: Likewise.
54867         * sunrpc/Makefile: Likewise.
54868         * io/Makefile: Likewise.
54869         * argp/Makefile: Likewise.
54870         * inet/Makefile: Likewise.
54871         * hesiod/Makefile: Likewise.
54872         * grp/Makefile: Likewise.
54873         * csu/Makefile: Likewise.
54874         * wctype/Makefile: Likewise.
54875         * crypt/Makefile: Likewise.
54876         * libio/Makefile: Likewise.
54877         * string/Makefile: Likewise.
54878         * nis/Makefile: Likewise.
54879         * resolv/Makefile: Likewise.
54880         * stdio-common/Makefile: Likewise.
54881         * wcsmbs/Makefile: Likewise.
54882         * dlfcn/Makefile: Likewise.
54883         * posix/Makefile: Likewise.
54885         [BZ #6959]
54886         * timezone/Makefile: Don't install timezone files, just the programs
54887         and scripts.
54889 2012-03-06  Ulrich Drepper  <drepper@gmail.com>
54891         * nss/databases.def: Add missing gshadow entry.
54893         * stdio-common/vfprintf.c: Fix formatting.  Missing copyright update.
54895 2012-03-06  Marek Polacek  <polacek@redhat.com>
54897         [BZ #13726]
54898         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
54899         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
54900         * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
54901         * stdio-common/tst-long-dbl-fphex.c: New file.
54903 2012-03-06  David S. Miller  <davem@davemloft.net>
54905         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
54906         (set_obp_int): New function.
54907         (get_obp_int): New function.
54908         (__get_clockfreq_via_dev_openprom): Likewise.
54909         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
54910         Avoid unused variable warnings on 'val' and use builtin_expect.
54911         (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
54912         __builtin_expect.
54913         (INLINE_CLONE_SYSCALL): Likewise.
54915 2012-03-05  David S. Miller  <davem@davemloft.net>
54917         * sysdeps/sparc/fpu/libm-test-ulps: Update.
54919 2012-03-05  Andreas Schwab  <schwab@linux-m68k.org>
54921         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
54923         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
54924         only for |x| >= 40.
54925         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
54927 2012-03-05  H.J. Lu  <hongjiu.lu@intel.com>
54929         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
54930         Replace gettimeofday with __vdso_gettimeofday.
54932         * sysdeps/unix/sysv/linux/x86_64/init-first.c
54933         (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
54934         __vdso_clock_gettime and __vdso_getcpu.
54936         * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
54937         time with __vdso_time.
54939 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
54941         * manual/lang.texi (size_t): Note types to which size_t may be
54942         equivalent with the GNU C Library, but do not describe when
54943         differences between them are significant.
54945 2012-03-05  Andreas Jaeger  <aj@suse.de>
54947         * sysdeps/i386/fpu/libm-test-ulps: Update.
54949 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
54951         [BZ #3976]
54952         * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
54953         (__ieee754_pow): Save and restore rounding mode and use
54954         round-to-nearest for main computations.
54955         * math/libm-test.inc (pow_test_tonearest): New function.
54956         (pow_test_towardzero): Likewise.
54957         (pow_test_downward): Likewise.
54958         (pow_test_upward): Likewise.
54959         (main): Call the new functions.
54960         * sysdeps/i386/fpu/libm-test-ulps: Update.
54961         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54963         [BZ #3976]
54964         * math/libm-test.inc (cosh_test_tonearest): New function.
54965         (cosh_test_towardzero): Likewise.
54966         (cosh_test_downward): Likewise.
54967         (cosh_test_upward): Likewise.
54968         (sinh_test_tonearest): Likewise.
54969         (sinh_test_towardzero): Likewise.
54970         (sinh_test_downward): Likewise.
54971         (sinh_test_upward): Likewise.
54972         (main): Call the new functions.
54973         * sysdeps/i386/fpu/libm-test-ulps: Update.
54974         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54976 2012-03-05  Tom de Vries  <tom@codesourcery.com>
54978         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
54979         default stack guard is set in last bytes.
54980         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
54982 2012-03-05  Kees Cook  <keescook@chromium.org>
54984         * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
54986         [BZ #13656]
54987         * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
54988         possibly allocate from heap instead of stack.
54989         * stdio-common/bug-vfprintf-nargs.c: New file.
54990         * stdio-common/Makefile (tests): Add nargs overflow test.
54992 2012-03-03  Andreas Schwab  <schwab@linux-m68k.org>
54994         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
54996 2012-03-03  Marek Polacek  <polacek@redhat.com>
54998         * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
54999         * math/math_private.h: Likewise.
55000         * stdlib/tst-strtod.c: Likewise.
55001         * sysdeps/i386/i486/bits/atomic.h: Likewise.
55002         * sysdeps/x86_64/bits/atomic.h: Likewise.
55004 2012-03-02  David S. Miller  <davem@davemloft.net>
55006         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
55007         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
55008         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
55009         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
55010         * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
55011         * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
55012         * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
55013         * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
55015 2012-03-02  Roland McGrath  <roland@hack.frob.com>
55017         [BZ #13792]
55018         * manual/examples/README: New file, says the example source files
55019         can be used under GPL>=2.
55020         * manual/Makefile (%.c.texi): Eat the leading part of the file until a
55021         line containing just "*/".
55022         * manual/examples/add.c: Add copyright header (GPL>=2).
55023         * manual/examples/argp-ex1.c: Likewise.
55024         * manual/examples/argp-ex2.c: Likewise.
55025         * manual/examples/argp-ex3.c: Likewise.
55026         * manual/examples/argp-ex4.c: Likewise.
55027         * manual/examples/atexit.c: Likewise.
55028         * manual/examples/db.c: Likewise.
55029         * manual/examples/dir.c: Likewise.
55030         * manual/examples/dir2.c: Likewise.
55031         * manual/examples/execinfo.c: Likewise.
55032         * manual/examples/filecli.c: Likewise.
55033         * manual/examples/filesrv.c: Likewise.
55034         * manual/examples/fmtmsgexpl.c: Likewise.
55035         * manual/examples/genpass.c: Likewise.
55036         * manual/examples/inetcli.c: Likewise.
55037         * manual/examples/inetsrv.c: Likewise.
55038         * manual/examples/isockad.c: Likewise.
55039         * manual/examples/longopt.c: Likewise.
55040         * manual/examples/memopen.c: Likewise.
55041         * manual/examples/memstrm.c: Likewise.
55042         * manual/examples/mkfsock.c: Likewise.
55043         * manual/examples/mkisock.c: Likewise.
55044         * manual/examples/mygetpass.c: Likewise.
55045         * manual/examples/pipe.c: Likewise.
55046         * manual/examples/popen.c: Likewise.
55047         * manual/examples/rprintf.c: Likewise.
55048         * manual/examples/search.c: Likewise.
55049         * manual/examples/select.c: Likewise.
55050         * manual/examples/setjmp.c: Likewise.
55051         * manual/examples/sigh1.c: Likewise.
55052         * manual/examples/sigusr.c: Likewise.
55053         * manual/examples/stpcpy.c: Likewise.
55054         * manual/examples/strdupa.c: Likewise.
55055         * manual/examples/strftim.c: Likewise.
55056         * manual/examples/strncat.c: Likewise.
55057         * manual/examples/subopt.c: Likewise.
55058         * manual/examples/swapcontext.c: Likewise.
55059         * manual/examples/termios.c: Likewise.
55060         * manual/examples/testopt.c: Likewise.
55061         * manual/examples/testpass.c: Likewise.
55062         * manual/examples/timeval_subtract.c: Likewise.
55064         [BZ #13792]
55065         * manual/time.texi (Elapsed Time): Move timeval_subtract example
55066         function to ...
55067         * manual/timeval_subtract.c.texi: ... here, new file.
55069 2012-03-02  David S. Miller  <davem@davemloft.net>
55071         * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
55073 2012-03-02  Joseph Myers  <joseph@codesourcery.com>
55075         [BZ #3976]
55076         * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
55077         (__sin): Save and restore rounding mode and use round-to-nearest
55078         for all computations.
55079         (__cos): Save and restore rounding mode and use round-to-nearest
55080         for all computations.
55081         * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
55082         <fenv.h>.
55083         (tan): Save and restore rounding mode and use round-to-nearest for
55084         all computations.
55085         * math/libm-test.inc (cos_test_tonearest): New function.
55086         (cos_test_towardzero): Likewise.
55087         (cos_test_downward): Likewise.
55088         (cos_test_upward): Likewise.
55089         (sin_test_tonearest): Likewise.
55090         (sin_test_towardzero): Likewise.
55091         (sin_test_downward): Likewise.
55092         (sin_test_upward): Likewise.
55093         (tan_test_tonearest): Likewise.
55094         (tan_test_towardzero): Likewise.
55095         (tan_test_downward): Likewise.
55096         (tan_test_upward): Likewise.
55097         (main): Call the new functions.
55098         * sysdeps/i386/fpu/libm-test-ulps: Update.
55099         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55101         [BZ #10135]
55102         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
55103         small n, then large n, before computing and testing k+n.
55104         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
55105         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
55106         Likewise.
55107         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
55108         Likewise.
55109         * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
55110         * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
55111         * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
55112         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
55113         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
55114         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
55115         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
55116         * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
55117         * math/libm-test.inc (scalbn_test): Add more tests.
55118         (scalbln_test): Likewise.
55120         * manual/filesys.texi (mode_t): Describe constraints on size and
55121         signedness, not exact equivalence to a particular type.
55122         (ino_t): Likewise.
55123         (ino64_t): Likewise.
55124         (dev_t): Likewise.
55125         (nlink_t): Likewise.
55126         (blkcnt_t): Likewise.
55127         (blkcnt64_t): Likewise.
55128         * manual/llio.texi (off_t): Likewise.
55130         [BZ #3976]
55131         * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
55132         (__ieee754_exp): Save and restore rounding mode and use
55133         round-to-nearest for all computations.
55134         * math/libm-test.inc (exp_test_tonearest): New function.
55135         (exp_test_towardzero): Likewise.
55136         (exp_test_downward): Likewise.
55137         (exp_test_upward): Likewise.
55138         (main): Call the new functions.
55139         * sysdeps/i386/fpu/libm-test-ulps: Update.
55140         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55142 2012-03-01  Chris Demetriou  <cgd@google.com>
55144         * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
55145         have predictable order.
55147 2012-03-01  David S. Miller  <davem@davemloft.net>
55149         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
55151         * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
55152         * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
55153         * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
55154         * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
55156         * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
55157         * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
55158         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
55159         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
55160         * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
55161         * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
55162         * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
55163         * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
55164         * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
55166         * sysdeps/sparc/fpu/libm-test-ulps: Update.
55168         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
55169         * sysdeps/sparc/fpu/libm-test-ulps: to here.
55170         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
55172         * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
55173         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
55174         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
55175         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
55176         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
55177         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
55178         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
55179         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
55180         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
55181         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
55182         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
55183         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
55184         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
55185         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
55186         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
55187         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
55188         * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
55189         * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
55190         * sysdeps/sparc/elf/configure: Regenerated.
55192 2012-03-01  Joseph Myers  <joseph@codesourcery.com>
55194         * configure.in (AS, LD): Require binutils 2.20 or later.
55195         * configure: Regenerated.
55196         * manual/install.texi (Tools for Compilation): Give binutils 2.20
55197         as required minimum version.
55198         * INSTALL: Regenerated.
55200         [BZ #2541]
55201         [BZ #4108]
55202         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
55203         before squaring exponent.
55204         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
55205         bottom long double and 27 bits of top long double before squaring
55206         exponent.
55207         * math/libm-test.inc (erfc_test): Add more tests.
55208         * sysdeps/i386/fpu/libm-test-ulps: Update.
55209         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
55210         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55212 2012-03-01  Kai Tietz  <ktietz@redhat.com>
55214         * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
55215         * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
55216         containing bit-fields.
55217         * soft-fp/extended.h (_FP_UNION_E): Likewise.
55218         * soft-fp/single.h (_FP_UNION_S): Likewise.
55219         * soft-fp/double.h (_FP_UNION_D): Likewise.
55221 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
55223         [BZ #13786]
55224         * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
55225         not include ../strcmp.S.
55226         [USE_AS_STRNCASECMP_L]: Likewise.
55227         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
55228         (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
55229         * sysdeps/i386/i686/multiarch/strncase_l-c.c
55230         (__strncasecmp_l_ia32): Define as alias to
55231         __strncasecmp_l_nonascii.
55233         [BZ #5794]
55234         * math/libm-test.inc (expm1_test): Add test for bug 5794.
55235         * sysdeps/i386/fpu/libm-test-ulps: Update.
55236         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55238         * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
55239         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55241 2012-02-29  Jeff Law  <law@redhat.com>
55243         * resolv/res_query.c (__libc_res_nquerydomain): Avoid
55244         out of bounds read.
55246 2012-02-29  Marek Polacek  <polacek@redhat.com>
55248         [BZ #13706]
55249         * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
55250         * elf/Makefile: Add rules to run tst-unused-dep.out.
55252 2012-02-28  David S. Miller  <davem@davemloft.net>
55254         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
55255         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
55256         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
55257         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
55258         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
55259         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
55261 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
55263         * math/libm-test.inc (llround_test): Move one test from
55264         lround_test.  Use TEST_f_L in moved test.
55265         (lround_test): Move misplaced test to llround_test.  Add testcase
55266         from bug 2561.
55268 2012-02-28  Ulrich Drepper  <drepper@gmail.com>
55270         * sysdeps/x86_64/fpu/e_expf.S: New file.
55271         Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
55273 2012-02-28  Stanislav Brabec  <sbrabec@suse.cz>
55275         [BZ #13637]
55276         * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
55277         of remain_len that may cause incomplete multi-byte character and
55278         false match.
55279         * posix/bug-regex33.c: New file.
55280         * posix/Makefile (tests): Add bug-regex33.
55282 2012-02-28  Joseph Myers  <joseph@codesourcery.com>
55284         * manual/macros.texi: New file.
55285         * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
55286         * manual/libc.texinfo: Include macros.texi.
55287         * manual/creatute.texi: Likewise.
55288         * manual/install.texi: Likewise.
55289         * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
55290         @glibcadj{} in references to the GNU C Library.
55291         * manual/charset.texi: Likewise.
55292         * manual/conf.texi: Likewise.
55293         * manual/contrib.texi: Likewise.  Consistently use "GNU C Library"
55294         when not using those macros.
55295         * manual/creature.texi: Likewise.
55296         * manual/crypt.texi: Likewise.
55297         * manual/errno.texi: Likewise.
55298         * manual/filesys.texi: Likewise.
55299         * manual/header.texi: Likewise.
55300         * manual/install.texi: Likewise.
55301         * manual/intro.texi: Likewise.
55302         * manual/io.texi: Likewise.
55303         * manual/job.texi: Likewise.
55304         * manual/lang.texi: Likewise.
55305         * manual/libc.texiinfo: Likewise.
55306         * manual/llio.texi: Likewise.
55307         * manual/locale.texi: Likewise.
55308         * manual/maint.texi: Likewise.
55309         * manual/math.texi: Likewise.
55310         * manual/memory.texi: Likewise.
55311         * manual/message.texi: Likewise.
55312         * manual/nss.texi: Likewise.
55313         * manual/pattern.texi: Likewise.
55314         * manual/process.texi: Likewise.
55315         * manual/resource.texi: Likewise.
55316         * manual/search.texi: Likewise.
55317         * manual/setjmp.texi: Likewise.
55318         * manual/signal.texi: Likewise.
55319         * manual/socket.texi: Likewise.
55320         * manual/startup.texi: Likewise.
55321         * manual/stdio.texi: Likewise.
55322         * manual/string.texi: Likewise.
55323         * manual/sysinfo.texi: Likewise.
55324         * manual/syslog.texi: Likewise.
55325         * manual/terminal.texi: Likewise.
55326         * manual/time.texi: Likewise.
55327         * manual/users.texi: Likewise.
55328         * INSTALL: Regenerated.
55329         * NOTES: Regenerated.
55330         * sysdeps/gnu/errlist.c: Regenerated.
55332 2012-02-28  Andreas Schwab  <schwab@linux-m68k.org>
55334         * include/dirent.h: Include <dirstream.h> before
55335         <dirent/dirent.h>.
55337 2012-02-28  David S. Miller  <davem@davemloft.net>
55339         * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
55340         * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
55341         * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
55342         * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
55344 2012-02-27  David S. Miller  <davem@davemloft.net>
55346         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
55347         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
55348         * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
55349         * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
55351         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
55352         frame pointer instead of stack pointer relative arg slot.
55353         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
55354         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
55355         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
55357 2012-02-27  Carlos O'Donell  <carlos_odonell@mentor.com>
55359         [BZ #3992]
55360         * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
55362 2012-02-27  David S. Miller  <davem@davemloft.net>
55364         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
55365         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
55366         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
55367         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
55368         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
55369         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
55370         * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
55371         * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
55373 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
55375         * configure.in (CC): Restrict allowed GCC versions to 4.3 and
55376         later.  Allow versions 5-9.
55377         * configure: Regenerated.
55378         * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
55379         required minimum version and 4.6 as recommended version.  Do not
55380         mention bugs in GCC 2.7 and 2.8.
55381         * INSTALL: Regenerated.
55383 2012-02-27  David S. Miller  <davem@davemloft.net>
55385         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
55386         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
55387         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
55388         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
55389         * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
55390         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
55391         * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
55392         * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
55394         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
55395         manipulate bits before adding and subtracting TWO112[sx].
55396         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
55398 2012-02-27  Roland McGrath  <roland@hack.frob.com>
55400         [BZ #13775]
55401         * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
55402         [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
55403         * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
55404         being in POSIX, because they are in 1003.1-2008.
55406         * rt/tst-aio.c: Include <fcntl.h>.
55407         * rt/tst-aio7.c: Likewise.
55408         * rt/tst-aio64.c: Likewise.
55410         * stdio-common/tst-fmemopen.c (main): Remove spurious const.
55412 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
55414         * manual/install.texi (--with-headers): Describe headers as
55415         interface headers, not private headers.
55416         (Specific advice for GNU/Linux systems): Describe use of headers
55417         from "make headers_install", not private headers from older
55418         kernels.
55419         * INSTALL: Regenerated.
55420         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
55421         Change to 2.6.19.
55422         * sysdeps/unix/sysv/linux/configure: Regenerated.
55424         * manual/llio.texi (fclean): Remove documentation.
55426         * manual/Makefile (libc-texi-generated): New variable.  Include
55427         version.texi.
55428         (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
55429         $(libc-texi-generated), not duplicated list of files.
55430         (version.texi, stamp-version): New rules.
55431         (realclean): Remove $(libc-texi-generated), not individual files
55432         from that list.  Do not remove dir-add.texinfo.
55433         * manual/libc.texinfo: Comment out uses of edition numbers and
55434         references to printed manual.  Remove last-updated dates.
55435         (EDITION): Comment out.
55436         (ISBN): Likewise.
55437         (VERSION, UPDATED): Remove.
55438         (version.texi): Include.
55440 2012-02-27  Andreas Schwab  <schwab@linux-m68k.org>
55442         * sysdeps/posix/spawni.c: Include <signal.h>.
55443         * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
55444         * sysdeps/pthread/aio_fsync.c: Likewise.
55446 2012-02-26  Ulrich Drepper  <drepper@gmail.com>
55448         * conform/Makefile (tests): Run only when not cross-compiling and
55449         when fast-check is not defined.
55451         * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
55452         * conform/data/limits.h-data: Fixes for POSIX2008.
55453         * conform/run-conformtest.sh: Run all tests.
55454         * include/arpa/inet.h: Changes to allow conformtest.pl to use the
55455         headers.
55456         * include/bits/dlfcn.h: Likewise.
55457         * include/langinfo.h: Likewise.
55458         * include/monetary.h: Likewise.
55459         * include/sys/poll.h: Likewise.
55461         * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
55462         for __USE_GNU.
55463         * posix/spawn.h: Define __need_sigset_t.
55464         * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
55465         * posix/unistd.h: Declare ctermid only for XPG before XPG6.
55466         * rt/aio.h: Don't include fcntl.h and signal.h.  Use bits/siginfo.h
55467         to get sigevent_t only.
55468         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
55469         only for __USE_GNU.
55470         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
55471         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
55472         process_vm_writev only for __USE_GNU.
55473         * termios/termios.h: Declare tcgetsid also for POSIX2008.
55475         * conform/Makefile: For now ignore errors from run-conformtest.
55476         * conform/conformtest.pl: Simplify code.  Add -ansi to CFLAGS for
55477         POSIX to avoid namespace pollution.  Don't prepend headers.
55478         * conform/data/aio.h-data: Fixes for POSIX testing.
55479         * conform/data/fcntl.h-data: Likewise.
55480         * conform/data/glob.h-data: Likewise.
55481         * conform/data/grp.h-data: Likewise.
55482         * conform/data/pthread.h-data: Likewise.
55483         * conform/data/pwd.h-data: Likewise.
55484         * conform/data/signal.h-data: Likewise.
55485         * conform/data/spawn.h-data: Likewise.
55486         * conform/data/stdio.h-data: Likewise.
55487         * conform/data/stdlib.h-data: Likewise.
55488         * conform/data/stropts.h-data: Likewise.
55489         * conform/data/sys/mman.h-data: Likewise.
55490         * conform/data/sys/stat.h-data: Likewise.
55491         * conform/data/sys/types.h-data: Likewise.
55492         * conform/data/sys/wait.h-data: Likewise.
55493         * conform/data/time.h-data: Likewise.
55494         * conform/data/unistd.h-data: Likewise.
55495         * conform/data/utime.h-data: Likewise.
55497         * io/sys/stat.h: fchmod was always in POSIX.
55498         * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
55499         * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
55500         * rt/aio.h: Define __need_timespec before including <time.h>.
55501         * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
55502         struct.  Add forward declaration of pthread_attr_t and use it in
55503         sigevent.
55504         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
55505         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
55506         * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
55507         always remove CLK_TCK definition.
55509 2012-02-26  Andreas Schwab  <schwab@linux-m68k.org>
55511         * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
55513 2012-02-25  Ulrich Drepper  <drepper@gmail.com>
55515         * conform/run-conformtest.sh: New file.
55516         * conform/Makefile: Run run-conformtest for tests.
55517         * conform/conformtest.pl: Many bug fixes.  Add ISO C99, ISO C11
55518         support.
55520         * conform/data/uchar.h-data: New file.
55521         * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
55522         * conform/data/arpa/inet.h-data: Likewise.
55523         * conform/data/assert.h-data: Likewise.
55524         * conform/data/complex.h-data: Likewise.
55525         * conform/data/cpio.h-data: Likewise.
55526         * conform/data/ctype.h-data: Likewise.
55527         * conform/data/dirent.h-data: Likewise.
55528         * conform/data/dlfcn.h-data: Likewise.
55529         * conform/data/errno.h-data: Likewise.
55530         * conform/data/fcntl.h-data: Likewise.
55531         * conform/data/float.h-data: Likewise.
55532         * conform/data/fmtmsg.h-data: Likewise.
55533         * conform/data/fnmatch.h-data: Likewise.
55534         * conform/data/ftw.h-data: Likewise.
55535         * conform/data/glob.h-data: Likewise.
55536         * conform/data/grp.h-data: Likewise.
55537         * conform/data/iconv.h-data: Likewise.
55538         * conform/data/inttypes.h-data: Likewise.
55539         * conform/data/langinfo.h-data: Likewise.
55540         * conform/data/libgen.h-data: Likewise.
55541         * conform/data/limits.h-data: Likewise.
55542         * conform/data/locale.h-data: Likewise.
55543         * conform/data/math.h-data: Likewise.
55544         * conform/data/monetary.h-data: Likewise.
55545         * conform/data/mqueue.h-data: Likewise.
55546         * conform/data/ndbm.h-data: Likewise.
55547         * conform/data/net/if.h-data: Likewise.
55548         * conform/data/netdb.h-data: Likewise.
55549         * conform/data/netinet/in.h-data: Likewise.
55550         * conform/data/nl_types.h-data: Likewise.
55551         * conform/data/poll.h-data: Likewise.
55552         * conform/data/pthread.h-data: Likewise.
55553         * conform/data/pwd.h-data: Likewise.
55554         * conform/data/regex.h-data: Likewise.
55555         * conform/data/sched.h-data: Likewise.
55556         * conform/data/search.h-data: Likewise.
55557         * conform/data/semaphore.h-data: Likewise.
55558         * conform/data/setjmp.h-data: Likewise.
55559         * conform/data/signal.h-data: Likewise.
55560         * conform/data/spawn.h-data: Likewise.
55561         * conform/data/stdarg.h-data: Likewise.
55562         * conform/data/stdio.h-data: Likewise.
55563         * conform/data/stdlib.h-data: Likewise.
55564         * conform/data/string.h-data: Likewise.
55565         * conform/data/strings.h-data: Likewise.
55566         * conform/data/stropts.h-data: Likewise.
55567         * conform/data/sys/ipc.h-data: Likewise.
55568         * conform/data/sys/mman.h-data: Likewise.
55569         * conform/data/sys/msg.h-data: Likewise.
55570         * conform/data/sys/resource.h-data: Likewise.
55571         * conform/data/sys/select.h-data: Likewise.
55572         * conform/data/sys/sem.h-data: Likewise.
55573         * conform/data/sys/shm.h-data: Likewise.
55574         * conform/data/sys/socket.h-data: Likewise.
55575         * conform/data/sys/stat.h-data: Likewise.
55576         * conform/data/sys/statvfs.h-data: Likewise.
55577         * conform/data/sys/time.h-data: Likewise.
55578         * conform/data/sys/timeb.h-data: Likewise.
55579         * conform/data/sys/times.h-data: Likewise.
55580         * conform/data/sys/types.h-data: Likewise.
55581         * conform/data/sys/uio.h-data: Likewise.
55582         * conform/data/sys/un.h-data: Likewise.
55583         * conform/data/sys/utsname.h-data: Likewise.
55584         * conform/data/sys/wait.h-data: Likewise.
55585         * conform/data/syslog.h-data: Likewise.
55586         * conform/data/tar.h-data: Likewise.
55587         * conform/data/termios.h-data: Likewise.
55588         * conform/data/utime.h-data: Likewise.
55589         * conform/data/utmpx.h-data: Likewise.
55590         * conform/data/varargs.h-data: Likewise.
55591         * conform/data/wchar.h-data: Likewise.
55592         * conform/data/wctype.h-data: Likewise.
55593         * conform/data/wordexp.h-data: Likewise.
55595         * include/stropts.h: New file.
55596         * include/uchar.h: New file.
55597         * include/aio.h: Changes to allow conformtest.pl to use the headers.
55598         * include/assert.h: Likewise.
55599         * include/ctype.h: Likewise.
55600         * include/dirent.h: Likewise.
55601         * include/dlfcn.h: Likewise.
55602         * include/fcntl.h: Likewise.
55603         * include/fnmatch.h: Likewise.
55604         * include/glob.h: Likewise.
55605         * include/grp.h: Likewise.
55606         * include/libio.h: Likewise.
55607         * include/locale.h: Likewise.
55608         * include/math.h: Likewise.
55609         * include/net/if.h: Likewise.
55610         * include/netdb.h: Likewise.
55611         * include/netinet/in.h: Likewise.
55612         * include/pthread.h: Likewise.
55613         * include/pwd.h: Likewise.
55614         * include/regex.h: Likewise.
55615         * include/sched.h: Likewise.
55616         * include/search.h: Likewise.
55617         * include/setjmp.h: Likewise.
55618         * include/signal.h: Likewise.
55619         * include/stdio.h: Likewise.
55620         * include/stdlib.h: Likewise.
55621         * include/string.h: Likewise.
55622         * include/sys/cdefs.h: Likewise.
55623         * include/sys/mman.h: Likewise.
55624         * include/sys/msg.h: Likewise.
55625         * include/sys/resource.h: Likewise.
55626         * include/sys/select.h: Likewise.
55627         * include/sys/socket.h: Likewise.
55628         * include/sys/stat.h: Likewise.
55629         * include/sys/statvfs.h: Likewise.
55630         * include/sys/time.h: Likewise.
55631         * include/sys/times.h: Likewise.
55632         * include/sys/uio.h: Likewise.
55633         * include/sys/utsname.h: Likewise.
55634         * include/sys/wait.h: Likewise.
55635         * include/termios.h: Likewise.
55636         * include/time.h: Likewise.
55637         * include/ulimit.h: Likewise.
55638         * include/unistd.h: Likewise.
55639         * include/utime.h: Likewise.
55640         * include/wchar.h: Likewise.
55641         * include/wctype.h: Likewise.
55642         * include/wordexp.h: Likewise.
55644         * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
55646         * time/time.h: TIME_UTC must be a macro.
55647         Make timespec_get available for ISO C11 only as well.
55649 2012-02-24  Ulrich Drepper  <drepper@gmail.com>
55651         * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
55652         Reported by Peng Haitao <penght@cn.fujitsu.com>.
55654 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
55656         * configure.in: Use -o not -a in test for unsupported multi-arch.
55658 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
55660         * manual/texinfo.tex: Update to version 2012-01-19.16.
55662 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
55664         * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
55666 2012-02-24  Roland McGrath  <roland@hack.frob.com>
55668         [BZ #13738]
55669         * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
55670         * manual/fdl-1.3.texi: New file.
55671         * manual/fdl-1.1.texi: File removed.
55673         [BZ #13738]
55674         * manual/libc.texinfo (FDL_VERSION): New @set.
55675         Use it for mention of FDL in cover text.
55676         (Documentation License): Use it in @include file name.
55678 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
55679             Roland McGrath  <roland@hack.frob.com>
55681         [BZ #5461]
55682         * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
55683         (not LONG_LONG_MAX and LONG_LONG_MIN.
55684         * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
55685         LLONG_MIN.  Refer to LONG_LONG_MIN only as older GCC-specific
55686         name.
55687         (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
55689 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
55691         [BZ #2547]
55692         [BZ #11365]
55693         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
55694         manipulate bits before adding and subtracting TWO23[sx].
55695         * math/libm-test.inc (nearbyint_test): Add more tests.
55697 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
55699         [BZ #2548]
55700         * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
55701         bits before adding and subtracting TWO23[sx].
55702         * math/libm-test.inc (rint_test): Add more tests.
55703         (rint_test_tonearest): Likewise.
55704         (rint_test_towardzero): Likewise.
55705         (rint_test_downward): Likewise.
55706         (rint_test_upward: Likewise.
55708 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
55710         [BZ #10110]
55711         * include/stdc-predef.h: New file.  Extracted from features.h.
55712         * include/features.h: Include stdc-predef.h.
55713         * Makefile (headers): Add stdc-predef.h.
55714         * CONFORMANCE (Compiler limitations): Update.
55716 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
55718         * manual/libc.texinfo (VERSION, UPDATED): Revert.
55720 2012-02-21  David S. Miller  <davem@davemloft.net>
55722         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
55723         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
55725 2012-02-20  David S. Miller  <davem@davemloft.net>
55727         * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
55728         using a normal save/restore sequence, rather than allocating a
55729         dummy stack frame just to store a frame pointer and restore.
55730         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
55732 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
55734         * manual/install.texi: Fix stray word in line-wrapped comment.
55736 2012-02-20  David S. Miller  <davem@davemloft.net>
55738         * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
55739         both binutils and gcc support GOTDATA.
55741         * sysdeps/unix/sparc/sysdep.h: Document why we don't use
55742         "rd %pc" in the PIC register setup sequences.
55744         * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
55745         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
55746         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
55747         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
55748         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
55749         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
55750         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
55751         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
55752         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
55753         (SYSCALL_ERROR_HANDLER): Likewise.
55754         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
55755         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
55756         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
55757         (SYSCALL_ERROR_HANDLER): Likewise.
55759         * config.h.in (HAVE_BINUTILS_GOTDATA): New.
55760         (HAVE_GCC_GOTDATA): New.
55761         * sysdeps/sparc/elf/configure.in: Test for GOTDATA
55762         relocation support in both binutils and gcc.
55763         * sysdeps/sparc/elf/configure: Regenerate.
55765         * sysdeps/sparc/sparc32/elf/configure.in: Delete.
55766         * sysdeps/sparc/sparc32/elf/configure: Delete.
55767         * sysdeps/sparc/sparc64/elf/configure.in: Delete.
55768         * sysdeps/sparc/sparc64/elf/configure: Delete.
55769         * sysdeps/sparc/elf/configure.in: New file.
55770         * sysdeps/sparc/elf/configure: Generate.
55772         * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
55773         * sysdeps/sparc/sparc32/elf/configure: Regenerate.
55774         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
55775         * sysdeps/sparc/sparc64/elf/configure: Regenerate.
55776         * config.h.in (BROKEN_SPARC_WDISP22): Remove.
55778 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
55780         * manual/install.texi: Do not mention specific glibc version
55781         numbers.
55782         * manual/libc.texinfo (VERSION, UPDATED): Update.
55783         (@copying): Use @copyright{} and range of years.
55785 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
55787         [BZ #13695]
55788         * csu/Makefile (distribute): Remove initfini.c and defs.awk.
55789         [crti.S not in sysdirs] (generated): Do not append.
55790         [crti.S not in sysdirs] (omit-deps): Likewise.
55791         [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
55792         [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
55793         [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
55794         [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
55795         [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
55796         Likewise.
55797         [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
55798         [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
55799         [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
55800         * csu/defs.awk: Remove file.
55801         * sysdeps/generic/initfini.c: Likewise.
55802         * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
55803         variable.
55804         * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
55805         Likewise.
55807 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
55809         * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
55810         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
55811         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
55812         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
55813         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
55814         * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
55815         <bits/epoll.h>.
55816         (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
55817         (__EPOLL_PACKED): Define to empty if not defined by
55818         <bits/epoll.h>.
55819         (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
55820         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
55821         bits/epoll.h.
55823 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
55825         * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
55826         * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
55827         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
55828         * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
55829         <bits/timerfd.h>.
55830         (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
55831         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
55832         bits/timerfd.h.
55834 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
55836         * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
55837         in C locale.
55838         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
55839         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
55840         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
55841         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55843 2012-02-20  Aurelien Jarno  <aurelien@aurel32.net>
55845         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
55846         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
55848 2012-02-19  Andreas Schwab  <schwab@linux-m68k.org>
55850         * manual/errno.texi (Error Codes): Add EHWPOISON entry.
55851         * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
55852         defined.
55853         * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
55854         Likewise.
55855         * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
55856         entry for 2.16.
55858 2012-02-19  Aurelien Jarno  <aurelien@aurel32.net>
55860         * math/w_acos.c: Use non-signaling floating-point comparisons.
55861         * math/w_acosf.c: Likewise.
55862         * math/w_acosh.c: Likewise.
55863         * math/w_acoshf.c: Likewise.
55864         * math/w_acoshl.c: Likewise.
55865         * math/w_acosl.c: Likewise.
55866         * math/w_asin.c: Likewise.
55867         * math/w_asinf.c: Likewise.
55868         * math/w_asinl.c: Likewise.
55869         * math/w_atanh.c: Likewise.
55870         * math/w_atanhf.c: Likewise.
55871         * math/w_atanhl.c: Likewise.
55872         * math/w_exp2.c: Likewise.
55873         * math/w_exp2f.c: Likewise.
55874         * math/w_exp2l.c: Likewise.
55875         * math/w_j0.c: Likewise.
55876         * math/w_j0f.c: Likewise.
55877         * math/w_j0l.c: Likewise.
55878         * math/w_j1.c: Likewise.
55879         * math/w_j1f.c: Likewise.
55880         * math/w_j1l.c: Likewise.
55881         * math/w_jn.c: Likewise.
55882         * math/w_jnf.c: Likewise.
55883         * math/w_log.c: Likewise.
55884         * math/w_log10.c: Likewise.
55885         * math/w_log10f.c: Likewise.
55886         * math/w_log10l.c: Likewise.
55887         * math/w_log2.c: Likewise.
55888         * math/w_log2f.c: Likewise.
55889         * math/w_log2l.c: Likewise.
55890         * math/w_logf.c: Likewise.
55891         * math/w_logl.c: Likewise.
55892         * math/w_sqrt.c: Likewise.
55893         * math/w_sqrtf.c: Likewise.
55894         * math/w_sqrtl.c: Likewise.
55895         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
55896         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
55897         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
55898         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
55899         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
55901 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
55903         [BZ #9739]
55904         * manual/string.texi (strnlen): Use correct parameter name in
55905         equivalent expression.
55907 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
55909         [BZ #11174]
55910         * manual/users.texi (seteuid): Consistently use neweuid for
55911         argument name.
55913 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
55915         [BZ #13704]
55916         * manual/nss.texi (Services in the NSS configuration): Correct
55917         list of services in example configuration file.
55919 2012-02-19  Nick Bowler  <nbowler@draconx.ca>
55921         [BZ #11322]
55922         * manual/arith.texi: Remove statements about negative zero
55923         behaving identically to zero.
55925 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
55927         [BZ #5993]
55928         * manual/install.texi: Do not document upgrading from libc5.
55930 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
55932         [BZ #4596]
55933         * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
55935 2012-02-18  David S. Miller  <davem@davemloft.net>
55937         * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
55938         (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
55939         %o7 across the call.
55940         (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
55941         instead.
55942         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
55943         SETUP_PIC_REG_LEAF.
55944         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
55945         * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
55946         * sysdeps/sparc/crtn.S: Likewise.
55948 2012-02-17  Ulrich Drepper  <drepper@gmail.com>
55950         * aout/Makefile: Remove.
55952 2012-02-18  Rafe Kettler  <rafe.kettler@gmail.com>
55954         [BZ #13058]
55955         * manual/examples/argp-ex1.c (main): Format definition in GNU
55956         style.
55957         * manual/examples/argp-ex2.c (main): Likewise.
55958         * manual/examples/argp-ex3.c (main): Likewise.
55959         * manual/examples/argp-ex4.c (main): Likewise.
55960         * manual/examples/longopt.c (main): Use new-style prototype
55961         definition.
55962         * manual/examples/strncat.c (main): Specify return type and use
55963         (void) for arguments.
55964         * manual/examples/subopt.c (main): Use char **argv argument.
55966 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
55968         [BZ #5077]
55969         * manual/lang.texi (FLT_EPSILON): Avoid description depending on
55970         rounding modes.
55972 2012-02-17  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>
55974         [BZ #6907]
55975         * manual/string.texi (strchr): Change when strchrnul is
55976         recommended.
55978 2012-02-17  Dwayne Grant McConnell  <decimal@us.ibm.com>
55980         [BZ #174]
55981         * manual/locale.texi (setlocale): Document LOCPATH.
55983 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
55985         [BZ #10210]
55986         * manual/process.texi (execle): Move @dots{} before last argument.
55988 2012-02-17  Paul Bolle  <pebolle@tiscali.nl>
55990         [BZ #12047]
55991         * manual/charset.texi (Generic Charset Conversion): Fix typo
55992         (LC_TYPE -> LC_CTYPE).
55994 2012-02-17  Nicolas Boulenguez  <nicolas.boulenguez@free.fr>
55996         [BZ #5805]
55997         * manual/arith.texi (scalbn): Use @var{} on parameter names.
55998         (scalbnf): Likewise.
55999         (scalbnl): Likewise.
56000         (scalbln): Likewise.
56001         (scalblnf): Likewise.
56002         (scalblnl): Likewise.
56003         * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
56004         (vwarnx): Likewise.
56005         (verr): Likewise.
56006         (verrx): Likewise.
56007         * manual/filesys.texi (telldir): Use braces around return type.
56008         * manual/llio.texi (mmap): Add space after comma.
56009         (mmap64): Likewise.
56010         * manual/math.texi (jn): Use @var{} on parameter names.
56011         (jnf): Likewise.
56012         (jnl): Likewise.
56013         (yn): Likewise.
56014         (ynf): Likewise.
56015         (ynl): Likewise.
56016         * manual/memory.texi (alloca): Remove semicolon on @deftypefun
56017         line.
56018         * manual/resource.texi (ulimit): Use @dots{} instead of literal
56019         "...".
56020         (sched_get_priority_min): Remove semicolon on @deftypefun line.
56021         (sched_get_priority_max): Likewise.
56022         * manual/signal.texi (sigvec): Add space after comma.
56023         * manual/socket.texi (if_nametoindex): Use @var{} on parameter
56024         names.
56025         (if_indextoname): Likewise.
56026         (if_freenameindex): Likewise.
56027         (sendto): Use ',' instead of '.' in prototype.
56028         * manual/startup.texi (syscall): Use @dots{} instead of literal
56029         "...".
56030         * manual/stdio.texi (__fpending): Separate initial words of
56031         paragraph from @deftypefun line.
56032         * manual/syslog.texi (syslog): Use @dots{} instead of literal
56033         "...".
56034         (vsyslog): Use @var{} on parameter names.
56035         * manual/terminal.texi (stty): Use @var{} on parameter names.
56036         * manual/users.texi (getutmp): Use @var{} on parameter names.
56037         (getutmpx): Likewise.
56039 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
56041         [BZ #6884]
56042         * manual/stdio.texi (fopen): Fix typos in description of
56043         ",ccs=STRING".
56045 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
56047         [BZ #4026]
56048         * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
56049         get clock_id definition.
56051 2012-02-17  Thomas Schwinge  <thomas@schwinge.name>
56053         [BZ #4822]
56054         * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
56055         (madvise): Cast every argument to void on its own.
56057 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
56059         [BZ #9902]
56060         * manual/startup.texi (Exit Status): Fix typo.
56062 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
56064         [BZ #10140]
56065         * manual/examples/argp-ex1.c: Include <stdlib.h>.
56066         * manual/examples/argp-ex2.c: Likewise.
56067         * manual/examples/argp-ex3.c: Likewise.
56069 2012-02-16  Richard Henderson  <rth@redhat.com>
56071         * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
56072         * sysdeps/s390/s390-32/initfini.c: Remove.
56073         * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
56074         * sysdeps/s390/s390-64/initfini.c: Remove.
56076 2012-02-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
56078         * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
56079         compiler output for sysdeps/generic/initfini.c.
56080         * sysdeps/sh/elf/initfini.c: Remove file.
56082 2012-02-16  David S. Miller  <davem@davemloft.net>
56084         [BZ #11494]
56085         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
56087         * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
56088         * sysdeps/sparc/crti.S: New file.
56089         * sysdeps/sparc/crtn.S: New file.
56090         * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
56091         * sysdeps/sparc/sparc64/Makefile: Likewise.
56093 2012-02-15  Mike Frysinger  <vapier@gentoo.org>
56095         [BZ #3335]
56096         * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
56098 2012-02-15  Roland McGrath  <roland@hack.frob.com>
56100         [BZ #4822]
56101         * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
56103         * mach/devstream.c (cookie_io_functions_t): Macro removed.
56104         (write, read, close): Likewise.
56105         Patch by Aurelien Jarno <aurelien@aurel32.net>.
56107 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
56109         * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
56110         * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
56111         * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
56112         * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
56113         <bits/signalfd.h>.
56114         (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
56115         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
56116         bits/signalfd.h.
56118 2012-02-14  Marek Polacek  <polacek@redhat.com>
56120         * sysdeps/x86_64/crti.S: New file.
56121         * sysdeps/x86_64/crtn.S: New file.
56122         * sysdeps/x86_64/elf/initfini.c: Remove file.
56124 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
56126         * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
56127         * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
56128         * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
56129         * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
56130         <bits/inotify.h>.
56131         (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
56132         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
56133         bits/inotify.h.
56135 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
56137         * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
56138         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
56139         * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
56140         * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
56141         <bits/eventfd.h>.
56142         (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
56143         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
56144         bits/eventfd.h.
56146 2012-02-10  Thomas Schwinge  <thomas@codesourcery.com>
56148         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
56149         __feraiseexcept instead of feraiseexcept.
56151         * rt/tst-cpuclock1.c: Add a few comments, and error checking for
56152         nanosleep invocations.
56153         * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
56154         strings, and add error checking for a nanosleep invocations.
56156 2012-02-09  Paul Eggert  <eggert@cs.ucla.edu>
56158         Replace FSF snail mail address with URLs, as per GNU coding standards.
56159         Most of the snail mail addresses were wrong anyway, and omitting
56160         them makes the source code easier to maintain.  Almost all of the
56161         changes are to license notices and to locale LC_IDENTIFICATION
56162         addresses, except for this one:
56163         * manual/libc.texinfo: In "Published by", give the FSF's URL,
56164         not its snail mail address.
56166 2012-02-09  Richard Henderson  <rth@twiddle.net>
56168         * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
56169         of kernel-features.h.
56171         * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
56173 2012-02-08  Marek Polacek  <polacek@redhat.com>
56175         * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
56176         * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
56177         * sysdeps/gnu/_G_config.h: Likewise.
56178         * sysdeps/generic/_G_config.h: Likewise.
56180 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
56182         * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
56183         tests.
56184         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56186         * sysdeps/powerpc/powerpc32/crti.S: New file.
56187         * sysdeps/powerpc/powerpc32/crtn.S: New file.
56188         * sysdeps/powerpc/powerpc64/crti.S: New file.
56189         * sysdeps/powerpc/powerpc64/crtn.S: New file.
56191         * Makeconfig (have-initfini): Don't set.
56192         * config.make.in (have-initfini, need-nopic-initfini): Don't set.
56193         * configure.in (nopic_initfini): Don't substitute.
56194         * config.h.in (HAVE_INITFINI): Don't #undef.
56195         * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
56196         * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
56198 2012-02-08  Joseph Myers  <joseph@codesourcery.com>
56200         Support crti.S and crtn.S provided directly by architectures.
56201         * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
56202         [crti.S in sysdirs] (omit-deps): Likewise.
56203         [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
56204         [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
56205         [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
56206         [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
56207         [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
56208         [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
56209         [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
56210         [crti.S in sysdirs] (initfini.c): Remove vpath directive.
56211         * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
56212         compiler output for sysdeps/generic/initfini.c.
56213         * sysdeps/i386/elf/Makefile: Remove file.
56214         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
56216 2012-02-07  Marek Polacek  <polacek@redhat.com>
56218         * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
56219         * sysdeps/gnu/_G_config.h: Likewise.
56220         * sysdeps/mach/hurd/_G_config.h: Likewise.
56222 2012-02-07  Marek Polacek  <polacek@redhat.com>
56224         * math/Makefile (tests): Add tst-CMPLX2.
56225         * math/tst-CMPLX2.c: New file.
56227 2012-02-07  Andreas Schwab  <schwab@linux-m68k.org>
56229         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
56231         * math/libm-test.inc (jn_test): Add missing L suffix.
56233 2012-02-06  Marek Polacek  <polacek@redhat.com>
56235         * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
56236         * sysdeps/i386/fpu/e_powf.S: Likewise.
56237         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
56238         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
56239         * sysdeps/i386/fpu/e_acosh.S: Likewise.
56240         * sysdeps/i386/fpu/e_pow.S: Likewise.
56241         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
56242         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
56243         * sysdeps/i386/fpu/s_expm1.S: Likewise.
56244         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
56245         * sysdeps/i386/fpu/e_log2.S: Likewise.
56246         * sysdeps/i386/fpu/e_log2l.S: Likewise.
56247         * sysdeps/i386/fpu/e_scalb.S: Likewise.
56248         * sysdeps/i386/fpu/e_powl.S: Likewise.
56249         * sysdeps/i386/fpu/s_log1p.S: Likewise.
56250         * sysdeps/i386/fpu/e_log10f.S: Likewise.
56251         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
56252         * sysdeps/i386/fpu/e_logl.S: Likewise.
56253         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
56254         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
56255         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
56256         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
56257         * sysdeps/i386/fpu/e_log2f.S: Likewise.
56258         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
56259         * sysdeps/i386/fpu/e_log.S: Likewise.
56260         * sysdeps/i386/fpu/s_cexp.S: Likewise.
56261         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
56262         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
56263         * sysdeps/i386/fpu/e_logf.S: Likewise.
56264         * sysdeps/i386/fpu/e_log10l.S: Likewise.
56265         * sysdeps/i386/fpu/e_atanh.S: Likewise.
56266         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
56267         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
56268         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
56269         * sysdeps/i386/fpu/e_log10.S: Likewise.
56270         * sysdeps/i386/fpu/s_frexp.S: Likewise.
56271         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
56272         * sysdeps/i386/fpu/s_asinh.S: Likewise.
56273         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
56274         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
56275         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
56276         * sysdeps/i386/asm-syntax.h: Likewise.
56277         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
56278         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
56279         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
56280         * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
56281         * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
56282         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
56283         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
56284         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
56285         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
56286         * sysdeps/powerpc/sysdep.h: Likewise.
56287         * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
56288         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
56290 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
56292         [BZ #411]
56293         * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
56295 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
56297         * sysdeps/i386/sysdep.h: Include <features.h>.
56298         (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
56299         version.
56301 2012-02-05  Joseph Myers  <joseph@codesourcery.com>
56303         * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
56304         Define.
56305         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
56306         LOAD_PIC_REG_STR.
56308 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
56310         * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
56311         (SETUP_PIC_REG): Use GET_PC_THUNK.
56312         * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
56313         macro.
56315 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
56317         * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
56318         for non-PIC compilation.
56319         (SETUP_PIC_REG): Add .p2align directive.
56320         * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
56321         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
56322         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
56323         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
56324         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
56325         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
56326         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
56327         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
56328         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
56329         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
56330         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
56331         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
56332         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
56333         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
56334         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
56335         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
56336         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
56337         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
56338         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
56339         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
56340         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
56341         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
56342         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
56343         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
56344         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
56345         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
56346         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
56347         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
56348         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
56349         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
56350         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
56351         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
56352         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
56353         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
56354         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
56355         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
56356         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
56357         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
56358         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
56359         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
56360         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
56362 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
56364         * math/tst-CMPLX.c: Include <stdio.h>.
56366 2012-01-31  Joseph Myers  <joseph@codesourcery.com>
56368         * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
56369         float.
56370         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
56371         * sysdeps/sparc/bits/mathdef.h: Likewise.
56373 2012-01-31  Marek Polacek  <polacek@redhat.com>
56375         * libio/libio.h: Don't define _PARAMS.
56376         * locale/programs/config.h: Don't define PARAMS.
56377         * stdlib/strtol_l.c: Likewise.
56378         (__strtol_l): Remove PARAMS from the prototype.
56380 2012-01-31  Ulrich Drepper  <drepper@gmail.com>
56382         * malloc/malloc.c: Remove name translation.  Don't use mixed-cap
56383         names.  Just use the correct names.  Remove unnecessary wrapper
56384         functions.
56385         * malloc/arena.c: Likewise.
56386         * malloc/hooks.c: Likewise.
56388         * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
56389         ARENA_TEST says not to.  Simplify test for creation of a new arena.
56390         Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
56392 2012-01-30  Ulrich Drepper  <drepper@gmail.com>
56394         * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
56395         into tail calls.
56396         (update_get_addr): New function.
56397         (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
56398         GET_ADDR_MODULE parameter.
56400 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
56402         * crypt/cert.c: Remove __STDC__ conditionals.
56403         * crypt/crypt-entry.c: Likewise.
56404         * crypt/crypt_util.c: Likewise.
56405         * libio/filedoalloc.c: Likewise.
56406         * libio/fileops.c: Likewise.
56407         * libio/genops.c: Likewise.
56408         * libio/iofclose.c: Likewise.
56409         * libio/iofdopen.c: Likewise.
56410         * libio/iofopen.c: Likewise.
56411         * libio/iofopen64.c: Likewise.
56412         * libio/iogetdelim.c: Likewise.
56413         * libio/iopopen.c: Likewise.
56414         * libio/obprintf.c: Likewise.
56415         * libio/oldfileops.c: Likewise.
56416         * libio/oldiofclose.c: Likewise.
56417         * libio/oldiofdopen.c: Likewise.
56418         * libio/oldiofopen.c: Likewise.
56419         * libio/oldiopopen.c: Likewise.
56420         * libio/wfiledoalloc.c: Likewise.
56421         * libio/wgenops.c: Likewise.
56422         * locale/programs/xmalloc.c: Likewise.
56423         * misc/syslog.c: Likewise.
56424         * stdio-common/xbug.c: Likewise.
56425         * string/memchr.c: Likewise.
56426         * string/memcmp.c: Likewise.
56427         * string/memrchr.c: Likewise.
56428         * string/rawmemchr.c: Likewise.
56429         * sysdeps/posix/getcwd.c: Likewise.
56430         * time/strftime_l.c: Likewise.
56432 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
56434         * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
56435         * config.make.in (config-cflags-sse2avx): Define.
56436         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
56437         Fix typo.
56439 2012-01-29  Chris Metcalf  <cmetcalf@tilera.com>
56441         * scripts/config.guess: Update from upstream config git repository.
56442         * scripts/config.sub: Likewise.
56444 2012-01-28  Chris Metcalf  <cmetcalf@tilera.com>
56446         * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
56447         (EM_NUM): Update.
56448         (R_TILEPRO_*, R_TILEGX_*): New macros.
56450         * scripts/firstversions.awk: Fix bug in version range handling.
56452         * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
56454         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
56456         * include/sys/epoll.h: New file.
56457         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
56458         libc_hidden_def.
56460 2012-01-28  Ulrich Drepper  <drepper@gmail.com>
56462         * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
56463         Avoid unnecessary __WORDSIZE == 64 test.
56464         (fmaxf): Use VEX format if possible.
56465         (fmax): Likewise.
56466         (fminf): Likewise.
56467         (fmin): Likewise.
56469         * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
56470         * math/math_private.h: Remove libc_fegetround* and
56471         libc_fesetround*.
56472         * sysdeps/i386/configure.in: Check for -msse2avx.
56473         * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
56474         also if SSE2AVX is defined.
56475         Remove libc_fegetround* and libc_fesetround*.
56476         * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
56477         if config-cflags-sse2avx is yes.  Also add -DSSE2AVX to defines.
56478         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
56479         of HAS_YMM_USABLE.
56480         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
56481         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
56482         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
56483         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
56484         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
56486         * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
56488 2012-01-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
56490         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
56491         size is not set.
56492         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
56494 2012-01-27  Ulrich Drepper  <drepper@gmail.com>
56496         [BZ #13618]
56497         * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
56498         relocation.
56499         * Makeconfig (libm): Define.
56500         * elf/Makefile: Add rules to build and run tst-relsort1.
56501         * elf/tst-relsort1.c: New file.
56502         * elf/tst-relsort1mod1.c: New file.
56503         * elf/tst-relsort1mod2.c: New file.
56505 2012-01-27  Joseph Myers  <joseph@codesourcery.com>
56507         * math/s_ldexp.c: Remove __STDC__ conditionals.
56508         * math/s_ldexpf.c: Likewise.
56509         * math/s_ldexpl.c: Likewise.
56510         * math/s_nextafter.c: Likewise.
56511         * math/s_nexttowardf.c: Likewise.
56512         * math/s_significand.c: Likewise.
56513         * math/s_significandf.c: Likewise.
56514         * math/s_significandl.c: Likewise.
56515         * math/w_jnl.c: Likewise.
56516         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
56517         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
56518         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
56519         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
56520         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
56521         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
56522         * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
56523         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
56524         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
56525         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
56526         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
56527         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
56528         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
56529         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
56530         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
56531         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
56532         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
56533         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
56534         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
56535         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
56536         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
56537         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
56538         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
56539         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
56540         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
56541         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
56542         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
56543         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
56544         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
56545         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
56546         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
56547         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
56548         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
56549         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
56550         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
56551         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
56552         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
56553         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
56554         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
56555         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
56556         * sysdeps/ieee754/k_standard.c: Likewise.
56557         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
56558         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
56559         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
56560         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
56561         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
56562         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
56563         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
56564         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
56565         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
56566         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
56567         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
56568         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
56569         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
56570         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
56571         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
56572         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
56573         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
56574         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
56575         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
56576         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
56577         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
56578         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
56579         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
56580         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
56581         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
56582         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
56583         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
56584         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
56585         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
56586         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
56587         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
56588         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
56589         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
56590         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
56591         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
56592         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
56593         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
56594         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
56595         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
56596         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
56597         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
56598         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
56599         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
56600         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
56601         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
56602         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
56603         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
56604         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
56605         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
56606         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
56607         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
56608         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
56609         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
56610         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
56611         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
56612         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
56613         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
56614         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
56615         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
56616         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
56617         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
56618         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
56619         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
56620         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
56621         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
56622         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
56623         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
56624         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
56625         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
56626         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
56627         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
56628         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
56629         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
56630         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
56631         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
56632         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
56633         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
56634         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
56635         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
56636         * sysdeps/ieee754/s_matherr.c: Likewise.
56637         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
56638         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
56639         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
56640         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
56642 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
56644         * crypt/md5.h: Remove __STDC__ conditionals.
56645         * libio/libioP.h: Likewise.
56646         * locale/programs/config.h: Likewise.
56647         * sysdeps/generic/sysdep.h: Likewise.
56648         * sysdeps/i386/asm-syntax.h: Likewise.
56649         * sysdeps/s390/asm-syntax.h: Likewise.
56650         * sysdeps/unix/sysdep.h: Likewise.
56651         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
56652         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
56654 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
56656         * libio/libio.h: Remove __STDC__ conditionals.
56657         * malloc/obstack.h: Likewise.
56658         * math/complex.h: Likewise.
56659         * math/math.h: Likewise.
56660         * sysdeps/generic/_G_config.h: Likewise.
56661         * sysdeps/gnu/_G_config.h: Likewise.
56662         * sysdeps/mach/hurd/_G_config.h: Likewise.
56663         * sysdeps/powerpc/bits/mathdef.h: Likewise.
56664         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
56665         * sysdeps/sparc/bits/mathdef.h: Likewise.
56667 2012-01-26  Ulrich Drepper  <drepper@gmail.com>
56669         [BZ #13583]
56670         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
56671         Clean up HAS_* macros.
56672         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
56673         bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
56674         possible.
56675         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
56676         HAS_AVX.
56677         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
56678         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
56679         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
56680         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
56681         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
56683 2012-01-25  Joseph Myers  <joseph@codesourcery.com>
56685         * elf/tst-unique3.cc (gets): Remove declaration.
56686         * elf/tst-unique3lib.cc (gets): Likewise.
56687         * elf/tst-unique3lib2.cc (gets): Likewise.
56688         * elf/tst-unique4.cc (gets): Likewise.
56690 2012-01-24  Ulrich Drepper  <drepper@gmail.com>
56692         * include/stdio.h: Add C++ protection.  Add gets declarations and
56693         definitions.
56694         * debug/tst-chk1.c: Don't declare gets here.
56695         * stdio-common/tst-gets.c: Likewise.
56697 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
56699         * posix/glob: Remove directory.
56701 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
56703         * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
56705 2012-01-22  Pino Toscano  <toscano.pino@tiscali.it>
56707         * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
56708         of the non-standard EPFNOSUPPORT.
56710 2011-12-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>
56712         * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
56713         __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
56714         ANYWHERE set to 1 only on KERN_NO_SPACE error.
56716 2012-01-21  Ulrich Drepper  <drepper@gmail.com>
56718         * wcsmbs/uchar.h: Test __STDC_VERSION__.
56720 2012-01-20  Ulrich Drepper  <drepper@gmail.com>
56722         * nscd/aicache.c (addhstaiX): Do not cache negative results of
56723         transient errors.
56724         * nscd/grpcache.c (cache_addgr): Likewise.
56725         * nscd/hstcache.c (cache_addhst): Likewise.
56726         * nscd/initgrcache.c (addinitgroupsX): Likewise.
56727         * nscd/pwdcache.c (cache_addpw): Likewise.
56728         * nscd/servicescache.c (cache_addserv): Likewise.
56730 2012-01-16  Ulrich Drepper  <drepper@gmail.com>
56732         * malloc/malloc.c: Various cleanups.
56733         * malloc/hooks.c: Likewise.
56735         * stdlib/Makefile (tests): Add bug-fmtmsg1.
56736         * stdlib/bug-fmtmsg1.c: New file.
56738         * stdlib/fmtmsg.c (init): Add missing unlock.
56739         Patch by Peng Haitao <penght@cn.fujitsu.com>.
56741 2012-01-12  Marek Polacek  <polacek@redhat.com>
56743         * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
56744         and _GNU_SOURCE.
56746 2012-01-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
56748         * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
56749         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
56750         macro to ensure uniqueness of label name.
56751         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
56752         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
56754 2012-01-11  Ulrich Drepper  <drepper@gmail.com>
56756         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
56758         * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
56759         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
56760         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
56761         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
56763 2012-01-10  Ulrich Drepper  <drepper@gmail.com>
56765         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
56767         * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
56768         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
56769         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
56771         * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
56773         * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
56774         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
56775         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
56776         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
56778         * math/bits/math-finite.h: Add ldexp support.
56780 2012-01-10  Marek Polacek  <polacek@redhat.com>
56782         * locale/programs/localedef.h (show_archive_content): Add noreturn
56783         attribute.
56785 2012-01-09  Ulrich Drepper  <drepper@gmail.com>
56787         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
56789 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
56791         * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
56793         * io/Makefile (headers): Add bits/poll2.h.
56795 2011-01-05  Will Schmidt  <will_schmidt@vnet.ibm.com>
56797         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
56798         typo #include statement.
56800 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
56802         * include/sys/cdefs.h: Define __attribute_alloc_size.
56803         * catgets/gencat.c: Add alloc_size attribute and apply consistently
56804         the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
56805         * elf/pldd.c: Likewise.
56806         * iconv/iconv_charmap.c: Likewise.
56807         * iconv/iconvconfig.c: Likewise.
56808         * iconv/strtab.c: Likewise.
56809         * locale/programs/locale.c: Likewise.
56810         * locale/programs/localedef.h: Likewise.
56811         * locale/programs/simple-hash.c: Likewise.
56812         * nscd/nscd.h: Likewise.
56813         * nss/makedb.c: Likewise.
56814         * sysdeps/generic/ldconfig.h: Likewise.
56815         * locale/programs/localedef.c: Remove xmalloc prototype.
56816         * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
56818 2012-01-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
56820         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
56821         appropriate.
56823 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
56825         * math/Makefile (tests): Add tst-CMPLX.
56826         * math/tst-CMPLX.c: New file.
56828         * math/complex.h (CMPLXL): Fix typo.
56830         * debug/Makefile (routines): Add poll_chk and ppoll_chk.
56831         * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
56832         GLIBC_2.16.
56833         * debug/tst-chk1.c: Add poll and ppoll tests.
56834         * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
56835         * include/sys/poll.h: Add hidden proto for ppoll.
56836         * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
56837         * sysdeps/mach/hurd/ppoll.c: Likewise.
56838         * io/ppoll.c: Likewise.
56839         * debug/poll_chk.c: New file.
56840         * debug/ppoll_chk.c: New file.
56841         * include/bits/poll2.h: New file.
56842         * io/bits/poll2.h: New file.
56844         [BZ #1350]
56845         * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
56847         * configure.in: static is always set to yes.  Remove.
56848         * config.make.in: Don't set build-static.
56849         * Makeconfig: Remove use of build-static.
56850         * dlfcn/Makefile: Likewise.
56851         * elf/Makefile: Likewise.
56852         * math/Makefile: Likewise.
56853         * misc/Makefile: Likewise.
56854         * nptl/Makefile: Likewise.
56855         * sysdeps/mach/hurd/Makefile: Likewise.
56857         * configure.in: PWD_P is not used anymore.
56858         * config.make.in: Remove PWD_P entry.
56860         * configure.in: Remove last remnants of RANLIB.
56861         No need to check for signed size_t anymore.
56862         Don't set libc_commonpagesize and libc_relro_required here for Alpha
56863         and IA-64.
56864         Remove __builtin_expect test because we require at least gcc 3.4.
56865         * aclocal.m4: Likewise.
56867         * wcsmbs/mbrtoc16.c: Implement using towc function.
56868         * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
56869         * wcsmbs/wcsmbsload.c: Likewise.
56870         * iconv/gconv_simple.c: Likewise.
56871         * iconv/gconv_int.h: Likewise.
56872         * iconv/gconv_builtin.h: Likewise.
56873         * iconv/iconv_prog.c: Remove CHAR16 handling.
56875         * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
56877         * wcsmbs/mbrtowc.c: Better check for invalid inputs.
56879         * configure.in: Remove --with-elf and --enable-bounded options.
56880         Dont set base_machine for ia64.  More non-ELF conditions removed.
56881         Remove testing and setting of leading underscore information.
56882         * config.make.in (build-bounded): Set to no.
56883         * config.h.in: Remove NO_UNDERSCORES entry.
56884         * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS.  ELF has
56885         them.
56886         * csu/start.c: Remove !NO_UNDERSCORE code.
56887         * locale/localeinfo.h: Likewise.
56888         * sysdeps/generic/machine-gmon.h: Likewise.
56889         * sysdeps/generic/sysdep.h: Likewise.
56890         * sysdeps/i386/sysdep.h: Likewise.
56891         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
56892         * sysdeps/mach/sysdep.h: Likewise.
56893         * sysdeps/s390/s390-32/sysdep.h: Likewise.
56894         * sysdeps/s390/s390-64/sysdep.h: Likewise.
56895         * sysdeps/sh/sysdep.h: Likewise.
56896         * sysdeps/sparc/sparc32/alloca.S: Likewise.
56897         * sysdeps/unix/i386/sysdep.S: Likewise.
56898         * sysdeps/unix/sparc/start.c: Likewise.
56899         * sysdeps/unix/sparc/sysdep.S: Likewise.
56900         * sysdeps/unix/sparc/sysdep.h: Likewise.
56901         * sysdeps/unix/start.c: Likewise.
56902         * sysdeps/unix/x86_64/sysdep.S: Likewise.
56903         * sysdeps/x86_64/sysdep.h: Likewise.
56905 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
56907         [BZ #13553]
56908         * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
56909         for non-gcc.
56910         * argp/argp-fmtstream.h: Use const instead __const.
56911         * argp/argp.h: Likewise.
56912         * assert/assert.h: Likewise.
56913         * bits/fenv.h: Likewise.
56914         * bits/sched.h: Likewise.
56915         * bits/sigset.h: Likewise.
56916         * bits/sigthread.h: Likewise.
56917         * catgets/nl_types.h: Likewise.
56918         * conform/data/pthread.h-data: Likewise.
56919         * crypt/crypt-private.h: Likewise.
56920         * crypt/crypt.h: Likewise.
56921         * crypt/crypt_util.c: Likewise.
56922         * ctype/ctype.h: Likewise.
56923         * debug/execinfo.h: Likewise.
56924         * debug/mbsnrtowcs_chk.c: Likewise.
56925         * debug/mbsrtowcs_chk.c: Likewise.
56926         * debug/wcsnrtombs_chk.c: Likewise.
56927         * debug/wcsrtombs_chk.c: Likewise.
56928         * debug/wcstombs_chk.c: Likewise.
56929         * dirent/dirent.h: Likewise.
56930         * dlfcn/dlfcn.h: Likewise.
56931         * elf/neededtest4.c: Likewise.
56932         * grp/grp.h: Likewise.
56933         * gshadow/gshadow.h: Likewise.
56934         * iconv/gconv.h: Likewise.
56935         * iconv/gconv_int.h: Likewise.
56936         * iconv/gconv_simple.c: Likewise.
56937         * iconv/iconv.h: Likewise.
56938         * iconv/loop.c: Likewise.
56939         * iconv/skeleton.c: Likewise.
56940         * include/aio.h: Likewise.
56941         * include/aliases.h: Likewise.
56942         * include/argz.h: Likewise.
56943         * include/arpa/inet.h: Likewise.
56944         * include/assert.h: Likewise.
56945         * include/dirent.h: Likewise.
56946         * include/dlfcn.h: Likewise.
56947         * include/execinfo.h: Likewise.
56948         * include/fcntl.h: Likewise.
56949         * include/fenv.h: Likewise.
56950         * include/glob.h: Likewise.
56951         * include/grp.h: Likewise.
56952         * include/libintl.h: Likewise.
56953         * include/mntent.h: Likewise.
56954         * include/netdb.h: Likewise.
56955         * include/pwd.h: Likewise.
56956         * include/rpc/netdb.h: Likewise.
56957         * include/sched.h: Likewise.
56958         * include/search.h: Likewise.
56959         * include/shadow.h: Likewise.
56960         * include/signal.h: Likewise.
56961         * include/stdio.h: Likewise.
56962         * include/stdlib.h: Likewise.
56963         * include/string.h: Likewise.
56964         * include/sys/socket.h: Likewise.
56965         * include/sys/stat.h: Likewise.
56966         * include/sys/statfs.h: Likewise.
56967         * include/sys/statvfs.h: Likewise.
56968         * include/sys/syslog.h: Likewise.
56969         * include/sys/time.h: Likewise.
56970         * include/sys/uio.h: Likewise.
56971         * include/time.h: Likewise.
56972         * include/unistd.h: Likewise.
56973         * include/utmp.h: Likewise.
56974         * include/wchar.h: Likewise.
56975         * include/wctype.h: Likewise.
56976         * inet/aliases.h: Likewise.
56977         * inet/arpa/inet.h: Likewise.
56978         * inet/netinet/ether.h: Likewise.
56979         * inet/netinet/in.h: Likewise.
56980         * intl/libintl.h: Likewise.
56981         * io/bits/fcntl2.h: Likewise.
56982         * io/fcntl.h: Likewise.
56983         * io/ftw.h: Likewise.
56984         * io/sys/poll.h: Likewise.
56985         * io/sys/stat.h: Likewise.
56986         * io/sys/statfs.h: Likewise.
56987         * io/sys/statvfs.h: Likewise.
56988         * io/utime.h: Likewise.
56989         * libio/bits/stdio.h: Likewise.
56990         * libio/bits/stdio2.h: Likewise.
56991         * libio/libio.h: Likewise.
56992         * libio/libioP.h: Likewise.
56993         * libio/stdio.h: Likewise.
56994         * locale/lc-ctype.c: Likewise.
56995         * locale/locale.h: Likewise.
56996         * login/utmp.h: Likewise.
56997         * malloc/arena.c: Likewise.
56998         * malloc/malloc.c: Likewise.
56999         * malloc/malloc.h: Likewise.
57000         * malloc/mcheck.c: Likewise.
57001         * malloc/mtrace.c: Likewise.
57002         * math/bits/mathcalls.h: Likewise.
57003         * math/fenv.h: Likewise.
57004         * math/math_private.h: Likewise.
57005         * misc/bits/error.h: Likewise.
57006         * misc/bits/syslog.h: Likewise.
57007         * misc/err.h: Likewise.
57008         * misc/error.h: Likewise.
57009         * misc/fstab.h: Likewise.
57010         * misc/mntent.h: Likewise.
57011         * misc/regexp.h: Likewise.
57012         * misc/search.h: Likewise.
57013         * misc/sgtty.h: Likewise.
57014         * misc/sys/mman.h: Likewise.
57015         * misc/sys/syslog.h: Likewise.
57016         * misc/sys/uio.h: Likewise.
57017         * misc/sys/xattr.h: Likewise.
57018         * misc/ttyent.h: Likewise.
57019         * nis/rpcsvc/ypclnt.h: Likewise.
57020         * nss/nss.h: Likewise.
57021         * posix/bits/unistd.h: Likewise.
57022         * posix/fnmatch.h: Likewise.
57023         * posix/glob.h: Likewise.
57024         * posix/sched.h: Likewise.
57025         * posix/spawn.h: Likewise.
57026         * posix/sys/wait.h: Likewise.
57027         * posix/unistd.h: Likewise.
57028         * posix/wordexp.h: Likewise.
57029         * pwd/pwd.h: Likewise.
57030         * resolv/netdb.h: Likewise.
57031         * resource/sys/resource.h: Likewise.
57032         * rt/aio.h: Likewise.
57033         * rt/bits/mqueue2.h: Likewise.
57034         * rt/mqueue.h: Likewise.
57035         * shadow/shadow.h: Likewise.
57036         * signal/signal.h: Likewise.
57037         * socket/send.c: Likewise.
57038         * socket/sendto.c: Likewise.
57039         * socket/sys/socket.h: Likewise.
57040         * stdio-common/printf.h: Likewise.
57041         * stdlib/bits/stdlib.h: Likewise.
57042         * stdlib/fmtmsg.h: Likewise.
57043         * stdlib/monetary.h: Likewise.
57044         * stdlib/stdlib.h: Likewise.
57045         * stdlib/ucontext.h: Likewise.
57046         * streams/stropts.h: Likewise.
57047         * string/argz.h: Likewise.
57048         * string/bits/string2.h: Likewise.
57049         * string/string.h: Likewise.
57050         * string/strings.h: Likewise.
57051         * sunrpc/rpc/auth.h: Likewise.
57052         * sunrpc/rpc/auth_des.h: Likewise.
57053         * sunrpc/rpc/clnt.h: Likewise.
57054         * sunrpc/rpc/netdb.h: Likewise.
57055         * sunrpc/rpc/pmap_clnt.h: Likewise.
57056         * sunrpc/rpc/xdr.h: Likewise.
57057         * sysdeps/generic/inttypes.h: Likewise.
57058         * sysdeps/generic/net/if.h: Likewise.
57059         * sysdeps/generic/sys/swap.h: Likewise.
57060         * sysdeps/gnu/net/if.h: Likewise.
57061         * sysdeps/gnu/utmpx.h: Likewise.
57062         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
57063         * sysdeps/i386/i486/bits/string.h: Likewise.
57064         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
57065         * sysdeps/s390/bits/string.h: Likewise.
57066         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
57067         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
57068         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
57069         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
57070         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
57071         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
57072         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
57073         * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
57074         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
57075         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
57076         * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
57077         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
57078         * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
57079         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
57080         * sysdeps/unix/sysv/linux/readv.c: Likewise.
57081         * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
57082         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
57083         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
57084         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
57085         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
57086         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
57087         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
57088         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
57089         * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
57090         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
57091         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
57092         * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
57093         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
57094         * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
57095         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
57096         * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
57097         * sysvipc/sys/ipc.h: Likewise.
57098         * sysvipc/sys/msg.h: Likewise.
57099         * sysvipc/sys/sem.h: Likewise.
57100         * sysvipc/sys/shm.h: Likewise.
57101         * termios/termios.h: Likewise.
57102         * time/sys/time.h: Likewise.
57103         * time/time.h: Likewise.
57104         * wcsmbs/bits/wchar2.h: Likewise.
57105         * wcsmbs/uchar.h: Likewise.
57106         * wcsmbs/wchar.h: Likewise.
57107         * wctype/wctype.h: Likewise.
57109         [BZ #13551]
57110         * Makeconfig: Remove all but ELF support including AIX support.
57111         * Makerules: Likewise.
57112         * config.h.in: Likewise.
57113         * config.make.in: Likewise.
57114         * configure: Likewise.
57115         * configure.in: Likewise.
57116         * csu/Makefile: Likewise.
57117         * csu/version.c: Likewise.
57118         * debug/Makefile: Likewise.
57119         * dlfcn/Makefile: Likewise.
57120         * elf/Makefile: Likewise.
57121         * extra-lib.mk: Likewise.
57122         * iconv/Makefile: Likewise.
57123         * include/libc-symbols.h: Likewise.
57124         * include/shlib-compat.h: Likewise.
57125         * resolv/Makefile: Likewise.
57126         * resolv/res_libc.c: Likewise.
57127         * rt/Makefile: Likewise.
57128         * sysdeps/i386/asm-syntax.h: Likewise.
57129         * sysdeps/i386/sysdep.h: Likewise.
57130         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
57131         * sysdeps/mach/sysdep.h: Likewise.
57132         * sysdeps/powerpc/powerpc32/Makefile: Likewise.
57133         * sysdeps/powerpc/powerpc64/Makefile: Likewise.
57134         * sysdeps/s390/asm-syntax.h: Likewise.
57135         * sysdeps/s390/s390-32/sysdep.h: Likewise.
57136         * sysdeps/s390/s390-64/sysdep.h: Likewise.
57137         * sysdeps/sh/sysdep.h: Likewise.
57138         * sysdeps/unix/sparc/sysdep.h: Likewise.
57139         * sysdeps/wordsize-32/divdi3.c: Likewise.
57140         * sysdeps/x86_64/sysdep.h: Likewise.
57142         * argp/Versions: Remove _argp_unlock_xxx.
57144         [BZ #13559]
57145         * abilist/ld.abilist: Update.  Adjust for removal of tls option.
57146         * abilist/libBrokenLocale.abilist: Likewise.
57147         * abilist/libanl.abilist: Likewise.
57148         * abilist/libc.abilist: Likewise.
57149         * abilist/libcrypt.abilist: Likewise.
57150         * abilist/libdl.abilist: Likewise.
57151         * abilist/libm.abilist: Likewise.
57152         * abilist/libnsl.abilist: Likewise.
57153         * abilist/libpthread.abilist: Likewise.
57154         * abilist/libresolv.abilist: Likewise.
57155         * abilist/librt.abilist: Likewise.
57156         * abilist/libthread_db.abilist: Likewise.
57157         * abilist/libutil.abilist: Likewise.
57158         * abilist/libnss_db.abilist: New file.
57160         * scripts/abilist.awk: Add support for indirect functions.
57162         * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
57164         * sysdeps/generic/ldsodefs.h: Remove Alpha support.
57166         * shlib-versions: Remove entries for ports architectures.
57168         * elf/tls-macros.h: Remove support for Alpha and IA-64.  Should be in
57169         files in ports.
57170         * elf/stackguard-macros.h: Remove support for IA-64.
57171         * elf/tst-auditmod1.c: Likewise.
57172         * sysdeps/generic/ldsodefs.h: Likewise.
57174         * sysdeps/unix/sysv/linux/configure.in: Ports should define
57175         libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
57176         configure files.
57178         [BZ #13552]
57179         * configure.in: Remove --enable-omitfp support.
57180         * FAQ.in: Adjust.
57181         * config.make.in: Likewise.
57182         * Makeconfig: Likewise.
57183         * manual/install.texi: Likewise.
57185         In case anyone cares, the IA-64 architecture could move to ports.
57186         * sysdeps/ia64/*: Removed.
57187         * sysdeps/unix/sysv/linux/ia64/*: Removed.
57188         * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
57190         [BZ #13555]
57191         * configure.in: Remove entries for unsupported architectures.
57193         [BZ #13533]
57194         * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
57195         * iconv/gconv_simple.c: Rename char16_t routines.  Add char16_t<->utf8
57196         routines.
57197         * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
57198         * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
57199         * wcsmbs/c16rtomb.c: Fix a few problems.  Disable all the code and
57200         fall back to using wcrtomb.
57201         * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
57202         * wcsmbs/wcsmbsload.c: Make char16 routines optional.  Adjust for
57203         renaming.
57204         * wcsmbs/Makefile (tests): Add tst-c16c32-1:
57205         * wcsmbs/tst-c16c32-1.c: New file.
57207         * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
57208         local variable.
57210         * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
57212         * elf/tst-unique3.cc: Add explicit declaration of gets.
57213         * elf/tst-unique3lib.cc: Likewise.
57214         * elf/tst-unique3lib2.cc: Likewise.
57215         * elf/tst-unique4.cc: Likewise.
57217         * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
57219 2012-01-06  Joseph Myers  <joseph@codesourcery.com>
57221         [BZ #13566]
57222         * assert/assert.h (static_assert): Don't define for C++.
57223         * libio/stdio.h (gets): Do declare for C++ <= C++11.
57224         * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
57226 2012-01-03  Ulrich Drepper  <drepper@gmail.com>
57228         * iconv/loop.c (single loop): Fix assertion in storing of
57229         remaining bytes.
57231         * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
57233 2012-01-01  Ulrich Drepper  <drepper@gmail.com>
57235         * posix/getconf.c: Update copyright year.
57236         * nss/getent.c: Likewise.
57237         * nss/makedb.c: Likewise.
57238         * iconv/iconvconfig.c: Likewise.
57239         * iconv/iconv_prog.c: Likewise.
57240         * elf/ldconfig.c: Likewise.
57241         * elf/pldd.c: Likewise.
57242         * elf/sotruss.ksh: Likewise.
57243         * catgets/gencat.c: Likewise.
57244         * csu/version.c: Likewise.
57245         * elf/ldd.bash.in: Likewise.
57246         * elf/sprof.c (print_version): Likewise.
57247         * locale/programs/locale.c: Likewise.
57248         * locale/programs/localedef.c: Likewise.
57249         * login/programs/pt_chown.c: Likewise.
57250         * nscd/nscd.c (print_version): Likewise.
57251         * debug/xtrace.sh: Likewise.
57252         * malloc/memusage.sh: Likewise.
57253         * malloc/mtrace.pl: Likewise.
57254         * debug/catchsegv.sh: Likewise.
57256 2011-12-30  Jakub Jelinek  <jakub@redhat.com>
57258         * posix/regex_internal.c (re_string_fetch_byte_case): Remove
57259         pure attribute.
57261 2011-12-24  Ulrich Drepper  <drepper@gmail.com>
57263         [BZ #13533]
57264         * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
57265         * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
57266         transformations.
57267         * iconv/gconv_int.h: Likewise.
57268         * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
57269         * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
57270         from libc for GLIBC_2.16.
57271         * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
57272         * wcsmbs/wcrtomb.c: Define c32rtomb alias.
57273         * wcsmbs/uchar.h: Really define mbstate_t.
57274         * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
57275         * wcsmbs/c16rtomb.c: New file.
57276         * wcsmbs/mbrtoc16.c: New file.
57277         * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
57278         for C/POSIX locale.
57279         (__wcsmbs_load_conv): Do not fill in c16 routines yet.
57280         * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
57282         * wcsmbs/wchar.h: Add missing __restrict.
57284 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
57286         [BZ #13532]
57287         * time/Makefile (routines): Add timespec_get.
57288         * time/Versions: Export timespec_get from libc for GLIBC_2.16.
57289         * time/time.h: Define TIME_UTC and declare timespec_get.  Define
57290         timespec for ISO C11.
57291         * time/timespec_get.c: New file.
57292         * sysdeps/unix/sysv/linux/timespec_get.c: New file.
57293         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
57295         [BZ #13531]
57296         * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
57297         * stdlib/stdlib.h: Declare aligned_alloc.
57298         * Versions.def: Add GLIBC_2.16 for libc.
57299         * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
57301         [BZ 13527]
57302         * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
57303         ISO C11.
57305         * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
57306         code.
57308         [BZ #13528]
57309         * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
57311         [BZ #13529]
57312         * assert/assert.h (static_assert): Define.
57314         * version.h: Update for 2.16 development version.
57316         [BZ #13526]
57317         * include/features.h: Handle __STDC_VERSION__ >= 201112 and
57318         _ISOC11_SOURCE.
57320         * version.h (RELEASE): Bump for 2.15 release.
57321         * include/features.h (__GLIBC_MINOR__): Bump to 15.
57323         * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
57324         Patch by Marek Polacek <mpolacek@redhat.com>.
57326         * bits/byteswap.h: Protect long long constants with __extension__.
57327         * sysdeps/i386/bits/byteswap.h: Likewise.
57328         * sysdeps/ia64/bits/byteswap.h: Likewise.
57329         * sysdeps/s390/bits/byteswap.h: Likewise.
57330         * sysdeps/x86_64/bits/byteswap.h: Likewise.
57332 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
57334         [BZ #13540]
57335         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
57336         destination buffer.
57337         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
57339 2011-12-23  Marek Polacek  <polacek@redhat.com>
57341         * elf/dl-addr.c (determine_info): Add inline keyword.
57342         * elf/tst-auditmod4b.c (check_avx): Likewise.
57343         * elf/tst-auditmod6b.c (check_avx): Likewise.
57344         * elf/tst-auditmod6c.c (check_avx): Likewise.
57345         * elf/tst-auditmod7b.c (check_avx): Likewise.
57347 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
57349         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
57350         !__SSE_MATH__.
57352 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
57354         [BZ #13540]
57355         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
57356         processing for last bytes.
57358 2011-08-06  Bruno Haible  <bruno@clisp.org>
57360         [BZ #13061]
57361         * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
57362         U+0385, not to U+1FEE.
57364         [BZ #13062]
57365         * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
57366         entry for U+00A5 U+0301.
57368 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
57370         [BZ #13166]
57371         * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
57372         buffer for the output is too small.
57374         * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
57375         optimization.
57377         [BZ #13185]
57378         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
57379         SSE flags if possible.
57381 2011-12-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
57383         [BZ #13540]
57384         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
57385         processing for last bytes.
57387 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
57389         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
57390         (syscall-list-default-options, syscall-list-default-condition)
57391         (syscall-list-includes): Define.
57392         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
57393         list of ABIs and options and #if conditions for each ABI.  Do not
57394         handle common syscalls between ABIs specially.
57395         * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
57396         Remove.
57397         (syscall-list-variants, syscall-list-32bit-options)
57398         (syscall-list-32bit-condition, syscall-list-64bit-options)
57399         (syscall-list-64bit-condition): Define.
57400         * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
57401         (syscall-list-variants, syscall-list-32bit-options)
57402         (syscall-list-32bit-condition, syscall-list-64bit-options)
57403         (syscall-list-64bit-condition): Define.
57404         * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
57405         Remove.
57406         (syscall-list-variants, syscall-list-32bit-options)
57407         (syscall-list-32bit-condition, syscall-list-64bit-options)
57408         (syscall-list-64bit-condition): Define.
57409         * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
57410         Remove.
57411         (syscall-list-variants, syscall-list-32bit-options)
57412         (syscall-list-32bit-condition, syscall-list-64bit-options)
57413         (syscall-list-64bit-condition): Define.
57415 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
57417         * locale/iso-639.def: Add brx entry.
57419         [BZ #13328]
57420         * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
57421         Proposed by Mariusz_Cukr <marcukr@op.pl>.
57423         * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
57424         __feraiseexcept_renamed.
57426 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
57428         [BZ #13538]
57429         * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
57430         EPOLLET with unsigned values.
57431         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
57432         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
57434         * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
57435         to large cancellation.
57436         * math/s_cacoshf.c: Likewise.
57437         * math/s_cacoshl.c: Likewise.
57439 2011-11-18  Richard B. Kreckel  <kreckel@ginac.de>
57441         [BZ #13305]
57442         [BZ #12786]
57443         * math/s_cacosh.c: Fix rare miscomputation in cacosh().
57444         * math/s_cacoshf.c: Likewise.
57445         * math/s_cacoshl.c: Likewise.
57447 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
57449         [BZ #13439]
57450         * iconv/gconv.h: Define __GCONV_SWAP.
57451         * iconvdata/unicode.c: The swap bit must be stored in __flags.
57452         * iconvdata/utf-16.c: Likewise.
57453         * iconvdata/utf-32.c: Likewise.
57455 2011-12-21  Andreas Schwab  <schwab@linux-m68k.org>
57457         [BZ #13524]
57458         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
57459         numerator after shifting it by one limb.
57461 2011-12-19  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
57463         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
57464         under [__USE_EXTERN_INLINES].
57466 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
57468         [BZ #13446]
57469         * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
57471 2011-11-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
57473         * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
57474         * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
57475         optimized code.
57476         * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
57477         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
57478         * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
57479         * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
57480         for strncasecmp/strncasecmp_l compilation.
57481         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
57482         * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
57484 2011-12-08  Marek Polacek  <mpolacek@redhat.com>
57486         [BZ #13484]
57487         * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
57488         of __asm__.
57490 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
57492         [BZ #13506]
57493         * time/tzfile.c (__tzfile_read): Check values from file header.
57495 2011-11-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
57497         * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
57498         * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
57499         * powerpc/powerpc32/dl-start.S: Likewise.
57500         * powerpc/powerpc32/elf/start.S: Likewise.
57501         * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
57502         * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
57503         * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
57504         * powerpc/powerpc32/fpu/s_floor.S: Likewise.
57505         * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
57506         * powerpc/powerpc32/fpu/s_lround.S: Likewise.
57507         * powerpc/powerpc32/fpu/s_rint.S: Likewise.
57508         * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
57509         * powerpc/powerpc32/fpu/s_round.S: Likewise.
57510         * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
57511         * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
57512         * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
57513         * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
57514         * powerpc/powerpc32/memset.S: Likewise.
57515         * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
57516         * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
57517         * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
57518         * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
57519         * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
57520         * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
57521         * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
57522         * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
57523         * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
57524         * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
57525         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
57526         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
57527         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
57529 2011-11-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
57531         * math/libm-test.inc: Added more nearbyint tests.
57532         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
57533         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
57534         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
57535         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
57537 2011-11-21  Ross Lagerwall  <rosslagerwall@gmail.com>
57539         * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
57540         FD_CLOEXEC.
57542 2011-11-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
57544         * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
57545         Add wcscpy-ssse3 wcscpy-c.
57546         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
57547         * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
57548         * sysdeps/x86_64/multiarch/wcscpy.S: New file.
57549         * sysdeps/x86_64/wcschr.S: New file.
57550         * sysdeps/x86_64/wcsrchr.S: New file.
57551         * string/test-strcmp.c: Remove checking of wcscmp function for
57552         wrong alignments.
57553         * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
57554         (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
57555         wcsrchr-sse2 wcsrchr-c.
57556         * sysdeps/i386/i686/multiarch/wcschr.S: New file.
57557         * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
57558         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
57559         * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
57560         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
57561         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
57562         * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
57563         * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
57564         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
57565         * wcsmbc/wcschr.c (WCSCHR): New macro.
57567 2011-11-17  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
57569         * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
57570         * wcsmbs/test-wcsrchr.c: New file.
57571         * string/test-strrchr.c: Add wcsrchr support.
57572         (WIDE): New macro.
57573         * wcsmbs/test-wcscpy.c: New file.
57574         * string/test-strcpy.c: Add wcscpy support.
57575         (WIDE): New macro.
57577 2011-12-10  Ulrich Drepper  <drepper@gmail.com>
57579         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
57580         the inner loop.
57582 2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
57584         [BZ #13472]
57585         * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
57587 2011-12-04  Ulrich Drepper  <drepper@gmail.com>
57589         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
57590         Minor optimizations.
57592         * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
57593         * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
57594         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
57596 2011-12-03  Ulrich Drepper  <drepper@gmail.com>
57598         * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
57599         IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
57600         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
57601         for gcc to avoid warnings.
57602         * inet/Makefile (tests): Add tst-checks.
57603         * inet/tst-checks.c: New file.
57605         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
57606         warning.
57608         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
57609         __wmemcmp_sse2.
57611         * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
57612         * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
57614         * malloc/mcheck.h: Fix use of incorrect encoding in comment.
57616 2011-12-02  Ulrich Drepper  <drepper@gmail.com>
57618         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
57619         problem.
57621         * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
57623 2011-11-29  Joseph Myers  <joseph@codesourcery.com>
57625         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
57626         conditional on GCC version.
57627         (__arch_compare_and_exchange_val_8_acq)
57628         (__arch_compare_and_exchange_val_16_acq)
57629         (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
57630         (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
57631         (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
57633 2011-12-02  Joseph Myers  <joseph@codesourcery.com>
57635         * sysdeps/sh/backtrace.c: New file.
57637 2011-12-02  Andreas Schwab  <schwab@redhat.com>
57639         * misc/bits/select2.h (__FD_ELT): Mark as extension.  Add
57640         parenthesis.
57642 2011-12-01  Andreas Schwab  <schwab@redhat.com>
57644         * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
57645         falling back to utime.
57647 2011-11-30  Andreas Schwab  <schwab@redhat.com>
57649         * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
57650         expectations for float.
57652 2011-11-29  Andreas Schwab  <schwab@redhat.com>
57654         * locale/weight.h (findidx): Add parameter len.
57655         * locale/weightwc.h (findidx): Likewise.
57656         * posix/fnmatch_loop.c (FCT): Adjust caller.
57657         * posix/regcomp.c (build_equiv_class): Likewise.
57658         * posix/regex_internal.h (re_string_elem_size_at): Likewise.
57659         * posix/regexec.c (check_node_accept_bytes): Likewise.
57660         * string/strcoll_l.c (STRCOLL): Likewise.
57661         * string/strxfrm_l.c (STRXFRM): Likewise.
57663 2011-11-17  Ulrich Drepper  <drepper@gmail.com>
57665         * Makefile.in: Remove CVSOPT handling.
57666         * configure.in: Remove use of AC_REVISION.
57667         * iconvdata/Makefile (distribute): No need to filter out CVS.
57668         * scripts/list-sources.sh: Remove CVS, subversion and monotone
57669         handling.
57671 2011-11-16  Andreas Schwab  <schwab@redhat.com>
57673         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
57674         [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
57675         [USE_AS_STRNCASECMP_L]: Likewise.
57676         (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
57677         NO_TLS_DIRECT_SEG_REFS.
57678         * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
57679         Fix argument offsets for non-PIC.
57680         [USE_AS_STRNCASECMP_L]: Likewise.
57681         (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
57682         NO_TLS_DIRECT_SEG_REFS.
57684 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
57686         * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
57687         O_CLOEXEC.
57688         * locale/loadlocale.c (_nl_load_locale): Likewise.
57690 2011-11-15  Andreas Schwab  <schwab@redhat.com>
57692         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
57693         [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
57694         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
57695         (SYSCALL_GETTIME): Set errno on error.
57697         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
57698         count references to noai6ai_cached.
57700 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
57702         * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
57704         * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
57705         FD_CLOEXEC for /proc/self/maps.
57707         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
57708         FD_CLOEXEC for /proc/meminfo.
57710         * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
57711         gai.conf.
57713         * resolv/res_query.c (res_hostalias):  Don't allow cancellation and set
57714         FD_CLOEXEC for given file.
57716         * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
57718         * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
57719         FD_CLOEXEC for /etc/hosts.
57720         (_gethtent): Likewise.
57722         * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
57724         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
57725         cancellation and set FD_CLOEXEC for /etc/netgroup.
57727         * nss/nss_files/files-key.c (search): Don't allow cancellation when
57728         reading /etc/publickey.
57730         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
57731         allow cancellation when reading /etc/group.
57733         * nss/nss_files/files-alias.c (internal_setent): Don't allow
57734         cancellation.
57735         (get_next_alias): Likewise for included file.  Also set FD_CLOEXEC.
57737         * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
57738         when using data file.
57740         * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
57742         * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
57743         (write_nis_obj): Use "c" and "e" in fopen.
57745         * misc/mntent_r.c (__setmntent): Also append e to fopen format.
57747         * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
57749         * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
57751         * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
57753         * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
57754         locale.alias.
57756         * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
57758         * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
57760         * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
57762         * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
57763         file parsing and set FD_CLOEXEC.
57765 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
57767         * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
57769 2011-11-14  Andreas Schwab  <schwab@redhat.com>
57771         * malloc/arena.c (arena_get2): Don't call reused_arena when
57772         _int_new_arena failed.
57774 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
57776         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
57777         (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
57778         * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
57779         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
57780         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
57781         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
57782         to compile strcasecmp and strncasecmp.
57783         * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
57784         * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
57786         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
57788 2011-11-13  Ulrich Drepper  <drepper@gmail.com>
57790         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
57791         locale-defines.sym to gen-as-const-headers.
57792         (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
57793         strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
57794         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
57795         to compile strcasecmp and strncasecmp.
57796         * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
57797         strcasecmp_l and strncasecmp_l.
57798         * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
57799         * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
57800         * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
57801         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
57802         * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
57803         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
57804         * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
57805         * sysdeps/i386/i686/multiarch/strncase.S: New file.
57806         * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
57807         * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
57808         * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
57810 2011-11-12  Ulrich Drepper  <drepper@gmail.com>
57812         * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
57813         result of SYSDEP_GETTIME_CPU to retval.
57814         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
57815         parameter list to macro.  Remove trailing semicolon.  Adjust users.
57817         * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
57818         variable.
57820         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
57821         mantissa words.
57822         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
57824         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
57825         from unused variable.
57827         * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
57828         DWARF definitions.
57829         * sysdeps/generic/dwarf2.h: Don't define enums when using the file
57830         for assembling.
57832         * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
57833         over namespaces.
57835         * sunrpc/rpc_prot.c (rejected): Fix case value.
57837         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
57838         unsigned long long int to avoid warnings in shift.
57840         * posix/regex_internal.c (re_string_reconstruct): Actually use result
57841         of use of trans.
57842         * posix/regex_internal.h (re_string_wchar_at): Remove temporary
57843         variable tmp.
57845         * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
57846         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
57847         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
57849         * nis/nis_table.c (nis_list): Use variable of correct type for
57850         result of __follow_path call.
57852 2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
57854         * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
57855         of math functions ceil, trunc, floor, round, and sqrt, when
57856         avaliable on the platform.
57857         * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
57858         name clash.
57859         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
57860         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
57861         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
57863 2011-10-30  Marek Polacek  <mpolacek@redhat.com>
57865         * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
57866         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
57868 2011-11-11  Roland McGrath  <roland@hack.frob.com>
57870         * include/unistd.h: Fix __readlink return type.
57871         Reported by Chris Metcalf <cmetcalf@tilera.com>.
57873 2011-11-11  Ulrich Drepper  <drepper@gmail.com>
57875         * stdlib/ucontext.h: Undo last change for makecontext.
57877 2011-11-11  Andreas Schwab  <schwab@redhat.com>
57879         * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
57881         * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
57882         * setjmp/setjmp.h: Mark functions as non-leaf.
57883         * setjmp/bits/setjmp2.h: Likewise.
57884         * stdlib/ucontext.h: Likewise.
57886 2011-11-10  Andreas Schwab  <schwab@redhat.com>
57888         * malloc/arena.c (_int_new_arena): Don't increment narenas.
57889         (reused_arena): Don't check arena limit.
57890         (arena_get2): Atomically check arena limit.
57892 2011-11-08  Ulrich Drepper  <drepper@gmail.com>
57894         * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
57895         * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
57897         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
57898         instructions.
57900 2011-11-07  Andreas Schwab  <schwab@redhat.com>
57902         * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
57903         handler when locking.
57905         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
57906         Fix size of allocated buffer.
57908 2011-11-04  Andreas Schwab  <schwab@redhat.com>
57910         [BZ #10103]
57911         * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
57912         declarations for long double functions.
57913         * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
57915         * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
57917 2011-11-03  Andreas Schwab  <schwab@redhat.com>
57919         * nscd/nscd.c (main): Don't start AVC thread until credentials are
57920         installed.
57922         * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
57923         is disabled.
57925 2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
57927         * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
57929 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
57931         * include/alloca.h (stackinfo_alloca_round): Define.
57932         (extend_alloca): Use it.
57933         [_STACK_GROWS_UP]: Correct check for adjacent allocation.
57934         * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
57935         here.
57937         * scripts/check-local-headers.sh: Ignore libaudit.h.
57939         * nscd/Makefile (extra-objs): Make recursively expanded.
57941 2011-11-01  Ulrich Drepper  <drepper@gmail.com>
57943         * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
57944         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
57946         * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
57947         * posix/tst-rfc3484-2.c: Likewise.
57948         * posix/tst-rfc3484-3.c: Likewise.
57950         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
57951         process_vm_writev.
57952         * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
57953         process_vm_writev.
57954         * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
57955         process_vm_writev from libc using GLIBC_2.15 version.
57957         * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
57959 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
57961         * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
57962         stack usage.
57964 2011-10-31  Ulrich Drepper  <drepper@gmail.com>
57966         [BZ #13367]
57967         * nss/getent.c (initgroups_keys): Show error message in case no group
57968         names are given.
57970         * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
57971         * inet/check_pf.c: Provide dummy versions of __free_in6ai and
57972         __bump_nl_timestamp.
57973         * nscd/connections (nscd_init): When host database is served open
57974         netlink socket and request notification about configuration changes.
57975         (main_loop_poll): Track netlink file descriptor and bump timestamp
57976         in case data becomes available.
57977         (main_loop_epoll): Likewise.
57978         * nscd/nscd-client.h (DB_VERSION): Bump to 2.
57979         (database_pers_head): Add extra_data fileds.
57980         Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
57981         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
57982         * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
57983         Adjust caller.
57984         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
57985         in6ai data, call __free_in6ai.
57986         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
57987         Add -DHAVE_NETLINK.
57988         * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite.  Cache the
57989         interface information.  Reuse previous data if netlink timestamp
57990         is not changed.
57991         (__bump_nl_timestamp): New function.
57992         (__free_in6ai): New function.
57994 2011-10-30  Ulrich Drepper  <drepper@gmail.com>
57996         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
57997         close_not_cancel_no_status here.
57998         (__check_pf): Reorganize code a bit to not call close twice if OOM.
58000 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
58002         [BZ #13276]
58003         * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
58004         return value.
58006         * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
58007         * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
58008         asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
58010 2011-07-03  Andreas Jaeger  <aj@suse.de>
58012         [BZ #10709]
58013         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
58014         of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
58015         * math/libm-test.inc (sin_test): Add test case.
58017 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
58019         [BZ #13337]
58020         * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
58021         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
58023         * elf/chroot_canon.c (chroot_canon): Cleanups.
58025         * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
58027         [BZ #13335]
58028         * elf/chroot_canon.c (chroot_canon): Fix readlink call.
58029         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
58031         * string/test-strchr.c: Make usable for strchrnul testing.
58032         * string/test-strchrnul.c: New file.
58033         * string/Makefile (strop-tests): Add strchrnul.
58035         * po/it.po: Update from translation team.
58036         * po/es.po: Likewise.
58038 2011-10-28  Ulrich Drepper  <drepper@gmail.com>
58040         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
58041         the three constants needed as parameters.  Drop the others.
58042         (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
58043         __m128i_strloadu_tolower.
58044         Create and initialize variable zero and use it in all the places
58045         where _mm_setzero_si128 was used.
58047         * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
58048         doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
58049         mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
58050         * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
58051         anymore.
58052         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
58053         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
58054         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
58055         __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
58056         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
58057         __mpranred, __mptan.
58058         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
58059         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
58060         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
58061         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
58062         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
58063         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
58064         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
58065         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
58066         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
58068 2011-10-28  Andreas Schwab  <schwab@redhat.com>
58070         * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
58071         redefine if SHARED.
58072         * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
58074         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
58075         wide char related routines to wcsmbs subdir.
58077 2011-10-27  Andreas Schwab  <schwab@redhat.com>
58079         [BZ #13344]
58080         * misc/sys/cdefs.h (__THROWNL): Define.
58081         * posix/unistd.h: Use __THREADNL instead of __THREAD
58082         for memory synchronization functions.
58084 2011-10-26  Roland McGrath  <roland@hack.frob.com>
58086         [BZ #13349]
58087         * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
58088         doesn't exist.
58089         * manual/stdio.texi (Obstack Streams): Node removed.
58091 2011-10-26  Andreas Schwab  <schwab@redhat.com>
58093         * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
58094         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
58095         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
58097         * math/math_private.h (math_force_eval): Allow non-addressable
58098         arguments.
58099         * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
58101 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
58103         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
58104         file is not needed.
58106         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
58107         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
58108         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
58109         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
58110         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
58111         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
58112         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
58113         * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
58114         Add AVX variants.
58115         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
58116         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
58117         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
58118         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
58119         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
58120         * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
58121         * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
58122         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
58123         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
58124         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
58125         * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
58126         * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
58127         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
58128         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
58129         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
58130         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
58131         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
58132         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
58133         * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
58135         * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
58136         all the time.  Define bit_AVX.  Define HAS_* macros using bit_* macros.
58138         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
58139         place.  Use VEX encoding when compiling for AVX.
58141 2011-10-25  Andreas Schwab  <schwab@redhat.com>
58143         * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
58144         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
58146         * string/test-strchr.c (do_test): Don't generate NUL bytes.
58148 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
58150         * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
58151         useless if() expression.
58152         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
58153         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
58154         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
58155         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
58156         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
58157         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
58158         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
58159         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
58160         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
58161         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
58162         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
58163         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
58164         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
58165         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
58166         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
58167         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
58168         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
58169         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
58170         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
58172         * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
58174 2011-10-25  Andreas Schwab  <schwab@redhat.com>
58176         * elf/dl-deps.c (_dl_map_object_deps): Remove always true
58177         condition.
58178         * elf/dl-fini.c (_dl_sort_fini): Likewise.
58180 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
58182         * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
58183         .text section.  Avoid duplicate constants.
58184         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
58185         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
58186         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
58187         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
58188         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
58189         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
58190         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
58191         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
58192         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
58193         * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
58194         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
58195         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
58196         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
58197         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
58198         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
58199         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
58200         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
58201         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
58202         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
58203         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
58204         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
58205         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
58206         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
58207         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
58208         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
58209         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
58210         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
58211         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
58212         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
58213         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
58214         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
58215         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
58216         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
58217         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
58218         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
58219         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
58220         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
58221         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
58222         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
58223         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
58224         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
58225         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
58226         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
58227         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
58228         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
58230 2011-10-24  Ulrich Drepper  <drepper@gmail.com>
58232         * sysdeps/x86_64/dla.h: Move to ...
58233         * sysdeps/x86_64/fpu/dla.h: ...here.
58234         (DLA_FMS): Some compilers fail to inline __builtin_fma in some
58235         situations.  Use __builtin_fma only for gcc 4.6 and up.
58237         * config.make.in: Add have-mfma4 entry.
58238         * configure.in: Substitute libc_cv_cc_fma4.
58239         * math/Makefile (dbl-only-routines): Add sincostab.
58240         * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
58241         Use __sincostab not sincos.
58242         * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
58243         name is a macro.
58244         * sysdeps/ieee754/dbl-64/e_exp.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/e_atan2.c: Likewise.  Define singArctan2
58248         using __copysign.
58249         * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr.  Don't define
58250         __cr and __cpymn.  Define __cpy unless NO___CPY is defined.  Define
58251         norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
58252         * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
58253         and __inv.
58254         * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
58255         * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
58256         __copysign.
58257         * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos.  Don't
58258         define aliases when function name is a macro.
58259         * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
58260         sysdeps/ieee754/dbl-64/sincos.tbl.
58261         * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
58262         fma4-enabled routines.
58263         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
58264         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
58265         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
58266         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
58267         * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
58268         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
58269         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
58270         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
58271         * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
58272         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
58273         * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
58274         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
58275         * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
58276         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
58277         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
58278         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
58279         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
58280         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
58281         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
58282         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
58283         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
58284         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
58285         * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
58286         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
58287         * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
58288         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
58289         * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
58290         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
58291         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
58292         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
58294         * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
58295         rename.
58296         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
58297         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
58298         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
58299         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
58300         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
58301         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
58302         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
58303         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
58305 2011-10-24  Andreas Schwab  <schwab@redhat.com>
58307         * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
58309 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
58311         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
58313         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
58314         prediction.
58315         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
58317         * string/strnlen.c: Don't define STRNLEN, reverse logic.
58318         Remove unused variable magic_bits.
58319         * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
58321         * string/strnlen.c: Define and use STRNLEN macro.
58322         * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
58323         Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
58324         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
58325         * wcsmbs/wcslen.c: Define and use WCSLEN.
58326         * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
58327         * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
58328         * sysdeps/i386/i686/multiarch/strnlen.S: New file.
58329         * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
58330         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
58331         * sysdeps/i386/i686/multiarch/wcslen.S: New file.
58332         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
58334 2011-10-20  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
58336         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
58337         strnlen-sse2-no-bsf.
58338         Rename strlen-no-bsf to strlen-sse2-no-bsf.
58339         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
58340         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
58341         Add strnlen support.
58342         (USE_AS_STRNLEN): New macro.
58343         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
58344         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
58345         Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
58346         * sysdeps/x86_64/wcslen.S: New file.
58348 2011-10-20  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
58350         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
58351         XMM-moves are used for copying on small sizes.
58353 2011-10-19  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
58355         * wcsmbs/Makefile (strop-tests): Add wcschr.
58356         * wcsmbs/test-wcschr.c: New file.
58357         * string/test-strchr.c: Update.
58358         Add wcschr support.
58359         (WIDE): New macro.
58361 2011-10-18  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
58363         * wcsmbs/Makefile (strop-tests): Add wcslen.
58364         * wcsmbs/test-wcslen.c: New file.
58365         * string/test-strlen.c: Update.
58366         Add wcslen support.
58367         (WIDE): New macro.
58369 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
58371         * po/it.po: Update from translation team.
58373 2011-09-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
58375         * sysdeps/x86_64/wcscmp.S: Update.
58376         Fix wrong comparison semantics.
58377         wcscmp shall use signed comparison not unsigned.
58378         Don't use substraction to avoid overflow bug.
58379         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
58380         * wcsmbc/wcscmp.c: Likewise.
58381         * string/test-strcmp.c: Likewise.
58382         Add new tests to check cases with negative values.
58384 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
58386         * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
58387         * sysdeps/x86_64/dla.h: ...here.  New file.
58388         * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
58389         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
58390         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
58391         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
58392         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
58393         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
58394         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
58395         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
58396         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
58398 2011-10-23  Andreas Schwab  <schwab@linux-m68k.org>
58400         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
58401         __ynl_finite aliases.
58403 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
58405         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
58407         * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
58408         define DLA_FMA.
58409         [DLA_FMA] (EMULV): Use DLA_FMA.
58410         [DLA_FMA] (MUL12): Use EMULV.
58411         * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
58412         that are not needed.
58413         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
58414         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
58415         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
58416         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
58417         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
58418         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
58419         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
58421 2011-10-22  Andreas Schwab  <schwab@linux-m68k.org>
58423         * math/s_nan.c: Undef __nan.
58424         * math/s_nanf.c: Undef __nanf.
58425         * math/s_nanl.c: Undef __nanl.
58426         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
58427         "math_private.h".
58429 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
58431         * math/s_catan.c: Add branch predictions.
58432         * math/s_catanf.c: Likewise.
58433         * math/s_catanh.c: Likewise.
58434         * math/s_catanhf.c: Likewise.
58435         * math/s_catanhl.c: Likewise.
58436         * math/s_catanl.c: Likewise.
58437         * math/s_cexp.c: Likewise.
58438         * math/s_cexpf.c: Likewise.
58439         * math/s_cexpl.c: Likewise.
58440         * math/s_clog.c: Likewise.
58441         * math/s_clog10.c: Likewise.
58442         * math/s_clog10f.c: Likewise.
58443         * math/s_clog10l.c: Likewise.
58444         * math/s_clogf.c: Likewise.
58445         * math/s_clogl.c: Likewise.
58446         * math/s_csqrt.c: Likewise.
58447         * math/s_csqrtf.c: Likewise.
58448         * math/s_csqrtl.c: Likewise.
58449         * math/s_ctanf.c: Likewise.
58450         * math/s_ctanh.c: Likewise.
58451         * math/s_ctanhf.c: Likewise.
58452         * math/s_ctanhl.c: Likewise.
58453         * math/s_ctanl.c: Likewise.
58455         * math/math_private.h: Define __nan, __nanf, __nanl.
58456         * math/s_cacosh.c: Include <math_private.h>.
58457         * math/s_cacoshl.c: Likewise.
58458         * math/s_casinh.c: Likewise.
58459         * math/s_casinhf.c: Likewise.
58460         * math/s_casinhl.c: Likewise.
58461         * math/s_ccos.c: Rely entire on ccosh.
58462         * math/s_ccosf.c: Rely entire on ccoshf.
58463         * math/s_ccosl.c: Rely entirely on ccoshl.
58464         * math/s_ccosh.c: Add branch predicion helpers.  Add branch prediction.
58465         Remove tests for FE_INVALID.
58466         * math/s_ccoshf.c: Likewise.
58467         * math/s_ccoshl.c: Likewise.
58468         * math/s_csin.c: Likewise.
58469         * math/s_csinf.c: Likewise.
58470         * math/s_csinh.c Likewise.
58471         * math/s_csinhf.c: Likewise.
58472         * math/s_csinhl.c: Likewise.
58473         * math/s_csinl.c: Likewise.
58474         * math/s_ctan.c: Likewise.
58475         * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
58476         * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
58477         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
58479 2011-10-21  Ulrich Drepper  <drepper@gmail.com>
58481         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
58482         compilation problems.
58484         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
58485         __builtin_expect.
58487 2011-10-20  Ulrich Drepper  <drepper@gmail.com>
58489         * sysdeps/i386/configure.in: Test for -mfma4 option.
58490         * config.h.in: Add HAVE_FMA4_SUPPORT entry.
58491         * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
58492         COMMON_CPUID_INDEX_80000001.
58493         * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
58494         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
58495         use it if FMA3 is not supported.
58496         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
58498         * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
58499         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
58501 2011-10-20  Andreas Schwab  <schwab@redhat.com>
58503         [BZ #12892]
58504         * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
58505         it would create a cycle with a link time dependency.
58507 2011-10-19  Ulrich Drepper  <drepper@gmail.com>
58509         * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
58510         instruction.
58511         * string/Makefile (strop-tests): Add rawmemchr.
58512         * string/test-rawmemchr.c: New file.
58514         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
58515         * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file.  Split out from...
58516         * sysdeps/x86_64/multiarch/strcmp.S: ...here.  Include strcmp-sse42.S
58517         when compiling str{,n}casecmp and when AVX is available.  Hook up
58518         new optimized code in initializers.
58520 2011-10-19  Andreas Schwab  <schwab@redhat.com>
58522         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
58523         __feraiseexcept instead of feraiseexcept.
58525 2011-10-18  Ulrich Drepper  <drepper@gmail.com>
58527         * math/math_private.h: Define defaults for libc_fetestexcept and
58528         libc_feupdateenv.
58529         * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
58530         * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
58531         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
58532         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
58533         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
58534         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
58535         libc_fetestexcept and libc_feupdateenv.
58537         * math/math_private.h: Define defaults for libc_feholdexcept_setround,
58538         libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
58539         * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
58540         * sysdeps/x86_64/fpu/math_private.h: Define special version of
58541         libc_feholdexcept_setround.
58543         * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
58544         Add s_nearbyint-c and s_nearbyintf-c.
58545         * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
58546         nearbyintf inlines.
58547         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
58548         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
58549         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
58550         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
58552         * math/math_private.h: Define defaults for libc_fegetround,
58553         libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
58554         libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
58555         libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
58556         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
58557         libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
58558         standard functions.
58559         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
58560         Remove comments and hacks for old compiler versions.
58561         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
58562         libc_fegetround, libc_fesetround, libc_feholdexcept, and
58563         libc_feholdexceptl.
58565 2011-10-18  Andreas Schwab  <schwab@redhat.com>
58567         * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
58568         (__feraiseexcept_renamed): Add __NTH.
58569         (feraiseexcept): Add __NTH.  Rename local variables to fix
58570         namespace violations.
58572 2011-10-17  Ulrich Drepper  <drepper@gmail.com>
58574         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
58576         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
58578         * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
58579         recently added interfaces.
58580         * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
58582         * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
58583         about macro parameter expansion.
58585         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
58586         __NO_MATH_INLINES is defined.  Cleanups.
58588         * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
58589         and __floorf is target has SSE4.1.
58590         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
58591         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
58592         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
58593         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
58595         * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
58596         name.
58597         (floorf): Likewise.
58599         * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
58601 2011-10-17  Andreas Schwab  <schwab@redhat.com>
58603         * misc/sys/cdefs.h: Fix last change.
58605         * grp/initgroups.c (internal_getgrouplist): Fix initgroups
58606         database lookup.
58608 2011-10-16  Ulrich Drepper  <drepper@gmail.com>
58610         * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
58612         * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
58613         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
58614         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
58615         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
58616         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
58617         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
58618         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
58619         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
58620         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
58621         * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
58622         * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
58623         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
58624         * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
58625         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
58626         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
58627         * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
58628         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
58629         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
58630         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
58631         * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
58632         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
58633         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
58635         * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
58636         ceil, ceilf, floor, floorf.
58638         * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
58639         Perform IRELATIVE relocations last.
58641         * elf/do-rel.h: Add another parameter nrelative, replacing the
58642         local variable with the same name.  Change name of the function
58643         to end in Rel or Rela (uppercase).
58644         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
58645         nrelative to ranges.  Only nonzero for DT_REL/DT_RELA.  Pass to the
58646         elf_dynamic_do_##reloc function.
58648 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
58650         * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
58651         is sufficient, at least on modern CPUs.
58653         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
58655         * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
58656         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
58658         * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
58659         __expl_finite.
58660         * math/bits/math-finite.h: Add entries for exp.
58661         * math/e_expl.c: Add __*_finite alias.
58662         * sysdeps/i386/fpu/e_exp.S: Likewise.
58663         * sysdeps/i386/fpu/e_expf.S: Likewise.
58664         * sysdeps/i386/fpu/e_expl.c: Likewise.
58665         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
58666         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
58667         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
58668         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
58669         * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
58670         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
58671         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
58673         * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
58674         is sufficient, at least on modern CPUs.
58676         * ctype/ctype-info.c (__ctype_init): Define.
58677         * include/ctype.h (__ctype_init): Declare.
58678         (__ctype_b_loc): The variable is always initialized.
58679         (__ctype_toupper_loc): Likewise.
58680         (__ctype_tolower_loc): Likewise.
58681         * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
58682         * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
58684 2011-10-15  Andreas Schwab  <schwab@linux-m68k.org>
58686         * wcsmbs/wmemcmp.c (WMEMCMP): Define.
58688         * configure.in: Also look in $cxxmachine/include for C++ system
58689         headers.
58691 2011-09-27  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
58693         * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
58694         memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
58695         * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
58696         * sysdeps/x86_64/multiarch/memcmp.S: Update.  Add __memcmp_ssse3.
58697         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
58698         (USE_AS_WMEMCMP): New macro.
58699         Fixing indents.
58700         * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
58701         * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
58702         * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
58703         * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
58704         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
58705         wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
58706         * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
58707         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
58708         * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
58709         * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
58710         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
58711         (USE_AS_WMEMCMP): New macro.
58712         * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
58713         * sysdeps/string/test-memcmp.c: Update.
58714         Fix simple_wmemcmp.
58715         Add new tests.
58716         * wcsmbs/wmemcmp.c: Update.
58717         (WMEMCMP): New macro.
58718         Fix overflow bug.
58720 2011-10-12  Andreas Jaeger  <aj@suse.de>
58722         [BZ #13268]
58723         * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
58725 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
58727         * libio/iofwide.c (do_length): Avoid warning.
58729         * ctype/ctype.h (__isctype_f): Add missing __THROW.
58731 2011-10-14  Ulrich Drepper  <drepper@gmail.com>
58733         * elf/pldd-xx.c (find_maps): Remove leftover debug message.
58735         * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
58736         * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
58737         * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
58738         * sysdeps/i386/i686/fpu/e_log.S: New file.
58739         * sysdeps/i386/i686/fpu/e_logf.S: New file.
58740         * sysdeps/i386/i686/fpu/e_logl.S: New file.
58742         * ctype/ctype.h: Add support for inlined isXXX functions when
58743         compiling C++ code.
58745 2011-10-14  Andreas Schwab  <schwab@redhat.com>
58747         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
58749         * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
58751 2011-10-13  Roland McGrath  <roland@hack.frob.com>
58753         [BZ #13291]
58754         * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
58756 2011-10-13  Andreas Schwab  <schwab@redhat.com>
58758         * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
58759         * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
58760         feraiseexcept.
58762         * sysdeps/x86_64/memrchr.S: Check for zero size.
58764         * string/stratcliff.c: Add memrchr tests.
58766 2011-10-12  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
58768         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
58769         memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
58770         rawmemchr-sse2 rawmemchr-sse2-bsf.
58771         * sysdeps/i386/i686/multiarch/memchr.S: New file.
58772         * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
58773         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
58774         * sysdeps/i386/i686/multiarch/memrchr.S: New file.
58775         * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
58776         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
58777         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
58778         * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
58779         * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
58780         * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
58781         * string/memrchr.c (MEMRCHR): New macro.
58783 2011-10-12  Ulrich Drepper  <drepper@gmail.com>
58785         Add integration with gcc's -ffinite-math-only and optimize wrapper
58786         functions in libm.
58787         * Versions.def: Define GLIBC_2.15 version for libm.
58788         * math/Makefile (headers): Add bits/math-finite.h.
58789         * math/bits/math-finite.h: New file.
58790         * sysdeps/ia64/fpu/bits/math-finite.h: New file.
58791         * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
58792         * math/e_acoshl.c: Add __*_finite alias.
58793         * math/e_acosl.c: Likewise.
58794         * math/e_asinl.c: Likewise.
58795         * math/e_atan2l.c: Likewise.
58796         * math/e_atanhl.c: Likewise.
58797         * math/e_coshl.c: Likewise.
58798         * math/e_exp10.c: Likewise.
58799         * math/e_exp10f.c: Likewise.
58800         * math/e_exp10l.c: Likewise.
58801         * math/e_exp2l.c: Likewise.
58802         * math/e_fmodl.c: Likewise.
58803         * math/e_gammal_r.c: Likewise.
58804         * math/e_hypotl.c: Likewise.
58805         * math/e_j0l.c: Likewise.
58806         * math/e_j1l.c: Likewise.
58807         * math/e_jnl.c: Likewise.
58808         * math/e_lgammal_r.c: Likewise.
58809         * math/e_log10l.c: Likewise.
58810         * math/e_log2l.c: Likewise.
58811         * math/e_logl.c: Likewise.
58812         * math/e_powl.c: Likewise.
58813         * math/e_sinhl.c: Likewise.
58814         * math/e_sqrtl.c: Likewise.
58815         * math/e_scalb.c: Completely rewritten and optimized.
58816         * math/e_scalbf.c: Likewise.
58817         * math/e_scalbl.c: Likewise.
58818         * math/w_acos.c: Likewise.
58819         * math/w_acosf.c: Likewise.
58820         * math/w_acosl.c: Likewise.
58821         * math/w_acosh.c: Likewise.
58822         * math/w_acoshf.c: Likewise.
58823         * math/w_acoshl.c: Likewise.
58824         * math/w_asin.c: Likewise.
58825         * math/w_asinf.c: Likewise.
58826         * math/w_asinl.c: Likewise.
58827         * math/w_atan2.c: Likewise.
58828         * math/w_atan2f.c: Likewise.
58829         * math/w_atan2l.c: Likewise.
58830         * math/w_atanh.c: Likewise.
58831         * math/w_atanhf.c: Likewise.
58832         * math/w_atanhl.c: Likewise.
58833         * math/w_exp10.c: Likewise.
58834         * math/w_exp10f.c: Likewise.
58835         * math/w_exp10l.c: Likewise.
58836         * math/w_fmod.c: Likewise.
58837         * math/w_fmodf.c: Likewise.
58838         * math/w_fmodl.c: Likewise.
58839         * math/w_j0.c: Likewise.
58840         * math/w_j0f.c: Likewise.
58841         * math/w_j0l.c: Likewise.
58842         * math/w_j1.c: Likewise.
58843         * math/w_j1f.c: Likewise.
58844         * math/w_j1l.c: Likewise.
58845         * math/w_jn.c: Likewise.
58846         * math/w_jnf.c: Likewise.
58847         * math/w_log.c: Likewise.
58848         * math/w_logf.c: Likewise.
58849         * math/w_logl.c: Likewise.
58850         * math/w_log10.c: Likewise.
58851         * math/w_log10f.c: Likewise.
58852         * math/w_log10l.c: Likewise.
58853         * math/w_log2.c: Likewise.
58854         * math/w_log2f.c: Likewise.
58855         * math/w_log2l.c: Likewise.
58856         * math/w_pow.c: Likewise.
58857         * math/w_powf.c: Likewise.
58858         * math/w_powl.c: Likewise.
58859         * math/w_remainder.c: Likewise.
58860         * math/w_remainderf.c: Likewise.
58861         * math/w_remainderl.c: Likewise.
58862         * math/w_scalb.c: Likewise.
58863         * math/w_scalbf.c: Likewise.
58864         * math/w_scalbl.c: Likewise.
58865         * math/w_sqrt.c: Likewise.
58866         * math/w_sqrtf.c: Likewise.
58867         * math/w_sqrtl.c: Likewise.
58868         * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
58869         are declared.  Include <bits/math-finite.h> if -ffinite-math-only is
58870         used.
58871         * math/math_private.h: Declare __kernel_standard_f.
58872         * math/w_cosh.c: Remove cruft and optimize a bit.
58873         * math/w_coshf.c: Likewise.
58874         * math/w_coshl.c: Likewise.
58875         * math/w_exp2.c: Likewise.
58876         * math/w_exp2f.c: Likewise.
58877         * math/w_exp2l.c: Likewise.
58878         * math/w_hypot.c: Likewise.
58879         * math/w_hypotf.c: Likewise.
58880         * math/w_hypotl.c: Likewise.
58881         * math/w_lgamma.c: Likewise.
58882         * math/w_lgamma_r.c: Likewise.
58883         * math/w_lgammaf.c: Likewise.
58884         * math/w_lgammaf_r.c: Likewise.
58885         * math/w_lgammal.c: Likewise.
58886         * math/w_lgammal_r.c: Likewise.
58887         * math/w_sinh.c: Likewise.
58888         * math/w_sinhf.c: Likewise.
58889         * math/w_sinhl.c: Likewise.
58890         * math/w_tgamma.c: Likewise.
58891         * math/w_tgammaf.c: Likewise.
58892         * math/w_tgammal.c: Likewise.
58893         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
58894         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
58895         * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
58896         Minor optimizations.  Pretty printing.  Remove cruft.
58897         * sysdeps/i386/fpu/e_acosf.S: Likewise.
58898         * sysdeps/i386/fpu/e_acosh.S: Likewise.
58899         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
58900         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
58901         * sysdeps/i386/fpu/e_acosl.c: Likewise.
58902         * sysdeps/i386/fpu/e_asin.S: Likewise.
58903         * sysdeps/i386/fpu/e_asinf.S: Likewise.
58904         * sysdeps/i386/fpu/e_atan2.S: Likewise.
58905         * sysdeps/i386/fpu/e_atan2f.S: Likewise.
58906         * sysdeps/i386/fpu/e_atan2l.c: Likewise.
58907         * sysdeps/i386/fpu/e_atanh.S: Likewise.
58908         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
58909         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
58910         * sysdeps/i386/fpu/e_exp10.S: Likewise.
58911         * sysdeps/i386/fpu/e_exp10f.S: Likewise.
58912         * sysdeps/i386/fpu/e_exp10l.S: Likewise.
58913         * sysdeps/i386/fpu/e_exp2.S: Likewise.
58914         * sysdeps/i386/fpu/e_exp2f.S: Likewise.
58915         * sysdeps/i386/fpu/e_exp2l.S: Likewise.
58916         * sysdeps/i386/fpu/e_fmod.S: Likewise.
58917         * sysdeps/i386/fpu/e_fmodf.S: Likewise.
58918         * sysdeps/i386/fpu/e_fmodl.c: Likewise.
58919         * sysdeps/i386/fpu/e_hypot.S: Likewise.
58920         * sysdeps/i386/fpu/e_hypotf.S: Likewise.
58921         * sysdeps/i386/fpu/e_log.S: Likewise.
58922         * sysdeps/i386/fpu/e_log10.S: Likewise.
58923         * sysdeps/i386/fpu/e_log10f.S: Likewise.
58924         * sysdeps/i386/fpu/e_log10l.S: Likewise.
58925         * sysdeps/i386/fpu/e_log2.S: Likewise.
58926         * sysdeps/i386/fpu/e_log2f.S: Likewise.
58927         * sysdeps/i386/fpu/e_log2l.S: Likewise.
58928         * sysdeps/i386/fpu/e_logf.S: Likewise.
58929         * sysdeps/i386/fpu/e_logl.S: Likewise.
58930         * sysdeps/i386/fpu/e_pow.S: Likewise.
58931         * sysdeps/i386/fpu/e_powf.S: Likewise.
58932         * sysdeps/i386/fpu/e_powl.S: Likewise.
58933         * sysdeps/i386/fpu/e_remainder.S: Likewise.
58934         * sysdeps/i386/fpu/e_remainderf.S: Likewise.
58935         * sysdeps/i386/fpu/e_remainderl.S: Likewise.
58936         * sysdeps/i386/fpu/e_scalb.S: Likewise.
58937         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
58938         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
58939         * sysdeps/i386/fpu/e_sqrt.S: Likewise.
58940         * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
58941         * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
58942         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
58943         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
58944         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
58945         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
58946         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
58947         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
58948         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
58949         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
58950         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
58951         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
58952         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
58953         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
58954         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
58955         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
58956         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
58957         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
58958         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
58959         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
58960         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
58961         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
58962         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
58963         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
58964         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
58965         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
58966         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
58967         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
58968         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
58969         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
58970         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
58971         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
58972         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
58973         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
58974         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
58975         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
58976         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
58977         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
58978         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
58979         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
58980         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
58981         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
58982         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
58983         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
58984         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
58985         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
58986         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
58987         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
58988         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
58989         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
58990         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
58991         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
58992         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
58993         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
58994         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
58995         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
58996         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
58997         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
58998         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
58999         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
59000         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
59001         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
59002         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
59003         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
59004         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
59005         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
59006         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
59007         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
59008         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
59009         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
59010         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
59011         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
59012         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
59013         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
59014         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
59015         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
59016         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
59017         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
59018         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
59019         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
59020         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
59021         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
59022         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
59023         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
59024         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
59025         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
59026         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
59027         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
59028         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
59029         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
59030         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
59031         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
59032         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
59033         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
59034         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
59035         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
59036         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
59037         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
59038         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
59039         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
59040         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
59041         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
59042         * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
59043         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
59044         * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
59045         * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
59046         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
59047         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
59048         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
59049         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
59050         * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
59051         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
59052         * sysdeps/x86_64/fpu/e_sqrt.c: Likewise.  Fix parameter order
59053         * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
59054         * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
59055         (__isnanf): Likewise.
59056         (__isinf_ns): Likewise.
59057         (__isinf_nsf): Likewise.
59058         (__finite): Likewise.
59059         (__finitef): Likewise.
59060         (__ieee754_sqrt): Define as macro.
59061         (__ieee754_sqrtf): Define as macro.
59062         (__ieee754_sqrtl): Define as macro.
59063         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
59064         inlined copy.
59065         * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
59066         __FINITE_MATH_ONLY__ consistent.
59067         * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
59069 2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
59071         * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
59072         of rawmemchr.
59074         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
59076 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
59078         * po/ja.po: Update from translation team.
59080 2011-10-08  Roland McGrath  <roland@hack.frob.com>
59082         * locale/programs/locarchive.c (prepare_address_space): New function.
59083         (create_archive, enlarge_archive, open_archive): Use it.
59085         * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
59086         inside [SHARED], where it is used.
59088         * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
59090         * nss/getent.c (netgroup_keys): Remove unused variable.
59091         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
59093 2011-10-08  Ulrich Drepper  <drepper@gmail.com>
59095         * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
59096         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
59097         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
59098         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
59099         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
59100         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
59101         * math/Makefile (libm-calls): Add s_isinf_ns.
59102         * math/divtc3.c: Use __isinf_nsl instead of isinf.
59103         * math/multc3.c: Likewise.
59104         * math/s_casin.c: Likewise.
59105         * math/s_casinf.c: Likewise.
59106         * math/s_casinl.c: Likewise.
59107         * math/s_ccos.c: Likewise.
59108         * math/s_ccosf.c: Likewise.
59109         * math/s_ccosl.c: Likewise.
59110         * math/s_ctan.c: Likewise.
59111         * math/s_ctanf.c: Likewise.
59112         * math/s_ctanh.c: Likewise.
59113         * math/s_ctanhf.c: Likewise.
59114         * math/s_ctanhl.c: Likewise.
59115         * math/s_ctanl.c: Likewise.
59116         * math/w_fmod.c: Likewise.
59117         * math/w_fmodf.c: Likewise.
59118         * math/w_fmodl.c: Likewise.
59119         * math/w_remainder.c: Likewise.
59120         * math/w_remainderf.c: Likewise.
59121         * math/w_remainderl.c: Likewise.
59122         * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
59123         * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
59124         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
59125         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
59126         * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
59127         * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
59128         * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
59129         __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
59131         * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
59132         of the number.
59133         * stdio-common/printf_fphex.c: Likewise.
59134         * stdio-common/printf_size.c: Likewise.
59136         * math/e_exp10.c: Include math_private.h using <...> not "...".
59137         * math/e_exp10f.c: Likewise.
59138         * math/e_exp10l.c: Likewise.
59139         * math/e_exp2l.c: Likewise.
59140         * math/e_j0l.c: Likewise.
59141         * math/e_j1l.c: Likewise.
59142         * math/e_jnl.c: Likewise.
59143         * math/e_lgammal_r.c: Likewise.
59144         * math/e_rem_pio2l.c: Likewise.
59145         * math/e_scalb.c: Likewise.
59146         * math/e_scalbf.c: Likewise.
59147         * math/e_scalbl.c: Likewise.
59148         * math/k_cosl.c: Likewise.
59149         * math/k_sinl.c: Likewise.
59150         * math/k_tanl.c: Likewise.
59151         * math/s_cacoshf.c: Likewise.
59152         * math/s_catan.c: Likewise.
59153         * math/s_catanf.c: Likewise.
59154         * math/s_catanh.c: Likewise.
59155         * math/s_catanhf.c: Likewise.
59156         * math/s_catanhl.c: Likewise.
59157         * math/s_catanl.c: Likewise.
59158         * math/s_ccosh.c: Likewise.
59159         * math/s_ccoshf.c: Likewise.
59160         * math/s_ccoshl.c: Likewise.
59161         * math/s_cexp.c: Likewise.
59162         * math/s_cexpf.c: Likewise.
59163         * math/s_cexpl.c: Likewise.
59164         * math/s_clog.c: Likewise.
59165         * math/s_clog10.c: Likewise.
59166         * math/s_clog10f.c: Likewise.
59167         * math/s_clog10l.c: Likewise.
59168         * math/s_clogf.c: Likewise.
59169         * math/s_clogl.c: Likewise.
59170         * math/s_csin.c: Likewise.
59171         * math/s_csinf.c: Likewise.
59172         * math/s_csinh.c: Likewise.
59173         * math/s_csinhf.c: Likewise.
59174         * math/s_csinhl.c: Likewise.
59175         * math/s_csinl.c: Likewise.
59176         * math/s_csqrt.c: Likewise.
59177         * math/s_csqrtf.c: Likewise.
59178         * math/s_csqrtl.c: Likewise.
59179         * math/s_ctan.c: Likewise.
59180         * math/s_ctanf.c: Likewise.
59181         * math/s_ctanh.c: Likewise.
59182         * math/s_ctanhf.c: Likewise.
59183         * math/s_ctanhl.c: Likewise.
59184         * math/s_ctanl.c: Likewise.
59185         * math/s_ldexp.c: Likewise.
59186         * math/s_ldexpf.c: Likewise.
59187         * math/s_ldexpl.c: Likewise.
59188         * math/s_significand.c: Likewise.
59189         * math/s_significandf.c: Likewise.
59190         * math/s_significandl.c: Likewise.
59191         * math/w_acos.c: Likewise.
59192         * math/w_acosf.c: Likewise.
59193         * math/w_acosh.c: Likewise.
59194         * math/w_acoshf.c: Likewise.
59195         * math/w_acoshl.c: Likewise.
59196         * math/w_acosl.c: Likewise.
59197         * math/w_asin.c: Likewise.
59198         * math/w_asinf.c: Likewise.
59199         * math/w_asinl.c: Likewise.
59200         * math/w_atan2.c: Likewise.
59201         * math/w_atan2f.c: Likewise.
59202         * math/w_atan2l.c: Likewise.
59203         * math/w_atanh.c: Likewise.
59204         * math/w_atanhf.c: Likewise.
59205         * math/w_atanhl.c: Likewise.
59206         * math/w_cosh.c: Likewise.
59207         * math/w_coshf.c: Likewise.
59208         * math/w_coshl.c: Likewise.
59209         * math/w_dremf.c: Likewise.
59210         * math/w_exp10.c: Likewise.
59211         * math/w_exp10f.c: Likewise.
59212         * math/w_exp10l.c: Likewise.
59213         * math/w_exp2.c: Likewise.
59214         * math/w_exp2f.c: Likewise.
59215         * math/w_fmod.c: Likewise.
59216         * math/w_fmodf.c: Likewise.
59217         * math/w_fmodl.c: Likewise.
59218         * math/w_hypot.c: Likewise.
59219         * math/w_hypotf.c: Likewise.
59220         * math/w_hypotl.c: Likewise.
59221         * math/w_j0.c: Likewise.
59222         * math/w_j0f.c: Likewise.
59223         * math/w_j0l.c: Likewise.
59224         * math/w_j1.c: Likewise.
59225         * math/w_j1f.c: Likewise.
59226         * math/w_j1l.c: Likewise.
59227         * math/w_jn.c: Likewise.
59228         * math/w_jnf.c: Likewise.
59229         * math/w_jnl.c: Likewise.
59230         * math/w_lgamma.c: Likewise.
59231         * math/w_lgamma_r.c: Likewise.
59232         * math/w_lgammaf.c: Likewise.
59233         * math/w_lgammaf_r.c: Likewise.
59234         * math/w_lgammal.c: Likewise.
59235         * math/w_lgammal_r.c: Likewise.
59236         * math/w_log.c: Likewise.
59237         * math/w_log10.c: Likewise.
59238         * math/w_log10f.c: Likewise.
59239         * math/w_log10l.c: Likewise.
59240         * math/w_log2.c: Likewise.
59241         * math/w_log2f.c: Likewise.
59242         * math/w_log2l.c: Likewise.
59243         * math/w_logf.c: Likewise.
59244         * math/w_logl.c: Likewise.
59245         * math/w_pow.c: Likewise.
59246         * math/w_powf.c: Likewise.
59247         * math/w_powl.c: Likewise.
59248         * math/w_remainder.c: Likewise.
59249         * math/w_remainderf.c: Likewise.
59250         * math/w_remainderl.c: Likewise.
59251         * math/w_scalb.c: Likewise.
59252         * math/w_scalbf.c: Likewise.
59253         * math/w_scalbl.c: Likewise.
59254         * math/w_sinh.c: Likewise.
59255         * math/w_sinhf.c: Likewise.
59256         * math/w_sinhl.c: Likewise.
59257         * math/w_sqrt.c: Likewise.
59258         * math/w_sqrtf.c: Likewise.
59259         * math/w_sqrtl.c: Likewise.
59260         * math/w_tgamma.c: Likewise.
59261         * math/w_tgammaf.c: Likewise.
59262         * math/w_tgammal.c: Likewise.
59264         * po/ja.po: Update from translation team.
59266 2011-09-29  Andreas Jaeger  <aj@suse.de>
59268         [BZ #13179]
59269         * sunrpc/netname.c (netname2host): Fix logic.
59271         [BZ #6779]
59272         [BZ #6783]
59273         * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
59274         correctly.
59275         * math/w_remainder.c (__remainder): Likewise.
59276         * math/w_remainderf.c (__remainderf): Likewise.
59277         * math/libm-test.inc (remainder_test): Add test cases.
59279 2011-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
59281         * stdlib/longlong.h: Update from GCC.  Fix zarch smul_ppmm and
59282         sdiv_qrnnd.
59284 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
59286         * string/test-memcmp.c: Avoid unncessary #defines.
59287         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
59289 2011-08-31  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
59291         * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
59292         Use new sse2 version for core i3 - i7 as it's faster
59293         than sse42 version.
59294         (bit_Prefer_PMINUB_for_stringop): New.
59295         * sysdeps/x86_64/rawmemchr.S: Update.
59296         Replace with faster SSE2 version.
59297         * sysdeps/x86_64/memrchr.S: New file.
59298         * sysdeps/x86_64/memchr.S: Update.
59299         Replace with faster SSE2 version.
59301 2011-09-12  Marek Polacek  <mpolacek@redhat.com>
59303         * elf/dl-load.c (lose): Add cast to avoid warning.
59305 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
59307         * po/ca.po: Update from translation team.
59309         * inet/getnetgrent_r.c: Hook up nscd.
59310         * nscd/Makefile (routines): Add nscd_netgroup.
59311         (nscd-modules): Add netgroupcache.
59312         (CFLAGS-netgroupcache.c): Define.
59313         * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
59314         (cache_search): Add const to second parameter.
59315         * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
59316         INNETGR.
59317         (dbs): Add netgrdb entry.
59318         (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
59319         (verify_persistent_db): Handle netgrdb.
59320         (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
59321         * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
59322         GETFDNETGR.
59323         (netgroup_response_header): Define.
59324         (innetgroup_response_header): Define.
59325         (datahead): Add netgroup_response_header and innetgroup_response_header
59326         elements.
59327         * nscd/nscd.conf: Add entries for netgroup cache.
59328         * nscd/nscd.h (dbtype): Add netgrdb.
59329         (_PATH_NSCD_NETGROUP_DB): Define.
59330         (netgroup_iov_disabled): Declare.
59331         (xmalloc, xcalloc, xrealloc): Move declarations here.
59332         (cache_search): Adjust prototype.
59333         Add netgroup-related prototypes.
59334         * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
59335         * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
59336         (__nscd_innetgr): Declare.
59337         * nscd/selinux.c (perms): Use access_vector_t as element type and
59338         add netgroup-related initializers.
59339         * nscd/netgroupcache.c: New file.
59340         * nscd/nscd_netgroup.c: New file.
59341         * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
59342         * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
59343         For four parameters use innetgr.
59344         * nss/nss_files/files-init.c: Add definition and callback for netgr.
59345         * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
59346         (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
59347         * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
59349         * nscd/connections.c (register_traced_file): Don't register file
59350         for disabled databases.
59352 2011-10-06  Ulrich Drepper  <drepper@gmail.com>
59354         * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
59356         * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
59357         from tree and freeing node.
59359 2011-09-25  Jiri Olsa  <jolsa@redhat.com>
59361         * nss/nsswitch.c (__nss_database_lookup): Handle
59362         nss_parse_service_list out of memory case.
59364 2011-09-15  Jiri Olsa  <jolsa@redhat.com>
59366         * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
59367         out of memory case.
59369 2011-10-04  Andreas Schwab  <schwab@redhat.com>
59371         * include/dlfcn.h (__RTLD_NOIFUNC): Define.
59372         * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
59373         pass it down.
59374         * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
59375         elf_machine_rela, elf_machine_lazy_rel.
59376         (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
59377         (ELF_DYNAMIC_DO_REL): Likewise.
59378         (ELF_DYNAMIC_DO_RELA): Likewise.
59379         (ELF_DYNAMIC_RELOCATE): Likewise.
59380         * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
59381         to ELF_DYNAMIC_DO_REL.
59382         * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
59383         (dl_main): In trace mode always set __RTLD_NOIFUNC.
59384         * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
59385         elf_machine_rela.
59386         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
59387         skip_ifunc, don't call ifunc function if non-zero.
59388         (elf_machine_rela): Likewise.
59389         (elf_machine_lazy_rel): Likewise.
59390         (elf_machine_lazy_rela): Likewise.
59391         * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
59392         (elf_machine_lazy_rel): Likewise.
59393         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
59394         Likewise.
59395         (elf_machine_lazy_rel): Likewise.
59396         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
59397         Likewise.
59398         (elf_machine_lazy_rel): Likewise.
59399         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
59400         (elf_machine_lazy_rel): Likewise.
59401         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
59402         (elf_machine_lazy_rel): Likewise.
59403         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
59404         (elf_machine_lazy_rel): Likewise.
59405         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
59406         (elf_machine_lazy_rel): Likewise.
59407         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
59408         (elf_machine_lazy_rel): Likewise.
59409         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
59410         (elf_machine_lazy_rel): Likewise.
59412 2011-09-28  Ulrich Drepper  <drepper@gmail.com>
59414         * nss/nss_files/files-init.c (_nss_files_init): Use static
59415         initialization for all the *_traced_file variables.
59417 2011-09-28  Andreas Schwab  <schwab@redhat.com>
59419         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
59421 2011-09-27  Roland McGrath  <roland@hack.frob.com>
59423         [BZ #13226]
59424         * manual/signal.texi (Longjmp in Handler): Grammar fixes.
59426 2011-09-27  Andreas Schwab  <schwab@redhat.com>
59428         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
59429         Reread the line before reparsing it.
59431 2011-09-26  Andreas Schwab  <schwab@redhat.com>
59433         * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
59435 2011-09-21  Chung-Lin Tang  <cltang@codesourcery.com>
59436             Maxim Kuvyrkov  <maxim@codesourcery.com>
59437             Joseph Myers  <joseph@codesourcery.com>
59439         * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
59440         if needed for __stack_chk_guard.
59442 2011-09-19  Roland McGrath  <roland@hack.frob.com>
59444         * sysdeps/posix/spawni.c (script_execute): Always define it.
59445         It will be optimized away if unused.
59446         (maybe_script_execute): New function.
59447         (__spawni): Call it.
59449         * Makerules: Don't include tls.make.
59450         (config-tls): Always set to thread.
59451         * tls.make.c: File removed.
59453 2011-09-19  Mike Frysinger  <vapier@gentoo.org>
59455         * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
59456         * config.make.in (CPPFLAGS-config): New substituted variable.
59458 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
59460         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
59462         [BZ #13192]
59463         * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
59464         Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
59466 2011-09-15  Roland McGrath  <roland@hack.frob.com>
59468         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
59469         (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
59470         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
59471         (CALL_FAIL): Likewise.
59472         * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
59473         (CALL_FAIL): Macro removed.
59474         Patch mostly by Mike Frysinger <vapier@gentoo.org>.
59476 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
59478         * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
59479         for __FINITE_MATH_ONLY__ == 1.
59481 2011-09-15  Andreas Schwab  <schwab@redhat.com>
59483         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
59484         __ieee754_sqrt instead of sqrt.
59485         * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
59486         __ieee754_sqrtf instead of sqrtf.
59487         * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
59488         __floorf instead of floorf.
59489         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
59490         __floorf, __truncf instead of floorf, truncf.
59492 2011-09-14  Ulrich Drepper  <drepper@gmail.com>
59494         * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
59496         * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
59497         __extern_always_inline.
59498         Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
59499         32-bit.
59501 2011-09-14  Andreas Schwab  <schwab@redhat.com>
59503         * elf/rtld.c (dl_main): Also relocate in dependency order when
59504         doing symbol dependency testing.
59506 2011-09-13  Andreas Schwab  <schwab@linux-m68k.org>
59508         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
59509         Always define `refsym'.
59511 2011-09-13  Andreas Schwab  <schwab@redhat.com>
59513         * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
59514         (__FD_ELT): Renamed from __FDELT.
59515         * misc/bits/select2.h (__FD_ELT): Likewise.
59516         * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
59517         __FD_MASK instead of __FDELT, __FDMASK.
59518         * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
59519         Likewise.
59520         * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
59521         Likewise.
59523         * elf/Makefile (gen-ldd): Fix pattern.
59525         * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
59526         (init_tls): Likewise.
59528 2011-09-12  Ulrich Drepper  <drepper@gmail.com>
59530         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
59532 2011-09-12  Andreas Schwab  <schwab@redhat.com>
59534         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
59535         `struct cmsghdr *' instead of `void *'.
59536         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
59537         Likewise.
59539 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
59541         * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
59542         if non-absolute.
59543         * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
59544         ldd_rewrite_script.
59546 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
59548         * configure.in: Remove --with-tls option.
59549         * config.h.in: Remove HAVE_TLS_SUPPORT entry.
59550         * sysdeps/i386/elf/configure.in: Always test for TLS support and err
59551         out in case it is missing.
59552         * sysdeps/ia64/elf/configure.in: Likewise.
59553         * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
59554         * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
59555         * sysdeps/s390/s390-32/elf/configure.in: Likewise.
59556         * sysdeps/s390/s390-64/elf/configure.in: Likewise.
59557         * sysdeps/sh/elf/configure.in: Likewise.
59558         * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
59559         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
59560         * sysdeps/x86_64/elf/configure.in: Likewise.
59561         * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
59562         * sysdeps/mach/hurd/tls.h: Likewise.
59564         [BZ #13067]
59565         * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
59567         [BZ #13090]
59568         * configure.in: Fix use of AC_INIT.
59570         * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
59572 2011-09-10  Ulrich Drepper  <drepper@gmail.com>
59574         * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
59575         __set_errno.
59576         * malloc/hooks.c: Likewise.
59578         [BZ #11929]
59579         * malloc/arena.c (ptmalloc_init_minimal): Removed.  Initialize all
59580         variables statically.
59581         (narenas): Initialize.
59582         (list_lock): Initialize.
59583         (ptmalloc_init): Don't call ptmalloc_init_minimal.  Remove
59584         initializtion of main_arena and list_lock.  Small cleanups.
59585         Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
59586         * malloc/malloc.c: Remove malloc_getpagesize.  Include <ldsodefs.h>.
59587         Add initializers to main_arena and mp_.
59588         (malloc_state): Remove pagesize member.  Change all users to use
59589         GLRO(dl_pagesize).
59591         * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
59592         * sysdeps/unix/sysv/linux/getpagesize.c: Simplify.  GLRO(dl_pagesize)
59593         is always initialized.
59595         * malloc/malloc.c: Removed unused configurations and dead code.
59596         * malloc/arena.c: Likewise.
59597         * malloc/hooks.c: Likewise.
59598         * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
59600         * include/tls.h: Removed.  USE___THREAD must always be defined.
59601         * bits/libc-tsd.h: Don't handle !USE___THREAD.
59602         * elf/dl-libc.c: Likewise.
59603         * elf/dl-tsd.c: Likewise.
59604         * include/errno.h: Likewise.
59605         * include/netdb.h: Likewise.
59606         * include/resolv.h: Likewise.
59607         * inet/herrno-loc.c: Likewise.
59608         * inet/herrno.c: Likewise.
59609         * malloc/arena.c: Likewise.
59610         * malloc/hooks.c: Likewise.
59611         * malloc/malloc.c: Likewise.
59612         * resolv/res-state.c: Likewise.
59613         * resolv/res_libc.c: Likewise.
59614         * sysdeps/i386/dl-machine.h: Likewise.
59615         * sysdeps/ia64/dl-machine.h: Likewise.
59616         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
59617         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
59618         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
59619         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
59620         * sysdeps/sh/dl-machine.h: Likewise.
59621         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
59622         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
59623         * sysdeps/unix/i386/sysdep.S: Likewise.
59624         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
59625         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
59626         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
59627         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
59628         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
59629         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
59630         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
59631         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
59632         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
59633         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
59634         * sysdeps/unix/x86_64/sysdep.S: Likewise.
59635         * sysdeps/x86_64/dl-machine.h: Likewise.
59636         * tls.make.c: Likewise.
59638         * configure.in: Remove --with-__thread option.  Make tests for
59639         --no-whole-archive, __builtin_expect, symbol redirection, __thread,
59640         tls_model attribute fail if no support is available.  Remove
59641         USE_IN_LIBIO.
59642         * Makeconfig: Adjust for dropped configure option.  All features are
59643         now mandatory.
59644         * Makerules: Likewise.
59645         * Versions.def: Likewise.
59646         * argp/argp-fmtstream.c: Likewise.
59647         * argp/argp-fmtstream.h: Likewise.
59648         * argp/argp-help.c: Likewise.
59649         * assert/assert.c: Likewise.
59650         * config.h.in: Likewise.
59651         * config.make.in: Likewise.
59652         * configure: Likewise.
59653         * configure.in: Likewise.
59654         * csu/Versions: Likewise.
59655         * csu/init.c: Likewise.
59656         * elf/tst-audit2.c: Likewise.
59657         * elf/tst-tls10.c: Likewise.
59658         * elf/tst-tls10.h: Likewise.
59659         * elf/tst-tls11.c: Likewise.
59660         * elf/tst-tls12.c: Likewise.
59661         * elf/tst-tls14.c: Likewise.
59662         * elf/tst-tlsmod11.c: Likewise.
59663         * elf/tst-tlsmod12.c: Likewise.
59664         * elf/tst-tlsmod13.c: Likewise.
59665         * elf/tst-tlsmod13a.c: Likewise.
59666         * elf/tst-tlsmod14a.c: Likewise.
59667         * elf/tst-tlsmod15b.c: Likewise.
59668         * elf/tst-tlsmod16a.c: Likewise.
59669         * elf/tst-tlsmod16b.c: Likewise.
59670         * elf/tst-tlsmod7.c: Likewise.
59671         * elf/tst-tlsmod8.c: Likewise.
59672         * elf/tst-tlsmod9.c: Likewise.
59673         * gmon/gmon.c: Likewise.
59674         * grp/fgetgrent_r.c: Likewise.
59675         * grp/putgrent.c: Likewise.
59676         * hurd/fopenport.c: Likewise.
59677         * include/libc-symbols.h: Likewise.
59678         * include/tls.h: Likewise.
59679         * intl/gettextP.h: Likewise.
59680         * intl/loadinfo.h: Likewise.
59681         * locale/global-locale.c: Likewise.
59682         * locale/localeinfo.h: Likewise.
59683         * mach/devstream.c: Likewise.
59684         * malloc/arena.c: Likewise.
59685         * malloc/set-freeres.c: Likewise.
59686         * misc/err.c: Likewise.
59687         * misc/getttyent.c: Likewise.
59688         * misc/mntent_r.c: Likewise.
59689         * posix/getopt.c: Likewise.
59690         * posix/wordexp.c: Likewise.
59691         * pwd/fgetpwent_r.c: Likewise.
59692         * resolv/Versions: Likewise.
59693         * resolv/res_hconf.c: Likewise.
59694         * shadow/fgetspent_r.c: Likewise.
59695         * shadow/putspent.c: Likewise.
59696         * stdio-common/printf_fphex.c: Likewise.
59697         * stdio-common/tmpfile.c: Likewise.
59698         * stdlib/abort.c: Likewise.
59699         * stdlib/fmtmsg.c: Likewise.
59700         * sunrpc/auth_unix.c: Likewise.
59701         * sunrpc/clnt_perr.c: Likewise.
59702         * sunrpc/clnt_tcp.c: Likewise.
59703         * sunrpc/clnt_udp.c: Likewise.
59704         * sunrpc/clnt_unix.c: Likewise.
59705         * sunrpc/openchild.c: Likewise.
59706         * sunrpc/svc_simple.c: Likewise.
59707         * sunrpc/svc_tcp.c: Likewise.
59708         * sunrpc/svc_udp.c: Likewise.
59709         * sunrpc/svc_unix.c: Likewise.
59710         * sunrpc/xdr.c: Likewise.
59711         * sunrpc/xdr_array.c: Likewise.
59712         * sunrpc/xdr_rec.c: Likewise.
59713         * sunrpc/xdr_ref.c: Likewise.
59714         * sunrpc/xdr_stdio.c: Likewise.
59716 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
59718         * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
59720 2011-07-03  Andreas Jaeger  <aj@suse.de>
59722         * math/libm-test.inc (jn_test): Add tests for BZ#11589.
59723         * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
59724         regenerate with gen-libm-tests.pl.
59726 2010-05-12  Petr Baudis  <pasky@suse.cz>
59728         [BZ #11589]
59729         * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
59730         around j0() zero points by switching to j1().
59731         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
59732         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
59733         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
59734         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
59736 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
59738         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
59739         instead of 0.
59740         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
59741         instead of 0.
59742         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
59743         Patch in part by Pavel Roskin <proski@gnu.org>.
59745         [BZ #13138]
59746         * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
59747         realloc.
59748         (_IO_vfscanf_internal): Remove reteof.  Use errout after setting done.
59749         Free memory block if necessary.
59751         [BZ #12847]
59752         * libio/genops.c (INTDEF): For string streams the _lock pointer can
59753         be NULL.  Don't lock in this case.
59755 2011-09-09  Roland McGrath  <roland@hack.frob.com>
59757         * elf/elf.h (ELFOSABI_GNU): New macro.
59758         (ELFOSABI_LINUX): Define to that.
59760 2011-07-29  Denis Zaitceff  <zaitceff@gmail.com>
59762         * string/strncat.c (strncat): Undef the symbol in case it has been
59763         defined in bits/string.h.
59765 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
59767         * elf/sotruss.ksh: Clean up, fix, and complete help messages.
59769         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
59770         link map.
59772 2011-08-17  Andreas Jaeger  <aj@suse.de>
59774         * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
59776 2011-08-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
59777             Ian Lance Taylor  <iant@google.com>
59779         * math/libm-test.inc (lround_test): New testcase.
59780         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
59782 2011-09-08  Ulrich Drepper  <drepper@gmail.com>
59784         * Makefile: Remove support for automatic cvs check-ins.
59785         * Makerules: Likewise.
59786         * config.make.in: Likewise.
59787         * configure.in: Likewise.
59788         * intl/Makefile: Likewise.
59789         * locale/Makefile: Likewise.
59790         * po/Makefile: Likewise.
59791         * posix/Makefile: Likewise.
59792         * sysdeps/gnu/Makefile: Likewise.
59793         * sysdeps/mach/hurd/Makefile: Likewise.
59794         * sysdeps/sparc/sparc32/Makefile: Likewise.
59796         [BZ #13118]
59797         * posix/Makefile (bug-regex32-ENV): Define.
59798         Patch by John Stanley <jpsinthemix@verizon.net>.
59800         * misc/Makefile (headers): Add bits/select2.h.
59801         * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
59802         * misc/bits/select2.h: New file.
59803         * include/bits/select2.h: New file.
59804         * debug/Makefile (routines): Add fdelt_chk.
59805         * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
59806         * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
59807         FD_ISSET.
59808         * debug/fdelt_chk.c: New file.
59810         * wcsmbs/test-wcscmp.c: Moved from string/*.  Adjust.
59811         * wcsmbs/test-wmemcmp.c: Likewise.
59812         * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
59813         * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
59815 2011-09-08  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
59817         * string/Makefile (strop-tests): Add memcmp.
59818         * string/test-wmemcmp.c: New file.
59819         * string/test-memcmp.c: Add wmemcmp support.
59821 2011-09-08  Roland McGrath  <roland@hack.frob.com>
59823         [BZ #13153]
59824         * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
59825         2011-07-19 change.
59827         * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
59828         garbage value in a __mach_port_mod_refs call in the cases of the
59829         task-self and thread-self ports.
59831 2011-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
59833         * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
59835 2011-09-08  Andreas Schwab  <schwab@redhat.com>
59837         * elf/dl-load.c (lose): Check for non-null L.
59839 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
59841         * elf/dl-load.c (open_verify): Use O_CLOEXEC.
59843         * elf/dl-libc.c (dlerror_run): Pass back error code from
59844         dl_catch_error.
59846         [BZ #13123]
59847         * elf/dl-load.c (lose): Free l_origin if it is valid.
59849         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
59850         names.
59851         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
59852         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
59853         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
59854         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
59855         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
59856         Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
59858 2011-08-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
59860         * sysdeps/powerpc/fpu/e_hypot.c: New file.
59861         * sysdeps/powerpc/fpu/e_hypotf.c: New file.
59862         * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
59863         * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
59864         * sysdeps/powerpc/fpu/k_cosf.c: New file.
59865         * sysdeps/powerpc/fpu/k_sinf.c: New file.
59866         * sysdeps/powerpc/fpu/s_cosf.c: New file.
59867         * sysdeps/powerpc/fpu/s_sinf.c: New file.
59868         * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
59869         * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
59871 2011-08-15  Alan Modra  <amodra@gmail.com>
59873         [BZ #13092]
59874         * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
59875         * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
59876         * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here.  Add
59877         ppc_mcount to static-only-routines.
59878         * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
59879         __mcount_internal.
59880         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
59881         __mcount_internal with usual JUMPTARGET.  Remove useless nop.
59883 2011-08-18  David Flaherty  <flaherty@linux.vnet.ibm.com>
59885         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
59886         for finite and infinity parameters.
59888 2011-08-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
59890         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
59891         and add nop instructions for throughput optimization.
59892         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
59894 2011-07-28  Will Schmidt  <will_schmidt@vnet.ibm.com>
59896         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
59897         aligned copy for power7 with vector-scalar instructions.
59898         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
59900 2011-07-24  H.J. Lu  <hongjiu.lu@intel.com>
59902         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
59903         AVX check.
59905 2011-09-07  Andreas Schwab  <schwab@redhat.com>
59907         [BZ #13144]
59908         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
59909         last change.
59911 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
59913         * sysdeps/unix/sysv/linux/x86_64/init-first.c
59914         (_libc_vdso_platform_setup): If vDSO is not present store pointer to
59915         syscall wrapper around clock_gettime in __vdso_clock_gettime.
59916         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
59917         clock_gettime.
59919 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
59921         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
59922         Forgot to demangle the pointer.
59924         * sysdeps/i386/sysdep.h: Define atom_text_section.
59925         * sysdeps/x86_64/sysdep.h: Likewise.
59926         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
59927         section with atom_text_section.
59928         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
59929         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
59930         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
59931         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
59932         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
59934         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
59935         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
59936         already be defined.  Change to take two parameters and don't assign
59937         result to variable.  Adjust all users.
59938         Define INTERNAL_GETTIME if not already defined.
59939         Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
59940         call.
59941         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
59942         HAVE_CLOCK_GETTIME_VSYSCALL.
59943         * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
59945         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
59946         gettimeofday vsyscall, just use time.
59948 2011-09-06  Andreas Schwab  <schwab@redhat.com>
59950         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
59951         <errno.h>.
59953 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
59955         * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
59956         syscall on x86-64.
59957         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
59958         syscall.
59959         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
59960         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
59961         syscall if possible.
59963 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
59965         * elf/pldd.c (get_process_info): Don't read whole ELF header, just
59966         e_ident.  Don't pass to find_mapsXX.
59967         * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
59969 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
59971         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
59972         strchr-sse2-no-bsf strrchr-sse2-no-bsf
59973         * sysdeps/x86_64/multiarch/strchr.S: Update.
59974         Check bit_slow_BSF bit.
59975         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
59976         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
59977         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
59979 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
59981         [BZ #13134]
59982         * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
59983         before glibc 2.15.
59984         (tryshell): Define.
59985         (__spawni): Change last parameter to be flag.  Test
59986         SPAWN_XFLAGS_USE_PATH flag to use path or not.
59987         Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
59988         * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
59989         * posix/spawni.c: Likewise.
59990         * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
59991         * posix/spawnp.c: Likewise.  Change normal version to use
59992         SPAWN_XFLAGS_USE_PATH.
59993         * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
59994         SPAWN_XFLAGS_TRY_SHELL.
59996         [BZ #13150]
59997         * posix/glob.h: Remove gcc 1.x support.
59999         [BZ #13068]
60000         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
60002 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
60004         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
60005         strchr-sse2 strrchr-sse2 strchr-sse2-bsf
60006         strrchr-sse2-bsf
60007         * sysdeps/i386/i686/multiarch/strchr.S: New file.
60008         * sysdeps/i386/i686/multiarch/strrchr.S: New file.
60009         * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
60010         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
60011         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
60012         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
60014 2011-08-29  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
60016         * sysdeps/x86_64/wcscmp.S: New file.
60018         * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
60019         wcscmp-c wcscmp-sse2
60020         * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
60021         * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
60022         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
60023         * wcsmbs/wcscmp.c: Allow renaming.
60025 2011-09-05  David S. Miller  <davem@davemloft.net>
60027         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
60028         stack slot, rather than the struct return pointer slot.
60029         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
60030         * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
60031         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
60032         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
60034 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
60036         * po/ja.po: Update from translation team.
60038         [BZ #13144]
60039         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
60040         kernel in 64-bit binaries.
60042 2011-09-01  David S. Miller  <davem@davemloft.net>
60044         * elf/elf.h (HWCAP_SPARC_*): Move to..
60045         * sysdeps/sparc/sysdep.h: this new file and add new values.
60046         * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
60047         * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
60048         _DL_HWCAP_COUNT to 24.
60049         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
60050         entries.
60051         * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
60052         __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
60053         * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
60054         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
60055         instead of magic constants.
60056         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
60058 2011-08-31  David S. Miller  <davem@davemloft.net>
60060         * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
60061         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
60062         Reimplement to do errno handling inline.
60063         (SYSCALL_ERROR_HANDLER): New macro.
60064         (__SYSCALL_STRING): Do not do errno handling in asm.
60065         (__CLONE_SYSCALL_STRING): Delete.
60066         (__INTERNAL_SYSCALL_STRING): Delete.
60067         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
60068         sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
60069         (PSEUDO): Reimplement to do errno handling inline.
60070         (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
60071         (SYSCALL_ERROR_HANDLER): New macro.
60072         (__SYSCALL_STRING): Do not do errno handling in asm.
60073         (__CLONE_SYSCALL_STRING): Delete.
60074         (__INTERNAL_SYSCALL_STRING): Delete.
60075         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
60076         Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
60077         i386.
60078         (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
60079         (inline_syscall*): Add 'err' argument.
60080         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
60081         INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
60082         (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
60083         INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
60085         * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
60086         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
60088 2011-08-30  Andreas Schwab  <schwab@redhat.com>
60090         * elf/rtld.c (dl_main): Relocate objects in dependency order.
60092 2011-08-29  Jiri Olsa <jolsa@redhat.com>
60094         * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
60095         directive.
60097 2011-08-24  David S. Miller  <davem@davemloft.net>
60099         * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
60101 2011-08-24  Andreas Schwab  <schwab@redhat.com>
60103         * elf/Makefile: Add rules to build and run unload8 test.
60104         * elf/unload8.c: New file.
60105         * elf/unload8mod1.c: New file.
60106         * elf/unload8mod1x.c: New file.
60107         * elf/unload8mod2.c: New file.
60108         * elf/unload8mod3.c: New file.
60110         * elf/dl-close.c (_dl_close_worker): Reset private search list if
60111         it wasn't used.
60113 2011-08-23  David S. Miller  <davem@davemloft.net>
60115         * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
60116         subtract stack bias.
60117         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
60118         %sp not %fp in calculations.
60119         (_JMPBUF_UNWINDS_ADJ): Likewise.
60121         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
60122         (aio_suspend): Call it to force an exception region around the
60123         AIO_MISC_WAIT() invocation.
60125 2011-08-23  Andreas Schwab  <schwab@redhat.com>
60127         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
60128         backslash.
60130 2011-07-04  Aurelien Jarno  <aurelien@aurel32.net>
60132         * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
60133         protection macro.
60134         * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
60135         and <dl-machine.h>.
60136         (Elf64_FuncDesc): Remove.
60138 2011-08-22  David S. Miller  <davem@davemloft.net>
60140         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
60141         sigaltstack check, add missing cfi directives.
60142         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
60143         missing cfi directives, and sigaltstack handling.
60145 2011-08-16  Andreas Schwab  <schwab@redhat.com>
60147         [BZ #11724]
60148         * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
60149         object is seen twice.
60150         * elf/dl-fini.c (_dl_sort_fini): Likewise.
60152         * elf/Makefile (distribute): Add tst-initorder2.c.
60153         (tests): Add tst-initorder2.
60154         (modules-names): Add tst-initorder2a tst-initorder2b
60155         tst-initorder2c tst-initorder2d.  Add rules to build them.
60156         ($(objpfx)tst-initorder2.out): New rule.
60157         * elf/tst-initorder2.c: New file.
60158         * elf/tst-initorder2.exp: New file.
60160 2011-08-22  Andreas Schwab  <schwab@redhat.com>
60162         * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
60164         * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
60165         dependencies back to end of function.
60167         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
60168         $(elfobjdir)/ld.so.
60170 2011-08-21  Ulrich Drepper  <drepper@gmail.com>
60172         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
60173         * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
60174         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
60175         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
60176         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
60177         of __vdso_gettimeofday.
60178         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
60179         __vdso_gettimeofday and __vdso_time.  Define __vdso_getcpu with
60180         attribute_hidden.
60181         (_libc_vdso_platform_setup): Remove initialization of
60182         __vdso_gettimeofday and __vdso_time.
60184 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
60186         * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
60187         and fgetc_unlocked.
60188         * nss/nss_files/files-key.c (search): Use fgets_unlocked and
60189         getc_unlocked.
60191         * elf/dl-open.c (add_to_global): Report additions to the global scope
60192         for LD_DEBUG=scopes.
60193         (dl_open_worker): Also print scope of newly loaded dependencies.
60194         (_dl_show_scope): Indicate if there is no scope.
60196         [BZ #13114]
60197         * stdio-common/Makefile (tests): Add bug24.
60198         * stdio-common/bug24.c: New file.
60200 2011-08-19  Andreas Jaeger  <aj@suse.de>
60202         [BZ #13114]
60203         * libio/fileops.c (_IO_new_file_fopen): Fix handling of
60204         non-existant file when using close-on-exec mode.
60206 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
60208         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
60209         the very first instruction.
60211         * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
60212         the CFI state in the end.
60213         * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
60214         inclusion of dl-trampoline.h.
60215         Based on a patch by Jiri Olsa <jolsa@redhat.com>.
60217 2011-08-19  Andreas Schwab  <schwab@redhat.com>
60219         * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
60220         expectations for long double.
60222         * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
60223         from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
60225 2011-08-14  David S. Miller  <davem@davemloft.net>
60227         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
60228         artificual limit depends upon the system page size.
60230 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
60232         * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
60233         * resolv/Makefile: Define CFLAGS-libresolv.
60235 2011-08-17  Andreas Schwab  <schwab@redhat.com>
60237         * nss/makedb.c (compute_tables): Make variables used in nested
60238         function static.
60240 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
60242         * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
60243         * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
60244         if buffer was too small.
60246         * elf/pldd.c (main): Attach to all threads in the process.
60247         Rewrite /proc handling to use *at functions.
60249 2011-08-16  Ulrich Drepper  <drepper@gmail.com>
60251         * elf/dl-open.c (_dl_show_scope): Take additional parameter which
60252         specifies first scope to show.
60253         (dl_open_worker): Update callers.  Move printing scope of new
60254         object to before the relocation.
60255         * elf/rtld.c (dl_main): Update _dl_show_scope call.
60256         * sysdeps/generic/ldsodefs.h: Update declaration.
60258         * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
60259         string for the scope number.
60261 2011-08-14  Ulrich Drepper  <drepper@gmail.com>
60263         * nscd/servicescache.c (cache_addserv): Make sure written is always
60264         initialized.
60266 2011-08-14  Roland McGrath  <roland@hack.frob.com>
60268         * sysdeps/i386/i486/bits/atomic.h
60269         (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
60270         statement expression, so as to suppress "set but not used" warning.
60271         (__arch_c_compare_and_exchange_val_64_acq): Likewise.
60273         * string/strncat.c (STRNCAT): Use prototype definition.
60275         * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
60276         (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
60277         -Iprograms here.
60278         (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
60279         (localedef-modules): Add localedef.
60280         (locale-modules): Add locale.
60282         * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
60283         * elf/rtld.c (dl_main): Invert order of assignment in last change,
60284         to avoid a warning.
60286 2011-08-14  David S. Miller  <davem@davemloft.net>
60288         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
60289         RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
60291 2011-08-13  Ulrich Drepper  <drepper@gmail.com>
60293         * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
60294         (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
60295         * elf/rtld.c (dl_main): Set l_name of vDSO.
60296         Call _dl_show_scope when DL_DEBUG_SCOPES.
60297         (process_dl_debug): Recognize scopes flag and also set it for all.
60298         * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
60299         Declare _dl_show_scope.
60301         * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
60302         (do_dlopen): Pass caller_dlopen to dl_open.
60303         (__libc_dlopen_mode): Initialize caller_dlopen.
60305         * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
60306         of libc.  Make tolower call locale-independent.  Optimize a bit by
60307         using isdigit instead of isalnum.
60308         * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
60310 2011-08-12  Ulrich Drepper  <drepper@gmail.com>
60312         * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
60313         was a dependency or dynamically loaded.
60315 2011-08-11  Ulrich Drepper  <drepper@gmail.com>
60317         * intl/l10nflist.c: Allow architecture-specific pop function.
60318         * sysdeps/x86_64/l10nflist.c: New file.
60320         * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
60321         classification.
60323 2011-08-10  Andreas Schwab  <schwab@redhat.com>
60325         * include/dirent.h: Add libc_hidden_proto for scandirat and
60326         scandirat64.  Don't declare __scandirat64.
60327         * dirent/scandirat.c: Add libc_hidden_def.
60328         * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
60329         * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
60331 2011-08-10  David S. Miller  <davem@davemloft.net>
60333         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
60334         enum.
60335         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
60336         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
60337         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
60339 2011-08-09  Ulrich Drepper  <drepper@gmail.com>
60341         * Versions.def [libc]: Add GLIBC_2.15.
60342         * dirent/Makefile (routines): Add scandirat and scandirat64.
60343         * dirent/Versions [libc]: Export scandirat and scandirat64 for
60344         GLIBC_2.15.
60345         * dirent/dirent.h: Declare scandirat and scandirat64.
60346         * dirent/scandirat.c: New file.
60347         * dirent/scandirat64.c: New file.
60348         * sysdeps/wordsize-64/scandirat.c: New file.
60349         * sysdeps/wordsize-64/scandirat64.c: New file.
60350         * dirent/opendir.c: Define opendirat.
60351         * dirent/scandir.c: Move code to scandirat.c.  Implement scandir
60352         using scandirat.
60353         * dirent/scandir64.c: Adjust for scandir.c change.
60354         * include/dirent.h: Define scandir_cancel_struct.  Declare __opendirat,
60355         __scandirat64, and __scandir_cancel_handler.
60356         * sysdeps/unix/opendir.c: Rename __opendir to __opendirat.  Take
60357         additional parameter and use openat instead of open (outside of ld.so).
60358         Add new __opendir as wrapper around __opendirat.
60359         * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
60360         here without requiring old scandirat implementation.
60362 2011-08-08  Ulrich Drepper  <drepper@gmail.com>
60364         * dirent/scandir.c (cancel_handler): Renamed to
60365         __scandir_cancel_handler.  Do not define if SKIP_SCANDIR_CANCEL is
60366         defined.  Adjust users.
60367         * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
60368         * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
60370 2011-08-04  Ulrich Drepper  <drepper@gmail.com>
60372         * string/test-string.h (IMPL): Use __STRING to expand name and then
60373         stringify it.
60375         * string/test-strcmp.c: Unify most of the WIDE and !WIDE code.  Lots
60376         of cleanups.
60378 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
60380         * string/Makefile: Update.
60381         (strop-tests): Append strncat.
60382         * string/test-wcscmp.c: New file.
60383         New comprehensive test for wcscmp.
60384         * string/test-strcmp.c: Update.
60385         (WIDE): New define.
60387 2011-07-22  Andreas Schwab  <schwab@redhat.com>
60389         * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
60390         line.
60392 2011-07-26  Andreas Schwab  <schwab@redhat.com>
60394         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
60395         encoding to ACE if AI_IDN.
60397 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
60399         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
60400         to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
60402 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
60404         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
60405         Fix overflow bug in strncat.
60406         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
60408         * string/test-strncat.c: Update.
60409         Add new tests for checking overflow bugs.
60411 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
60413         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
60414         strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
60415         * sysdeps/i386/i686/multiarch/strcat.S: New file.
60416         * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
60417         * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
60418         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
60419         * sysdeps/i386/i686/multiarch/strncat.S: New file.
60420         * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
60421         * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
60423         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
60424         (USE_AS_STRCAT): Define.
60425         Add strcat and strncat support.
60426         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
60428 2011-07-25  Andreas Schwab  <schwab@redhat.com>
60430         * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
60431         __n bigger than INT_MAX+1.
60432         (__strncmp_g): Likewise.
60434 2011-07-23  Ulrich Drepper  <drepper@gmail.com>
60436         * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
60437         * libio/stido.h: Likewise.
60439         * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
60440         (AF_NFC): Define.
60441         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
60442         (AF_NFC): Define.
60444         * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
60445         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
60446         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
60447         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
60448         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
60450         [BZ #13021]
60451         * scripts/test-installation.pl: Don't expect libnss_test1 to be
60452         installed.
60454         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
60455         typo.
60456         (_dl_x86_64_save_sse): Likewise.
60458 2011-07-22  Ulrich Drepper  <drepper@gmail.com>
60460         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
60461         OSXSAVE.
60462         (_dl_x86_64_save_sse): Likewise.
60464         * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
60466         * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
60468 2011-07-21  Andreas Schwab  <schwab@redhat.com>
60470         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
60471         change.
60472         (_dl_x86_64_save_sse): Use correct AVX check.
60474 2011-07-21  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
60476         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
60477         bug in strncpy/strncat.
60478         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
60480 2011-07-21  Ulrich Drepper  <drepper@gmail.com>
60482         * string/tester.c (test_strcat): Add tests for different alignments
60483         of source and destination.
60484         (test_strncat): Likewise.
60486 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
60488         [BZ #12852]
60489         * posix/glob.c (glob): Check passed in values before using them in
60490         expressions to avoid some overflows.
60491         (glob_in_dir): Likewise.
60493         [BZ #13007]
60494         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
60495         check for AVX enablement so that we don't crash with old kernels and
60496         new hardware.
60497         * elf/tst-audit4.c: Add same checks here.
60498         * elf/tst-audit6.c: Likewise.
60500         * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
60502 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
60504         * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
60506 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
60508         * po/cs.po: Update from translation team.
60509         * po/bg.po: Likewise.
60511 2011-07-12  Marek Polacek  <mpolacek@redhat.com>
60513         * misc/sys/cdefs.h: Add support for const attribute.
60514         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
60515         to gnu_dev_{major,minor,makedev} functions.
60517 2011-07-20  Marek Polacek  <mpolacek@redhat.com>
60519         * intl/dcigettext.c (get_output_charset): Add missing bracket.
60521 2011-07-20  Andreas Schwab  <schwab@redhat.com>
60523         * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
60524         strlen results.
60526 2011-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
60528         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
60529         (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
60530         register in order to avoid conflicts with the soft frame pointer
60531         being held in r11 when necessary.
60532         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
60533         (INTERNAL_VSYSCALL_NCS): Likewise.
60535 2011-07-14  Marek Polacek  <mpolacek@redhat.com>
60537         * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
60538         * elf/dl-fini.c (_dl_fini): Adjust caller.
60539         * elf/dl-close.c (_dl_close_worker): Likewise.
60540         * sysdeps/generic/ldsodefs.h: Adjust declaration.
60542 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
60544         * elf/cache.c (load_aux_cache): Remove unnecessary condition of
60545         "aux_cache->nlibs < 0".
60547         * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
60548         in the reload-count case.
60550 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
60552         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
60553         strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
60554         strncat-sse2-unaligned strncat-c strlen-sse2-pminub
60555         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
60556         * sysdeps/x86_64/multiarch/strcat.S: New file.
60557         * sysdeps/x86_64/multiarch/strncat.S: New file.
60558         * sysdeps/x86_64/multiarch/strncat-c.c: New file.
60559         * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
60560         * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
60561         * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
60562         * sysdeps/x86_64/multiarch/strcpy-ssse3.S
60563         (USE_AS_STRCAT): Define.
60564         Add strcat and strncat support.
60565         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
60566         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
60567         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
60568         * string/strncat.c: Update.
60569         (USE_AS_STRNCAT): Define.
60570         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
60571         Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
60572         and i7.
60573         * sysdeps/x86_64/multiarch/init-arch.h
60574         (bit_Prefer_PMINUB_for_stringop): New.
60575         (index_Prefer_PMINUB_for_stringop): Likewise.
60576         * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
60577         bit_Prefer_PMINUB_for_stringop.
60579 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
60581         * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
60582         buffer64.
60583         * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
60584         of casting of buffer.
60585         * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
60586         buffer32 and buffer64.
60587         * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
60588         writes instead of casting of buffer.
60589         * crypt/md5.h (struct md5_ctx): Move buffer into union and add
60590         buffer32.
60591         * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
60592         casting of buffer.
60594 2011-07-19  Andreas Schwab  <schwab@redhat.com>
60596         * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
60598 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
60600         * nscd/nscd.c (termination_handler): Don't do anything for a database
60601         if it has not yet been initialized.
60603 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
60605         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
60607 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
60609         * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
60611 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
60613         * po/nl.po: Update from translation team.
60614         * po/sv.po: Likewise.
60616 2011-07-16  Roland McGrath  <roland@hack.frob.com>
60618         * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
60619         now disallowed by GCC.
60621         * configure.in (use-default-link): Default to yes if a test -shared
60622         link meets our qualifications.
60623         * configure: Regenerated.
60625         * config.make.in (output-format): New variable.
60626         * configure.in: Check for ld --print-output-format support.
60627         * configure: Regenerated.
60628         * Makerules ($(common-objpfx)format.lds)
60629         [$(output-format) != unknown]: Just use $(output-format),
60630         instead of the linker-script munging.
60632 2011-07-14  Roland McGrath  <roland@hack.frob.com>
60634         * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
60635         of $(common-objpfx)shlib.lds.
60636         * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
60638         * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
60639         Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
60641         * configure.in (-z relro check): Adjust test code to add a large
60642         writable data section after it.
60643         * configure: Regenerated.
60645 2011-07-11  Roland McGrath  <roland@hack.frob.com>
60647         * configure.in (-z relro check): Fix test code to make the variable
60648         truly const.
60649         * configure: Regenerated.
60651 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
60653         * nscd/nscd.h (struct traced_file): Define.
60654         (struct database_dyn): Remove inotify_descr, reset_res, and filename
60655         elements.  Add traced_files.
60656         (inotify_fd): Declare.
60657         (register_traced_file): Declare.
60658         * nscd/connections.c (dbs): Remove reset_res and filename initializers.
60659         (inotify_fd): Export.
60660         (resolv_conf_descr): Remove.
60661         (nscd_init): Move inotify descriptor creation to main.
60662         Don't register files for notification here.
60663         (register_traced_file): New function.
60664         (invalidate_cache): Don't use reset_res to determine whether to call
60665         res_init, go through the list of registered files.
60666         (main_loop_poll): The inotify descriptors are now stored in the
60667         structures for the traced files.
60668         (main_loop_epoll): Likewise
60669         * nscd/nscd.c (main): Create inotify socket here.  Pass extra argument
60670         to __nss_disable_nscd.
60671         * nscd/cache.c (prune_cache): There is no single inotify descriptor
60672         for a database anymore.  Check the records for all the registered
60673         files instead.
60674         * nss/Makefile (libnss_files-routines): Add files-init.
60675         (libnss_db-routines): Add db-init.
60676         * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
60677         [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
60678         * nss/nss_db/db-init.c: New file.
60679         * nss/nss_files/files-init.c: New file.
60680         * nss/nsswitch.c (nss_load_library): New function.  Broken out of
60681         __nss_lookup_function.
60682         (__nss_lookup_function): Call nss_load_library.
60683         (nss_load_all_libraries): New function.
60684         (__nss_disable_nscd): Take parameter with callback function for files
60685         to register.  Set is_nscd.  Load all the DSOs for the NSS modules
60686         used for the cached services.
60687         * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
60688         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
60689         options for features to all the files in nscd.
60691         * nss/nsswitch.c (nss_parse_file): Add missing fclose.
60693 2011-07-10  Roland McGrath  <roland@hack.frob.com>
60695         * csu/elf-init.c (__libc_csu_init): Comment typo.
60697 2011-07-09  Ulrich Drepper  <drepper@gmail.com>
60699         * po/pl.po: Update from translation team.
60700         * po/ja.po: Likewise.
60701         * po/ru.po: Likewise.
60702         * po/ko.po: Likewise.
60703         * po/fr.po: Likewise.
60705 2011-07-09  Roland McGrath  <roland@hack.frob.com>
60707         * configure.in (.ctors/.dtors header and trailer check):
60708         Use an empirical test on a built program.
60709         * configure: Regenerated.
60711         * configure.in (-z relro check): Use an empirical test on a built DSO.
60712         Detect, but do not require, on ia64.
60713         * configure: Regenerated.
60715         * configure.in (READELF): Find it with AC_CHECK_TOOL.
60716         Update tests that use readelf to use $READELF instead.
60717         * configure: Regenerated.
60719 2011-07-08  Ulrich Drepper  <drepper@gmail.com>
60721         * malloc/hooks.c (memalign_check): Avoid using checked_request2size
60722         if the result is not used.
60724 2011-07-05  Andreas Jaeger  <aj@suse.de>
60726         [BZ#9696]
60727         * stdlib/tst-strtod.c: Add testcase.
60729 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
60731         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
60732         (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
60733         The latter has a higher limit.  Take additional parameter to pass to
60734         the new function.
60735         (__pathconf): Pass file to __statfs_link_max.
60736         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
60737         __statfs_link_max.
60738         * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
60739         __statfs_link_max.
60741         [BZ #12868]
60742         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
60743         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
60744         Handle Lustre.
60745         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
60746         (__statfs_filesize_max): Likewise.
60747         Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
60749 2011-07-05  Andreas Jaeger  <aj@suse.de>
60751         * resolv/res_comp.c (dn_skipname): Remove unused variable.
60753 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
60755         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
60756         `status' variable.
60757         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
60758         Likewise.
60760 2011-07-04  H.J. Lu  <hongjiu.lu@intel.com>
60762         * Makefile (strop-tests): Add strncat.
60763         * string/test-strncat.c: New file.
60765 2011-06-30  Marek Polacek  <mpolacek@redhat.com>
60767         * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
60769 2011-06-21  Andreas Jaeger  <aj@suse.de>
60771         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
60772         Copy rule from iconvdata/Makefile.
60774 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
60776         [BZ #12922]
60777         * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
60778         but no long options are defined, just return 'W'.
60780 2011-06-22  Marek Polacek  <mpolacek@redhat.com>
60782         [BZ #9696]
60783         * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
60785 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
60787         * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
60788         netgroups to read.
60789         (innetgr): Likewise.
60791 2011-07-05  Roland McGrath  <roland@hack.frob.com>
60793         * config.make.in (install_root): Default to $(DESTDIR).
60795 2011-07-05  Ulrich Drepper  <drepper@gmail.com>
60797         * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
60799 2011-07-02  Roland McGrath  <roland@hack.frob.com>
60801         * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
60803         * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
60804         containing directory rather than embedding absolute directory names.
60806         * scripts/check-local-headers.sh: Rewritten using awk.
60807         Match by word, not by line.  Print error messages for matches.
60808         * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
60810         * Makerules [shlib-lds-flags empty]:
60811         ($(common-objpfx)libc_pic.opts): New target.
60812         ($(common-objpfx)libc_pic.os.clean): New target.
60813         ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
60815         * config.make.in (OBJCOPY): New variable.
60816         * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
60817         * configure: Regenerated.
60819         * config.make.in (use-default-link): New variable.
60820         * configure.in (use_default_link): Grok --with-default-link to set it.
60821         * configure: Regenerated.
60822         * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
60823         (shlib-lds, shlib-lds-flags): Define to empty.
60825         * Makerules (shlib-lds): New variable.
60826         (shlib-lds-flags): New variable.
60827         (build-shlib, build-moduile, build-module-asneeded): Use it.
60828         ($(common-objpfx)libc.so): Use $(shlib-lds).
60829         ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
60830         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
60832         * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
60833         DT_FLAGS/DT_FLAGS_1 with zero flags.
60835         * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
60836         linker script munging.
60838 2011-07-02  Ulrich Drepper  <drepper@gmail.com>
60840         * crypt/sha512.h (struct sha512_ctx): Add union to access total also
60841         as 128-bit value.
60842         * crypt/sha512.c (sha512_process_block): Perform total addition using
60843         128-bit if possible.
60844         (__sha512_finish_ctx): Likewise.
60845         * crypt/sha256.h (struct sha256_ctx): Add union to access total also
60846         as 64-bit value.
60847         * crypt/sha256.c (SWAP64): Define.
60848         (sha256_process_block): Perform total addition using 64-bit if
60849         possible.
60850         (__sha256_finish_ctx): Likewise.
60852 2011-07-01  Ulrich Drepper  <drepper@gmail.com>
60854         * nscd/pwdcache.c (cache_addpw): Cleanup.  Add branch prediction.
60855         * nscd/initgrcache.c (addinitgroupsX): Likewise.
60856         * nscd/hstcache.c (cache_addhst): Likewise.
60857         * nscd/grpcache.c (cache_addgr): Likewise.
60858         * nscd/aicache.c (addhstaiX): Likewise
60859         * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
60861 2011-07-01  Thorsten Kukuk  <kukuk@suse.de>
60863         * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
60864         * nscd/initgrcache.c (addinitgroupsX): Likewise.
60865         * nscd/hstcache.c (cache_addhst): Likewise.
60866         * nscd/grpcache.c (cache_addgr): Likewise.
60867         * nscd/aicache.c (addhstaiX): Likewise
60869 2011-07-01  Andreas Schwab  <schwab@redhat.com>
60871         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
60872         domain only when needed.
60874 2011-06-30  Andreas Schwab  <schwab@redhat.com>
60876         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
60877         is always restored.
60879 2011-06-29  Ulrich Drepper  <drepper@gmail.com>
60881         * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
60882         are re-adding the entry.
60883         * nscd/servicescache.c (cache_addserv): Likewise.
60885 2011-06-30  Aurelien Jarno  <aurelien@aurel32.net>
60887         * sysdeps/generic/dl-irel.h: fix protection against multiple
60888         inclusions.
60889         * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
60891 2011-06-28  Ulrich Drepper  <drepper@gmail.com>
60893         [BZ #12935]
60894         * malloc/memusage.sh: Fix quoting in message.
60895         * debug/xtrace.sh: Likewise.
60897         * configure.in: Remove support for --experimental-malloc option, make
60898         it the default.
60899         * config.make.in: Likewise.
60900         * malloc/Makefile: Likewise.
60902 2011-06-27  Andreas Schwab  <schwab@redhat.com>
60904         * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
60905         two-byte characters.
60907 2011-06-27  Roland McGrath  <roland@hack.frob.com>
60909         * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
60910         AC_CACHE_CHECK invocation.
60911         * configure: Regenerated.
60913         * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
60915 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
60917         [BZ #12350]
60918         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
60919         bit from old_res_options.
60921         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
60923         * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
60924         value type for setfct.
60926 2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
60928         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
60929         __gettimeofday instead of gettimeofday.
60931 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
60933         * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
60935 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
60937         * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
60939         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
60940         info.
60942 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
60944         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
60945         strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
60946         strcpy-sse2-unaligned strncpy-sse2-unaligned
60947         stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
60948         * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
60949         * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
60950         * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
60951         * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
60952         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
60953         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
60954         * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
60955         * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
60956         * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
60957         (STRCPY): Support SSE2 and SSSE3 versions.
60959 2011-06-24  Ulrich Drepper  <drepper@gmail.com>
60961         [BZ #12874]
60962         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
60963         * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
60964         kernels which artificially limit size of requests.
60966 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
60968         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
60969         strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
60970         strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
60971         * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
60972         * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
60973         * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
60974         * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
60975         * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
60976         * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
60977         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
60978         * sysdeps/i386/i686/multiarch/strcpy.S: New file.
60979         * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
60980         * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
60981         * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
60982         * sysdeps/i386/i686/multiarch/strncpy.S: New file.
60983         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
60984         Enable unaligned load optimization for Intel Core i3, i5 and i7
60985         processors.
60986         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
60987         Define.
60988         (index_Fast_Unaligned_Load): Define.
60989         (HAS_FAST_UNALIGNED_LOAD): Define.
60991 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
60993         * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
60995 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
60997         [BZ #12907]
60998         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
60999         until it is clear that the information is realy needed.
61000         Patch mostly by David Hanisch <david.hanisch@nsn.com>.
61002 2011-06-22  Andreas Schwab  <schwab@redhat.com>
61004         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
61006 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
61008         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
61009         /sys/devices/system/cpu/online if it is usable.
61011         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
61012         reading the information from the /proc filesystem to once a second.
61014 2011-06-21  Andreas Jaeger  <aj@suse.de>
61016         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
61017         NULL after inclusion of kernel headers.
61019 2011-06-21  Ulrich Drepper  <drepper@gmail.com>
61021         * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
61022         calls to internal_setent.
61024         [BZ #12885]
61025         * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
61026         addresses using gethostbyname4_r ignore IPv4 addresses.
61028         * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
61029         branch using gethostbyname2 is only for AF_INET.  Optimize accordingly.
61031         * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
61033 2011-06-20  David S. Miller  <davem@davemloft.net>
61035         * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
61036         inclusions.
61037         * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
61039         * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
61040         (elf_irel): Use it.
61041         * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
61042         * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
61043         * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
61044         * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
61045         * sysdeps/x86_64/dl-irel.h: Likewise.
61047         * elf/dl-runtime.c: Use elf_ifunc_invoke.
61048         * elf/dl-sym.c: Likewise.
61050 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
61052         * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
61053         need to dereference resplen2.
61055 2011-06-14  Andreas Schwab  <schwab@redhat.com>
61057         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
61059 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
61061         * Makeconfig: Define vardbdir and inst_vardbdir.
61062         * nss/Makefile: Add rules to install db-Makefile.
61064         * nss/nss_db/db-XXX.c: Cleanup.
61066         * nss/Makefile (libnss_db-dbs): Add db-initgroups.
61067         * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
61068         GLIBC_PRIVATE.
61069         * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
61070         * nss/makedb.c: Implement -g option to specify that value strings
61071         are generated and should not be added to table iterated over for
61072         get*ent calls.
61073         * nss/nss_db/db-initgroups.c: New file.
61075         * nss/getent.c: Add support for initgroups lookups through getgrouplist
61076         interface.
61078         * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
61079         (internal_getgrouplist): Adjust to name change.
61080         Update use_initgroups_entry if this is not the first call.
61081         * nss/databases.def: Add initgroups entry.
61083         * nss/makedb.c (compute_tables): Check result of multiple hash table
61084         sizes to minimize maximum chain length.
61086 2011-06-14  Ulrich Drepper  <drepper@gmail.com>
61088         * Versions.def: Add entry for libnss_db.
61089         * shlib-versions: Likewise.
61090         * nss/Makefile: Add rules to build libnss_db.
61091         * nss/Versions: Add libnss_db information.  Organize libnss_files
61092         entries better.
61093         * nss/db-Makefile: Add gshadow support.  Change rules for the new
61094         makedb progra.  Some minor improvements to generate smaller files.
61095         * nss/nss_db/nss_db.h: Move NSS database header data structures to
61096         here from...
61097         * nss/makedb.c: ...here.
61098         Improve database format to be smaller and require less memory at
61099         runtime.
61100         * nss/nss_db/db-XXX.x: Adjust for new database format.  Don't use
61101         db anymore.
61102         * nss/nss_db/db-netgrp.c: Likewise.
61103         * nss/nss_db/db-open.c: Likewise.
61104         * nss/nss_files/flies-XXX.x: Adjust comments.
61105         * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
61106         * nss/nss_files/files-grp.c: Likewise.
61107         * nss/nss_files/files-hosts.c: Likewise.
61108         * nss/nss_files/files-network.c: Likewise.
61109         * nss/nss_files/files-proto.c: Likewise.
61110         * nss/nss_files/files-pwd.c: Likewise.
61111         * nss/nss_files/files-rpc.c: Likewise.
61112         * nss/nss_files/files-service.c: Likewise.
61113         * nss/nss_files/files-sgrp.c: Likewise.
61114         * nss/nss_files/files-spwd.c: Likewise.
61115         * nss/nss_db/db-alias.c: Removed.
61116         * nss/nss_db/dummy-db.h: Removed.
61118 2011-06-02  Ulrich Drepper  <drepper@gmail.com>
61120         * nss/makedb.c: Rewritten to not use database library.
61121         * nss/Makefile: Update to build new makedb program.
61123 2011-06-14  Andreas Jaeger  <aj@suse.de>
61125         * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
61126         memset declaration.
61128 2011-06-10  Andreas Schwab  <schwab@redhat.com>
61130         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
61131         tmpbuf.
61133 2011-06-10  Roland McGrath  <roland@hack.frob.com>
61135         * Makerules (shlib.lds): Fail if the linker script comes out empty.
61136         * elf/Makefile ($(objpfx)ld.so): Likewise.
61138         * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
61139         Don't list ld.so twice in dependencies.
61141         * posix/bug-regex31.c: Include <stdlib.h>.
61143         * nscd/hstcache.c (cache_addhst): Remove unused variable.
61145         * nis/nss_compat/compat-spwd.c
61146         (getspent_next_nss_netgr): Remove unused variable.
61147         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
61149         * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
61150         nonmembers" output to use the right array.
61152         * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
61154         * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
61156         * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
61157         * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
61158         * catgets/gencat.c (read_input_file): Likewise.
61159         * locale/programs/locarchive.c (enlarge_archive): Likewise.
61161         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
61162         variable definition inside #if's controlling its use.
61164         * inet/getnetgrent_r.c (innetgr): Remove unused variable.
61166         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
61168         * misc/syslog.c (__vsyslog_chk): Remove unused variable.
61170         * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
61171         unreachable code.
61173         * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
61175         * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
61176         * configure: Regenerated.
61178         * Makerules: Revert last change.
61179         * elf/Makefile: Likewise.
61181 2011-06-09  Roland McGrath  <roland@hack.frob.com>
61183         * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
61184         * elf/Makefile ($(objpfx)librtld.os): Likewise.
61185         (reloc-link): Likewise.
61187 2011-06-09  Ulrich Drepper  <drepper@gmail.com>
61189         * elf/Makefile: Add rules to build pldd.
61190         * elf/pldd.c: New file.
61191         * elf/pldd-xx.c: New file.
61193 2011-06-07  Ulrich Drepper  <drepper@gmail.com>
61195         * version.h: Update for 2.15 development version.
61197 2011-06-07  David S. Miller  <davem@davemloft.net>
61199         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
61200         ifuncs.
61201         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
61202         elf_machine_lazy_rel): Likewise.
61203         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
61204         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
61205         elf_machine_lazy_rel): Likewise.
61206         * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
61207         dl_hwcap via passed in argument.
61208         * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
61209         Likewise.
61211 2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
61213         * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
61215 2011-06-06  Roland McGrath  <roland@hack.frob.com>
61217         [BZ #12849]
61218         * manual/fdl-1.1.texi: New file, verbatim from:
61219         http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
61220         * manual/lgpl-2.1.texi: New file, verbatim from:
61221         http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
61222         * manual/Makefile (licenses): New variable, list those new file names.
61223         (texis): Use it.
61224         (chapters.% top-menu.%): Include $(licenses) with $(appendices).
61226         * manual/fdl.texi: File removed.
61227         * manual/lesser.texi: File removed.
61228         * manual/libc.texinfo (Copying, Documentation License):
61229         Use new @include file names, put @appendix directive before @include.
61231 2011-06-04  Jakub Jelinek  <jakub@redhat.com>
61233         [BZ #12841]
61234         * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
61235         (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
61236         (mq_open): Add __NTH.
61238 2011-06-02  H.J. Lu  <hongjiu.lu@intel.com>
61240         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
61241         Assume Intel Core i3/i5/i7 processor if AVX is available.
61243 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
61245         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
61246         typo.
61248 2011-05-31  Andreas Schwab  <schwab@redhat.com>
61250         * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
61251         memory.  Use alloca_account.  Fix memory leak when retrying.
61253 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
61255         * version.h (RELEASE): Bump for 2.14 release.
61256         * include/features.h (__GLIBC_MINOR__): Bump to 14.
61258         * config.make.in (RANLIB): Remove entry.
61260 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
61262         * po/Makefile (po-sed-cmd): Add ksh to extensions.
61263         (libc.pot): Work around missing support for .ksh extension in xgettext.
61265         [BZ #12684]
61266         * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
61267         if both request failed.
61268         (send_dg): In case of server errors clear resplen or *resplen2.
61270         [BZ #12454]
61271         * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
61272         when there are multiple maps.
61273         * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
61274         (_dl_fini): Remove test here.
61276         * elf/rtld.c (dl_main): Don't allow the loader to load itself.
61278 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
61280         [BZ #12350]
61281         * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
61282         bit from old_res_options.
61283         (gaih_inet): Likewise.
61285         [BZ #11099]
61286         * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
61287         as signed.
61289         * resolv/res_init.c (res_setoptions): Make the code more compact.
61291         [BZ #11558]
61292         * resolv/res_init.c (res_setoptions): Recognize use-vc option and
61293         set RES_USEVC.
61295         [BZ #11634]
61296         * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
61298         * malloc/malloc.h: Mark malloc hook variables as deprecated.
61300         [BZ #11781]
61301         * malloc/malloc.h: Declare malloc hook variables as volatile.
61303         * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
61304         in last patch.
61306         [BZ #11799]
61307         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
61308         raise in the comment.
61309         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
61310         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
61311         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
61313 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
61315         [BZ #12811]
61316         * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
61317         grow the buffers more if it already has to be sufficient.
61318         (build_wcs_upper_buffer): Likewise.
61319         * posix/regexec.c (check_matching): Likewise.
61320         (clean_state_log_if_needed): Likewise.
61321         (extend_buffers): Don't enlarge buffers beyond size of the input
61322         buffer.
61323         Patches mostly by Emil Wojak <emil@wojak.eu>.
61324         * posix/bug-regex32.c: New file.
61325         * posix/Makefile (tests): Add bug-regex32.
61327         * locale/findlocale.c (_nl_find_locale): Return right away if
61328         _nl_explode_name failed.
61329         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
61331         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
61333         * debug/xtrace.sh: Unify messages.
61334         * malloc/memusage.sh: Likewise.
61336         [BZ #12813]
61337         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
61338         time symbol from vDSO.  Substitute with vsyscall if not available.
61339         * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
61340         __vdso_time.
61342         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
61343         * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
61344         * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
61345         Add sendmmsg and internal_sendmmsg.
61346         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
61347         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
61348         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
61350         * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
61351         * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
61352         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
61354 2011-05-27  Ulrich Drepper  <drepper@gmail.com>
61356         [BZ #12813]
61357         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
61358         Retrieve getcpu symbol from vDSO.  Substitute with vsyscall if not
61359         available.
61360         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
61361         __vdso_getcpu.
61363         [BZ #12814]
61364         * iconvdata/Makefile (tests): Add bug-iconv9.
61365         * iconvdata/bug-iconv9.c: New file.
61367 2011-05-27  Andreas Schwab  <schwab@redhat.com>
61369         [BZ #12814]
61370         * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
61372 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
61374         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
61375         (struct user_regs_struct): Change intcs field back to cs.
61377 2011-05-25  Ulrich Drepper  <drepper@gmail.com>
61379         * po/ja.po: Update from translation team.
61381 2011-05-23  Ulrich Drepper  <drepper@gmail.com>
61383         [BZ #12795]
61384         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
61385         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
61387 2011-05-20  Andreas Schwab  <schwab@redhat.com>
61389         * stdlib/longlong.h: Update from GCC.
61391 2011-05-23  Andreas Schwab  <schwab@redhat.com>
61393         * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
61394         parameter name.
61395         * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
61396         Add parameter name.
61397         (__sysconf): Pass it down.
61399 2011-05-22  Ulrich Drepper  <drepper@gmail.com>
61401         [BZ #12671]
61402         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
61403         some situations.
61404         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
61405         * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
61406         add in in __libc_use_alloca calls.  Adjust callers.
61407         (glob): Use malloc in some situations.
61409         * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
61410         and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
61411         pltexit.
61413 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
61415         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
61416         and CLOCK_BOOTTIME_ALARM.
61418         [BZ #12782]
61419         * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
61420         is returned.
61422         * string/_strerror.c (__strerror_r): Print negative errors as signed
61423         numbers.
61425         [BZ #12777]
61426         * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
61427         (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
61428         * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
61430         * configure.in: Fix typo in redirection and correct removal of test
61431         files in two cases.
61433         [BZ #12788]
61434         * locale/setlocale.c (new_composite_name): Fix test to check for
61435         identical name of all categories.
61437         [BZ #12792]
61438         * libio/filedoalloc.c (local_isatty): New function.
61439         (_IO_file_doallocate): Use local_isatty.
61440         * stdio-common/perror.c (perror): In case a new stream is used
61441         forward the stream error.
61442         * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
61443         error flag.
61445 2011-05-20  Ulrich Drepper  <drepper@gmail.com>
61447         [BZ #11869]
61448         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
61449         alloca.
61450         * include/alloca.h (extend_alloca_account): Define.
61452         [BZ #11857]
61453         * posix/regex.h: Fix comments with documentation of user-accessible
61454         fields after compilation and describe correct free'ing of pattern
61455         after re_compile_pattern.
61456         Patch by Reuben Thomas <rrt@sc3d.org>.
61458 2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
61460         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
61461         and -mno-altivec to prevent the compiler from using Altivec and/or
61462         VSX instructions when the corresponding registers are not available.
61464 2011-05-19  Andreas Schwab  <schwab@redhat.com>
61466         * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
61468 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
61470         * libio/freopen.c (freopen): Use __dup2, not dup2.
61471         * libio/freopen64.c (freopen64): Likewise.
61473 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
61475         [BZ #12775]
61476         * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
61477         * math/Makefile (tests): Add test-powl.
61478         (CFLAGS-test-powl.c): Define.
61479         * math/test-powl.c: New file.
61481 2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
61483         * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
61485 2011-05-17  Ulrich Drepper  <drepper@gmail.com>
61487         [BZ #11837]
61488         * iconvdata/gb18030.c: Update to GB18020-2005.
61490 2011-05-16  Ulrich Drepper  <drepper@gmail.com>
61492         * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
61493         RE_SYNTAX_POSIX_AWK): Update to match recent development.
61494         Patch by Aharon Robbins <arnold@skeeve.com>.
61496         [BZ #11892]
61497         * stdlib/putenv.c (putenv): Don't always create copy of the variable
61498         on the stack.
61500         [BZ #11895]
61501         * misc/pselect.c (__pselect): Handle timeout value errors hidden
61502         through underflows.
61504         [BZ #12766]
61505         * misc/error.c (error_at_line): Ensure file_name and old_file_name
61506         point to strings before performing equality test for error_one_per_line
61507         mode.
61509         [BZ #11697]
61510         * login/programs/pt_chown.c (do_pt_chown): Always call chown.
61512         [BZ #11820]
61513         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
61514         (struct user_fpregs_struct): Avoid __uint*_t types.
61516         [BZ #6420]
61517         * malloc/mtrace.c (tr_where): Add additional parameter to point to
61518         symbol info.  Use it instead of calling _dl_addr locally.
61519         (lock_and_info): New function.
61520         (tr_freehook): Call lock_and_info and pass symbol info as additional
61521         parameter to tr_where.
61522         (tr_mallochook): Likewise.
61523         (tr_reallochook): Likewise.
61524         (tr_memalignhook): Likewise.
61526         * malloc/mtrace.c: Remove support for USE_MTRACE_FILE.  It is not
61527         used and couldn't be at all thread-safe.
61529 2011-05-15  Ulrich Drepper  <drepper@gmail.com>
61531         * libio/freopen.c (freopen): Don't close old file descriptor
61532         before the new one is opened.  Instead dup the new file descriptor
61533         to the old one after the new stream is created.
61534         * libio/freopen64.c (freopen64): Likewise.
61535         * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
61536         * libio/fileops.c (_IO_new_file_close_it): Handle new
61537         _IO_FLAGS2_NOCLOSE flag.
61538         (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
61539         If _IO_file_open didn't set FD_CLOEXEC do it after the call.
61540         * libio/oldfileops.c (_IO_old_file_close_it): Handle new
61541         _IO_FLAGS2_NOCLOSE flag.
61542         * include/unistd.h: Add hidden_proto for dup3.
61543         Define __have_dup3.
61544         * io/dup3.c: Define hidden symbol.
61545         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
61547         [BZ #7101]
61548         * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
61549         when an incomplete long option is used.
61550         * posix/tst-getopt_long1.c: New file.
61551         * posix/Makefile (tests): Add tst-getopt_long1.
61553         [BZ #10138]
61554         * scripts/config.guess: Update from autoconf-2.68.
61555         * scripts/config.sub: Likewise.
61557         [BZ #10157]
61558         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
61559         tests into ...
61560         (has_cpuclock): ...this.  New function.
61561         * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
61562         macro here based on has_cpuclock code.
61564         [BZ #10149]
61565         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
61566         First byte (not low byte) is now always NUL.
61567         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
61569         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
61570         Use non-cancelable interfaces.
61572         [BZ #9809]
61573         * locale/iso-639.def: Add entry for Sorani.
61575         [BZ #11901]
61576         * include/stdlib.h: Move include protection to the right place.
61577         Define abort_msg_s.  Declare __abort_msg with it.
61578         * stdlib/abort.c (__abort_msg): Adjust type.
61579         * assert/assert.c (__assert_fail_base): New function.  Majority
61580         of code from __assert_fail.  Allocate memory for __abort_msg with
61581         mmap.
61582         (__assert_fail): Now call __assert_fail_base.
61583         * assert/assert-perr.c: Remove bulk of implementation.  Use
61584         __assert_fail_base.
61585         * include/assert.hL Declare __assert_fail_base.
61586         * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
61587         mmap.
61588         * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
61590 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
61592         [BZ #11952]
61593         [BZ #12453]
61594         * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
61595         until all modules are registered in the DTV.
61596         * elf/Makefile: Add rules to build and run tst-tls19.
61597         * elf/tst-tls19.c: New file.
61598         * elf/tst-tls19mod1.c: New file.
61599         * elf/tst-tls19mod2.c: New file.
61600         * elf/tst-tls19mod3.c: New file.
61601         Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
61603         [BZ #12083]
61604         * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
61605         correctly.
61607         [BZ #12601]
61608         * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
61609         two-byte sequence errors.
61610         * iconvdata/Makefile (tests): Add bug-iconv8.
61611         * iconvdata/bug-iconv8.c: New file.
61613         [BZ #12626]
61614         * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
61615         buf2 definition.
61617         * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
61619         [BZ #12432]
61620         * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
61621         (dummy_getcfa): New function.
61622         (init): Get _Unwind_GetCFA address, use dummy if not found.
61623         (backtrace_helper): In recursion check, also check whether CFA changes.
61624         (__backtrace): Completely initialize arg.
61626         * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
61627         storing incomplete byte sequence in state object.  Avoid testing for
61628         guaranteed too small input if we know there is enough data available.
61630 2011-05-11  Andreas Schwab  <schwab@redhat.com>
61632         * Makeconfig (+link-pie): Indent.
61633         * Rules (binaries-pie): Define if $(have-fpie) and
61634         $(build-shared).
61635         (binaries-shared): Also filter out $(binaries-pie).
61636         ($(addprefix $(objpfx),$(binaries-pie))): New rule.
61637         * nscd/Makefile (others-pie): Add nscd.
61638         (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
61639         ($(objpfx)nscd): Remove command override.
61640         * login/Makefile (others-pie): Add pt_chown.
61641         ($(objpfx)pt_chown): Remove command override.
61642         * elf/Makefile: Add PIE tests to tests and tests-pie variables and
61643         remove command overrides.
61645 2011-05-13  Ulrich Drepper  <drepper@gmail.com>
61647         * libio/tst_putwc.c: Fix error messages.
61649         [BZ #12724]
61650         * libio/fileops.c (_IO_new_file_close_it): Always flush when
61651         currently writing and seek to current position when not.
61652         * libio/Makefile (tests): Add bug-fclose1.
61653         * libio/bug-fclose1.c: New file.
61655 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
61657         [BZ #12511]
61658         * elf/dl-lookup.c (enter): Don't test for copy relocation here and
61659         don't set DF_1_NODELETE here.
61660         (do_lookup_x): When entering new entry test for copy relocation
61661         and if necessary set DF_1_NODELETE flag.
61662         * elf/tst-unique4.cc: New file.
61663         * elf/tst-unique4.h: New file.
61664         * elf/tst-unique4lib.cc: New file.
61665         * elf/Makefile: Add rules to build and run tst-unique4.
61666         Patch by Piotr Bury <pbury@goahead.com>.
61668 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
61670         [BZ #12052]
61671         * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
61673         [BZ #12625]
61674         * misc/mntent_r.c (addmntent): Flush the stream after the output
61676         [BZ #12393]
61677         * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
61678         (is_trusted_path_normalize): Skip initial colon.  Append slash
61679         to empty buffer.  Duplicate is_trusted_path code but allow
61680         constructed patch to be prefix.
61681         (is_dst): Allow $ORIGIN followed by /.
61682         (_dl_dst_substitute): Correct clearing of check_for_trusted.
61683         Correct testing of result of is_trusted_path_normalize
61684         (decompose_rpath): Fix warning.
61686 2011-05-10  Ulrich Drepper  <drepper@gmail.com>
61688         [BZ #11257]
61689         * grp/initgroups.c (internal_getgrouplist): When we found the service
61690         list through the initgroups entry in nsswitch.conf do not always
61691         continue on a successful lookup.  Don't always use the
61692         __nss_group_database value if it is set.
61693         * nss/nsswitch.conf (initgroups): Change action for successful db
61694         lookup to continue for compatibility.
61696 2011-05-09  Ulrich Drepper  <drepper@gmail.com>
61698         [BZ #11532]
61699         * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
61700         and CP774 modules.
61701         * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
61702         and CP774 modules.
61703         * iconvdata/tst-tables.sh: Likewise.
61704         * iconvdata/cp770.c: New file.
61705         * iconvdata/cp771.c: New file.
61706         * iconvdata/cp772.c: New file.
61707         * iconvdata/cp773.c: New file.
61708         * iconvdata/cp774.c: New file.
61709         * iconvdata/testdata/CP770: New file.
61710         * iconvdata/testdata/CP770..UTF8: New file.
61711         * iconvdata/testdata/CP771: New file.
61712         * iconvdata/testdata/CP771..UTF8: New file.
61713         * iconvdata/testdata/CP772: New file.
61714         * iconvdata/testdata/CP772..UTF8: New file.
61715         * iconvdata/testdata/CP773: New file.
61716         * iconvdata/testdata/CP773..UTF8: New file.
61717         * iconvdata/testdata/CP774: New file.
61718         * iconvdata/testdata/CP774..UTF8: New file.
61720         * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
61721         END CHARMAP line.
61722         * iconvdata/gen-8bit-gap.sh: Likewise.
61723         * iconvdata/gen-8bit.sh: Likewise.
61725         * locale/iso-639.def: Add ary entry.
61727         [BZ #11258]
61728         * locale/C-translit.h.in: Add U20A1 transliteration.
61730         [BZ #12178]
61731         * locale/iso-639.def: Add wae entry.
61732         Patch by Kevin Bortis <bortis@translate-wae.ch>.
61734         [BZ #12545]
61735         * locale/programs/localedef.c (construct_output_path): Use ssize_t
61736         for n.
61738         [BZ #12711]
61739         * locale/C-translit.h.in: Add entry for U20B9.
61740         Patch by pravin.d.s@gmail.com.
61742 2011-05-08  Ulrich Drepper  <drepper@gmail.com>
61744         [BZ #12713]
61745         * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
61746         ENAMETOOLONG use generic getcwd.
61747         * sysdeps/posix/getcwd.c: Add support to use openat.  Make usable
61748         in rtld.  Use *stat64.
61749         * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
61750         Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
61751         * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
61752         * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
61753         * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
61754         * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
61755         * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
61756         __fstatat64 macros.
61757         * include/dirent.h: Add libc_hidden_proto for rewinddir.
61758         * dirent/rewinddir.c: Add libc_hidden_def.
61759         * sysdeps/mach/hurd/rewinddir.c: Likewise.
61760         * sysdeps/unix/rewinddir.c: Likewise.  Don't do locking outside libc.
61762         * include/dirent.h (__alloc_dir): Add flags parameter.
61763         * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
61764         * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
61765         __alloc_dir.
61766         (__alloc_dir): Take new parameter.  Don't call fcntl for invocations
61767         from fdopendir if O_CLOEXEC is already set.
61769 2011-03-15  Alan Modra  <amodra@gmail.com>
61771         * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
61772         l_tls_firstbyte_offset non-zero.  Save padding offset in
61773         l_tls_firstbyte_offset for later use.
61774         * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
61775         freeing static tls block.
61777 2011-03-05  Jonathan Nieder  <jrnieder@gmail.com>
61779         * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
61780         where #ifdef was intended.  The intent is to prevent ARG_MAX from
61781         being defined by the kernel headers.
61783 2011-05-07  Ulrich Drepper  <drepper@gmail.com>
61785         [BZ #12734]
61786         * resolv/resolv.h: Define RES_NOTLDQUERY.
61787         * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
61788         no-tld-query and set RES_NOTLDQUERY.
61789         * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
61790         * resolv/res_query.c (__libc_res_nsearch): Backport changes from
61791         modern BIND to search name as TLD unless forbidden.
61793 2011-05-07  Petr Baudis  <pasky@suse.cz>
61794             Ulrich Drepper  <drepper@gmail.com>
61796         [BZ #12393]
61797         * elf/dl-load.c (fillin_rpath): Move trusted path check...
61798         (is_trusted_path): ...to here.
61799         (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
61800         (_dl_dst_substitute): Verify expanded $ORIGIN path elements
61801         using is_trusted_path_normalize() in setuid scripts.
61803 2011-05-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
61805         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
61806         __BEGIN/__END_DECLS.
61808 2011-05-06  Ulrich Drepper  <drepper@gmail.com>
61810         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
61811         NSS_STATUS_NOTFOUND if no record was found.
61813 2011-05-05  Andreas Schwab  <schwab@redhat.com>
61815         * sunrpc/Makefile (headers): Add rpc/netdb.h.
61816         (headers-not-in-tirpc): Remove rpc/netdb.h
61817         * resolv/netdb.h: Revert last change.
61819 2011-05-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
61821         * Makeconfig (link-libc-static): Use --{start,end}-group to handle
61822         circular dependency between libgcc.a and libc.a.
61824 2011-05-05  Andreas Schwab  <schwab@redhat.com>
61826         * resolv/netdb.h: Don't include <rpc/netdb.h>.
61827         * nis/Makefile: Don't install rpcsvc/*.
61828         * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
61829         instead of <rpc/types.h>.
61830         (MAXHOSTNAMELEN): Define.
61832 2011-05-03  Andreas Schwab  <schwab@redhat.com>
61834         * elf/ldconfig.c (add_dir): Don't crash on empty path.
61836 2011-04-28  Maciej Babinski  <mbabinski@google.com>
61838         [BZ #12714]
61839         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
61840         gethostbyname4_r when IPv6 results are possible.
61842 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
61844         [BZ #12723]
61845         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
61846         _PC_PIPE_BUF handling.
61848 2011-04-30  Bruno Haible  <bruno@clisp.org>
61850         [BZ #12717]
61851         * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
61852         * resolv/netdb.h (getnameinfo): Change type of flags parameter
61853         to 'int'.
61854         * inet/getnameinfo.c (getnameinfo): Likewise.
61856 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
61858         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
61859         to groups setting in database lookup.
61860         * nss/nsswitch.conf: Add initgroups entry.
61862 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
61864         [BZ #12685]
61865         * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
61866         mode string.
61867         Patch by Eric Blake <eblake@redhat.com>.
61869 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
61871         * sunrpc/Makefile (need-export-routines): Add svc_run.
61872         (routines): Remove svc_run.
61873         ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
61874         * sunrpc/clnt_perr.c (clnt_perrno): Export.
61875         * sunrpc/svc_run.c (svc_run): Likewise.
61876         * sunrpc/svc_udp.c (svcudp_create): Likewise.
61878 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
61880         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
61881         problem in reallocation in last patch.
61883 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
61885         * sunrpc/Makefile: Move inclusion of Rules.
61887 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
61889         * nss/nss_files/files-initgroups.c: New file.
61890         * nss/Makefile (libnss_files-routines): Add files-initgroups.
61891         * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
61892         _nss_files_initgroups_dyn.
61894 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
61896         * elf/elf.h (R_ARM_IRELATIVE): Define.
61898 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
61900         * po/ru.po: Update from translation team.
61902 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
61904         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
61905         dependencies.
61907 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
61909         [BZ #12653]
61910         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
61911         MEMCPY_CHK with USE_AS_BCOPY ifdef check.
61912         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
61913         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
61914         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
61916 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
61918         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
61919         differing bytes.
61920         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
61921         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
61922         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
61924 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
61926         [BZ #12420]
61927         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
61928         storing it.
61929         * stdlib/bug-getcontext.c: New file.
61930         * stdlib/Makefile: Add rules to build and run bug-getcontext.
61932 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
61934         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
61935         instructions into .machine "z9-109".
61936         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
61937         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
61939 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
61941         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
61942         between environment variables and auxiliary vector.
61944 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
61946         * Makefile: Add rules to build linkobj/libc.so.
61947         * include/libc-symbols.h: Define libc_hidden_nolink.
61948         * include/rpc/auth.h: Mark functions which are to be hidden.
61949         * include/rpc/auth_des.h: Likewise.
61950         * include/rpc/auth_unix.h: Likewise.
61951         * include/rpc/clnt.h: Likewise.
61952         * include/rpc/des_crypt.h: Likewise.
61953         * include/rpc/key_prot.h: Likewise.
61954         * include/rpc/pmap_clnt.h: Likewise.
61955         * include/rpc/pmap_prot.h: Likewise.
61956         * include/rpc/pmap_rmt.h: Likewise.
61957         * include/rpc/rpc_msg.h: Likewise.
61958         * include/rpc/svc.h: Likewise.
61959         * include/rpc/svc_auth.h: Likewise.
61960         * include/rpc/xdr.h: Likewise.
61961         * nis/Makefile: Link all DSOs against linkobj/libc.so.
61962         * nss/Makefile: Likewise.
61963         * sunrpc/Makefile: Don't install headers.  Build library with normal
61964         entry points.  Don't build rpcinfo.  Link RPC tests appropriately.
61965         * sunrpc/auth_des.c: Hide exported symbols by default, export some
61966         for the compat linking library.  Remove use of INTDEF/INTUSE.
61967         * sunrpc/auth_none.c: Likewise.
61968         * sunrpc/auth_unix.c: Likewise.
61969         * sunrpc/authdes_prot.c: Likewise.
61970         * sunrpc/authuxprot.c: Likewise.
61971         * sunrpc/clnt_gen.c: Likewise.
61972         * sunrpc/clnt_perr.c: Likewise.
61973         * sunrpc/clnt_raw.c: Likewise.
61974         * sunrpc/clnt_simp.c: Likewise.
61975         * sunrpc/clnt_tcp.c: Likewise.
61976         * sunrpc/clnt_udp.c: Likewise.
61977         * sunrpc/clnt_unix.c: Likewise.
61978         * sunrpc/des_crypt.c: Likewise.
61979         * sunrpc/des_soft.c: Likewise.
61980         * sunrpc/get_myaddr.c: Likewise.
61981         * sunrpc/key_call.c: Likewise.
61982         * sunrpc/key_prot.c: Likewise.
61983         * sunrpc/netname.c: Likewise.
61984         * sunrpc/pm_getmaps.c: Likewise.
61985         * sunrpc/pm_getport.c: Likewise.
61986         * sunrpc/pmap_clnt.c: Likewise.
61987         * sunrpc/pmap_prot.c: Likewise.
61988         * sunrpc/pmap_prot2.c: Likewise.
61989         * sunrpc/pmap_rmt.c: Likewise.
61990         * sunrpc/publickey.c: Likewise.
61991         * sunrpc/rpc_cmsg.c: Likewise.
61992         * sunrpc/rpc_common.c: Likewise.
61993         * sunrpc/rpc_dtable.c: Likewise.
61994         * sunrpc/rpc_prot.c: Likewise.
61995         * sunrpc/rpc_thread.c: Likewise.
61996         * sunrpc/rtime.c: Likewise.
61997         * sunrpc/svc.c: Likewise.
61998         * sunrpc/svc_auth.c: Likewise.
61999         * sunrpc/svc_authux.c: Likewise.
62000         * sunrpc/svc_raw.c: Likewise.
62001         * sunrpc/svc_run.c: Likewise.
62002         * sunrpc/svc_simple.c: Likewise.
62003         * sunrpc/svc_tcp.c: Likewise.
62004         * sunrpc/svc_udp.c: Likewise.
62005         * sunrpc/svc_unix.c: Likewise.
62006         * sunrpc/svcauth_des.c: Likewise.
62007         * sunrpc/xcrypt.c: Likewise.
62008         * sunrpc/xdr.c: Likewise.
62009         * sunrpc/xdr_array.c: Likewise.
62010         * sunrpc/xdr_float.c: Likewise.
62011         * sunrpc/xdr_intXX_t.c: Likewise.
62012         * sunrpc/xdr_mem.c: Likewise.
62013         * sunrpc/xdr_rec.c: Likewise.
62014         * sunrpc/xdr_ref.c: Likewise.
62015         * sunrpc/xdr_sizeof.c: Likewise.
62016         * sunrpc/xdr_stdio.c: Likewise.
62018 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
62020         [BZ #12650]
62021         * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
62022         * sysdeps/ia64/dl-tls.h: Likewise.
62023         * sysdeps/powerpc/dl-tls.h: Likewise.
62024         * sysdeps/s390/dl-tls.h: Likewise.
62025         * sysdeps/sh/dl-tls.h: Likewise.
62026         * sysdeps/sparc/dl-tls.h: Likewise.
62027         * sysdeps/x86_64/dl-tls.h: Likewise.
62028         * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
62030 2011-03-14  Andreas Schwab  <schwab@redhat.com>
62032         * elf/dl-load.c (_dl_dst_substitute): When skipping the first
62033         rpath element also skip the following colon.
62034         (expand_dynamic_string_token): Add is_path parameter and pass
62035         down to DL_DST_REQUIRED and _dl_dst_substitute.
62036         (decompose_rpath): Call expand_dynamic_string_token with
62037         non-zero is_path.  Ignore empty rpaths.
62038         (_dl_map_object_from_fd): Call expand_dynamic_string_token
62039         with zero is_path.
62041 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
62043         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
62044         Make cancelable.
62046 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
62048         [BZ #12655]
62049         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
62050         Patch by Filipe David Manana <fdmanana@apache.org>.
62052 2011-04-07  Andreas Schwab  <schwab@redhat.com>
62054         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
62055         Maintain aligned stack.
62056         (CHECK_RSP): Remove unused macro.
62058 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
62060         * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
62061         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
62063 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
62065         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
62067         * include/features.h: Mention __USE_XOPEN2K8 in comment.
62069 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
62071         [BZ #12518]
62072         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
62073         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
62074         * sysdeps/x86_64/memmove.c: New file.
62075         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
62076         (memcpy): Renamed to ...
62077         (__new_memcpy): This.
62078         (memcpy): Provide GLIBC_2_14 memcpy.
62079         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
62080         (memcpy): Provide GLIBC_2_2_5 memcpy.
62082 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
62084         [BZ #12631]
62085         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
62087 2011-03-30  Andreas Schwab  <schwab@redhat.com>
62089         * misc/syncfs.c: New file.
62090         * misc/Makefile (routines): Add syncfs.
62091         * posix/unistd.h: Declare syncfs.
62092         * sysdeps/unix/syscalls.list: Add syncfs.
62094 2011-04-01  Andreas Schwab  <schwab@redhat.com>
62096         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
62097         open_by_handle_at.
62098         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
62099         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
62100         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
62101         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
62102         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
62103         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
62104         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
62106 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
62108         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
62109         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
62110         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
62111         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
62112         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
62113         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
62114         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
62116         * io/Makefile: Compile fallocate.c, fallocate64.c, and
62117         sync_file_range.c with -fexceptions.
62118         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
62119         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
62120         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
62121         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
62122         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
62123         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
62124         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
62125         sync_file_range as cancellation point
62126         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
62127         now a wrapper around __call_sync_file_range with cancellation handling.
62128         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
62129         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
62130         function name to __call_sync_file_range.
62131         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
62132         Add call_sync_file_range.
62134 2011-04-01  Andreas Schwab  <schwab@redhat.com>
62136         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
62137         bits/timex.h.
62139 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
62141         * iconv/iconv.h: Fix typo in comment.
62142         * io/fcntl.h: Likewise.
62143         * libio/stdio.h: Likewise.
62144         * posix/spawn.h: Likewise.
62145         * posix/unistd.h: Likewise.
62146         * stdlib/stdlib.h: Likewise.
62147         * time/time.h: Likewise.
62148         * wcsmbs/wchar.h: Likewise.
62150         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
62151         open_by_handle): Add.
62152         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
62153         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
62154         Augment a few comments.
62155         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
62156         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
62157         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
62158         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
62159         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
62160         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
62161         open_by_handle.
62163         * io/fcntl.h (AT_EMPTY_PATH): Define.
62165 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
62167         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
62168         * sysdeps/unix/sysv/linux/bits/time.h: New file.
62169         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
62170         to...
62171         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
62172         * Versions.def: Add GLIBC_2.14.
62173         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
62174         Export.
62176 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
62178         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
62179         round counter.
62180         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
62182 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
62184         [BZ #12597]
62185         * string/test-strncmp.c (do_page_test): New function.
62186         (check2): Likewise.
62187         (test_main): Call check2.
62188         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
62190 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
62192         [BZ #12587]
62193         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
62194         Handle cache information in CPU leaf 4.
62195         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
62197 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
62199         [BZ #12583]
62200         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
62201         character representation.
62202         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
62204 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
62206         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
62207         END(__isnan) to END(__isnanf) to match function entry point/label
62208         EALIGN(__isnanf,...).
62210 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
62212         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
62214 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
62216         [BZ #12510]
62217         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
62218         copy from the symbol referenced in the relocation to initialize the
62219         used variable.
62220         Patch by Piotr Bury <pbury@goahead.com>.
62221         * elf/Makefile: Add rules to build and tst-unique3.
62222         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
62223         * elf/tst-unique3.cc: New file.
62224         * elf/tst-unique3.h: New file.
62225         * elf/tst-unique3lib.cc: New file.
62226         * elf/tst-unique3lib2.cc: New file.
62228         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
62230 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
62232         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
62233         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
62234         to _start.
62236 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
62238         * elf/dl-load.c (_dl_map_object): If we are looking for the first
62239         to-be-loaded object along a path to loader is ld.so.
62241 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
62242             Ulrich Drepper  <drepper@gmail.com>
62244         * sysdeps/x86_64/memset.S: After aligning destination, code
62245         branches to different locations depending on the value of
62246         misalignment, when multiarch is enabled. Fix this.
62248 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
62250         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
62251         Set _x86_64_preferred_memory_instruction for AMD processsors.
62252         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
62253         Set bit_Prefer_SSE_for_memop for AMD processors.
62255 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
62257         * libio/fmemopen.c (fmemopen): Optimize a bit.
62259 2011-03-03  Andreas Schwab  <schwab@redhat.com>
62261         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
62263 2011-03-03  Roland McGrath  <roland@redhat.com>
62265         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
62267 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
62269         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
62270         __bzero_ultra1 instead of __memset_ultra1.
62272 2011-02-23  Andreas Schwab  <schwab@redhat.com>
62273             Ulrich Drepper  <drepper@gmail.com>
62275         [BZ #12509]
62276         * include/link.h (struct link_map): Add l_orig_initfini.
62277         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
62278         returning unsuccessfully.
62279         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
62280         close of a file loaded at startup, restore the original l_initfini
62281         list.
62282         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
62283         list, store the pointer.
62284         * elf/Makefile ($(objpfx)noload-mem): New rule.
62285         (noload-ENV): Define.
62286         (tests): Add $(objpfx)noload-mem.
62287         * elf/noload.c: Include <memcheck.h>.
62288         (main): Call mtrace.  Close all opened handles.
62290 2011-02-17  Andreas Schwab  <schwab@redhat.com>
62292         [BZ #12454]
62293         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
62294         dependencies are missing.
62296 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
62298         Fix __if_freereq crash: Unlike the generic version which uses free,
62299         Hurd needs munmap.
62300         * sysdeps/mach/hurd/ifreq.h: New file.
62302 2011-01-27  Petr Baudis  <pasky@suse.cz>
62303             Ulrich Drepper  <drepper@gmail.com>
62305         [BZ 12445]#
62306         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
62307         to extend_alloca().
62308         * stdio-common/bug23.c: New file.
62309         * stdio-common/Makefile (tests): Add bug23.
62311 2010-09-28  Andreas Schwab  <schwab@redhat.com>
62312             Ulrich Drepper  <drepper@gmail.com>
62314         [BZ #12489]
62315         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
62316         before performing relro protection.  At old place add assertion
62317         to make sure nothing changed.
62319 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
62320             Glauber de Oliveira Costa  <glommer@gmail.com>
62322         * elf/elf.h: Add new ARM TLS relocs.
62324 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
62326         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
62327         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
62328         cast from r3.
62329         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
62330         'tests' variable.
62331         * sysdeps/wordsize-64/tst-writev.c: New file.
62333 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
62335         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
62336         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
62337         insns in _dl_start to prevent a TOC reference before relocs are
62338         resolved.
62340 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
62342         [BZ #12469]
62343         * Makeconfig: Remove RANLIB definition.
62344         * Makerules: Don't use RANLIB.
62345         * aclocal.m4: Remove ranlib test.
62346         * configure.in: No need to check for ranlib.
62347         * elf/rtld-Rules: Don't use RANLIB.
62349 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
62351         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
62352         protection macro.
62353         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
62354         inclusion protection macro.
62356         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
62357         SIGRTMIN and SIGRTMAX and print information in that case only when
62358         SIGRTMIN is defined.
62360 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
62362         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
62363         arginfo fn returning -1.
62365         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
62366         and thousands string is zero terminated.
62368 2011-02-03  Andreas Schwab  <schwab@redhat.com>
62370         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
62371         sysdeps/unix/sysv/linux/bits/socket.h.
62373 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
62375         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
62376         (__CPU_COUNT): Remove old macros.
62377         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
62378         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
62379         (__CPU_ALLOC, __CPU_FREE): Add macros.
62380         (__sched_cpualloc, __sched_cpufree): Add declarations.
62382 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
62384         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
62385         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
62386         * nscd/aicache.c (addhstaiX): Return timeout of added value.
62387         (readdhstai): Return value of addhstaiX call.
62388         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
62389         (addgrbyX): Return value returned by cache_addgr.
62390         (readdgrbyname): Return value returned by addgrbyX.
62391         (readdgrbygid): Likewise.
62392         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
62393         (addpwbyX): Return value returned by cache_addpw.
62394         (readdpwbyname): Return value returned by addhstbyX.
62395         (readdpwbyuid): Likewise.
62396         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
62397         (addservbyX): Return value returned by cache_addserv.
62398         (readdservbyname): Return value returned by addservbyX:
62399         (readdservbyport): Likewise.
62400         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
62401         (addhstbyX): Return value returned by cache_addhst.
62402         (readdhstbyname): Return value returned by addhstbyX.
62403         (readdhstbyaddr): Likewise.
62404         (readdhstbynamev6): Likewise.
62405         (readdhstbyaddrv6): Likewise.
62406         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
62407         (readdinitgroups): Return value returned by addinitgroupsX.
62408         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
62409         (prune_cache): Keep track of timeout value of re-added entries.
62410         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
62411         * nscd/nscd.h: Adjust prototypes of readd* functions.
62413 2011-02-04  Roland McGrath  <roland@redhat.com>
62415         * nis/nis_server.c (nis_servstate): Use the right name for 0.
62416         (nis_stats): Likewise.
62417         * nis/nis_modify.c (nis_modify): Likewise.
62418         * nis/nis_remove.c (nis_remove): Likewise.
62419         * nis/nis_add.c (nis_add): Likewise.
62421         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
62423         * posix/fnmatch_loop.c: Add some consts.
62425         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
62427 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
62429         [BZ #12460]
62430         * config.make.in (config-cflags-novzeroupper): Define.
62431         * configure.in: Substitute libc_cv_cc_novzeroupper.
62432         * elf/Makefile (AVX-CFLAGS): Define.
62433         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
62434         (CFLAGS-tst-auditmod4a.c): Likewise.
62435         (CFLAGS-tst-auditmod4b.c): Likewise.
62436         (CFLAGS-tst-auditmod6b.c): Likewise.
62437         (CFLAGS-tst-auditmod6c.c): Likewise.
62438         (CFLAGS-tst-auditmod7b.c): Likewise.
62439         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
62441 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
62443         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
62444         function to the callback.
62445         Patch partly by Jiri Olsa <jolsa@redhat.com>.
62447 2011-02-02  Andreas Schwab  <schwab@redhat.com>
62449         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
62450         of errno.
62452 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
62454         [BZ #11724]
62455         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
62456         of constructors.
62457         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
62458         of destructors.
62459         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
62461         [BZ #11724]
62462         * elf/Makefile: Add rules to build and run new test.
62463         * elf/tst-initorder.c: New file.
62464         * elf/tst-initorder.exp: New file.
62465         * elf/tst-initordera1.c: New file.
62466         * elf/tst-initordera2.c: New file.
62467         * elf/tst-initordera3.c: New file.
62468         * elf/tst-initordera4.c: New file.
62469         * elf/tst-initorderb1.c: New file.
62470         * elf/tst-initorderb2.c: New file.
62471         * elf/tst-order-a1.c: New file.
62472         * elf/tst-order-a2.c: New file.
62473         * elf/tst-order-a3.c: New file.
62474         * elf/tst-order-a4.c: New file.
62475         * elf/tst-order-b1.c: New file.
62476         * elf/tst-order-b2.c: New file.
62477         * elf/tst-order-main.c: New file.
62478         New test case by George Gensure <werkt0@gmail.com>.
62480 2010-10-01  Andreas Schwab  <schwab@redhat.com>
62482         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
62483         decoding ACE if AI_CANONIDN.
62485 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
62487         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
62489 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
62491         * version.h (RELEASE): Bump for 2.13 release.
62492         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
62494         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
62496         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
62497         MADV_NOHUGEPAGE.
62498         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
62499         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
62500         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
62501         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
62502         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
62503         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
62505         * posix/getconf.c: Update copyright year.
62506         * catgets/gencat.c: Likewise.
62507         * csu/version.c: Likewise.
62508         * debug/catchsegv.sh: Likewise.
62509         * debug/xtrace.sh: Likewise.
62510         * elf/ldconfig.c: Likewise.
62511         * elf/ldd.bash.in: Likewise.
62512         * elf/sprof.c (print_version): Likewise.
62513         * iconv/iconv_prog.c: Likewise.
62514         * iconv/iconvconfig.c: Likewise.
62515         * locale/programs/locale.c: Likewise.
62516         * locale/programs/localedef.c: Likewise.
62517         * malloc/memusage.sh: Likewise.
62518         * malloc/mtrace.pl: Likewise.
62519         * nscd/nscd.c (print_version): Likewise.
62520         * nss/getent.c: Likewise.
62522         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
62523         PF_CAIF, and PF_ALG.
62524         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
62526 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
62528         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
62529         (modules-names): Use them.
62530         (ifunc-test-modules, ifunc-pie-tests): Define.
62531         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
62532         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
62533         (test-extras): Likewise.
62534         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
62535         $(compile-command.c).
62536         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
62537         (all-built-dso): Define.
62538         (check-textrel.out, check-execstack.out): Depend on it.
62540         * configure.in: Don't override --enable-multi-arch.
62542 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
62544         [BZ #6812]
62545         * nscd/hstcache.c (tryagain): Define.
62546         (cache_addhst): Return tryagain not notfound for temporary errors.
62547         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
62548         failed.
62550 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
62552         [BZ #10563]
62553         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
62554         to make the syscall.
62555         * sysdeps/unix/sysv/linux/setgroups.c: New file.
62557         [BZ #12378]
62558         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
62559         and fall back to matching as normal character if the string ends before
62560         the matching ']' is found.  This is what POSIX requires.
62561         * posix/testfnm.c: Adjust test result.
62562         * posix/globtest.sh: Adjust test result.  Add new test.
62563         * posix/tst-fnmatch.input: Likewise.
62564         * posix/tst-fnmatch2.c: Add new test.
62566 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
62568         * elf/Makefile (check-execstack): Revert last change.  Depend on
62569         check-execstack.h.
62570         (check-execstack.h): New target.
62571         (generated): Add check-execstack.h.
62572         * elf/check-execstack.c: Include "check-execstack.h".
62573         (main): Revert last change.
62574         (handle_file): Return zero if GNU_STACK is absent and
62575         DEFAULT_STACK_PERMS doesn't include PF_X.
62577 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
62579         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
62580         in child fails because the descriptor is already closed.
62581         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
62582         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
62583         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
62585         [BZ #12397]
62586         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
62587         syscall.
62589         [BZ #10484]
62590         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
62591         temporary buffer used to handle multi lookups locally.
62592         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
62594 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
62596         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
62597         loader is ld.so.
62599 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
62601         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
62602         alignment for SSE2.
62604 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
62606         [BZ #12394]
62607         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
62608         characters.  When rounding increased number of integer digits recompute
62609         number of groups.
62610         * stdio-common/tst-grouping.c: New file.
62611         * stdio-common/Makefile: Add rules to build and run tst-grouping.
62613 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
62615         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
62616         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
62618         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
62619         void.
62620         * bits/select.h: Likewise.
62622 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
62624         * po/ja.po: Update from translation team.
62626 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
62628         [BZ #11155]
62629         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
62630         implementation just like for lxstat, fxstatat, et al.
62632 2010-12-27  Jim Meyering  <meyering@redhat.com>
62634         [BZ #12348]
62635         * posix/regexec.c (build_trtable): Return failure indication upon
62636         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
62638 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
62640         [BZ #12201]
62641         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
62642         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
62643         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
62644         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
62646         [BZ #12207]
62647         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
62649         [BZ #12204]
62650         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
62651         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
62653 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
62655         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
62656         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
62657         script has SORT_BY_INIT_PRIORITY.
62658         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
62659         NO_CTORS_DTORS_SECTIONS is defined.
62660         * elf/soinit.c: Likewise.
62661         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
62662         NO_CTORS_DTORS_SECTIONS is defined.
62663         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
62664         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
62665         * sysdeps/sh/init-first.c: Likewise.
62666         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
62668 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
62670         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
62671         always use the slow path.
62673 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
62675         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
62676         similar rule which adds the sysdep directories to the header search in
62677         order to pick up the correct platform stackinfo.h.
62678         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
62679         perform test if it is, otherwise return successfully without testing.
62680         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
62681         DEFAULT_STACK_PERMS define in stackinfo.h.
62682         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
62683         defined in stackinfo.h.
62684         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
62685         DEFAULT_STACK_PERMS defined in stackinfo.h.
62686         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
62687         * sysdeps/ia64/stackinfo.h: Likewise.
62688         * sysdeps/s390/stackinfo.h: Likewise.
62689         * sysdeps/sh/stackinfo.h: Likewise.
62690         * sysdeps/sparc/stackinfo.h: Likewise.
62691         * sysdeps/x86_64/stackinfo.h: Likewise.
62692         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
62693         PF_X for powerpc64.  Retain PF_X for powerpc32.
62695 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
62697         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
62698         accurately.
62699         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
62700         GETDENTS_64BIT_ALIGNED.
62702 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
62704         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
62706 2010-12-10  Andreas Schwab  <schwab@redhat.com>
62708         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
62709         _GNU_SOURCE.
62711         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
62712         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
62713         Remove __restrict.
62714         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
62715         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
62717 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
62719         [BZ #11655]
62720         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
62721         are initialized.
62723 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
62725         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
62727 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
62729         * po/it.po: Update from translation team.
62731 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
62733         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
62734         unused codes.
62736 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
62738         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
62740 2010-11-24  Andreas Schwab  <schwab@redhat.com>
62742         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
62743         specially.
62744         (gaih_getanswer_slice): Likewise.
62746 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
62748         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
62750 2010-05-31  Petr Baudis  <pasky@suse.cz>
62752         [BZ #11149]
62753         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
62754         silently even in the chroot mode.
62756 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
62758         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
62759         last patch a bit.  Pretty printing
62761 2010-05-31  Petr Baudis <pasky@suse.cz>
62763         [BZ #10085]
62764         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
62765         initialization of skip_initgroups_dyn.
62767 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
62769         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
62770         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
62772 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
62774         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
62776 2010-11-11  Andreas Schwab  <schwab@redhat.com>
62778         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
62779         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
62780         (tst-fnmatch-ENV): Set MALLOC_TRACE.
62781         ($(objpfx)tst-fnmatch-mem): New rule.
62782         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
62783         * posix/tst-fnmatch.c (main): Call mtrace.
62785 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
62787         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
62788         Support Intel processor model 6 and model 0x2c.
62790 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
62792         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
62793           signed comparison.
62795 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
62797         [BZ #12205]
62798         * string/test-strncasecmp.c (check_result): New function.
62799         (do_one_test): Use it.
62800         (check1): New function.
62801         (test_main): Use it.
62802         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
62803         Support strcasecmp and strncasecmp.
62805 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
62807         [BZ #12194]
62808         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
62809         * sysdeps/x86_64/bits/byteswap.h: Likewise.
62811 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
62813         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
62814         IFUNC support.
62815         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
62816         memset-x86-64.
62817         * sysdeps/x86_64/multiarch/bzero.S: New file.
62818         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
62819         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
62820         * sysdeps/x86_64/multiarch/memset.S: New file.
62821         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
62822         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
62823         Set bit_Prefer_SSE_for_memop for Intel processors.
62824         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
62825         Define.
62826         (index_Prefer_SSE_for_memop): Define.
62827         (HAS_PREFER_SSE_FOR_MEMOP): Define.
62829 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
62831         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
62832         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
62834 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
62836         [BZ #12191]
62837         * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
62838         (__x86_64_raw_data_cache_size_half): Likewise.
62839         (__x86_64_raw_shared_cache_size): Likewise.
62840         (__x86_64_raw_shared_cache_size_half): Likewise.
62842         * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
62843         (__x86_64_raw_data_cache_size_half): Likewise.
62844         (__x86_64_raw_shared_cache_size): Likewise.
62845         (__x86_64_raw_shared_cache_size_half): Likewise.
62846         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
62847         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
62848         and __x86_64_raw_shared_cache_size_half.  Round
62849         __x86_64_data_cache_size_half, __x86_64_data_cache_size
62850         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
62851         to multiple of 256 bytes.
62853 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
62855         [BZ #12167]
62856         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
62857         of inacessible symlinks.  Verify result of symlink before returning it.
62858         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
62859         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
62861 2010-10-28  Erich Ritz  <erichritz@gmail.com>
62863         * math/math.h (isinf): Fix typo in comment.
62865 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
62867         * po/da.po: Update from translation team.
62869 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
62871         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
62872         is added to the list.
62874 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
62875             Ulrich Drepper  <drepper@gmail.com>
62877         * elf/dl-object.c (_dl_new_object): Don't append the new object to
62878         the global list here.  Move code to...
62879         (_dl_add_to_namespace_list): ...here.  New function.
62880         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
62881         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
62882         * elf/dl-load.c (lose): Don't remove the element from the list.
62883         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
62884         (_dl_map_object): Likewise.
62886 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
62888         [BZ #12159]
62889         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
62890         into all bytes of SSE register.
62891         Patch by Richard Li <richardpku@gmail.com>.
62893 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
62895         [BZ #12140]
62896         * malloc/malloc.c (_int_free): Fill correct number of bytes when
62897         perturbing.
62899 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
62901         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
62902         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
62903         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
62904         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
62905         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
62906         submachine.
62907         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
62909 2010-10-22  Andreas Schwab  <schwab@redhat.com>
62911         * include/dlfcn.h (__RTLD_SECURE): Define.
62912         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
62913         mode & __RTLD_SECURE instead.
62914         (open_path): Rename preloaded parameter to secure.
62915         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
62916         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
62917         * elf/dl-deps.c (openaux): Likewise.
62918         * elf/rtld.c (struct map_args): Remove is_preloaded.
62919         (map_doit): Don't use it.
62920         (dl_main): Likewise.
62921         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
62922         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
62924 2010-09-09  Andreas Schwab  <schwab@redhat.com>
62926         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
62927         (sysd-rules-targets): Remove duplicates.
62928         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
62929         rtld-%.$o dependency.
62931 2010-10-18  Andreas Schwab  <schwab@redhat.com>
62933         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
62934         _dl_map_object do it.
62936 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
62938         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
62939         fast fma builtins, define the macros in the C99 standard.
62940         (FP_FAST_FMAF): Likewise.
62941         (FP_FAST_FMAL): Likewise.
62942         * sysdeps/x86_64/bits/mathdef.h: Likewise.
62944         * bits/mathdef.h: Update copyright year.
62945         * sysdeps/powerpc/bits/mathdef.h: Likewise.
62947 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
62949         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
62950         builtins, define the macros in the C99 standard.
62951         (FP_FAST_FMAF): Likewise.
62952         (FP_FAST_FMAL): Likewise.
62953         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
62954         multiply/add.
62955         (FP_FAST_FMAF): Likewise.
62957 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
62959         [BZ #3268]
62960         * math/libm-test.inc (fma_test): Some new testcases.
62961         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
62962         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
62963         y and infinite z.  Do multiplication by C already in long double.
62964         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
62965         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
62966         y and infinite z.  Do bitwise or of inexact bit into u.d.
62967         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
62968         * sysdeps/i386/fpu/s_fmaf.S: Removed.
62969         * sysdeps/i386/fpu/s_fma.S: Removed.
62970         * sysdeps/i386/fpu/s_fmal.S: Removed.
62972 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
62974         [BZ #3268]
62975         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
62976         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
62977         computation is not scheduled after fetestexcept.  Fix value
62978         of minimum denormal long double.
62980 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
62982         [BZ #3268]
62983         * math/libm-test.inc (fma_test): Add some more tests.
62984         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
62985         correctly.
62987 2010-10-15  Andreas Schwab  <schwab@redhat.com>
62989         * scripts/data/localplt-s390-linux-gnu.data: New file.
62990         * scripts/data/localplt-s390x-linux-gnu.data: New file.
62992 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
62994         [BZ #3268]
62995         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
62996         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
62997         instead of dbl-64.
62998         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
62999         inlines.
63000         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
63001         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
63002         if one of x and y is very large and the other is subnormal.
63003         * sysdeps/s390/fpu/s_fmaf.c: New file.
63004         * sysdeps/s390/fpu/s_fma.c: New file.
63005         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
63006         * sysdeps/powerpc/fpu/s_fma.S: New file.
63007         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
63008         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
63009         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
63011 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
63013         [BZ #3268]
63014         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
63015         fma tests.
63016         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
63017         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
63018         * sysdeps/i386/i686/multiarch/s_fma.c: Include
63019         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
63020         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
63021         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
63022         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
63024 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
63026         [BZ #12078]
63027         * posix/regcomp.c (parse_branch): One more memory leak plugged.
63028         * posix/bug-regex31.input: Add test case.
63030 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
63032         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
63033         * posix/bug-regex31.input: New file.
63035         [BZ #12078]
63036         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
63037         (parse_sub_exp): Fix last change, use postorder.
63039         * posix/bug-regex31.c: New file.
63040         * posix/Makefile: Add rules to build and run bug-regex31.
63042         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
63044         [BZ #12078]
63045         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
63047         [BZ #12108]
63048         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
63049         to have entries in sys_siglist.
63051         [BZ #12093]
63052         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
63053         be NULL.
63055 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
63057         [BZ #3268]
63058         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
63059         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
63060         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
63061         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
63062         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
63063         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
63064         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
63065         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
63066         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
63067         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
63068         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
63069         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
63070         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
63071         * math/ftestexcept.c (fetestexcept): Likewise.
63072         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
63073         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
63074         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
63075         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
63076         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
63077         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
63078         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
63080 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
63082         [BZ #12107]
63083         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
63084         newline.
63086 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
63088         * string/bug-strstr1.c: New file.
63089         * string/Makefile: Add rules to build and run bug-strstr1.
63091 2010-10-05  Eric Blake  <eblake@redhat.com>
63093         [BZ #12092]
63094         * string/str-two-way.h (two_way_long_needle): Always clear memory
63095         when skipping input due to the shift table.
63097 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
63099         [BZ #12005]
63100         * malloc/mcheck.c: Handle large requests.
63102         [BZ #12077]
63103         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
63104         for strncmp and strncasecmp.
63105         * string/stratcliff.c: Add tests for strcmp and strncmp.
63106         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
63108 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
63110         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
63111         __set_fpscr.
63113 2010-09-30  Andreas Jaeger  <aj@suse.de>
63115         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
63116         (CGROUP_SUPER_MAGIC): Define.
63117         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
63118         Handle btrfs and cgroup file systems.
63119         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
63120         Likewise.
63122 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
63124         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
63125         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
63127 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
63129         [BZ #12067]
63130         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
63131         trying to locate the ELF header.
63133 2010-09-27  Andreas Schwab  <schwab@redhat.com>
63135         [BZ #11611]
63136         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
63137         Mask out sign-bit copies when constructing f_fsid.
63139 2010-09-24  Petr Baudis <pasky@suse.cz>
63141         * debug/stack_chk_fail_local.c: Add missing licence exception.
63142         * debug/warning-nop.c: Likewise.
63144 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
63146         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
63147         implementing getdents64 using getdents syscall, set d_type if
63148         __ASSUME_GETDENTS32_D_TYPE.
63150 2010-09-16  Andreas Schwab  <schwab@redhat.com>
63152         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
63153         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
63155 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
63157         [BZ #12037]
63158         * posix/unistd.h: Undo change of feature selection for ftruncate from
63159         2010-01-11.
63161 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
63163         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
63164         detection.
63166 2010-09-20  Andreas Schwab  <schwab@redhat.com>
63168         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
63169         fanotify_mark.
63170         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
63172 2010-09-14  Andreas Schwab  <schwab@redhat.com>
63174         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
63175         variables after CHECK_SP call.
63176         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
63178 2010-09-13  Andreas Schwab  <schwab@redhat.com>
63179             Ulrich Drepper  <drepper@redhat.com>
63181         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
63182         re-relocationg ld.so.
63183         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
63184         _dl_init_paths call.
63185         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
63186         here anymore.
63188 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
63190         * resolv/res_init.c (__res_vinit): Count the default server we added.
63192 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
63193             Ulrich Drepper  <drepper@redhat.com>
63195         [BZ #11968]
63196         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
63197         (____longjmp_chk): Use %ebx for saving value across system call.
63198         Add unwind info.
63200 2010-09-06  Andreas Schwab  <schwab@redhat.com>
63202         * manual/Makefile: Don't mix pattern rules with normal rules.
63204 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
63206         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
63207         operation.
63208         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
63209         * libio/iofopncook.c (_IO_cookie_init): Likewise.
63210         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
63211         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
63212         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
63213         Likewise.
63215 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
63217         [BZ #11979]
63218         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
63219         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
63221 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
63223         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
63224         * sysdeps/x86_64/addmul_1.S: Likewise.
63225         * sysdeps/x86_64/lshift.S: Likewise.
63226         * sysdeps/x86_64/mul_1.S: Likewise.
63227         * sysdeps/x86_64/rshift.S: Likewise.
63228         * sysdeps/x86_64/sub_n.S: Likewise.
63229         * sysdeps/x86_64/submul_1.S: Likewise.
63231 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
63233         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
63234         Define __sched_param instead of SCHED_* and sched_param when
63235         <bits/sched.h> is included with __need_schedparam defined.
63236         * bits/sched.h [__need_schedparam]
63237         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
63238         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
63239         (__defined_schedparam): Define to 1.
63240         (__sched_param): New structure, identical to sched_param.
63241         (__need_schedparam): Undefine.
63243 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
63245         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
63246         (epoll_create1): Declare.
63248         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
63250 2010-08-31  Andreas Schwab  <schwab@redhat.com>
63252         [BZ #7066]
63253         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
63254         shifting retval into place.
63256 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
63258         * nis/rpcsvc/nis.h: Update copyright notice.
63259         * nis/rpcsvc/nis.x: Likewise.
63260         * nis/rpcsvc/nis_callback.h: Likewise.
63261         * nis/rpcsvc/nis_callback.x: Likewise.
63262         * nis/rpcsvc/nis_object.x: Likewise.
63263         * nis/rpcsvc/nis_tags.h: Likewise.
63264         * nis/rpcsvc/yp.h: Likewise.
63265         * nis/rpcsvc/yp.x: Likewise.
63266         * nis/rpcsvc/ypupd.h: Likewise.
63267         * nis/yp_xdr.c: Likewise.
63268         * nis/ypupdate_xdr.c: Likewise.
63270         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
63271         mainly the body of pmap_getport.  Add parameters to specify timeouts.
63272         (pmap_getport): Use __libc_rpc_getport.
63273         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
63274         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
63275         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
63277 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
63279         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
63280         fanotify_mark.
63282 2010-08-27  Roland McGrath  <roland@redhat.com>
63284         * sysdeps/i386/i686/multiarch/Makefile
63285         (CFLAGS-varshift.c): New variable.
63287 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
63289         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
63290         * sysdeps/i386/i686/multiarch/varshift.c: New file.
63292         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
63294         * sysdeps/x86_64/strlen.S: Minimal code improvement.
63296 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
63298         * sysdeps/x86_64/strlen.S: Unroll the loop.
63299         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
63300         strlen-sse2 strlen-sse2-bsf.
63301         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
63302         __strlen_no_bsf if bit_Slow_BSF is set.
63303         (__strlen_sse42): Removed.
63304         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
63305         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
63307 2010-08-25  Roland McGrath  <roland@redhat.com>
63309         * sysdeps/x86_64/multiarch/varshift.S: File removed.
63310         * sysdeps/x86_64/multiarch/varshift.c: New file.
63311         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
63312         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
63313         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
63314         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
63316 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
63318         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
63319         strlen-sse2 strlen-sse2-bsf.
63320         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
63321         __strlen_sse2_bsf if bit_Slow_BSF is unset.
63322         (__strlen_sse2): Removed.
63323         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
63324         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
63325         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
63326         bit_Slow_BSF for Atom.
63327         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
63328         (index_Slow_BSF): Define.
63329         (HAS_SLOW_BSF): Define.
63331 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
63333         [BZ #10851]
63334         * resolv/res_init.c (__res_vinit): When no server address at all
63335         is given default to loopback.
63337 2010-08-24  Roland McGrath  <roland@redhat.com>
63339         * configure.in: Remove config-name.h generation.
63340         * configure: Regenerated.
63341         * config-name.in: File removed.
63342         * scripts/config-uname.sh: New file.
63343         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
63344         ($(objdir)config-name.h): New target.
63346         * sunrpc/rpc_parse.h: Avoid nested comment.
63348 2010-08-24  Richard Henderson  <rth@redhat.com>
63349             Ulrich Drepper  <drepper@redhat.com>
63350             H.J. Lu  <hongjiu.lu@intel.com>
63352         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
63353         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
63354         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
63355         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
63356         _mm_alignr_epi8 with _mm_loadu_si128.
63357         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
63358         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
63359         (__m128i_shift_right): Removed.
63360         * sysdeps/i386/i686/multiarch/varshift.h: New file.
63361         * sysdeps/i386/i686/multiarch/varshift.S: New file.
63362         * sysdeps/x86_64/multiarch/varshift.h: New file.
63363         * sysdeps/x86_64/multiarch/varshift.S: New file.
63365 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
63367         * configure.in: Move assembler checks to before sysdep dir checking.
63369 2010-08-20  Petr Baudis  <pasky@suse.cz>
63371         * LICENSES: Sync the sunrpc license.
63373 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
63375         * sunrpc/auth_des.c: Update copyright notice once again.
63376         * sunrpc/auth_none.c: Likewise.
63377         * sunrpc/auth_unix.c: Likewise.
63378         * sunrpc/authdes_prot.c: Likewise.
63379         * sunrpc/authuxprot.c: Likewise.
63380         * sunrpc/bindrsvprt.c: Likewise.
63381         * sunrpc/clnt_gen.c: Likewise.
63382         * sunrpc/clnt_perr.c: Likewise.
63383         * sunrpc/clnt_raw.c: Likewise.
63384         * sunrpc/clnt_simp.c: Likewise.
63385         * sunrpc/clnt_tcp.c: Likewise.
63386         * sunrpc/clnt_udp.c: Likewise.
63387         * sunrpc/clnt_unix.c: Likewise.
63388         * sunrpc/des_crypt.c: Likewise.
63389         * sunrpc/des_soft.c: Likewise.
63390         * sunrpc/get_myaddr.c: Likewise.
63391         * sunrpc/getrpcport.c: Likewise.
63392         * sunrpc/key_call.c: Likewise.
63393         * sunrpc/key_prot.c: Likewise.
63394         * sunrpc/openchild.c: Likewise.
63395         * sunrpc/pm_getmaps.c: Likewise.
63396         * sunrpc/pm_getport.c: Likewise.
63397         * sunrpc/pmap_clnt.c: Likewise.
63398         * sunrpc/pmap_prot.c: Likewise.
63399         * sunrpc/pmap_prot2.c: Likewise.
63400         * sunrpc/pmap_rmt.c: Likewise.
63401         * sunrpc/rpc/auth.h: Likewise.
63402         * sunrpc/rpc/auth_unix.h: Likewise.
63403         * sunrpc/rpc/clnt.h: Likewise.
63404         * sunrpc/rpc/des_crypt.h: Likewise.
63405         * sunrpc/rpc/key_prot.h: Likewise.
63406         * sunrpc/rpc/netdb.h: Likewise.
63407         * sunrpc/rpc/pmap_clnt.h: Likewise.
63408         * sunrpc/rpc/pmap_prot.h: Likewise.
63409         * sunrpc/rpc/pmap_rmt.h: Likewise.
63410         * sunrpc/rpc/rpc.h: Likewise.
63411         * sunrpc/rpc/rpc_des.h: Likewise.
63412         * sunrpc/rpc/rpc_msg.h: Likewise.
63413         * sunrpc/rpc/svc.h: Likewise.
63414         * sunrpc/rpc/svc_auth.h: Likewise.
63415         * sunrpc/rpc/types.h: Likewise.
63416         * sunrpc/rpc/xdr.h: Likewise.
63417         * sunrpc/rpc_clntout.c: Likewise.
63418         * sunrpc/rpc_cmsg.c: Likewise.
63419         * sunrpc/rpc_common.c: Likewise.
63420         * sunrpc/rpc_cout.c: Likewise.
63421         * sunrpc/rpc_dtable.c: Likewise.
63422         * sunrpc/rpc_hout.c: Likewise.
63423         * sunrpc/rpc_main.c: Likewise.
63424         * sunrpc/rpc_parse.c: Likewise.
63425         * sunrpc/rpc_parse.h: Likewise.
63426         * sunrpc/rpc_prot.c: Likewise.
63427         * sunrpc/rpc_sample.c: Likewise.
63428         * sunrpc/rpc_scan.c: Likewise.
63429         * sunrpc/rpc_scan.h: Likewise.
63430         * sunrpc/rpc_svcout.c: Likewise.
63431         * sunrpc/rpc_tblout.c: Likewise.
63432         * sunrpc/rpc_util.c: Likewise.
63433         * sunrpc/rpc_util.h: Likewise.
63434         * sunrpc/rpcinfo.c: Likewise.
63435         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
63436         * sunrpc/rpcsvc/key_prot.x: Likewise.
63437         * sunrpc/rpcsvc/klm_prot.x: Likewise.
63438         * sunrpc/rpcsvc/mount.x: Likewise.
63439         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
63440         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
63441         * sunrpc/rpcsvc/rex.x: Likewise.
63442         * sunrpc/rpcsvc/rstat.x: Likewise.
63443         * sunrpc/rpcsvc/rusers.x: Likewise.
63444         * sunrpc/rpcsvc/sm_inter.x: Likewise.
63445         * sunrpc/rpcsvc/spray.x: Likewise.
63446         * sunrpc/rpcsvc/yppasswd.x: Likewise.
63447         * sunrpc/rtime.c: Likewise.
63448         * sunrpc/svc.c: Likewise.
63449         * sunrpc/svc_auth.c: Likewise.
63450         * sunrpc/svc_authux.c: Likewise.
63451         * sunrpc/svc_raw.c: Likewise.
63452         * sunrpc/svc_run.c: Likewise.
63453         * sunrpc/svc_simple.c: Likewise.
63454         * sunrpc/svc_tcp.c: Likewise.
63455         * sunrpc/svc_udp.c: Likewise.
63456         * sunrpc/svc_unix.c: Likewise.
63457         * sunrpc/svcauth_des.c: Likewise.
63458         * sunrpc/xcrypt.c: Likewise.
63459         * sunrpc/xdr.c: Likewise.
63460         * sunrpc/xdr_array.c: Likewise.
63461         * sunrpc/xdr_float.c: Likewise.
63462         * sunrpc/xdr_mem.c: Likewise.
63463         * sunrpc/xdr_rec.c: Likewise.
63464         * sunrpc/xdr_ref.c: Likewise.
63465         * sunrpc/xdr_sizeof.c: Likewise.
63466         * sunrpc/xdr_stdio.c: Likewise.
63468         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
63469         handling.
63471 2010-08-19  Andreas Schwab  <schwab@redhat.com>
63473         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
63475 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
63477         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
63478         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
63479         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
63480         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
63481         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
63482         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
63483         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
63484         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
63485         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
63486         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
63487         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
63488         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
63489         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
63490         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
63492 2010-07-26  Anton Blanchard  <anton@samba.org>
63494         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
63495         * malloc/arena.c (heap_trim): Likewise.
63497 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
63499         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
63500         here.  Not...
63501         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
63502         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
63504 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
63506         * sysdeps/i386/elf/Makefile: New file.
63508 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
63510         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
63511         from fanotify_init.
63512         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
63513         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
63515 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
63517         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
63518         of strncasecmp_l.
63519         * sysdeps/multiarch/strcmp.S: Likewise.
63521 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
63523         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
63524         strncase_l-nonascii.
63525         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
63526         Add strncase_l-ssse3.
63527         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
63528         * sysdeps/x86_64/strcmp.S: Likewise.
63529         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
63530         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
63531         * sysdeps/x86_64/strncase.S: New file.
63532         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
63533         * sysdeps/x86_64/strncase_l.S: New file.
63534         * string/Makefile (strop-tests): Add strncasecmp.
63535         * string/test-strncasecmp.c: New file.
63537         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
63538         warning.
63540         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
63541         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
63543 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
63545         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
63547 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
63549         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
63550         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
63551         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
63553 2010-05-01  Alan Modra  <amodra@gmail.com>
63555         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
63556         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
63557         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
63558         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
63559         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
63560         tidying.  Don't tail-call __sigjmp_save for static lib.
63561         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
63562         save location.
63563         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
63564         (CALL_MCOUNT): Add eh info, and nop after bl.
63565         (TAIL_CALL_SYSCALL_ERROR): New macro.
63566         (PSEUDO_RET): Use it.
63567         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
63568         Correct save location of integer regs and cr.
63569         (_dl_profile_resolve): Correct cr save location.  Delete nops
63570         after bl when SHARED.  Reduce cfi size a little by better
63571         placement of cfi directives.
63572         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
63573         make a stack frame.  Instead use parm save area as a temp.
63574         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
63575         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
63576         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
63577         Don't make a stack frame for parent, use parm save area.
63578         Increase child stack frame to 112 bytes.  Don't save unused reg,
63579         and adjust reg usage.  Set up cfi on error recovery and
63580         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
63581         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
63582         (__makecontext): Add dummy nop after jump to exit.
63583         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
63584         Use correct parm save area and cr save, reduce stack frame.
63585         Correct cfi for possible PSEUDO_RET frame setup.
63586         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
63587         Branch to local label emitted by PSEUDO_RET rather than
63588         __syscall_error.
63590 2010-08-12  Andreas Schwab  <schwab@redhat.com>
63592         [BZ #11904]
63593         * locale/programs/locale.c (print_assignment): New function.
63594         (show_locale_vars): Use it.
63596 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
63598         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
63599         field.
63600         (struct statfs64): Likewise.
63601         (_STATFS_F_FLAGS): Define.
63602         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
63603         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
63604         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
63605         (ST_VALID): Define locally.
63606         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
63607         __statvfs_getflags, use the provided value.
63608         * sysdeps/unix/sysv/linux/kernel-features.h: Define
63609         __ASSUME_STATFS_F_FLAGS.
63611         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
63613         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
63614         Add sys/fanotify.h.
63615         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
63616         fanotify_mask for GLIBC_2.13.
63617         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
63618         fanotify_init and fanotify_mark.
63619         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
63620         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
63622         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
63623         Add prlimit.
63624         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
63625         prlimit64 for GLIBC_2.13.
63626         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
63627         prlimit64.
63628         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
63629         syscall.
63630         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
63631         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
63632         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
63633         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
63634         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
63635         add prlimit alias.
63636         * sysdeps/unix/sysv/linux/prlimit.c: New file.
63638         [BZ #11903]
63639         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
63640         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
63642         * nss/Makefile: Add rules to build and run tst-nss-test1.
63643         * shlib-versions: Add entry for libnss_test1.
63644         * nss/nss_test1.c: New file.
63645         * nss/tst-nss-test1.c: New file.
63647         * nss/nsswitch.c (__nss_database_custom): Define new variable.
63648         (__nss_configure_lookup): Set appropriate entry in
63649         __nss_configure_lookup to true.
63650         * nss/nsswitch.h: Define enum with indeces of databases in
63651         databases and __nss_database_custom arrays.  Declare
63652         __nss_database_custom.
63653         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
63654         to avoid using nscd when custom rules are installed.
63655         * nss/getXXbyYY_r.c: Likewise.
63656         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
63658         * nss/nss_files/files-parse.c: Whitespace fixes.
63660 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
63662         [BZ #11883]
63663         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
63664         * posix/fnmatch_loop.c: Likewise.
63666 2010-07-17  Andi Kleen  <ak@linux.intel.com>
63668         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
63669         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
63670         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
63671         * Versions.def [GLIBC_2.13]: Add.
63673 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
63675         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
63676         Also fail if tpwd after pwuid call is NULL.
63678 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
63680         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
63681         when converting to ms.
63683 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
63685         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
63686         EOPNOTSUPP errors with ENOTTY.
63687         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
63688         EOPNOTSUPP errors with ENOTTY.
63690 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
63692         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
63693         Add strcasecmp_l-ssse3.
63694         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
63695         strcasecmp.
63696         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
63697         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
63698         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
63700 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
63702         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
63704         * string/Makefile (strop-tests): Add strcasecmp.
63705         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
63706         strcasecmp_l-nonascii.
63707         (gen-as-const-headers): Add locale-defines.sym.
63708         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
63709         * sysdeps/x86_64/strcasecmp.S: New file.
63710         * sysdeps/x86_64/strcasecmp_l.S: New file.
63711         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
63712         * sysdeps/x86_64/locale-defines.sym: New file.
63713         * string/test-strcasecmp.c: New file.
63715         * string/test-strcasestr.c: Test both ends of the range of characters.
63716         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
63718 2010-07-29  Roland McGrath  <roland@redhat.com>
63720         [BZ #11856]
63721         * manual/locale.texi (Yes-or-No Questions): Fix example code.
63723 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
63725         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
63726         for ld.so.
63728 2010-07-27  Andreas Schwab  <schwab@redhat.com>
63730         * manual/memory.texi (Malloc Tunable Parameters): Document
63731         M_PERTURB.
63733 2010-07-26  Roland McGrath  <roland@redhat.com>
63735         [BZ #11840]
63736         * configure.in (-fgnu89-inline check): Set and substitute
63737         gnu89_inline, not libc_cv_gnu89_inline.
63738         * configure: Regenerated.
63739         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
63741 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
63743         * string/test-strnlen.c: New file.
63744         * string/Makefile (strop-tests): Add strnlen.
63745         * string/tester.c (test_strnlen): Add a few more test cases.
63746         * string/tst-strlen.c: Better error reporting.
63748         * sysdeps/x86_64/strnlen.S: New file.
63750 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
63752         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
63753         lower-latency instructions.
63755 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
63757         * string/test-strcasestr.c: New file.
63758         * string/test-strstr.c: New file.
63759         * string/Makefile (strop-tests): Add strstr and strcasestr.
63760         * string/str-two-way.h: Don't undefine MAX.
63761         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
63763 2010-07-21  Andreas Schwab  <schwab@redhat.com>
63765         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
63766         strcasestr-nonascii.
63767         (CFLAGS-strcasestr-nonascii.c): Define.
63768         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
63769         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
63770         Remove unused attribute.
63772 2010-07-20  Roland McGrath  <roland@redhat.com>
63774         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
63775         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
63776         ld.so.cache was broken.  With it, there is no way to disable dsocaps
63777         like LD_HWCAP_MASK can disable hwcaps.
63779 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
63781         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
63783 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
63785         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
63786         call in strcasestr.
63787         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
63788         __strcasestr_sse42_nonascii.
63789         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
63790         strcasestr-nonascii.c.
63791         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
63793 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
63795         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
63796         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
63797         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
63798         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
63800 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
63802         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
63803         fcntl.
63805 2010-07-06  Andreas Schwab  <schwab@redhat.com>
63807         [BZ #11577]
63808         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
63809         dl_signal_cerror.
63811 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
63813         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
63814         _PC_PIPE_BUF using F_GETPIPE_SZ.
63816 2010-07-05  Roland McGrath  <roland@redhat.com>
63818         * manual/arith.texi (Rounding Functions): Fix rint description
63819         implicit in round description.
63821 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
63823         * elf/Makefile: Fix linking for a few tests to make recent linker
63824         happy.
63826 2010-06-30  Andreas Schwab  <schwab@redhat.com>
63828         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
63829         $(common-objpfx)libc_nonshared.a.
63831 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
63833         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
63834         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
63835         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
63836         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
63837         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
63838         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
63839         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
63840         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
63841         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
63842         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
63843         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
63844         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
63845         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
63846         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
63847         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
63848         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
63849         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
63850         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
63851         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
63852         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
63853         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
63854         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
63855         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
63856         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
63857         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
63858         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
63859         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
63860         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
63861         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
63862         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
63863         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
63864         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
63865         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
63866         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
63867         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
63868         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
63869         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
63870         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
63871         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
63872         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
63873         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
63874         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
63875         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
63876         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
63877         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
63878         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
63879         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
63880         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
63882 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
63884         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
63885         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
63886         * string/memmove.c (memmove): Renamed to ...
63887         (MEMMOVE): ...this.  Default to memmove.
63888         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
63889         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
63890         (END_CHK): Define.
63891         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
63892         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
63893         mempcpy-ssse3-back memmove-ssse3-back.
63894         * sysdeps/x86_64/multiarch/bcopy.S: New file .
63895         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
63896         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
63897         * sysdeps/x86_64/multiarch/memcpy.S: New file.
63898         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
63899         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
63900         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
63901         * sysdeps/x86_64/multiarch/memmove.c: New file.
63902         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
63903         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
63904         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
63905         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
63906         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
63907         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
63908         Define.
63909         (index_Fast_Copy_Backward): Define.
63910         (HAS_ARCH_FEATURE): Define.
63911         (HAS_FAST_REP_STRING): Define.
63912         (HAS_FAST_COPY_BACKWARD): Define.
63914 2010-06-21  Andreas Schwab  <schwab@redhat.com>
63916         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
63917         Restore proper fallback handling.
63919 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
63921         [BZ #11701]
63922         * posix/group_member.c (__group_member): Correct checking loop.
63924         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
63925         OOM in getpwuid_r correctly.  Return error number when the caller
63926         should return, otherwise -1.
63927         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
63928         call returning > 0 value.
63929         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
63931 2010-06-07  Andreas Schwab  <schwab@redhat.com>
63933         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
63934         libc_nonshared.a from targets in modules-names.
63936 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
63938         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
63939         requires it.
63941 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
63943         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
63944         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
63945         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
63946         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
63948 2010-06-02  Andreas Schwab  <schwab@redhat.com>
63950         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
63952 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
63954         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
63955         and F_GETPIPE_SZ.
63956         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
63957         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
63958         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
63959         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
63960         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
63961         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
63963 2010-06-14  Roland McGrath  <roland@redhat.com>
63965         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
63967 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
63969         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
63970         __REDIRECT followed by __THROW.
63971         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
63972         * posix/getopt.h (getopt): Likewise.
63974 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
63976         * hurd/lookup-at.c (__file_name_lookup_at): Accept
63977         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
63978         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
63979         in AT_FLAGS.
63980         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
63981         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
63983 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
63985         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
63987 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
63989         [BZ #11640]
63990         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
63991         Properly check family and model.
63993 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
63995         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
63997 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
63999         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
64001 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
64003         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
64004         symbol reference.
64006 2010-05-19  Andreas Schwab  <schwab@redhat.com>
64008         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
64009         symbol reference.
64011 2010-05-21  Andreas Schwab  <schwab@redhat.com>
64013         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
64014         and internal_recvmmsg.
64015         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
64016         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
64017         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
64018         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
64020         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
64021         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
64022         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
64024 2010-05-20  Andreas Schwab  <schwab@redhat.com>
64026         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
64028 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
64030         POWER7 optimizations.
64031         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
64032         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
64034 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
64036         * version.h: Update for 2.13 development version.
64038 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
64040         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
64041         exceptions.  Return 0.
64043 2010-05-07  Roland McGrath  <roland@redhat.com>
64045         * elf/ldconfig.c (main): Add a const.
64047 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
64049         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
64050         (args_options): Add no-idn option.
64051         (ahosts_keys_int): Add idn_flags to ai_flags.
64052         (parse_option): Handle 'i' option to clear idn_flags.
64054         * malloc/malloc.c (_int_free): Possible race in the most recently
64055         added check.  Only act on the data if no current modification
64056         happened.
64058 See ChangeLog.17 for earlier changes.